Yes, I do actually. I wrote a nice documentation on it in fact:
http://www.pokecommunity.com/showthread.php?t=236456
It uses the game's basic animation system, so it's pretty simple. To extend the table, you can just repeat the same pointer as before for each new trainer sprite you're adding.