Tracks battle state via a global switch, allowing you to check if the player is in battle using a conditional branch in events.