Spoiler log improvements

Fix multi-entrance checks
Tower lobby door pairing fixed
This commit is contained in:
aerinon
2020-11-25 23:00:54 -07:00
parent cd9b574e90
commit ef3bc0aee0
6 changed files with 49 additions and 17 deletions

View File

@@ -1063,7 +1063,7 @@ def check_entrance_fixes(world, player):
dungeon = entrance.connected_region.dungeon
if dungeon:
layout = world.dungeon_layouts[player][dungeon.name]
if 'Sanctuary' in layout.master_sector.region_set():
if 'Sanctuary' in layout.master_sector.region_set() or dungeon.name in ['Hyrule Castle', 'Desert Palace', 'Skull Woods', 'Turtle Rock']:
portal = None
for portal_name in dungeon_portals[dungeon.name]:
test_portal = world.get_portal(portal_name, player)
@@ -1071,8 +1071,6 @@ def check_entrance_fixes(world, player):
portal = test_portal
break
world.force_fix[player][key] = portal
elif dungeon.name in ['Hyrule Castle', 'Desert Palace', 'Skull Woods', 'Turtle Rock']:
world.force_fix[player][key] = portal
def palette_assignment(world, player):