Update code to not start with bombs in bomb-only mode

This commit is contained in:
2021-07-12 16:36:45 -07:00
parent d1f6558f34
commit ac14675461
6 changed files with 38 additions and 28 deletions

4
Rom.py
View File

@@ -31,7 +31,7 @@ from OverworldShuffle import default_flute_connections, flute_data
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'b6c98e872be23f268ff6678aa3eeaee4'
RANDOMIZERBASEHASH = '5a85c6c90ed1e6a66236fd10e96d496b'
class JsonRom(object):
@@ -894,7 +894,7 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
write_int16(rom, 0x187010, credits_total) # dynamic credits
if credits_total != 216:
# collection rate address:
cr_address = 0x2391E0
cr_address = 0x2391DE
cr_pc = cr_address - 0x120000 # convert to pc
mid_top, mid_bot = credits_digit((credits_total // 10) % 10)
last_top, last_bot = credits_digit(credits_total % 10)