From 25be090f757461ded4c15c29125657cb7345c482 Mon Sep 17 00:00:00 2001 From: cassidy Date: Thu, 21 Oct 2021 17:02:56 -0400 Subject: [PATCH] Remove diggable light world portals in inverted --- Rom.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rom.py b/Rom.py index d8514556..b32408d3 100644 --- a/Rom.py +++ b/Rom.py @@ -2306,6 +2306,12 @@ def set_inverted_mode(world, player, rom): write_int16(rom, snes_to_pc(0x02E8D5), 0x07C8) write_int16(rom, 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(0x1BC42A), 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[player] == 'vanilla':