Looping Animations

Uh.. shaz? the script seems to be disassembled inside the spoiler :/
yeah, it was the stupid conversion from BBCode to whatever the new forum's version of BBCode is.  Most of the old scripts have been messed up.
Would it be possible to get a re-assembled version of the script? Or possibly advice on how to do so myself?

Tried doing it myself as-is and it keeps returning syntax errors.
I put it on pastebin.  Check the first post for the link.


It's untested - please let me know if you get any errors.
I put it on pastebin.  Check the first post for the link.


It's untested - please let me know if you get any errors.



Works like a charm so far, many thanks!
Ok, so I want to use this script in a battle. I have an animation that is just a series of different colors flashing, and I want to make this full window animation loop through out the battle. There is now character sprite in battle. What should I do?
It is not designed for use in battles.  You might be able to find another script that loops battle animations if you hunt around a bit.
Oh, OK. Thanks anyway.

Original thread: https://forums.rpgmakerweb.com/threads/looping-animations.15624/