Change Class Mid Battle

Hello folks, I just need help with a part of a character's mechanic that I just can't get by myself, any help at all is appreciated.

I have a character that switches between a Physical and Magical fighting style, and in order for the character's stats to cater to that, I actually have the two styles split into two classes.

Stargazer α (Physical Style)

Stargazer β (Magical Style)

I have a common event that works perfectly outside of battle:

If: Class of Wyatt is Stargazer α
Change Class Wyatt: Stargazer β, true

else:
Change Class Wyatt: Stargazer α, true

I have this common event on two attack skills to use in battle, in order for one stance to swap into the next.


It works fine out of battle, but does not change class in battle. Is there any way to make it apply a class change? Or is it just not compatible with RPG maker MV?

I've moved this thread to MV Support. Thank you.

Sorry about that, I just figured that maybe this would have to go into some sort of scripting to fix.
@Senshu Maybe this post can help? https://forums.rpgmakerweb.com/index.php?threads/yanfly-class-change-but-mid-battle.83046/
It might in the end, but where it was was for scripts/plug-ins you've made and wish to release. For now though I put it here and if it turns out that a plug-in is needed we can move it to plug-in requests.
I saw that just before posting, but I don't fully understand it. It makes it seem like maybe it brings up a selection window? I'll try it now just to see what comes up, and I'll get back to you on what happened in an Edit.

Edit -- Yeah by the looks of it that thread meant to bring up a list of all classes to change to, but I want the character to be changed into a specific class. And honestly, I couldn't even get that to work in-battle. It seems very close, but not quite what i'm looking for.
You need to connect the common event to a skill. And then make them accessible from the skill menu or of you want it accessible from the skill menu use this plugin.

Original thread: https://forums.rpgmakerweb.com/threads/change-class-mid-battle.94946/