Delete/hide "End Game" from menu.

Hello!
I'm using "AltmenuScreen3" plugin for my menu.
I need to hide and/or delete the End Game from the menu before I start painting the background for it.

Schermata 2022-01-25 alle 21.55.59.png


I hope someone can help!
you can either rule it out in the core, or if you use a custom menu commands,
you can build it up in the way you want it to be.

but why do you want to get rid of that button if they cannot close it?
or want to go back to title scene for a New Game or Load another save?
This should hide EndGame command which is a snippet that commented out from rpg_windows.js

Code:
//=============================================================================
// NoGameend.js
//=============================================================================

/*:
 * @plugindesc Hides Game End command (commented out from rpg_windows.js)
 * @author ovate
 */

Window_MenuCommand.prototype.makeCommandList = function() {
    this.addMainCommands();
    this.addFormationCommand();
    this.addOriginalCommands();
    this.addOptionsCommand();
    this.addSaveCommand();
    //this.addGameEndCommand();
};
you can either rule it out in the core, or if you use a custom menu commands,
you can build it up in the way you want it to be.

but why do you want to get rid of that button if they cannot close it?
or want to go back to title scene for a New Game or Load another save?

I would like to cut it out because it being a small game it can be shut down by simply closing the window on a pc/mac, and closing it as an smartphone app just need a swipe.

But you are quite right, indeed loading a new savefile would be a pain, because you would need to reopen the game. However I would like to have only 4 commands on the menu so the idea I have for the menu skin can work fine.


This should hide EndGame command which is a snippet that commented out from rpg_windows.js

Code:
//=============================================================================
// NoGameend.js
//=============================================================================

/*:
 * @plugindesc Hides Game End command (commented out from rpg_windows.js)
 * @author ovate
 */

Window_MenuCommand.prototype.makeCommandList = function() {
    this.addMainCommands();
    this.addFormationCommand();
    this.addOriginalCommands();
    this.addOptionsCommand();
    this.addSaveCommand();
    //this.addGameEndCommand();
};
THANK YOU!!! It works perfectly!
I will credit you once as soon as I get the first build up 🙂

Original thread: https://forums.rpgmakerweb.com/threads/delete-hide-end-game-from-menu.144318/