[YEP Animated Sideview Enemies] Change enemy sv battler mid fight

Hi all,

I was wondering if there was a way to use note tags for enemies in a similar fashion to the Actor Transformations:

)

I know there is a Tips & Tricks video for Enemy transformations, but I just want to change the enemy sprite and nothing else (keep current HP, MP and other status effects) and I haven't found the function that sets the enemy battler in the code (nor in the Animaed Sideview Enemies plugin).

Is there a way to do this?
Hi,

In its plugin animatedSVEnemy, yanfly create a new property to Game_Enemy that contain the sv file.

Code:
battler._svBattlerName
"Actor2_2"

I've created a new skill with the notetag below
JavaScript:
<Post-Damage Eval>
  target._svBattlerName = "Actor1_1"
</Post-Damage Eval>
And I confirm that if the skill does damage, the enemy immediately get the Actor1_1 side view sprite.


Don't now how you want to use it but hope it helps.
It worked perfectly!! Thanks!!

Just in case someone wants to use it like I did: I created a state for the monster to change its sprite after "eating" a character. This state needs the following in its note box:

JavaScript:
<Custom Apply Effect>
  user._svBattlerName = "LindwyrmFat_Battler";
</Custom Apply Effect>

<Custom Remove Effect>
  user._svBattlerName = "Lindwyrm_Battler";
</Custom Remove Effect>

This thread can now be closed 😂

Original thread: https://forums.rpgmakerweb.com/threads/yep-animated-sideview-enemies-change-enemy-sv-battler-mid-fight.121373/