Hi everyone. I could not find any plugins or suggestions having to do with the Guard move (besides removing it from the battle menu). I have very limited javascript knowledge, so any advice or assistance is much appreciated.
I want to move Guard/Defend off the visible menu, and have it be accessible by pressing right, the way SNES Final Fantasy handles the choice.
From the fandom description of the ability:
"Defend (Def. in the older translation) is also a regular command everybody can access by pressing the cursor to the right while in battle."
In the following example, the player starts out with the basic battle menu, but can press right to access Defend, which is obfuscated for a cleaner UI.
I have made the following change to line 5989 rmmz_windows.js:
Putting addGuardCommand at the end of the list at least pushes Guard to the bottom of my five-item list. This effectively pushes it off the screen and preserves my four-item goal, but I would love to reproduce the elegance of hiding it off to the right, with no extraneous arrows busying up the screen, pointing down, and distracting the eye as they are wont to do.
I want to move Guard/Defend off the visible menu, and have it be accessible by pressing right, the way SNES Final Fantasy handles the choice.
From the fandom description of the ability:
"Defend (Def. in the older translation) is also a regular command everybody can access by pressing the cursor to the right while in battle."
In the following example, the player starts out with the basic battle menu, but can press right to access Defend, which is obfuscated for a cleaner UI.
I have made the following change to line 5989 rmmz_windows.js:
JavaScript:
Window_ActorCommand.prototype.makeCommandList = function() {
if (this._actor) {
this.addAttackCommand();
this.addSkillCommands();
this.addItemCommand();
this.addGuardCommand();
}
};
Putting addGuardCommand at the end of the list at least pushes Guard to the bottom of my five-item list. This effectively pushes it off the screen and preserves my four-item goal, but I would love to reproduce the elegance of hiding it off to the right, with no extraneous arrows busying up the screen, pointing down, and distracting the eye as they are wont to do.