Triggers: Switching
Section 4.A.5
These are keys which trigger upon a trainer withdrawing or sending out a new Pokemon.
"BeforeSwitchOut" Triggers when a trainer chooses to manually switch out an active Pokemon, but before that Pokemon is actually recalled.
"BeforeSwitchIn" Triggers when a trainer sends out a new Pokemon, but before that Pokemon actually enters the field.
"BeforeLastSwitchIn" Triggers when a trainer is about to send out the last remaining Pokemon in reserve, but before that Pokemon actually enters the field. If there are multiple trainers on a side, this only counts the last remaining Pokemon for that side, not any particular trainer.
"AfterSwitchIn" Triggers after a trainer has successfully sent out a new Pokemon.
"AfterLastSwitchIn" Triggers after a trainer has successfully sent out the last remaining Pokemon in reserve. If there are multiple trainers on a side, this only counts the last remaining Pokemon for that side, not any particular trainer.
"AfterSendOut" This is identical to "AfterSwitchIn", except this will trigger whenever a Pokemon is sent out, and not specifically when sent out due to a switch (for example, when sending out the lead Pokemon at the start of battle).
"AfterLastSendOut" This is identical to "AfterLastSwitchIn", except this will trigger whenever a trainer sends out the last remaining Pokemon in reserve, and not specifically when sent out due to a switch (for example, when sending out the lead Pokemon at the start of battle). If there are multiple trainers on a side, this only counts the last remaining Pokemon for that side, not any particular trainer.
Last updated
Was this helpful?