Ok, I figured out how to remove and hide the "Formation" button.
I will describe it step by step so you can do it too.
step 1: Open the script editor.
step 2: Go to the "Windows" section and select "Window_MenuCommand"
step 3: Go to line 33, where the "Create command List" section begins
Next, delete the line that says "Add_Formation_Command"
step 4: Save the changes and start the game.
THIS IS AVAILABLE FOR RPG MAKER VX ACE [RMVXAce]
#==============================================================================
# Atea - Removed in-menu save and formation commands V1.0
#==============================================================================
#
# by.Atea 介绍:
#
# VA菜单中,删除存档或整队指令
#
#==============================================================================
#
# copyright:
# All you need to do is to note that this script was written by Atea in the game.
#
#==============================================================================
module Save_and_Formation
Save = false # Whether to disable the Save button in the menu (true/false)
Formation = true # Whether to disable the Formation button in the menu (true/false)
end
#==============================================================================
# * The setup part is over, the following is the scripting part
#==============================================================================
class Window_MenuCommand < Window_Command
def make_command_list
add_main_commands
add_command(Vocab::formation, :formation, formation_enabled) if Save_and_Formation::Formation == true
add_original_commands
add_command(Vocab::save, :save, save_enabled) if Save_and_Formation::Save == true
add_game_end_command
end
end