📒
Deluxe Battle Kit Tutorial
  • Deluxe Battle Kit for v21.1
    • Deluxe Animations
      • Animation: Databoxes
      • Animation: Item Usage
      • Animation: Fleeing Pokemon
      • Animation: Mega Evolution
      • Animation: Primal Reversion
      • Animation: Shadow Pokemon
    • Deluxe Battle Rules
      • Rules: Battle Modes
      • Rules: Battle Visuals
      • Rules: Battle Audio
      • Rules: Editing the Player
      • Rules: Mega Evolution
      • Rules: Capturing Pokemon
      • Rules: Editing Wild Pokemon
    • Wild Boss Attributes
      • Attribute: Boosted HP
      • Attribute: Immunities
    • Mid-Battle Scripting
      • Trigger Keys
        • Triggers: Round Phases
        • Triggers: Battler Turns
        • Triggers: Item Usage
        • Triggers: Wild Capture
        • Triggers: Switching
        • Triggers: Megas & Primals
        • Triggers: Move Usage
        • Triggers: Damage Results
        • Triggers: Battler Condition
        • Triggers: End of Effects
        • Triggers: End of Battle
        • Triggers: Variable
        • Triggers: Choices
        • Triggers: Extensions
          • Extensions: User
          • Extensions: Frequency
      • Command Keys
        • Commands: Text & Speech
        • Commands: Audio & Animation
        • Commands: Utilities
        • Commands: Battle Mechanics
        • Commands: Battler Attributes
        • Commands: Battlefield Conditions
        • Commands: Extensions
      • Advanced Scripting
        • Advanced: Speech Utilities
          • Speech: General
          • Speech: Choices
          • Speech: Speakers
        • Advanced: Variable Utilities
        • Advanced: Storing Scripts
        • Advanced: Hardcoding
        • Advanced: Global Scripts
    • Example Battles
      • Examples: Wild Battles
      • Examples: Trainer Battles
    • Miscellaneous Utilities
    • Add-On Tutorials
      • Enhanced Battle UI
        • UI: Battler Info
        • UI: Poke Ball Shortcut
        • UI: Move Info
      • SOS Battles
        • SOS: Plugin Overview
        • SOS: PBS Data
        • SOS: Battle Rules
        • SOS: Mid-Battle Scripting
      • Raid Battles
      • Z-Power
        • Z-Power: Z-Moves
        • Z-Power: Ultra Burst
        • Z-Power: Animations
        • Z-Power: Battle Rules
        • Z-Power: Mid-Battle Scripting
      • Dynamax
        • Dynamax: Properties
        • Dynamax: Move Data
        • Dynamax: Form Data
        • Dynamax: Animations
        • Dynamax: Battle Rules
        • Dynamax: Mid-Battle Scripting
      • Terastallization
        • Terastal: Tera Types
        • Terastal: Tera Forms
        • Terastal: Animations
        • Terastal: Battle Rules
        • Terastal: Mid-Battle Scripting
      • Improved Item AI
        • Item AI: Handlers
      • Wonder Launcher
        • Launcher: Plugin Overview
        • Launcher: PBS Data
        • Launcher: Battle Rules
        • Launcher: Mid-Battle Scripting
      • Animated Pokemon System
        • Animated: Pokemon Sprites
        • Animated: Dynamic Sprite Effects
        • Animated: UI Sprites
        • Animated: Sprite Editor
        • Animated: Mid-Battle Scripting
      • Animated Trainer Intros
        • Intros: Trainer Sprites
        • Intros: Sprite Editor
        • Intros: UI Sprites
        • Intros: Battle Transitions
        • Intos: Mid-Battle Scripting
Powered by GitBook
On this page

Was this helpful?

  1. Deluxe Battle Kit for v21.1
  2. Mid-Battle Scripting
  3. Trigger Keys

Triggers: Damage Results

Section 4.A.8

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

  • "UserDealtDamage" Triggers when the result of the user's move is that it dealt damage to the target.

  • "UserDamagedSub" Triggers when the result of the user's move is that it damaged the target's Substitute, but didn't break it.

  • "UserBrokeSub" Triggers when the result of the user's move is that it broke the target's Substitute.

  • "UserDealtCriticalHit" Triggers when the result of the user's move is that it landed a critical hit.

  • "UserMoveEffective" Triggers when the result of the user's move is that it landed a Super Effective hit.

  • "UserMoveResisted" Triggers when the result of the user's move is that it landed a Not Very Effective hit.

  • "UserMoveNegated" Triggers when the result of the user's move is that it was completely negated by the target (type immunity, Protect, etc.)

  • "UserMoveDodged" Triggers when the result of the user's move is that it missed the target.

  • "UserHPHalf" Triggers when the user of the move has 50% or less of their total HP remaining after their move is executed.

  • "UserHPLow" Triggers when the user of the move has 25% or less of their total HP remaining after their move is executed.

  • "LastUserHPHalf" 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.

  • "LastUserHPLow" 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.

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, "UserDealtDamage_SCYTHER" would trigger only when a Scyther was the user of a move that dealt damage, where "UserMoveEffective_EMBER" would trigger only when the user's Ember attack dealt Super Effective damage, and "UserMoveNegated_GHOST" would trigger only when the user's Ghost-type move was ineffective on its target.

  • "TargetTookDamage" Triggers when the target took damage as a result of a used move.

  • "TargetSubDamaged" Triggers when the target's Substitute was damaged as a result of a used move, but it didn't break.

  • "TargetSubBroken" Triggers when the target's Substitute was broken as a result of a used move.

  • "TargetTookCriticalHit" Triggers when the target suffered a critical hit as a result of a used move.

  • "TargetWeakToMove" Triggers when the target suffered a Super Effective hit as a result of a used move.

  • "TargetResistedMove" Triggers when the target suffered a Not Very Effective hit as a result of a used move.

  • "TargetNegatedMove" Triggers when the target completely negated a used move, resulting in no damage taken (type immunity, Protect, etc.)

  • "TargetDodgedMove" Triggers when the target evaded a used move, resulting in a miss.

  • "TargetHPHalf" Triggers when the target has 50% or less of their total HP remaining after being hit by a move.

  • "TargetHPLow" Triggers when the target has 25% or less of their total HP remaining after being hit by a move.

  • "LastTargetHPHalf" 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.

  • "LastTargetHPLow" 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.

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, "TargetDodgedMove_NINJASK" would trigger only when a Ninjask evaded a move it was targeted with, where "TargetResistedMove_WATERGUN" would trigger only when the target resisted the move Water Gun, and "TargetTookCriticalHit_GRASS" would trigger only when the target suffered a critical hit from a Grass-type move.

PreviousTriggers: Move UsageNextTriggers: Battler Condition

Last updated 1 year ago

Was this helpful?