Fixed incorrect Collection Rate in credits

This commit is contained in:
codemann8
2021-07-18 06:08:02 -05:00
parent a13975e4ff
commit 36f60c78b0

2
Rom.py
View File

@@ -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 = 0x2391C4
cr_address = 0x2391C2
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)