From 4ca53a6ee08893ecca12d4c2f1e58582c04593ab Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Fri, 1 Oct 2021 08:31:05 -0500 Subject: [PATCH] ALttP: fix dungeon exits in HMG and NL if PoD, Hera or SP are there --- worlds/alttp/Rom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worlds/alttp/Rom.py b/worlds/alttp/Rom.py index 69988638..bb358258 100644 --- a/worlds/alttp/Rom.py +++ b/worlds/alttp/Rom.py @@ -832,7 +832,9 @@ def patch_rom(world, rom, player, enemized): 'Skull Woods Final Section Exit', 'Ice Palace Exit', 'Misery Mire Exit', 'Palace of Darkness Exit', 'Swamp Palace Exit', 'Ganons Tower Exit', 'Desert Palace Exit (North)', 'Agahnims Tower Exit', 'Spiral Cave Exit (Top)', - 'Superbunny Cave Exit (Bottom)', 'Turtle Rock Ledge Exit (East)'}: + 'Superbunny Cave Exit (Bottom)', 'Turtle Rock Ledge Exit (East)'} and \ + (world.logic[player] not in ['hybridglitches', 'nologic'] or + exit.name not in {'Palace of Darkness Exit', 'Tower of Hera Exit', 'Swamp Palace Exit'}): # For exits that connot be reached from another, no need to apply offset fixes. rom.write_int16(0x15DB5 + 2 * offset, link_y) # same as final else elif room_id == 0x0059 and world.fix_skullwoods_exit[player]: