Dynamax: Mid-Battle Scripting
Section 7.E.6
This plugin adds various new keys to be used by the Deluxe Battle Kit's mid-battle scripting functionality.
Trigger Keys
These are keys which trigger upon a battler utilizing Dynamax.
"BeforeDynamax" Triggers when a battler is going to Dynamax this turn, but before that Pokemon actually Dynamaxes.
"BeforeGigantamax" Triggers when a battler is going to Gigantamax this turn, but before that Pokemon actually Gigantamaxes.
"AfterDynamax" Triggers after a battler successfully Dynamaxes.
"AfterGigantamax" Triggers after a battler successfully Gigantamaxes.
Trigger Extensions: You may extend these keys with a species ID or a type ID to specify that they should only trigger when a specific species or species of a specific type triggers Dynamax. For example, "BeforeDynamax_PIKACHU" would trigger only when a Pikachu is about to Dynamax, where "AfterGigantamax_ELECTRIC" would trigger only after an Electric-type has Gigantamaxed.
Command Keys
These are keys which trigger certain actions related to Dynamax to take place during battle, such as forcing a trainer to use Dynamax, or disabling its use.
Hardcoding
Here's a list of methods and/or properties that you might want to reference when hardcoding a midbattle script, since this plugin adds a lot of new custom content which you may need to call on to make certain things happen:
Last updated
Was this helpful?