From 930dcfb90f02f3317c9192c4da7272daebfb5b40 Mon Sep 17 00:00:00 2001 From: Bonta-kun <40473493+Bonta0@users.noreply.github.com> Date: Mon, 16 Dec 2019 10:58:25 +0100 Subject: [PATCH] Use original item code for maps and compasses in their dungeons --- Rom.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rom.py b/Rom.py index 17d0434d..02c5abc9 100644 --- a/Rom.py +++ b/Rom.py @@ -473,6 +473,10 @@ def patch_rom(world, player, rom, enemized): itemid = 0x32 if location.item.smallkey: itemid = 0x24 + if location.item.map: + itemid = 0x33 + if location.item.compass: + itemid = 0x25 if location.item and location.item.player != player: if location.player_address is not None: rom.write_byte(location.player_address, location.item.player)