# Triggers: Battler Condition

These are keys which trigger upon the battler undergoing some kind of change to its condition.

* <mark style="background-color:purple;">**"BattlerHPRecovered"**</mark>\
  Triggers whenever a battler recovers HP for any reason.<br>
* <mark style="background-color:purple;">**"BattlerHPFull"**</mark>\
  Triggers whenever a battler recovers HP for any reason and it results in its HP being restored to full.<br>
* <mark style="background-color:purple;">**"BattlerHPReduced"**</mark>\
  Triggers whenever a battler's HP is reduced for any reason.<br>
* <mark style="background-color:purple;">**"BattlerHPCritical"**</mark>\
  Triggers whenever a battler's HP is reduced for any reason and it results in its HP falling to critically low levels (<= 25% of max HP).<br>
* <mark style="background-color:purple;">**"BattlerFainted"**</mark>\
  Triggers upon a battler's HP falling to zero and fainting.<br>
* <mark style="background-color:purple;">**"LastBattlerFainted"**</mark>\
  Triggers upon the last remaining Pokemon on a side falling to zero HP and fainting.<br>
* <mark style="background-color:purple;">**"BattlerReachedHPCap"**</mark>\
  Triggers upon a battler's HP reaching a specific threshold where it cannot fall any lower.<br>
* <mark style="background-color:purple;">**"BattlerStatusChange"**</mark>\
  Triggers upon a battler being inflicted with a status condition.<br>
* <mark style="background-color:purple;">**"BattlerStatusCured"**</mark>\
  Triggers upon a battler's status condition returning to normal.<br>
* <mark style="background-color:purple;">**"BattlerConfusionStart"**</mark>\
  Triggers upon a battler being inflicted with confusion.<br>
* <mark style="background-color:purple;">**"BattlerConfusionEnd"**</mark>\
  Triggers upon a battler snapping out of confusion.<br>
* <mark style="background-color:purple;">**"BattlerAttractStart"**</mark>\
  Triggers upon a battler becoming infatuated with another Pokemon.<br>
* <mark style="background-color:purple;">**"BattlerAttractEnd"**</mark>\
  Triggers upon a battler shaking off its infatuation.<br>
* <mark style="background-color:purple;">**"BattlerStatRaised"**</mark>\
  Triggers upon a battler's stats being raised by a number of stages.<br>
* <mark style="background-color:purple;">**"BattlerStatLowered"**</mark>\
  Triggers upon a battler's stats being lowered by a number of stages.<br>
* <mark style="background-color:purple;">**"BattlerMoveZeroPP"**</mark>\
  Triggers upon one of a battler's moves falling to zero PP either through using the move, or having it reduced by an effect.

{% hint style="info" %}
Trigger Extensions 1: You may extend these keys with a species ID to specify when a battler of a specific species suffers from one of these conditions. For example, <mark style="background-color:purple;">"BattlerFainted\_PIDGEY"</mark> would trigger only when a Pidgey fainted.&#x20;
{% endhint %}

{% hint style="info" %}
Trigger Extensions 2: For all keys related to HP or fainting, you may also use a type ID to specify a species of a specific type. For example, <mark style="background-color:purple;">"BattlerHPCritical\_NORMAL"</mark> would trigger only when a Normal-type's HP falls to critical levels.
{% endhint %}

{% hint style="info" %}
Trigger Extensions 3: For the <mark style="background-color:purple;">"BattlerStatusChange"</mark> key specifically, you may also use a status ID to specify when a specific status condition is inflicted. For example, <mark style="background-color:purple;">"BattlerStatusChange\_BURN"</mark> would trigger only when a battler is inflicted with a Burn.&#x20;
{% endhint %}

{% hint style="info" %}
Trigger Extensions 4: For the <mark style="background-color:purple;">"BattlerStatRaised"</mark> and <mark style="background-color:purple;">"BattlerStatLowered"</mark> keys specifically, you may also use a stat ID to specify a specific stat that was raised or lowered, respectively. For example, <mark style="background-color:purple;">"BattlerStatRaised\_ATTACK"</mark> would trigger only when a battler's Attack stat has been raised.
{% endhint %}

{% hint style="info" %}
Trigger Extensions 5: For the <mark style="background-color:purple;">"BattlerMoveZeroPP"</mark> key specifically, you may also use a move ID or type ID to specify when a specific move or move of a specific type runs out of PP. For example, <mark style="background-color:purple;">"BattlerMoveZeroPP\_HYPERBEAM"</mark> would trigger only when a battler's Hyper Beam runs out of PP, where <mark style="background-color:purple;">"BattlerMoveZeroPP\_ICE"</mark> would trigger only when a battler's Ice-type move runs out of PP.
{% endhint %}
