Sub SetSpriteAnimationLoops(sprite, num_loops)
Sets the number of animation loops for the sprite
Related:
NumSpriteAnimationLoops