> 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/add-on-tutorials/animated-trainer-intros/intros-battle-transitions.md).

# Intros: Battle Transitions

By default, Essentials includes various battle transitions that may display the mugshot of specific trainers when initiating battle with them. This plugin includes new mugshots for all trainers from the Gen 4 & 5 games that had them.

***

<mark style="background-color:orange;">**Improvements to Mugshot Transitions**</mark>

In order for mugshot transitions to work, you usually need additional bar graphics and such unique to each specific trainer type for the animations to work. This plugin edits these transition animations so that they will still work even if these bar graphics are missing by just falling back on a generic bar sprite that all trainers will use if a specific one isn't present. This can cut down on the amount of clutter in your graphics folder if you don't really need any specialized bar graphics for a particular trainer.

<figure><img src="/files/kfcZ0LXZMcxqHFNERpSn" alt="" width="375"><figcaption><p>Various trainer mugshots using non-specific bar graphics</p></figcaption></figure>

In addition, trainer mugshots will now also inherit any specific hues that have been set for a trainer in the `trainer_types.txt` PBS file. So you don't have to create duplicate images for different trainer classes if you made one with a custom hue set.

<figure><img src="/files/ERCCkmF1dGgSCZtfhZ8U" alt="" width="375"><figcaption><p>Trainer mugshots inherit any hues set for the trainer sprite.</p></figcaption></figure>

***

<mark style="background-color:orange;">**Vs. Champion Transition**</mark>

This plugin also adds a brand new mugshot transition that is inspired by the Champion battle transition used in *Pokemon Black & White 2* vs Champion Iris. In these games, a unique full-body shot of both trainers is displayed.

<figure><img src="/files/5tYBNiG52ERLDecoJGHs" alt="" width="563"><figcaption><p>Champion Iris' battle transition, replicated from Pokemon B2W2</p></figcaption></figure>

By default, the only trainer types which have a full-body sprite like these are Nate/Rosa for the player, and Champion Iris. But if you would like to include your own custom sprites to use for this transition, you may add them to the `Graphics/Transitions` folder. The graphics for each trainer must be named `champion_vs_` followed by the ID of that particular trainer type. For example, `champion_vs_POKEMONTRAINER_Nate`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/deluxe-battle-kit-for-v21.1/add-on-tutorials/animated-trainer-intros/intros-battle-transitions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
