📒
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: Move Usage

Section 4.A.7

These are keys which trigger upon a battler using a move.

  • "BeforeMove" Triggers right before a battler's selected move is about to be executed.

  • "BeforeDamagingMove" Triggers right before a battler's selected damage-dealing move is about to be executed.

  • "BeforePhysicalMove" Triggers right before a battler's selected physical move is about to be executed.

  • "BeforeSpecialMove" Triggers right before a battler's selected special move is about to be executed.

  • "BeforeStatusMove" Triggers right before a battler's selected status move is about to be executed.

Trigger Extensions 1: You may extend these keys with a species ID or type ID to specify that they should only trigger when a specific species is about to use a move, or when a move of a specific type is about to be used. For example, "BeforePhysicalMove_MACHOP" would trigger only when a Machop is about to use a physical move, where "BeforeSpecialMove_PSYCHIC" would trigger only when a special Psychic-type move is about to be used.

Trigger Extensions 2: For the "BeforeMove" key specifically, you can also use a move ID to specify a specific move. For example, "BeforeMove_TACKLE" would only trigger before the move Tackle is used.

  • "AfterMove" Triggers right after a battler's selected move is successfully executed.

  • "AfterDamagingMove" Triggers right after a battler's selected damage-dealing move is successfully executed.

  • "AfterPhysicalMove" Triggers right after a battler's selected physical move is successfully executed.

  • "AfterSpecialMove" Triggers right after a battler's selected special move is successfully executed.

  • "AfterStatusMove" Triggers right after a battler's selected status move is successfully executed.

Trigger Extensions 1: You may extend these keys with a species ID or type ID to specify that they should only trigger when a specific species is used a move, or when a move of a specific type was used. For example, "AfterSpecialMove_GENGAR" would trigger only when a Gengar used a special move, where "AfterStatusMove_FIRE" would trigger only when a Fire-type status move was used.

Trigger Extensions 2: For the "AfterMove" key specifically, you can also use a move ID to specify a specific move. For example, "AfterMove_GROWL" would only trigger after the move Growl was used.

PreviousTriggers: Megas & PrimalsNextTriggers: Damage Results

Last updated 1 year ago

Was this helpful?