Remove HC escape exit barriers in glitched modes and vanilla shuffle

Unlock Aga Tower door during escape in glitched modes
This commit is contained in:
cassidy
2021-12-22 23:20:28 -05:00
parent 633c221d6f
commit e1afd4374f
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,8 @@ class World(object):
self.clock_mode = 'off'
self.rupoor_cost = 10
self.aga_randomness = True
self.lock_aga_door_in_escape = False
self.lock_aga_door_in_escape = True if logic == 'noglitches' else False
self.block_side_exits_escape = True if logic == 'noglitches' and shuffle != 'vanilla' else False
self.fix_trock_doors = self.shuffle != 'vanilla' or self.mode == 'inverted'
self.save_and_quit_from_boss = True
self.accessibility = accessibility

2
Rom.py
View File

@@ -913,7 +913,7 @@ def patch_rom(world, player, rom):
rom.write_byte(0x18005E, world.crystals_needed_for_gt)
rom.write_byte(0x18005F, world.crystals_needed_for_ganon)
rom.write_byte(0x18008A, 0x01 if world.mode == "standard" else 0x00) # block HC upstairs doors in rain state in standard mode
rom.write_byte(0x18008A, 0x01 if world.block_side_exits_escape else 0x00) # block HC upstairs doors in rain state in standard mode
# Bitfield - enable text box to show with free roaming items
#