> 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-fleeing-pokemon.md).

# Animation: Fleeing Pokemon

Section 1.C

Typically, when a wild Pokémon "flees" from battle, such as with roamers or Safari Pokémon, no animation is shown. The battle simply ends, implying that the Pokémon ran away.

This plugin introduces a new animation for fleeing Pokémon. It is simple, but adds more visual flair than a static image that 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) ![](https://2153694798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvzqYxbzoSOVtGkOgfRUQ%2Fuploads%2F2JPOuMuyI6a8xw2sSq0j%2Fdemo16.gif?alt=media\&token=373432b1-72f3-49da-9f0a-be62e70081a9)

This animation may also appear in other situations. This kit introduces several new ways for wild Pokémon to flee from battle. Most are covered elsewhere in this tutorial.

***

Here is an example of a wild Pokémon fleeing as part of the <mark style="background-color:green;">"raidStyleCapture"</mark> Battle Rule. See the "Deluxe Battle Rules" section for details.

<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&amp;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 is an example of a wild Pokémon fleeing as part of a mid-battle script that uses the <mark style="background-color:blue;">"wildFlee"</mark> command key. See the "Mid-Battle Scripting" section for details.

<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&amp;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>
