So I think this problem has something to do with dead-zones on the d-pad, but I don't know how to adjust that. My character can dash as well as attack with the same x button. However, sometimes the player will dash (while in the idle animation) if the attack (x) button is pressed immediately after releasing the d-pad. Even if I haven't been dashing (just running) he can dash (while idling) if x is pressed quickly enough.
I'm not sure exactly that it's the dead-zone of the d-pad, but it seems like the player dashes because the d-pad hasn't fully returned to it's released position yet and that's allowing the dash? Could it be another problem? Any ideas?
(Note: I do have a timer and boolean on the dash mechanic)