From db45906ba6f458d71c5d8742a89292b38df7fdb7 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 20 Mar 2024 18:04:45 -0500 Subject: [PATCH] Use new bombbag item gfx if bombbag mode --- Rom.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rom.py b/Rom.py index 6c796884..361729b8 100644 --- a/Rom.py +++ b/Rom.py @@ -1080,6 +1080,11 @@ def patch_rom(world, rom, player, team, is_mystery=False): 0xFF, 0xFF, 0xFF, 0xFF, # end of table sentinel ]) + # item GFX changes + if world.bombbag[player]: + rom.write_byte(snes_to_pc(0x22C8A4), 0xE0) # use new bomb bag gfx + rom.write_byte(snes_to_pc(0x22BD52), 0x02) + # set Fountain bottle exchange items rom.write_byte(0x348FF, ItemFactory(world.bottle_refills[player][0], player).code) rom.write_byte(0x3493B, ItemFactory(world.bottle_refills[player][1], player).code)