Sprite Animation example code. The important part is the data statements. The first number is the number of animation frames. Then for each frame you have a pair of numbers. The duration in frames then the definition id of the image to show. When calling spanim the false or 0 on the end says to loop the animation. The "I" says to do frame animation.