Use original item code for maps and compasses in their dungeons

This commit is contained in:
Bonta-kun
2019-12-16 10:58:25 +01:00
parent d33582a3a2
commit 930dcfb90f

4
Rom.py
View File

@@ -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)