Left this reply in your other thread:
Hi. I see you have 66 images, Changing directions and what you want is to run say "Walk right" until you command it to change direction or turn etc.
Well what I do is cut out all the images Numbered 1 to 66.
Now make a variable ouside your loop "image=1".
Now in your loop you put " sprite 1,x,y, image"
Now if you just command "Inc image" it will run through the lot, which you dont want, so you do what I said previously,
If image>7 then image =1.
This as you know loops your first 7 from 1 to 7.
What you want is to change the animation to turn in any direction, so to do this you need to change the value of "image"
to the first number of the group you want.
So whatever you are using to command the turn, you out if "command":image = "the number you want":endif
and add the usual If image is more than"the last image"then image = "the first image".
I Know that if you are walking right and you want to turn right, you need to add the turn and the walk together during the turn so just experiment which looks best.
If you look below this, you will see a thread of mine "Sentry" have a read of this, it might help.
Best of luck.
I've downloaded your sprite sheet to make up some code, let you have it as soon as pos'
OldWrinkly