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

My opinion on animating is that you don't need to use a GOSUBS to call a singular function.

'This shows the player walking up animation when the user presses the UP on the dpad, and stops when

'the player releases. A little bug if the player presses up and any other button is pressed and held,

'then the player releases UP, the animation will continue playing.

ACLS

SPSET 0,64,5,0,0,0

@ANIM

IF BUTTON==0 THEN SPANIM 0,1,1

IF BUTTON(1)==1 THEN SPCHR 0,76:SPANIM 0,4,15

VSYNC 1

GOTO @ANIM