From 657edc9781b4798ecb95d6e33f77e108e3aea7a1 Mon Sep 17 00:00:00 2001 From: AmazingAmpharos Date: Tue, 20 Feb 2018 17:28:41 -0600 Subject: [PATCH] Exit offset fix The previous fix for exit offset locations in insanity style modes didn't work because it checked for world.mode instead of world.shuffle. This corrects that. --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 016239a4..4851ce26 100644 --- a/Rom.py +++ b/Rom.py @@ -316,7 +316,7 @@ def patch_rom(world, rom, hashtable, beep='normal', sprite=None): # Thanks to Zarby89 for originally finding these values # todo fix screen scrolling - if world.mode not in ['insanity', 'insanity_legacy', 'madness_legacy'] and \ + if world.shuffle not in ['insanity', 'insanity_legacy', 'madness_legacy'] and \ exit.name in ['Eastern Palace Exit', 'Tower of Hera Exit', 'Thieves Town Exit', '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)']: