From b217e734cb5e11fb9715f10df48c30c9be9ea230 Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Mon, 15 Nov 2021 10:26:13 -0600 Subject: [PATCH] OoT: fixed Spirit compass chest and Silver Gauntlets chest being moved with wrong condition in CSMC --- worlds/oot/Patches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/oot/Patches.py b/worlds/oot/Patches.py index 719f0385..b1b2a9b5 100644 --- a/worlds/oot/Patches.py +++ b/worlds/oot/Patches.py @@ -1640,7 +1640,7 @@ def patch_rom(world, rom): rom.write_int16(chest_address + 2, 0x0190) # X pos rom.write_int16(chest_address + 6, 0xFABC) # Z pos else: - if location.item.advancement: + if not location.item.advancement: rom.write_int16(chest_address + 2, 0x0190) # X pos rom.write_int16(chest_address + 6, 0xFABC) # Z pos @@ -1656,7 +1656,7 @@ def patch_rom(world, rom): rom.write_int16(chest_address_0 + 6, 0x0172) # Z pos rom.write_int16(chest_address_2 + 6, 0x0172) # Z pos else: - if location.item.advancement: + if not location.item.advancement: rom.write_int16(chest_address_0 + 6, 0x0172) # Z pos rom.write_int16(chest_address_2 + 6, 0x0172) # Z pos