Crystal: Animation frames.

Can now rip the frames which make up an animation (but not assemble
them into an animation yet). The code is hideous but it works.
Pokecrystal[1] was an invaluable reference.

[1]: https://github.com/kanzure/pokecrystal