Ask coding questions

← Back to all posts
How do I fix this?
ChessRocks (0)

I am trying to make a two player game where both players can choose between four Pokémon. I am trying to make it so that it will print that their special move is on cool down if it has been used twice in a row. Can someone help me print this when their special move has been used twice? The special move is the second move option.

MikeJMS8910 (234)

If I where you id just make a variable that stores how many times the move has been used. When they use the special move just add to the value. But before using the special move have a condition that checks to make sure that the move hasn't been used already.