an idea that I want to have in the game

as I'm making a game with only three characters, I want to spice up the third character by giving it the power to switch forms from, attacking one enemy with heavy damage, and the other form dealing damage to everyone

I feel like I've already figured it out, but I still don't exactly know how some of the events work, I tried making the skill to switch forms as a switch, which would trigger a common event, that basically just switches the character's class

But for some reason whenever I use the skill, it would change the character's class, outside of battle, it would crash the game. And if I use it in battle it would make me pick another character, but the character I want to change class, to change class

So I'm pretty much lost in this one, hopefully some of y'all can bring me a bit of insight on how to do this

if it would help I'm using the 2003 version cuz that's the only one I bought at the time
Can you show us how you've set up the events? Your description has me a little confused.
Can you show us how you've set up the events? Your description has me a little confused.
well what I want to make is that a character can change its moveset from only attacking one enemy to all the enemies on the screen, and vice versa

I've thought of using the change actor class event but that doesn't seem to work, since when I use it outside of battle it crashes the game, and when I use it in battle it also doesn't seem to work

Original thread: https://forums.rpgmakerweb.com/threads/an-idea-that-i-want-to-have-in-the-game.126974/