credits again

This commit is contained in:
aerinon
2021-07-22 16:28:27 -07:00
parent 37b4d04d47
commit 23846dc475
3 changed files with 5 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ from Fill import sell_potions, sell_keys, balance_multiworld_progression, balanc
from ItemList import generate_itempool, difficulties, fill_prizes, customize_shops
from Utils import output_path, parse_player_names
__version__ = '0.4.0.11u'
__version__ = '0.4.0.12u'
class EnemizerError(RuntimeError):

View File

@@ -22,6 +22,9 @@ For accessibility, you now get a C or P indicator to the left of the magic bar o
# Bug Fixes and Notes.
* 0.4.0.12
* ER Inverted fix for HC Ledge
* Credits again
* 0.4.0.11
* Some minor base rom fixes
* Improved distribution of bombable/dashable doors

2
Rom.py
View File

@@ -808,7 +808,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 = 0x2391F2
cr_address = 0x2391F0
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)