(I'm not good at English,sorry :(
I know 2 types of SPRITE animation.
Easy one,use it SPCHR.
SPCHR (SPRITE ID),(NUMBER)
It's easy,but not automated.you must be write SPCHR if you want change SPRITE...
2.It's not easy,use SPANIM.
Example:
SPSET ID,ASC("A")
SPANIM ID,"I",60,ASC("B"),0
Attached is a small program that animates a rotating spaceship that you can move around with the circle pad. The "I" option does keyframe animation. The data is loaded up from a data statement at the end of the code. The first number is the number of frames. After that you have two numbers per frame. The first is duration in 1/60ths of a second, the second is the sprite definition number to show.