> For the complete documentation index, see [llms.txt](https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/deluxe-battle-kit-for-v21.1/deluxe-animations/animation-mega-evolution.md).

# Animation: Mega Evolution

Section 1.D

Although Mega Evolution is included in Essentials by default, it does not contain built-in animations for the mechanic. The Deluxe Battle Kit includes its own Mega Evolution animations. This animation style provides the basis for animations used by supported plugins, including Z-Moves, Dynamax, and Terastallization.

This section provides a breakdown of these animations and how they work.

{% hint style="info" %}
Note: If you have a Mega Evolution animation stored as a common animation named `"MegaEvolution"`, it takes priority over the animation added by this plugin. Your existing animation will not be overwritten or ignored. No changes are required for compatibility.
{% endhint %}

***

<mark style="background-color:orange;">**Trainer Mega Evolution**</mark>

Mega Evolution typically requires a trainer with a Mega Ring and a Pokémon with a compatible Mega Stone. When both are present, the option to Mega Evolve that Pokémon appears in battle. When triggered, the Mega Evolution animation plays.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FTU4jyF70ylW4pNwovaWI%2Fdemo21.gif?alt=media&amp;token=7c525947-2eb2-47d5-9007-a6c9f025f9fc" alt="" width="381"><figcaption><p>Mega Evolution on the player's side.</p></figcaption></figure>

The animation differs slightly based on which side of the field the Mega-Evolved Pokémon occupies. Pokémon on the player's side face right, and their trainer slides in from offscreen on the left. Pokémon on the opponent's side face left, and their trainer slides in from offscreen on the right. This distinguishes friendly and opposing Mega-Evolved Pokémon during the animation.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FLaN5I7AO9apOxqWNAWXp%2Fdemo20.gif?alt=media&amp;token=30de435a-e190-4bc8-b399-d9ec532e9fa4" alt="" width="381"><figcaption><p>Mega Evolution on the opponent's side.</p></figcaption></figure>

Mega Evolution animations always display the trainer's Mega Ring above the trainer and the Pokémon's held Mega Stone above the Pokémon. The trainer's item may differ, however. The Mega Ring is the default item, but trainers can use unique items that trigger Mega Evolution, such as Diantha's Mega Charm in X and Y or Maxie's Mega Glasses in Omega Ruby. If you create unique Mega items for a trainer and add the necessary sprites, the unique item's sprite appears instead of the default Mega Ring.

If a Pokémon Mega Evolves without a held Mega Stone, such as Rayquaza, no item appears above it during the animation.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FHXiJAaX6TlhUhmGoN7bN%2Fdemo23.gif?alt=media&amp;token=802e52e3-249b-4fbb-a35e-50c894759869" alt="" width="381"><figcaption><p>Mega Evolution animation without a Mega Stone.</p></figcaption></figure>

***

<mark style="background-color:orange;">**Wild Mega Evolution**</mark>

Typically, wild Pokémon cannot Mega Evolve, even when holding the appropriate Mega Stone or knowing the appropriate Mega Move. This is because a trainer with a corresponding Mega Ring is required.

However, this plugin allows wild Pokémon to Mega Evolve without a trainer through the <mark style="background-color:green;">"wildMegaEvolution"</mark> Battle Rule. See the "Deluxe Battle Rules" section for details. This bypasses the Mega Ring requirement. Wild Pokémon can Mega Evolve when holding the required Mega Stone or knowing the necessary Mega Move. When either condition is met, they Mega Evolve immediately when encountered.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2F4UYtDQ0UbI9oQ9xpuJAa%2Fdemo22.gif?alt=media&amp;token=7b7bf27d-cb5f-4dfa-845b-49cfd570e4f2" alt="" width="381"><figcaption><p>Wild Mega Evolution animation.</p></figcaption></figure>

The animation for wild Mega Evolution is mostly the same. The only obvious difference is that no trainer slides onscreen, since no trainer is present. The text message that indicates the Pokémon is about to Mega Evolve also removes all references to a trainer or Mega Ring.

***

<mark style="background-color:orange;">**Animation Utilities**</mark>

<mark style="background-color:yellow;">**Skipping Animations**</mark>

During the Mega Evolution animation, a button prompt appears in the bottom-left corner of the screen. This "skip" button indicates that you can cut the animation short by pressing the `ACTION` key. Pressing it immediately ends the animation and returns you to battle.

<mark style="background-color:yellow;">**Turning Off Animations**</mark>

If you want to turn these animations off entirely, there are two ways to accomplish this. First, you may do so by turning off battle animations completely in the Options menu.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FwOMVVwf7z58G4TSKSGM6%2F%5B2024-01-12%5D%2011_58_20.948.png?alt=media&amp;token=36cd6063-28d1-4886-9f6e-49bbf7642b8f" alt="" width="384"><figcaption><p>Battle animations in the Options menu.</p></figcaption></figure>

When battle animations are disabled, the Mega Evolution animation is also disabled. It is replaced with a generic, instantaneous "quick-change" animation.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2F0oyTsuVh8xg6uFbnUdpl%2Fdemo24.gif?alt=media&amp;token=7e5c8fba-af50-451a-913b-491ee4b32520" alt="" width="381"><figcaption><p>Quick-change animation.</p></figcaption></figure>

Alternatively, open the Deluxe Battle Kit plugin and navigate to **Settings**. Set `SHOW_MEGA_ANIM` to `false` to permanently disable the Mega Evolution animation. The quick-change animation replaces it, even when battle animations are enabled.

***

<mark style="background-color:orange;">**Mega Icons**</mark>

Although this is not strictly animation-related, it fits here. The Mega icon displayed on a battler's databox differs from the one included by Essentials. This plugin includes a new Mega Evolution icon that replaces the old one.

These icons appear beside the battler's databox, like Primal icons, rather than within it.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2F7Z7Hzk3aGC33xVZGt5IJ%2F%5B2024-01-12%5D%2011_19_33.028.png?alt=media&amp;token=d49d3b55-5204-49c4-a12a-258c08c29012" alt="" width="384"><figcaption><p>Example of Mega icons.</p></figcaption></figure>
