- Joined
- Sep 14, 2016
- Messages
- 392
- Reaction score
- 76
- First Language
- English
- Primarily Uses
I threw together this plugin to move the Guard command after the Attack command and before the Skill commands:
//=============================================================================
// Move Guard Under Attack
// GuardUnderAttack.js
// Last Updated: 2016.10.25
//=============================================================================
/*:
* @plugindesc Moves the Guard command under the Attack command and before Skill commands.
* @author Bryan Caiola
* @help Plug and play!
*/
Window_ActorCommand.prototype.makeCommandList = function() {
if (this._actor) {
this.addAttackCommand();
this.addGuardCommand();
this.addSkillCommands();
this.addItemCommand();
}
};
How do I make it so that the change only happens when the notetag <move guard> is places in the notes area?
//=============================================================================
// Move Guard Under Attack
// GuardUnderAttack.js
// Last Updated: 2016.10.25
//=============================================================================
/*:
* @plugindesc Moves the Guard command under the Attack command and before Skill commands.
* @author Bryan Caiola
* @help Plug and play!
*/
Window_ActorCommand.prototype.makeCommandList = function() {
if (this._actor) {
this.addAttackCommand();
this.addGuardCommand();
this.addSkillCommands();
this.addItemCommand();
}
};
How do I make it so that the change only happens when the notetag <move guard> is places in the notes area?
