So I wanted to make it so that when an enemy is affected with a state, their sprite would change. I would use the sideview sprites to animate the enemy but I want that sprite to change to a different one when the state is applied. I used the buffs and states core to change the actor faces when a state is applied so I assumed I might be able to do the same with sv enemies. My guess would be to do something like
<Custom Apply Effect> if target = enemy, if enemy id = x, set <Sideview Battler: filename>, else (repeat for other enemy id's)</Custom Apply Effect>
and do the same on removal but changing the sprites back to the original and using <Custom Remove Effect>.
I'm not sure if this would work, but if it does I don't know exactly how to input that code because I'm not great with js so if someone could point me in the right direction to do this that would be amazing.
<Custom Apply Effect> if target = enemy, if enemy id = x, set <Sideview Battler: filename>, else (repeat for other enemy id's)</Custom Apply Effect>
and do the same on removal but changing the sprites back to the original and using <Custom Remove Effect>.
I'm not sure if this would work, but if it does I don't know exactly how to input that code because I'm not great with js so if someone could point me in the right direction to do this that would be amazing.