From 74c586320b1b52939342e314d4033d7c889d84b8 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Fri, 22 Oct 2021 18:32:00 -0500 Subject: [PATCH] Smith deletion on S+Q only if cannot reach from start --- Rom.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rom.py b/Rom.py index c7937e24..629e3518 100644 --- a/Rom.py +++ b/Rom.py @@ -688,6 +688,10 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False): write_int16(rom, 0x150002, owMode) write_int16(rom, 0x150004, owFlags) + + from OverworldShuffle import can_reach_smith + if not can_reach_smith(world, player): + rom.write_byte(0x18005d, 0x01) # patch for deleting smith on S+Q # patch entrance/exits/holes for region in world.regions: