Note: It repeats the code from the beginning up to the last code before the loop and when the limit is reached, it will proceed to the next code, if any.
Oh, when you do the code like this:
00 00 09 00 01 00 09 00 FD FF 01 00 FD FF 01 00 FF FF 00 00
'From frame 1 to frame 2 and the animation repeats over and over to no end...
I've tested all this with trainer animations and it works perfectly.
I ought to share it here because I'm quite sure that this can also apply
to pokemon animations. But then I could be wrong...
I might post a video sometime.
Both animation systems are exactly identical, so it should work both ways. However, it may present a few issues with Pokemon animations. I'd test it, but I can't get my Windows multiboot to work so I can't work on hacks at the moment.