Fixed issue with pre-opened pyramid when it shouldn't be

This commit is contained in:
codemann8
2022-07-22 10:57:28 -05:00
parent ce9cb8de26
commit 360a61a65c
2 changed files with 2 additions and 2 deletions

2
Rom.py
View File

@@ -1390,7 +1390,7 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
rom.write_bytes(0x50563, [0x3F, 0x14]) # disable below ganon chest
rom.write_byte(0x50599, 0x00) # disable below ganon chest
rom.write_bytes(0xE9A5, [0x7E, 0x00, 0x24]) # disable below ganon chest
if world.open_pyramid[player]:
if world.is_pyramid_open(player):
rom.initial_sram.pre_open_pyramid_hole()
if world.crystals_needed_for_gt[player] == 0:
rom.initial_sram.pre_open_ganons_tower()