Help!, how to remove that from equip, skills, and status? because i only use one actor, thank you!
MZ Remove Switch Ally Button (< , >)
JS Plugin RequestsHelp!, how to remove that from equip, skills, and status? because i only use one actor, thank you!
First a couple of notes:
(You can name this plugin as you like since it has no parameters.)
- These buttons are part of the Touch UI, which can be enabled/disabled in-game via the options menu.
- These two "page buttons" in particular are bound to the
pageUp/pageDowninputs (alsoQ/W, or gamepadLB/RB). By default they display on the skill, equip, and status scenes.
JavaScript:
/*:
* @target MZ
* @plugindesc Hides the Touch UI page buttons if there's only one party member.
* @author Caethyril
* @help Applies to Equip, Skill, and Status scenes.
*
* Terms of use: free to use and/or modify for any project.
*/
for (c of [Scene_Equip, Scene_Skill, Scene_Status]) {
c.prototype.needsPageButtons = function() {
return $gameParty.members().length > 1;
};
};
Thank you so much! it's work!
Original thread: https://forums.rpgmakerweb.com/threads/remove-switch-ally-button.138084/