> 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-ui-sprites.md).

# Intros: UI Sprites

Trainer sprites may also be set to animate in various UI's that are displayed out of battle. There are only a few places where trainer sprites are displayed during gameplay, though there are a few that are exclusive to debug mode editors.

***

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

When viewing the player's Trainer Card, the trainer sprite used for the player will animate. Note that Gen 4 & 5 trainer sprites are slightly taller than the Gen 3 sprites, so they may not perfectly fit within the bounds of the Gen 3-style UI.

<figure><img src="/files/E5zlQA9RRpLOi99CKTxm" alt="" width="375"><figcaption><p>The player's animated sprite on the Trainer Card UI.</p></figcaption></figure>

By default, the only player sprite characters that have animations are Red, Hilbert/Hilda, and Nate/Rosa. Any other player characters will only have still sprites.

***

<mark style="background-color:orange;">**Hall of Fame**</mark>

Whenever the player defeats the Champion as inducted into the Hall of Fame, the player's trainer sprite will slide on screen during the congratulations message. While this is happening, the trainer's sprite will play its animation.

<figure><img src="/files/HAy7Dpl5j3W0FAodW0cd" alt="" width="375"><figcaption><p>The player's sprite animated during Hall of Fame induction.</p></figcaption></figure>

By default, the only player sprite characters that have animations are Red, Hilbert/Hilda, and Nate/Rosa. Any other player characters will only have still sprites.

***

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

While playing in debug mode, you can scroll through lists of various trainers when editing the `trainers.txt` or `trainer_types.txt` PBS files. On the right side of the screen, the sprites used for each trainer will be displayed. The intro animations of each trainer can be viewed while scrolling through these lists.

<figure><img src="/files/8YqxxWGjopodCdYF1Jwa" alt="" width="375"><figcaption><p>Animated trainer sprits in the debug editors.</p></figcaption></figure>

Note that some trainer sprites are very large or have awkward orientations, so the trainer may not always appear exactly centered. This issue should never occur during actual battles, however.


---

# 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-ui-sprites.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.
