State Removal Common Event

I would like to execute a Common Event or Plugin Command when a state is removed from a player ON THE MAP, directly after the message which appears saying, for example, "Actor Woke Up" or "Actor is No Longer Poisoned". Yanfly's States and Buffs core seems to work in battle but not on the map. Can anyone offer any aid?

Original thread: https://forums.rpgmakerweb.com/threads/state-removal-common-event.107504/