Ghostly movement routine

just for fun i remove the array and array checking code and replaced it with this and it works just the same

So much less code/events for the same result, but without the moving glitch?

What i think is happening is iā€™m using 2 states, moveing and stopped/checking next move and even though the object tween is stopped for a tiny amount of time, you can just about see that its not one continuous movement, do you think if i do the next move check just before the tween has finished it would be smoother?

I will have to investigate if im not using the array i may be able to remove the two states and just have 1