From 1e0a0461519e3b1368d34f4e667f6617986d180b Mon Sep 17 00:00:00 2001 From: codemann8 Date: Fri, 29 Jul 2022 16:41:29 -0500 Subject: [PATCH] Fixed 4 digits collection rate in credits issue --- Rom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 68768420..ae8e8bfa 100644 --- a/Rom.py +++ b/Rom.py @@ -1072,7 +1072,8 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False): rom.write_byte(cr_pc+0x1f, thousands_bot) # modify stat config stat_address = 0x23B969 - stat_pc = snes_to_pc(stat_address) + owr_difference = 0x26 # can't remember why there is a difference between DR fork + stat_pc = snes_to_pc(stat_address - owr_difference) rom.write_byte(stat_pc, 0xa9) # change to pos 21 (from b1) rom.write_byte(stat_pc+2, 0xc0) # change to 12 bits (from a0) rom.write_byte(stat_pc+3, 0x80) # change to four digits (from 60)