Problem removing menu options

Hello all.


I'm sute this is a dumb question, but my Google-Fu and trial-and-error methods have failed me.


I'm trying to edit the main menu and, as a POC, have it only display the "status" line.


Looking in the code, I though that commenting some lines would work (printscreen in the spoiler)

Spoiler
luna1.png
However, it appears Luna is overwriting the main Window_MenuCommand. Not a problem, let's just find how to di=o it in Luna.


I then followed this guide and ended with the code in the following spoiler:

Spoiler
luna2.png
However, when I run the game, I get this:

Spoiler
luna3.png
All the "blank" menu items are selectable and work, ignoring their text (in the printscreen, the "status" item takes me to the debug)


Can anyone PLEASE help me? I am at a complete loss!


Thank you in advance!
CP Command Menu Config script already does that for you...Go read the instructions!
As Archeia mentioned, use CP Command Config script. You'll find that it has a "section" for each command. Erase the sections of the commands you don't need and they will disappear. Just make sure that you erase correctly so you don't break the script. Every section has to start with a  "}"  and end with a "},"

Read the instructions at the top of the script to understand better how this script works. 🙂

EDIT: Oh nevermind there's an easier way. Just set :appear to false to whichever command you don't want to be there. XD
Thanks to both of you. I was confused on WHICH script was actually creating the menu.


So making this clear: to save a bit of memory and processing, I could just comment out the whole "native" menu creation, as it bears nothing in the final menu generation?
Well, if you do that then we can't provide support at all since that is user inflicted process and not something we established.

Original thread: https://forums.rpgmakerweb.com/threads/problem-removing-menu-options.42402/