- Fixed a bug with the move Transform/Imposter that could cause errors.
- Reworked some of the Damage Calc Refactor scripts.
- Tweaked some animation utilities.
- The "wildMegaEvolution" battle rule now sets a scripted battle scenario vs wild Mega Evolved Pokemon, instead of just flagging them as Mega-capable.
- Introduced a new game stat tracker
$stats.wild_mega_battles_won
to track how many battles the player won vs wild Mega Evolved Pokemon.
- Made some minor adjustments in preparation for the release of the Terastallization add-on.
The "wildMegaEvolution" rule now sets up battles that work similar to wild Tera Pokemon in Scarlet & Violet, except with the Mega Evolution mechanic instead of Terastallization.
When encountering a wild Pokemon who is capable of Mega Evolving with this set rule, the wild Pokemon will immediately Mega Evolve when encountered. If so, Poke Balls will be disabled. The Pokemon will survive with 1/6th of their max HP when taking lethal damage. Once reaching this threshold however, the Pokemon's Mega Evolution will fade, and they will revert to their original form. Once this happens, Poke Balls become usable again, and the Pokemon may be caught.
Whenever the player defeats or captures a wild Pokemon in this manner, the game will keep count of it. The total number of wild Mega Battles the player has cleared can be called with the script
$stats.wild_mega_battles_won
. You can set this up as a unique way of requiring the player to "earn" certain Mega Stones by first defeating a wild Mega boss of sorts.