From e559b1168a1edf192e4be02575669dc097e8567b Mon Sep 17 00:00:00 2001 From: Kippi00 Date: Sat, 15 Aug 2020 20:24:48 -0400 Subject: [PATCH] Restore pre-aga1 dark world dungeon behavior in glitched logics (#134) In any logic that does not patch out fake worlds, dying in a Dark World dungeon before defeating Aghanim 1 will now put you in Fake Dark World. (vanilla behavior) --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 2d474bfa..4ea5eb5f 100644 --- a/Rom.py +++ b/Rom.py @@ -945,7 +945,7 @@ def patch_rom(world, rom, player, team, enemized): rom.write_byte(0x180211, gametype) # Game type # assorted fixes - rom.write_byte(0x1800A2, 0x01) # remain in real dark world when dying in dark world dungeon before killing aga1 + rom.write_byte(0x1800A2, 0x01 if world.fix_fake_world[player] else 0x00) # Toggle whether to be in real/fake dark world when dying in a DW dungeon before killing aga1 rom.write_byte(0x180169, 0x01 if world.lock_aga_door_in_escape else 0x00) # Lock or unlock aga tower door during escape sequence. if world.mode[player] == 'inverted': rom.write_byte(0x180169, 0x02) # lock aga/ganon tower door with crystals in inverted