I'm using a short plugin to hide the Item command in battle for the entire party depending on a switch:
But I now realize I will need to hide the item command only for specific actors.
I'm actually not sure if there are ways to do this within stock MV.
Might anyone know how to make this work, either via alterations to the plugin or using built-in methods?
Many thanks!!
Code:
(function() {
var addItemCommand = Window_ActorCommand.prototype.addItemCommand;
Window_ActorCommand.prototype.addItemCommand = function() {
if (!$gameSwitches.value(136)) { addItemCommand.call(this) }
}
})();
But I now realize I will need to hide the item command only for specific actors.
I'm actually not sure if there are ways to do this within stock MV.
Might anyone know how to make this work, either via alterations to the plugin or using built-in methods?
Many thanks!!

