|Details for Star Fix|
|File Name:||Star Fix|
|Requires Free Space:||Yes|
This patch fixes 2 glitches in smw:
-If the game freezes (ram address $7E009D is set) and the freezable frame counter (ram address $7E0014) is at a value divisible by 4, will cause the star timer to decrement each frame rather than every 4th frame and freezing with the lock flag.
-If the player instantly dies (by lava or stage timer runs out) while the star power is active, the player still cycle through colors.
Note: I recommend also use the "SMA2 Slide kill chain", it also fixes a bug that I now have discovered that the kill counter doesn't reset until the player touches an enemy that has "default interaction".
In the image gif below, the hexadecimal number in the HUD's (heads-up display) item box represents the value in $7E0014, while left of the coin counter indicates $7E1490. Since #$2C (44 in decimal) is a multiple of 4 (4*11 = 44 or 44/4 = 11, R = 0), the star timer continues to decrement each frame.
|Tags:||fix, lorom, needs remoderation, sa-1, star power|
Download - 1.35 KiB