📒
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: Battler Condition

Section 4.A.9

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

  • "BattlerHPRecovered" Triggers whenever a battler recovers HP for any reason.

  • "BattlerHPFull" Triggers whenever a battler recovers HP for any reason and it results in its HP being restored to full.

  • "BattlerHPReduced" Triggers whenever a battler's HP is reduced for any reason.

  • "BattlerHPCritical" 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).

  • "BattlerFainted" Triggers upon a battler's HP falling to zero and fainting.

  • "LastBattlerFainted" Triggers upon the last remaining Pokemon on a side falling to zero HP and fainting.

  • "BattlerReachedHPCap" Triggers upon a battler's HP reaching a specific threshold where it cannot fall any lower.

  • "BattlerStatusChange" Triggers upon a battler being inflicted with a status condition.

  • "BattlerStatusCured" Triggers upon a battler's status condition returning to normal.

  • "BattlerConfusionStart" Triggers upon a battler being inflicted with confusion.

  • "BattlerConfusionEnd" Triggers upon a battler snapping out of confusion.

  • "BattlerAttractStart" Triggers upon a battler becoming infatuated with another Pokemon.

  • "BattlerAttractEnd" Triggers upon a battler shaking off its infatuation.

  • "BattlerStatRaised" Triggers upon a battler's stats being raised by a number of stages.

  • "BattlerStatLowered" Triggers upon a battler's stats being lowered by a number of stages.

  • "BattlerMoveZeroPP" Triggers upon one of a battler's moves falling to zero PP either through using the move, or having it reduced by an effect.

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, "BattlerFainted_PIDGEY" would trigger only when a Pidgey fainted.

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, "BattlerHPCritical_NORMAL" would trigger only when a Normal-type's HP falls to critical levels.

Trigger Extensions 3: For the "BattlerStatusChange" key specifically, you may also use a status ID to specify when a specific status condition is inflicted. For example, "BattlerStatusChange_BURN" would trigger only when a battler is inflicted with a Burn.

Trigger Extensions 4: For the "BattlerStatRaised" and "BattlerStatLowered" keys specifically, you may also use a stat ID to specify a specific stat that was raised or lowered, respectively. For example, "BattlerStatRaised_ATTACK" would trigger only when a battler's Attack stat has been raised.

Trigger Extensions 5: For the "BattlerMoveZeroPP" 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, "BattlerMoveZeroPP_HYPERBEAM" would trigger only when a battler's Hyper Beam runs out of PP, where "BattlerMoveZeroPP_ICE" would trigger only when a battler's Ice-type move runs out of PP.

PreviousTriggers: Damage ResultsNextTriggers: End of Effects

Last updated 9 months ago

Was this helpful?