I was wondering how to do this kind of animation, but do not know the right keyword to search for it in the search engine. (To be exact, the ziggidy-zaggidy effect on the cat.)
Do you know about it?
Hm... I've seen Flipnotes do that for the Ds/DSi...I don't know what it is called but to do the affect easy use layers, also called onion skin layers.
I'd recommend to search how to draw a fluffy cat, scared cat, or simply how to draw a cat for drawing a cat.
But to do the ziggity zig effect, of the lines moving, you MUST redraw the cat frame by frame with slight changes, such as stroke thickness, or length. With the onion layering you can see the changes you made and easily correct errors.
Try searching for stop-go animation, or hand drawn animation tutorials or Flipnote animations/tutorials.
I hope that helps, and I hope one-day we figure out what it is called!
Finally! I've been puzzling over why it wasn't working for two days now. Turns out all of my calculations were correct, I just forgot to give some events hitboxes. Now my randomly generated maps check for collision errors, and move stuff around in real time if they finds any.