When the player triggers Mega Evolution while wearing an outfit, the animation will now properly display the trainer's current outfit during the animation.
Added the "battlerWish" midbattle command. This can be used to specifically set the Wish effect on a battler position.
Reorganized some of the plugin debug options.
Made many miscellaneous tweaks for compatibility with changes made to several other plugins.
Made several adjustments in preparation for the Raid Battles add-on plugin.
I fixed one line of code related to compatibility with the Animated Trainer Intros plugin. It's not worth an entire numbered update for this one change, but please reinstall the plugin anyway.
Added a new battle call, TrainerBattle.select_start(size, *args), which allows you to set up a trainer battle where the player must first select a specific number of party members to participate in battle. Set size to the number of battlers the player must bring, where args can be the normal trainer battle criteria.
Made various changes for compatibility for the upcoming Animated Trainer Intros add-on plugin.
Fixed issues with midbattle scripting that could cause crashes when a battler faints in certain situations.
Fixed issues with raid-style captures vs a single wild Pokémon. It should no longer be possible to capture the Pokemon and lose the battle in the same turn.
Fixed how raid-style captures work vs multiple wild Pokémon. If you capture one wild Pokémon but lose the battle before defeating/capturing the remaining wild Pokémon, you will still be able to keep the Pokémon you did capture if the cannotLose Battle Rule is enabled. If this rule is not enabled, then all captured Pokémon in this battle will be lost, and the game will treat things as if you never captured the Pokemon.
Fixed several awkward visual bugs related to raid-style captures when the Animated Pokemon System add-on is installed.
Tweaked some of the code for Shadow Pokemon patterns for better compatibility with the Following Pokemon EX plugin.