Menu auto-closing when common event calls

Hello!

In RPG Maker MV I'm attempting to have a skill mastery system, where you gain points for every use of a spell. So using a spell would increase a variable by 1, and at 100 points a new version of it unlocks.

I'm using common events to increase the variables in question, which works great on battle-only skills. But when using a healing spell in-menu outside of battle, it kicks you out of the menu each time you use said spell.

Can this auto-closing be stopped in some way? Or is there a workaround I'm missing that's right in my face?

Here are pics of the menus:
Spoiler
GF.png CE.png
Thanks very much.
Common events are designed to close the menu as they have no way of knowing what called them as they can be used in events and skills too. That being said you would need a plug-in to change how it works.

Moved to Plug-In Requests

Yanfly's Skill Mastery Levels plugin is what you're looking for, buddy. 🙂
You're a star @TheNewSon !

Thanks man, it works exactly as I needed.

Original thread: https://forums.rpgmakerweb.com/threads/menu-auto-closing-when-common-event-calls.112724/