here is the movement code that i used in Wizard Willie (work in progress). it is pretty good and it is all in one script WOAH try to find the easter egg. it is easy but still fun to try and find. AND NO CHEATING AND LOOKING AT THE CODE!!!!! :)
you are welcome everyone :) have fun with this and one more thing. add variables called xv and yv for the sprite you want to move.