# Animation: Fleeing Pokemon

Typically, when a wild Pokemon "flees" from battle, such as with roamers or Safari Pokemon, there isn't any animation associated with this. The battle simply ends, and it's just implied that the Pokemon ran away.

This plugin introduces a new animation which is specifically used to animate these fleeing Pokemon. It's a simple animation, but it adds some more visual flair than a static still image that simply fades to black.

Here are some examples of this animation taking place:

![](https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FxVQcuyRgqyfT8TjqcP14%2Fdemo17.gif?alt=media\&token=b4bc6494-7a55-4bc8-9e2b-12ef0dfb483c)    <img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2F2JPOuMuyI6a8xw2sSq0j%2Fdemo16.gif?alt=media&#x26;token=373432b1-72f3-49da-9f0a-be62e70081a9" alt="" data-size="original">

Note, however, that there are other instances where this animation may be seen. This kit specifically introduces several new ways for wild Pokemon to flee from battle, most of which will be covered in detail elsewhere in this tutorial.

***

Here's an example of a wild Pokemon fleeing as part of the <mark style="background-color:green;">"raidStyleCapture"</mark> Battle Rule. More on this can be learned in the "Deluxe Battle Rules" section.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2Fz4DYSpsfC3qlxLkNGXao%2Fdemo18.gif?alt=media&#x26;token=56a85cf4-bbdc-4cb6-a80d-842dd4f94cb0" alt="" width="381"><figcaption><p>A wild Articuno fleeing after a failed Raid-style capture.</p></figcaption></figure>

***

Here's an example of a wild Pokemon fleeing as part of a mid-battle script by utilizing the <mark style="background-color:blue;">"wildFlee"</mark> Command Key. More on this can be learned in the "Mid-Battle Scripting" section.

<figure><img src="https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2FwLHIXu7wmlSEF2y9reoa%2Fdemo19.gif?alt=media&#x26;token=e78c3df6-a74b-431e-8a82-f58ee089e65f" alt="" width="381"><figcaption><p>A wild Latios fleeing as part of a mid-battle script.</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/deluxe-animations/animation-fleeing-pokemon.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.
