Hello all, I'm using Yanfly's Battle Scripts.
One of my actors knows a skill called Ultra Instinct that lets
them evade all attacks for 2 turns. I want the sprite to turn transparent while in that state.
I'm using the action battle skill to make the user transparenet currently but I want the state
itself to apply the transparency and remove it when leaving the skill.
So I got something like this but I don't know the variable for changing that value.
In the notebox of the state I've got this
<Custom Leave Effect>
user.setOpacity(255)
</Custom Leave Effect>
One of my actors knows a skill called Ultra Instinct that lets
them evade all attacks for 2 turns. I want the sprite to turn transparent while in that state.
I'm using the action battle skill to make the user transparenet currently but I want the state
itself to apply the transparency and remove it when leaving the skill.
So I got something like this but I don't know the variable for changing that value.
In the notebox of the state I've got this
<Custom Leave Effect>
user.setOpacity(255)
</Custom Leave Effect>