Sub SetSpriteAnimationLength(sprite, animation, anim_length)
Sets the number of frames in a sprite animation
Related:
GetSpriteAnimationLength