Enemy is supposed to charge up (PreDashFace... state) and then dash. When they collide with the edge marker, they should turn around and enter the PreDash state again. When facing right, the PreDash animation will not trigger. That is the only thing not working.
Gif of error
Code of error
Feel free to crit my code; I'm pretty new at this