Have you tried adding a condition for the walk animation to play?
Making it so that Dash being true prevents it, for example?
You could just replace your "set animation to walking" actions by a function that, when called, checks if the value is false before playing the walking animation.
Seriously, in case you don't already know, I highly recommend looking into how functions work, they're your best friends to avoid repeating code all over the place, for the sake of performance... and also avoiding headaches later on Better to have only one thing to change, than four for instance.
They're very flexible with parameters and whatnot.