m8si
Active member
This should be simple but I am not able to figure out what is wrong.
The first time script works fine. When I press UpRight/UpLeft the player moves correctly. But after I press DownRight/DownLeft player keeps moving DownRight/DownLeft even though I press UpRight/UpLeft.
etc...
The first time script works fine. When I press UpRight/UpLeft the player moves correctly. But after I press DownRight/DownLeft player keeps moving DownRight/DownLeft even though I press UpRight/UpLeft.
Code:
TXA
STA temp ;; assumes the object we want to move is in x.
StartMoving temp, #UPRIGHT
RTS
Code:
TXA
STA temp ;; assumes the object we want to move is in x.
StartMoving temp, #DOWNRIGHT
RTS
etc...