By "alternative" I mean alternative input. I have an onscreen joypad that when you touch the direction you wish to go, it moves you. With keyboard you hold "A" to run, but with this you will simply tap the direction again. I have a variable set to go up when you tap that button, on 1 it does the walk animation at the proper walk speed, and on 2 it does the run animation, but it isn't proper. Instead it sticks on frame 1 and doesn't seem to resolve to the rest of the animation. Please help me resolve this issue!
SCREENSHOT OF THE CODE THAT ISN'T WORKING: