in Zelda, has a peculiar thing in the movement which is, if you go to any 4 diretions (up,down,left,right) and then move to diagonals, link doesn't changes the sprite diretion, exemple: if you hold 'up', link looks up and then if you hold 'left', link goes to diagonal but stays looking up, but if you hold 'left' first and than hold 'up', link goes to the same direction but looking to left, I can't figure out how to do it.
(I'm using 8-directions behavior and using a variable to store the player's direction based on motion)