State Animations

This script provides some state-related animation effects.
You can have custom animations play before a state is added, or before
a state is removed.

If you want to have state animations playing while the state is applied, you can use Yanfly’s State Animations


Script: download here


Place this script below Materials and above Main


Note-tag states with

<add anim: ID>
<remove anim: ID>

Where ID is the ID of the animation that you want to play.

You may also like...

17 Responses

  1. Culingus says:

    Do you think it could play animations for specifics actors when they land a successful ailment?

  2. Troy says:

    That's a toughie.. I'd say the removal animation shouldn't play at the end of the battle, because if for example you have a bunch of states with a similar effect they would all play at the same time, spawning another potentially unwanted scenario.

    Unless the state is removed during battle I think that it shouldn't play the removal animation.

    Maybe add an option in the script? If a certain tag exists play don't play at battle end, otherwise do play it.

    • Hime says:

      The script currently clears up any animations that didn't get a chance to play after the battle is over, which will address the bug you reported.

      Probably deal with additional possibilities when a need arises.

  3. Troy says:

    Hi Hime,
    There's a bug with your script. Demo:

    Steps to reproduce:

    Enter battle with slime by approaching it and using your action button
    Buff yourself with 'Special' -> 'Fire Weapon' from the battle menu
    Kill the slime by attacking it once
    Enter the battle again
    Observe the remove animation incorrectly displaying at battle start

    Do you know how to fix this?

    • Hime says:

      It looks like when the battle ends, it removes the states, but the game doesn't get a chance to play the remove animation.

      That queued up animation stays around until the next time it gets to play, which happens to be when you enter another battle.

      Should the removal animations play when the battle finishes?

Leave a Reply

Your email address will not be published. Required fields are marked *