Board Thread:Questions and Answers/@comment-1490123-20140719002944/@comment-1490123-20140719003400

There's a little more to that block of code in my actual program, btu I think that's basically all you need to know.

2nd of 3

Then there's telling the game to stop animating at the right time.

I have it so the B button makes it so the player will move faster as long as it's held, but, if the player was already moving, then stopped while still holding the B button, the sprite is still animated.

IF B==0 THEN SPCHR 0,64:SPANIM 0,1,1,1

I can see what's wrong with it, but I don't know what I need to do to make it right.