Skill not properly applying a state

Hello, I was working on an attack that applied a state that uses a guard flag and lasted for multiple turns. When used the first time it works fine, but if it used the turn after the state ends, the move will not succeed in applying the state. I found that if I don't use action sequences it works fine, but if I do that the animation doesn't look as good. Basically, the enemy that uses it uses a motion that smoothly transitions to their guard state, but if I don't use action sequences, they move back to their idle motion before assuming the guard stance. With the action sequence, that doesn't happen.

Screenshot 2023-12-10 120739.png


Here's the skill in question, thank you.
When used the first time it works fine, but if it used the turn after the state ends, the move will not succeed in applying the state.
thought it was odd, so i copied what you had and got the same result. you do call for the skill's effect while the skill doesnt actually have an effect. It might have something to do with it?. I added the state application to the skill's effect and removed the add state line in the action sequence. it seemingly worked fine after that.

1702234640309.png
Oh! It works now, I tried the same thing earlier but the actor stuttered after performing the move. I somehow forgot to try putting the action effect BEFORE "motion: spell", now the motion looks good, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/skill-not-properly-applying-a-state.163745/