Common Event on State End / Removal

Hi there,


I'm looking to add a state to my game that has a common event run after the state is removed or ends after turn/action timing.


I was wondering how to do that. Thank you for any help.
This could help


http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/
Oh, hm. How did I not notice that plugin? Thank you very much for your help.

Original thread: https://forums.rpgmakerweb.com/threads/common-event-on-state-end-removal.68583/