That was done in game maker. Learning python tho..
Yeah, if you wanna see wired walking animations, check out the original.
It combines shit gameplay and worse(yes, worse) graphics. It shows in a google search for Rankhi, or follow the link below
http://www.yoyogames.com/games/show/50342