Language…
15 users online: AnkisethTheMonk, Aurel509, Bonobi, BrandonBlank, Darolac, Golden Yoshi, Green, Green Jerry, Hot Sauce, Jeyson29, NitroJustice,  Ringo, SmashNcrab, tOaO, zAce08xZ - Guests: 106 - Bots: 91
Users: 69,764 (2,527 active)
Latest user: Tomfires007

Star Animation Fix

SMW Patches → Star Animation Fix

Submission Details

Name: Star Animation Fix
Authors: HammerBrother, JackTheSpades
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: Yes
Featured: No
Description: 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: lorom sa-1 star star power
Comments: 2 (jump to comments)
Download 1.23 KiB | 319 downloads

Screenshots

Comments (2)

Burning Loaf Link
Removed 'needs moderation' tag, changed the title from 'Star Fix' to 'Star Animation Fix' to be more specific, removed a second autoclean command, touched up comments.
JackTheSpades Author From older version: Star fix Link
Well, I'm not gonna remove it because of 3 bytes wasted but I already gave you the whole code here so I'm not really sure why you kept the JML for the fist hijack instead of just using JSL : RTL
Anyway, patch does what it's suppose to and 3 bytes are not that big a deal. Maybe fix it next time you make an update.