MV Combine skills of different categories into one battle command?

Hello, this is my first time starting a thread here, so please forgive any breaches of etiquette.

I am having trouble deciding how to organize the skills in my game. The short version of my question is, I'm wondering if there is a way to take skills that belong to different skill types on the backend, and combine them into one "Skill" option in the battle UI.

To elaborate: Most of the characters have some skills that are magic and some that aren't. At the moment, they are all lumped together as one type, simply called "Skill."

Spoiler: Example screenshots
Skill menu with skill and special categories.PNG


With this setup, the skills are all together in one submenu.

Skill menu Necrotizing Venom.PNG


Necrotizing Venom is a non-magical skill, and the other three are magical.

Skill menu Static Ray.PNG

I kind of want to separate the magical skills into their own "Magic" skill category, so that, for instance, an enemy can silence the character and they'll be unable to use magic skills, but still able to use non-magical ones.

However, putting these skills into separate categories also puts them in separate submenus in battle...

Spoiler: Example screenshots 2
Skill menu with skill special and magic categories.PNG


With this setup, skills are separated into "Skill" and "Magic" commands, each with their own submenu.

Skill menu with just the magic skills.PNG


The "Skill" submenu only contains Necrotizing Venom, while the other three skills are all under "Magic."

Skill menu with just Necrotizing Venom.PNG


...which I think is kind of obnoxious, since it adds these extra options to the battle menu that you have to click through, some of which are only going to contain one skill, at least in the early game.

So, is there a way I can have all these skills show up in the same submenu, while having some of them still technically belong to the "Magic" skill type and others not?

I also have another question which is somewhat related: You might have noticed in those screenshots that Lamia has yet another skill type, called "Special." It also only contains one skill, Teleport, which can only be used outside of battle.

It would be nice to have all the skills that can actually be used in battle be under one submenu. So, is there a way I can prevent the "Special" category from showing up in the battle menu, while still allowing it to be its own category in the menu outside of battle?

Thanks in advance!
Your second question is the subject of one of my Skill Tweaks, which are still unreleased. This is the part that handles it:

JavaScript:
/*:
@param suppressPeaceful
@text Suppress Peaceful Skills
@desc Prevents skills from appearing on the battle screen if they can't be used in battle.
@type boolean
@default true
*/
(function() {
	const params = PluginManager.parameters("SFG_SkillTweaks");
	Window_ActorCommand.prototype.addSkillCommands = function() {
		var skillTypes = this._actor.addedSkillTypes();
		skillTypes.sort(function(a, b) {
			return a - b;
		});
		var knownTypes = new Set();
		const actor = this._actor;
		actor.skills().forEach(function(skill) {
			if(JSON.parse(params.suppressPeaceful || 'true') && !actor.isOccasionOk(skill)) {
				return;
			}
			knownTypes.add(skill.stypeId);
		});
		skillTypes = skillTypes.filter(knownTypes.has.bind(knownTypes));
		skillTypes.forEach(function(stypeId) {
			var name = $dataSystem.skillTypes[stypeId];
			this.addCommand(name, 'skill', true, stypeId);
		}, this);
	};
})();

It also hides skill categories for which you don't know any. So, in your second example above, if the character didn't know Necrotizing Venom, the "Skill" category wouldn't appear at all.

You need to make sure that the name of the js file exactly matches the line where it gets the parameters – for example, the above code assumes the file is called SFG_SkillTweaks. Or you could factor out the parameter and hard-code it to true.

I don't have anything to combine multiple types into one submenu though, nor do I know of anyone who has done that. Maybe someone else can help with this; hopefully, it won't conflict with my above patch.
Yanfly has multiple skill types plugin, so I think you can use that, but I think you needed to download a patch if you wanted to fix it so that it actually disables the skill if the other skill type is sealed.
Your second question is the subject of one of my Skill Tweaks, which are still unreleased. This is the part that handles it:

Thanks, I'll try to see if I can get this working. I'm not experienced with javascript, though, so it might be a little too hard for me.

Yanfly has multiple skill types plugin, so I think you can use that, but I think you needed to download a patch if you wanted to fix it so that it actually disables the skill if the other skill type is sealed.

Yeah, looking this up, it seems like it's only kind of halfway to doing what I want. It's probably still worth a try, but it does make me a little leery of paying $10 for it if it's not going to actually get me there.

It's a work in progress either way. Thanks for the responses!

Original thread: https://forums.rpgmakerweb.com/threads/combine-skills-of-different-categories-into-one-battle-command.183237/