Hello!
I am trying to figure out how to script $gameTroop.turnCount() to check if it's the 3rd turn, reset and count to 3rd turn again.
I figured I should put it inside a notetag like this, but no idea how the math will work.
The state will be applied from the start, and ends when the battle ends.
I am trying to figure out how to script $gameTroop.turnCount() to check if it's the 3rd turn, reset and count to 3rd turn again.
I figured I should put it inside a notetag like this, but no idea how the math will work.
Code:
<Custom Turn End Effect>
if (math to check if it's the third turn)
state effect does it's thing
</Custom Turn End Effect>
The state will be applied from the start, and ends when the battle ends.