Change Inventory Commands Name Mid-Game

Introduction
This little script allows the user to change multiple of the commands names of the inventory just by activating a switch.

Screenshots
Spoiler
upload_2019-8-1_17-8-27.png
upload_2019-8-1_17-9-14.png
upload_2019-8-1_17-9-36.png

Instructions
To install just copy/paste it below Materials and above Main. Let it be said, any script that alters how the items menu behaves may have compatibility issues.

Script
Spoiler
class Window_ItemCategory < Window_HorzCommand
def make_command_list
if !$game_switches[28] #switch id, 28 by default
add_command("Items", :item) # item's name by default
add_command("Weapons", :weapon) # weapon's name by default
add_command("Armors", :armor) # armor's name by default
add_command("Key Items", :key_item) # key item's name by default
else
add_command("Stuff", :item) # item's new name upon using switch
add_command("Magic?", :weapon) # weapon's name upon using switch
add_command("Songs", :armor) # armor's name upon using switch
add_command("Important", :key_item) # key item's name upon using switch
end
end
end

Terms of Use

You are free to use the script for both commercial and non-commercial games, as long as I recibe proper credit. Don't really care about reposts, yet I'd prefer to people just giving a link to this thread in case of any update.

Original thread: https://forums.rpgmakerweb.com/threads/change-inventory-commands-name-mid-game.111700/