Look at the sprite's scripts, then look at the number of costumes. Feel free to fiddle with the number of costumes, then click the Green Flag to make it work.