Add config option that can disable respawning at pyramid after death to ganon if he happens to be shuffled to elsewhere. Slightly untested, but should cause no harm.

This commit is contained in:
LLCoolDave
2017-08-01 19:08:46 +02:00
parent abff299f25
commit 7187d63108
5 changed files with 10 additions and 0 deletions

View File

@@ -646,6 +646,10 @@ def link_entrances(world):
if world.get_entrance('Dam').connected_region.name != 'Dam' or world.get_entrance('Swamp Palace').connected_region.name != 'Swamp Palace (Entrance)':
world.swamp_patch_required = True
# check for ganon location
if world.get_entrance('Pyramid Hole').connected_region.name != 'Pyramid':
world.ganon_at_pyramid = False
def connect_simple(world, exitname, regionname):
world.get_entrance(exitname).connect(world.get_region(regionname))