Update base rom for colored bombs

This commit is contained in:
2021-11-07 13:11:54 -08:00
parent b8304c4c76
commit b73b2aa342
2 changed files with 6 additions and 1 deletions

7
Rom.py
View File

@@ -33,7 +33,7 @@ from source.classes.SFX import randomize_sfx
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '0a03e2d02ede95a7511fad81df24eea9'
RANDOMIZERBASEHASH = '098cf0c6f15e162eeeb5e1740cc76792'
class JsonRom(object):
@@ -1253,6 +1253,11 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
rom.write_bytes(0x0309DE, [0xA9, 0xFF, 0xEA, 0xEA])
rom.write_byte(0x30A28, 0x2C)
# hack palette to make gold bombs actually gold
rom.write_bytes(0x0DD634, [0xBC, 0x02])
rom.write_bytes(0x0DD648, [0x5F, 0x4F])
rom.write_bytes(0x0DD658, [0x5F, 0x4F])
# update sword references in credits to bombs
rom.write_bytes(0x11807A, credits_string_top("FIRST BOMBS"))
rom.write_bytes(0x118098, credits_string_bot("FIRST BOMBS"))

Binary file not shown.