From 4b534fe1857ab628521046415f631a99ae1e5762 Mon Sep 17 00:00:00 2001 From: cassidy Date: Thu, 21 Oct 2021 22:26:47 -0400 Subject: [PATCH] Remove diggable portals in inverted --- Rom.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rom.py b/Rom.py index 60f08efb..65e5d8c8 100644 --- a/Rom.py +++ b/Rom.py @@ -1436,6 +1436,12 @@ def set_inverted_mode(world, rom): rom.write_int16(snes_to_pc(0x02E8D5), 0x07C8) rom.write_int16(snes_to_pc(0x02E8F7), 0x01F8) rom.write_byte(snes_to_pc(0x08D40C), 0xD0) # morph proof + rom.write_byte(snes_to_pc(0x1BC428), 0x00) # remove diggable light world portals + rom.write_byte(snes_to_pc(0x1BC43A), 0x00) + rom.write_byte(snes_to_pc(0x1BC590), 0x00) + rom.write_byte(snes_to_pc(0x1BC5A1), 0x00) + rom.write_byte(snes_to_pc(0x1BC5B1), 0x00) + rom.write_byte(snes_to_pc(0x1BC5C7), 0x00) # the following bytes should only be written in vanilla # or they'll overwrite the randomizer's shuffles if world.shuffle == 'vanilla':