Language…
5 users online:  BeeKaay, Darolac, E623, Guido_Keller, krizeth - Guests: 240 - Bots: 336
Users: 64,795 (2,377 active)
Latest user: mathew

Flashing Shell animation problem when dying.

FLASHING SHELL SPRITE



If Mario dies, the animation shell will continue.
How can i fix this?
I'm sure there's a simpler way to set this up, but here's a quick fix. Change:
Code
INC !1570,x	; increase $1570 (for frame count)..

to
Code
LDA $71
CMP #$09
BEQ +

INC !1570,x	; increase $1570 (for frame count)..
+


This'll have it so that it skips over increasing its animation frames if Mario is dying.