Alright create a backup of 'Window_MenuCommand' (Just In Case)
You don't need to replace the default classes and, in my opinion, it is generally best not to advise people to do so since it makes it difficult for them to remove the script if they later decide not to use it.
You can reopen the class in a new slot and just alias or overwrite (if necessary) the methods you want changed.
In your case, leaving the default class in and simply adding the following code into a new slot between Materials and Main would do the same thing:
class Window_MenuCommand
#--------------------------------------------------------------------------
# * Add Main Commands to List
#--------------------------------------------------------------------------
def add_main_commands
add_command(Vocab::item, :item)# main_commands_enabled)
add_command(Vocab::skill, :skill, main_commands_enabled)
add_command(Vocab::equip, :equip, main_commands_enabled)
add_command(Vocab::status, :status, main_commands_enabled)
end
end
To make the script more compatible through aliasing, the following code would have the same effect:
class Window_MenuCommand
#--------------------------------------------------------------------------
# * Add Main Commands to List
#--------------------------------------------------------------------------
alias dp3_zaiu_addmncmmnds_2jh6 add_main_commands
def add_main_commands(*args, &block)
dp3_zaiu_addmncmmnds_2jh6(*args, &block)
@list.find({}) {|cmnd| cmnd[:symbol] == :item }[:enabled] = true
end
end