Fix skull woods pinball check
This commit is contained in:
@@ -1113,7 +1113,7 @@ def determine_required_paths(world, player):
|
|||||||
'Turtle Rock': ['TR Boss'],
|
'Turtle Rock': ['TR Boss'],
|
||||||
'Ganons Tower': ['GT Agahnim 2']
|
'Ganons Tower': ['GT Agahnim 2']
|
||||||
}
|
}
|
||||||
if world.shuffle == 'vanilla':
|
if world.shuffle[player] == 'vanilla':
|
||||||
paths['Skull Woods'].insert(0, 'Skull 2 West Lobby')
|
paths['Skull Woods'].insert(0, 'Skull 2 West Lobby')
|
||||||
paths['Turtle Rock'].insert(0, 'TR Eye Bridge')
|
paths['Turtle Rock'].insert(0, 'TR Eye Bridge')
|
||||||
paths['Turtle Rock'].insert(0, 'TR Big Chest Entrance')
|
paths['Turtle Rock'].insert(0, 'TR Big Chest Entrance')
|
||||||
@@ -1277,7 +1277,7 @@ def check_if_regions_visited(state, check_paths):
|
|||||||
|
|
||||||
def check_for_pinball_fix(state, bad_region, world, player):
|
def check_for_pinball_fix(state, bad_region, world, player):
|
||||||
pinball_region = world.get_region('Skull Pinball', player)
|
pinball_region = world.get_region('Skull Pinball', player)
|
||||||
if bad_region.name in ('Skull 2 West Lobby', 'Skull Boss') and state.visited_at_all(pinball_region):
|
if bad_region.name == 'Skull 2 West Lobby' and state.visited_at_all(pinball_region): #revisit this for entrance shuffle
|
||||||
door = world.get_door('Skull Pinball WS', player)
|
door = world.get_door('Skull Pinball WS', player)
|
||||||
room = world.get_room(door.roomIndex, player)
|
room = world.get_room(door.roomIndex, player)
|
||||||
if room.doorList[door.doorListPos][1] == DoorKind.Trap:
|
if room.doorList[door.doorListPos][1] == DoorKind.Trap:
|
||||||
|
|||||||
Reference in New Issue
Block a user