How to make 2d sprite move on the tile map (always finished in line with a square)

as it says above i would like to make my 2d character’s movement conform with the tile map grid (pokemon is the best example i can give)

any help is fantastic!

still having trouble finding a solution to this :S