Triggers: End of Battle

Section 4.A.11

These are keys which trigger at the end of a battle.

  • "BattleEnd" Triggers upon a battle ending, regardless of outcome.

  • "BattleEndWin" Triggers upon a battle ending where the player won.

  • "BattleEndLoss" Triggers upon a battle ending where the player lost.

  • "BattleEndDraw" Triggers upon a battle ending where it ended in a draw.

  • "BattleEndForfeit" Triggers upon a trainer battle ending where the player forfeited the match (Battle Tower-style battles only).

  • "BattleEndRun" Triggers upon a wild battle ending where the player chose to run.

  • "BattleEndFled" Triggers upon a wild battle ending where the wild Pokemon fled.

  • "BattleEndCapture" Triggers upon a wild battle ending where the player captured at least one Pokemon.

Trigger Extensions: These keys are not compatible with any trigger extensions.

Last updated