From 67e4515bb707a5cf612c3f61b9c49eb616dda9da Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 20 Mar 2024 18:04:17 -0500 Subject: [PATCH] Fix corruption issue caused by bad collection rate address --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index e2d04757..6c796884 100644 --- a/Rom.py +++ b/Rom.py @@ -891,7 +891,7 @@ def patch_rom(world, rom, player, team, is_mystery=False): rom.write_byte(cr_pc+0x1e, 0xEE) # slash rom.write_byte(cr_pc+0x1f, thousands_bot) # modify stat config - stat_address = 0x2397B2 # 0x23B969 - old + stat_address = 0x23978C stat_pc = snes_to_pc(stat_address) 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)