Removing entire Skill Type in Battle / Swtiching out

Hi everyone,

I am currently working on a significant battle in the game, where a certain party member intermittently becomes able to use special skills.

In practice, this is determined by a state that is activated at timed intervals using the battle event. The battle event waits for a certain amount of frames, and then uses the 'Change State' command to add a state to the party member in question.

This is where I wish to swap out Skill Type X for Skill Type Y.

Skill Type Y is effectively an "upgrade" to Skill Type X while this special state is active on the party member.

Obviously adding Skill Type Y via a state is not the problem. The problem is removing Skill Type X, or switching it out for Skill Type Y.

Anyone got any ideas for the best solution for this? I am open to plugins.
basically, combat stances.

it is possible, but if you want to totally remove the skill from the list, you might need to edit the skill list window so that it will pick the list of skills according to your criteria (meaning, you wouldn't be editing just the skill set, but also the window)
I have a similar system, but so far I haven't set it to remove unused skills, I just lock them as needed but they're still visible.
what cant that same state just use "Seal Type"
Thanks @gstv87 , is there really no other straight forward solution? What about even a scripted command or something like that?

what cant that same state just use "Seal Type"

Thanks @Tiamat-86 , but two main reasons:

- Doesn't make sense in the context of the skill being an 'upgrade' if the other one is still there but just greyed out.
- Because that's lame and looks amateur when I'm trying to keep the HUD as uncluttered as possible.
Or could add a page to the troops that checks per turn whether or not the special state is applied, then if yes, remove the normal skills and add the special skills, then the reverse if it's not applied.
@Milennin - thanks for the reply. The issue isn't with removing individual skills, it's to remove an entire type of skill from the class temporarily so that it does not show up in the battle HUD.
In that case, Hime has the ActorBattleCommands plugin for that.
@Milennin , hmmmm this could be just the thing. I'll look into it. Thanks!
Doesn't make sense in the context of the skill being an 'upgrade' if the other one is still there but just greyed out.

you could redesign the whole skill system so that at the event of learning a new skill, the previous one will be completely removed.
you'd still use the default skill window, and the default class system, and you'd only have to specify which previous skill to remove, in the skill's own settings.
it should be a smaller overhaul to take care of the larger problem for good.
Actually I've come up with a solution to this, and I don't even think it's particularly sub-optimal.

I've created a new class with exactly the skill set I want, and then change the class at the necessary points in the battle when the state is applied. Then, when I remove that skill and bring the old one back, I'm using conditional branches to determine what skills that actor had learned in their regular class.
my solution exactly.
only, I don't upgrade anything, I just switch from whole set to whole set.
Oh right I see in more detail what you were saying now - for some reason I thought you were referring to alterations outside of the RTP. But yeah, effectively the same thing. Thanks @gstv87 !
no, I did mean editing the code outside the RTP. That's essentially a plugin.
but my solution for combat stances was that same one, switching between two set classes, each one with their own set of skills.
I actually have both implementations: the switching classes, and the locking skills through a set of states, I just didn't edit the skill window to filter those locked skills out when they're locked, and in one case the base stat values differ, so I needed another class altogether.
(In the case of switching classes, the list is always updated as needed, so, no plugin necessary.)

Original thread: https://forums.rpgmakerweb.com/threads/removing-entire-skill-type-in-battle-swtiching-out.94660/