Ok so this is the image which contains all possible movements:http://dc251.4shared.com/img/7j1ytD2n/0.07157377207553117/sprite-anim2.bmp
And this is the code that moves the sprite:

if(key...