Call a Common Event via a State?

Hello.

I'm looking for a method to bind or call a specific comon event with an state.

I made a skill which my actor is able to cast a spirit in order to make her stronger. The Spirit appears behind her.
So i bound that skill with an Common event which changes her Battle Appearence with another graphic and adds a state on her which buffs her stats. The state dissapear after a few rounds.

So far so good. But now i'm stuck.
The Spirit Buff is over but her battle graphic is still changed.
I want that she gains her old Battle graphic back after the Buff is over.

I found a Plugin from Himeworks, this plugin triggers another state if the first state is over. Doomcountdown ----> Death, if the countdown reaches 0, for example.
That's how this plugin works.

Now i made another common event which will change her Appearence back and i made another state who will be triggered when my first state runs out as well.

Is there any way to call my second common event with this second state who will be triggered?

Or is there any other way to do this if this isn't possible?

Any idea would help, thank you.
Why do you need to apply a new state when the first runs out?

If you are using Hime's plugin, providing a link to it will help.

I also wrote a State add/remove command plugin which you could use to run commands change the battler graphics both when the state is added and when the state is removed.
I just thought it would work if i trigger the "back to the normal graphic change" with another state which will do nothing else than just give me a way to change the graphic back after my first state runs out. I hadn't a better idea how i could solve this problem.

This is the link to Himes plugin:
http://himeworks.com/2015/11/progressive-states-mv/

Are you interested to share the plugin you wrote? I would highly appreciate it.
https://forums.rpgmakerweb.com/index.php?threads/state-add-remove-commands.51371/

In your case, say you want to call common event 15 when the state is added, and 16 when it's removed.

You would put the following into the notes for the state:
Code:
<onadd: $gameTemp.reserveCommonEvent(15)>
<onremove: $gameTemp.reserveCommonEvent(16)>

I am not sure how the changing of battler graphic via a common event works, but I assume you've already got that figured out and working, and just need it to trigger at the correct time.
Thank you for your reply and your time Shaz. Sadly your plugin didn't worked for me, it causes an interference with some other plugins in my project.

But i found an other way to solve my problem.
Instead of drawing a whole new Battle graphic with my spirit in it and change those two graphics with state bonded common events back and forth, i made a looping animation out of it and handle the whole thing now with Yanflys Visual State plugin.

But thank you again for your effort to help me, i appreciate it.

Original thread: https://forums.rpgmakerweb.com/threads/call-a-common-event-via-a-state.115082/