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

View File

@@ -1,7 +1,18 @@
# Feature Notes
1.4.3: File Select/End Game screen: Mirror Scroll and Pseudoboots added (Thanks Hiimcody!)
# Patch Notes
Changelog archive
* 1.4.3
* Key Logic Algorithm: Renamed "Default" to "Dangerous" to indicate the potential soft-lock issues
* Hera Basement Cage: Fix for small key counting multiple times (again)
* Generation: Fixed several generation problems with ER and intensity 3
* Customizer: Generation bug when attempting to place small keys
* Hints: Updated pedestal/tablet text to be more clear
* Enemizer: Various enemy bans
* 1.4.2
* New ER Options:
* [Skull Woods shuffle options](#skull-woods-shuffle)

View File

@@ -38,7 +38,7 @@ from source.enemizer.DamageTables import DamageTable
from source.enemizer.Enemizer import randomize_enemies
from source.rom.DataTables import init_data_tables
version_number = '1.4.3'
version_number = '1.4.4'
version_branch = '-u'
__version__ = f'{version_number}{version_branch}'

View File

@@ -1,13 +1,4 @@
# New Features
File Select/End Game screen: Mirror Scroll and Pseudoboots added (Thanks Hiimcody!)
# Patch Notes
* 1.4.3
* Key Logic Algorithm: Renamed "Default" to "Dangerous" to indicate the potential soft-lock issues
* Hera Basement Cage: Fix for small key counting multiple times (again)
* Generation: Fixed several generation problems with ER and intensity 3
* Customizer: Generation bug when attempting to place small keys
* Hints: Updated pedestal/tablet text to be more clear
* Enemizer: Various enemy bans
1.4.4
- Fixed a crash bear the end of the credits when total collection rate was over 1000

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)