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.
This commit is contained in:
AmazingAmpharos 2018-02-20 17:28:41 -06:00 committed by GitHub
parent 14c0b39af3
commit 657edc9781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -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)']: