im pretty sure its based off some status effects like dodging moves or flinching if the opponent cant take their next turn the game bugs out