MZ Equipping/Using items in single-actor game without the actor's portrait window popping up

Hello, I was making a prototype of a game wherein there is only a single playable character. Is there a way to avoid the actor's portrait window popping up when I am about to use an item or equip a weapon?

Screenshot 2024-12-28 175911.png
Screenshot 2024-12-28 175923.png

I was able to disable this in the main menu using the Visustella Main Menu plugin but I didn't see a similar option for the item menu. If I cannot disable this, is there atleast a way for me to not have the levels and hp/mp show up?

Here are the plugins i currently have:

1735389577392.png
This should automatically hide the actor window if there's only 1 member.

Scene_ItemBase.prototype.determineItem = function() {
const action = new Game_Action(this.user());
const item = this.item();
action.setItemObject(item);
if (action.isForFriend()) {
this.showActorWindow();
this._actorWindow.selectForItem(this.item());
if($gameParty.members().length==1){
this._actorWindow.processOk();
this.onActorCancel();
}

} else {
this.useItem();
this.activateItemWindow();
}
};
This should automatically hide the actor window if there's only 1 member.

Scene_ItemBase.prototype.determineItem = function() {
const action = new Game_Action(this.user());
const item = this.item();
action.setItemObject(item);
if (action.isForFriend()) {
this.showActorWindow();
this._actorWindow.selectForItem(this.item());
if($gameParty.members().length==1){
this._actorWindow.processOk();
this.onActorCancel();
}

} else {
this.useItem();
this.activateItemWindow();
}
};
thank you, this worked

Original thread: https://forums.rpgmakerweb.com/threads/equipping-using-items-in-single-actor-game-without-the-actors-portrait-window-popping-up.174237/