# Dynamax: Animations

The Deluxe Battle Kit incorporates various animation utilities which it uses to animate Mega Evolution and Primal Reversion. This plugin utilizes these same utilities to implement a new animation for Dynamax that is built in the same animation style.

There's a bit to explain about these animations and how they work, so I'll provide a break down of everything in this section.

{% hint style="info" %}
Note: If you already have an existing Dynamax animation which is stored as a Common animation named `"Dynamax"`, that animation will take priority over the animation added by this plugin. This means that there's no risk of your animation being overwritten or ignored, nor do you need to change anything to make this plugin compatible.
{% endhint %}

***

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

Dynamax typically requires a trainer with a Dynamax Band and an eligible Pokemon while on a Power Spot. If so, the option to Dynamax that Pokemon will appear in battle. When triggered, the Dynamax animation will play.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FzYT5dvVOZxZTWAWUzjyH%2Fdemo71.gif?alt=media&#x26;token=1f641100-a49d-4441-84e9-a27ddf8c1a00" alt="" width="381"><figcaption><p>Dynamax on the player's side.</p></figcaption></figure>

There will be slight differences in the animation based on which side of the field the Dynamaxed Pokemon is on. Pokemon on the player's side of the field will face right, and their trainer will slide in from off screen on the left. If the Pokemon is on the opponent's side of the field, they will face left and their trainer will slide in from off screen on the right. This helps distinguish if the Dynamaxed Pokemon is friend or foe during the animation.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FwXRme5v3aCW7WImF6BCJ%2Fdemo72.gif?alt=media&#x26;token=35608acd-ea51-4995-9b80-7170f9bc98fe" alt="" width="381"><figcaption><p>Dynamax on the opponent's side.</p></figcaption></figure>

Dynamax animations will always display the trainer's Dynamax Band above the trainer during the animation. The trainer's item may not always be the same, however. The Dynamax Band is the default item used, but it's possible to give trainers unique items that trigger Dynamax. If you create unique Dynamax items for a trainer to utilize along with the necessary sprites, then the sprite for that unique item will appear in this animation instead of the default Dynamax Band.

***

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

Typically, wild Pokemon are incapable of Dynamaxing. This is because a trainer with a corresponding Dynamax Band is required. However, this plugin includes a feature that allows wild Pokemon to Dynamax on their own without a trainer, by utilizing the <mark style="background-color:green;">"wildDynamax"</mark> Battle Rule (more details on this can be found in the "Dynamax: Battle Rules" subsection). This bypasses the Dynamax Band requirement, allowing the wild Pokemon to Dynamax.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2Fr5mqAl6HuASJwAXRSeVn%2Fdemo73.gif?alt=media&#x26;token=81df049d-6ee6-4433-b19f-86e23e9b2fcc" alt="" width="381"><figcaption><p>Wild Dynamax animation.</p></figcaption></figure>

The animation for wild Dynamax is very different, since the trainer and the user's Poke Ball play a prominent role in the standard animation. Because of this, the Dynamax animation used for wild Pokemon is much more simplified.

***

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

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

You may have noticed in the examples above that during the Dynamax animation, a button prompt on the bottom left-hand corner of the screen appears. This "skip" button indicates that you can cut the animation short by pressing the `Action` key. Pressing it will immediately end the animation, allowing you to get right back to the battle if you grow tired of sitting through these animations.

<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.&#x20;

<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&#x26;token=36cd6063-28d1-4886-9f6e-49bbf7642b8f" alt="" width="384"><figcaption><p>Battle animations in the Options menu.</p></figcaption></figure>

If so, this animation will also be turned off. Instead, the trainer will simply recall their Pokemon and send them back out in Dynamax form, implying that the entire Dynamax process is simply happening off screen. New lines of battle text will be also be displayed to indicate this.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FBvvajap2U51cVX2UGQYn%2Fdemo74.gif?alt=media&#x26;token=9fe38436-5e4e-477a-bd3f-dea16cd84fd0" alt="" width="381"><figcaption><p>Simple recall animation for Dynamax.</p></figcaption></figure>

For wild Pokemon in particular, they will instead use a generic "quick-change" animation which happens instantaneously.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FcwpYdBnl3UK5yw1yKA8z%2Fdemo75.gif?alt=media&#x26;token=a6ca6abd-2723-4f7f-ac56-6c6494828324" alt="" width="381"><figcaption><p>Quick-change animation.</p></figcaption></figure>

The second way to turn off the animation would be to open the settings file in this plugin. Here, you'll find the setting `SHOW_DYNAMAX_ANIM`. If you set this to `false`,  the Dynamax animation will be shut off permanently, and will be replaced with the above examples, even when battle animations are turned on.

***

<mark style="background-color:orange;">**Dynamax Icon**</mark>

When a Pokemon is Dynamaxed, an icon will be displayed next to their databox to indicate this. This is similar to icons for other mechanics such as Mega Evolution and Primal Reversion.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FZkgY9EwyUVmOdgQVughD%2F%5B2024-02-22%5D%2019_13_03.454.png?alt=media&#x26;token=8b158c89-73cf-4a0c-b5c5-76e40e07a42d" alt="" width="384"><figcaption><p>Example of the Dynamax icon.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/deluxe-battle-kit-for-v21.1/add-on-tutorials/dynamax/dynamax-animations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
