From 20d9c08e4e4e2eaf5c3c1f57d40ed235d96d4d1d Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 20 Sep 2020 00:16:12 +0200 Subject: [PATCH] Allow smith to follow through caves in simple ER + inverted --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 760f7143..df8f5d22 100644 --- a/Rom.py +++ b/Rom.py @@ -1344,7 +1344,7 @@ def patch_rom(world, rom, player, team, enemized): rom.write_bytes(0x02F539, [0xEA, 0xEA, 0xEA, 0xEA, 0xEA] if world.powder_patch_required[player] else [0xAD, 0xBF, 0x0A, 0xF0, 0x4F]) # allow smith into multi-entrance caves in appropriate shuffles - if world.shuffle[player] in ['restricted', 'full', 'crossed', 'insanity'] or (world.shuffle == 'simple' and world.mode == 'inverted'): + if world.shuffle[player] in ['restricted', 'full', 'crossed', 'insanity'] or (world.shuffle[player] == 'simple' and world.mode[player] == 'inverted'): rom.write_byte(0x18004C, 0x01) # set correct flag for hera basement item