State After Revival

So, basically, I want to cause an actor to receive a 'disoriented' state after they are revived either by item or by battle's end. I know I can induce the disoriented state through revival items, but I'm not sure how to go about this after the end of a battle if knockout doesn't persist.

Any insight? Am I overlooking an obvious plugin feature? I'm so sorry for asking.
Cool idea
if knockout doesn't persist.
The simplest solution to me is to make knockout persist, then have a/the event remove it and replace it with Disoriented. Boss battles and on-map encounters are easy enough to put this into it (just make a common event that does this, then have each event call that event). With random encounters, there's no "good" way to do it, but the easiest I know is making a parallel process that just checks for dead units and does the above.

If you are willing to use plugins, I think Yanfly has one that lets you have a common event called when you try to access the menu or enter an encounter, and that common event can do the above.
Thank you for getting to this so quickly. I’ll check through Yanfly’s plugin. I’m sure it’ll make all of this 100xs simpler.
Didn’t consider making knockout persist and then using a common event that way—thanks for the advice. Less headachey with your methods.

Original thread: https://forums.rpgmakerweb.com/threads/state-after-revival.104754/