so, i rewrote the code, and turns out when i press space when it enters the battle, it works, but wait 2 seconds, and it does not work. got any ideas on this?
When you say "it doesn't work" and "it does work" could you explain in more detail? What part of it works, what do you see, and what doesn't work - the more details the better.
One problem it might be is because I used strings for enumerators. If you have "ATTACK" and "Attack" or "attack" then they won't match - check for that.