fix: credits crash

This commit is contained in:
aerinon
2024-07-01 16:00:35 -06:00
parent 27e792d6c4
commit defd237480
4 changed files with 16 additions and 14 deletions

2
Rom.py
View File

@@ -740,7 +740,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 = 0x239864
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)