MZ Help hiding and changing window positions during battles

I want to be able to hide the top help (or log) window when selecting enemies in battle. I got some code that was supposed to help me but its not working as intended so I stopped using it. The help window only disappears when you back out of selecting an enemy and then just vanishes until the next player action. I just want the window to only appear when the player is selecting their commands and disappear when selecting an enemy.

error1.JPG



I'm currently using Visustella's Plugins but I can find where I can change this or turn it off in this circumstance.

The next issue I had was when using skill commands, you get the command name appearing in a transparent text box at the top of the screen when the action is being performed. I want to know if their is a way for that box to appear lower on the screen. Preferably above the player portraits "below," the enemy. (This refers to the image below this text not the image above it.)

3.JPG



I check the Battle Core parameters but all it does is allow me to turn it off completely, which I don't want. (The image below this text).

2.JPG




Essentially, I want something like the below image.

4.JPG
Hmmm for the first question put this as plugin:

const _myEdit1_SceneBatlle_startEnemySelection = Scene_Battle.prototype.startEnemySelection;
Scene_Battle.prototype.startEnemySelection = function() {
_myEdit1_SceneBatlle_startEnemySelection.call(this);
this._helpWindow.hide();
};

For the second question try this (change y to your liking), but you'll probably need to put the return to original position in a better place so that the position is displayed correctly in all cases (if you have actions like guard where it jumps to next battler fast):

const _myEdit1_WindowBattleLog_displayAction = Window_BattleLog.prototype.displayAction;
Window_BattleLog.prototype.displayAction = function(subject, item) {
_myEdit1_WindowBattleLog_displayAction.call(this, subject, item);
if (subject.isActor()) {
this.y = 400;
}
};

const _myEdit1_WindowBattleLog_clear = Window_BattleLog.prototype.clear;
Window_BattleLog.prototype.clear = function() {
_myEdit1_WindowBattleLog_clear.call(this);
this.y = 0;
};
Hmmm for the first question put this as plugin:

const _myEdit1_SceneBatlle_startEnemySelection = Scene_Battle.prototype.startEnemySelection;
Scene_Battle.prototype.startEnemySelection = function() {
_myEdit1_SceneBatlle_startEnemySelection.call(this);
this._helpWindow.hide();
};

For the second question try this (change y to your liking), but you'll probably need to put the return to original position in a better place so that the position is displayed correctly in all cases (if you have actions like guard where it jumps to next battler fast):

const _myEdit1_WindowBattleLog_displayAction = Window_BattleLog.prototype.displayAction;
Window_BattleLog.prototype.displayAction = function(subject, item) {
_myEdit1_WindowBattleLog_displayAction.call(this, subject, item);
if (subject.isActor()) {
this.y = 400;
}
};

const _myEdit1_WindowBattleLog_clear = Window_BattleLog.prototype.clear;
Window_BattleLog.prototype.clear = function() {
_myEdit1_WindowBattleLog_clear.call(this);
this.y = 0;
};
These worked perfectly. Thank you so much. You have been helping me out a lot when it comes to forum questions. If there is any way I can return the favor, please let me know. If you're selling anything on Itch, payhip, ect, I'll purchase it just to support you even if I don't plan on using it at all.
Cool.

But yeah, I just do this for a hobby to kill time. Thanks are enough.
Besides these days most people could answer these if they just asked AI to do it.

Original thread: https://forums.rpgmakerweb.com/threads/help-hiding-and-changing-window-positions-during-battles.183246/