Protection From States Skill?

Hi, sorry if this has been answered before but i couldnt find quite what i was looking for. Is there a way I can make a skill that protects the friendly target from all or one specifc state, IE, "harold is immune to sleep for 4 turns". to be clear i'm not talking damage immunity, just states. thanks!
I believe MV has state resist in the traits feature. Try to look around? Ace has one, should be present in MV as well.
ah, there it is, its a state; wasn't looking there 😛 thanks!
One thing to add: If you want to make someone immune to KO skills (aka instant death skills) be sure to use state resist 0%. If you use state immunity instead they won't be able to die in battle from anything, which will mean nothing can kill them.

Original thread: https://forums.rpgmakerweb.com/threads/protection-from-states-skill.105701/