# Triggers: Damage Results

These are keys which trigger after the results of a used damage-dealing move has been calculated.

* <mark style="background-color:purple;">**"UserDealtDamage"**</mark>\
  Triggers when the result of the user's move is that it dealt damage to the target.<br>
* <mark style="background-color:purple;">**"UserDamagedSub"**</mark>\
  Triggers when the result of the user's move is that it damaged the target's Substitute, but didn't break it.<br>
* <mark style="background-color:purple;">**"UserBrokeSub"**</mark>\
  Triggers when the result of the user's move is that it broke the target's Substitute.<br>
* <mark style="background-color:purple;">**"UserDealtCriticalHit"**</mark>\
  Triggers when the result of the user's move is that it landed a critical hit.<br>
* <mark style="background-color:purple;">**"UserMoveEffective"**</mark>\
  Triggers when the result of the user's move is that it landed a Super Effective hit.<br>
* <mark style="background-color:purple;">**"UserMoveResisted"**</mark>\
  Triggers when the result of the user's move is that it landed a Not Very Effective hit.<br>
* <mark style="background-color:purple;">**"UserMoveNegated"**</mark>\
  Triggers when the result of the user's move is that it was completely negated by the target (type immunity, Protect, etc.)<br>
* <mark style="background-color:purple;">**"UserMoveDodged"**</mark>\
  Triggers when the result of the user's move is that it missed the target.<br>
* <mark style="background-color:purple;">**"UserHPHalf"**</mark>\
  Triggers when the user of the move has 50% or less of their total HP remaining after their move is executed.<br>
* <mark style="background-color:purple;">**"UserHPLow"**</mark>\
  Triggers when the user of the move has 25% or less of their total HP remaining after their move is executed.<br>
* <mark style="background-color:purple;">**"LastUserHPHalf"**</mark>\
  Triggers when the user of the move has no remaining ally Pokemon in reserve on their side, and it has 50% or less of its total HP remaining after its move is executed.<br>
* <mark style="background-color:purple;">**"LastUserHPLow"**</mark>\
  Triggers when the user of the move has no remaining ally Pokemon in reserve on their side, and it has 25% or less of its total HP remaining after its move is executed.

{% hint style="info" %}
Trigger Extensions: You may extend these keys with a species ID, move ID or type ID to specify that they should only trigger when the user is of a specific species, used a specific move, or used a specific type of move. For example, <mark style="background-color:purple;">"UserDealtDamage\_SCYTHER"</mark> would trigger only when a Scyther was the user of a move that dealt damage, where <mark style="background-color:purple;">"UserMoveEffective\_EMBER"</mark> would trigger only when the user's Ember attack dealt Super Effective damage, and <mark style="background-color:purple;">"UserMoveNegated\_GHOST"</mark> would trigger only when the user's Ghost-type move was ineffective on its target.
{% endhint %}

* <mark style="background-color:purple;">**"TargetTookDamage"**</mark>\
  Triggers when the target took damage as a result of a used move.<br>
* <mark style="background-color:purple;">**"TargetSubDamaged"**</mark>\
  Triggers when the target's Substitute was damaged as a result of a used move, but it didn't break.<br>
* <mark style="background-color:purple;">**"TargetSubBroken"**</mark>\
  Triggers when the target's Substitute was broken as a result of a used move.<br>
* <mark style="background-color:purple;">**"TargetTookCriticalHit"**</mark>\
  Triggers when the target suffered a critical hit as a result of a used move.<br>
* <mark style="background-color:purple;">**"TargetWeakToMove"**</mark>\
  Triggers when the target suffered a Super Effective hit as a result of a used move.<br>
* <mark style="background-color:purple;">**"TargetResistedMove"**</mark>\
  Triggers when the target suffered a Not Very Effective hit as a result of a used move.<br>
* <mark style="background-color:purple;">**"TargetNegatedMove"**</mark>\
  Triggers when the target completely negated a used move, resulting in no damage taken (type immunity, Protect, etc.)<br>
* <mark style="background-color:purple;">**"TargetDodgedMove"**</mark>\
  Triggers when the target evaded a used move, resulting in a miss.<br>
* <mark style="background-color:purple;">**"TargetHPHalf"**</mark>\
  Triggers when the target has 50% or less of their total HP remaining after being hit by a move.<br>
* <mark style="background-color:purple;">**"TargetHPLow"**</mark>\
  Triggers when the target has 25% or less of their total HP remaining after being hit by a move.<br>
* <mark style="background-color:purple;">**"LastTargetHPHalf"**</mark>\
  Triggers when the target has no remaining ally Pokemon in reserve on their side, and it has 50% or less of its total HP remaining after being hit by a move.<br>
* <mark style="background-color:purple;">**"LastTargetHPLow"**</mark>\
  Triggers when the target has no remaining ally Pokemon in reserve on their side, and it has 25% or less of its total HP remaining after being hit by a move.

{% hint style="info" %}
Trigger Extensions: You may extend these keys with a species ID, move ID or type ID to specify that they should only trigger when the target is of a specific species, was targeted by a specific move, or targeted by a specific type of move. For example, <mark style="background-color:purple;">"TargetDodgedMove\_NINJASK"</mark> would trigger only when a Ninjask evaded a move it was targeted with, where <mark style="background-color:purple;">"TargetResistedMove\_WATERGUN"</mark> would trigger only when the target resisted the move Water Gun, and <mark style="background-color:purple;">"TargetTookCriticalHit\_GRASS"</mark> would trigger only when the target suffered a critical hit from a Grass-type move.
{% endhint %}
