Command Menu instead of Normal Menu RPG Maker MV (PLEASE HELP)

Hello, i was trying to replace normal menu with my own command menu, and that command menu would have option to push normal menu, yanfly journal, options, saves and to title command.
For now i have 2 problems:
1. I don't know how to exactly replace that, when i make input.keyMapper[27] (which is escape key) command displays but for other things escape don't work, and i don't know how to hide command menu when it is displayed.
2. Command Journal and Command menu doesn't have text, it's blank
Przechwytywanie.PNG
Here you can see my code:
JavaScript:
Input.keyMapper['27'] = 'AltParty';
_allias_scene_map_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
    _allias_scene_map_update.call(this);
    if (Input.isTriggered('AltParty')) SceneManager.push(Scene_AltParty);
};

function Scene_AltParty() {
    this.initialize.apply(this, arguments);
}

Scene_AltParty.prototype = Object.create(Scene_MenuBase.prototype);
Scene_AltParty.prototype.constructor = Scene_AltParty;

Scene_AltParty.prototype.initialize = function() {
    Scene_MenuBase.prototype.initialize.call(this);
};

Scene_AltParty.prototype.create = function () {
    Scene_MenuBase.prototype.create.call(this);
    this.createCommandWindow();
}

Scene_AltParty.prototype.stop = function() {
    Scene_MenuBase.prototype.stop.call(this);
    this._commandWindow.close();
};

Scene_AltParty.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_AltParty();
    this._commandWindow.setHandler('menu',  this.commandMenu.bind(this));
    this._commandWindow.setHandler('quest', this.commandQuest.bind(this));
    this._commandWindow.setHandler('gameEnd',   this.commandGameEnd.bind(this));
    this._commandWindow.setHandler('options', this.commandOptions.bind(this));
    this._commandWindow.setHandler('save', this.commandSave.bind(this));
    this.addWindow(this._commandWindow);
};

Scene_AltParty.prototype.commandMenu = function() {
    SceneManager.push(Scene_Menu);
}


Scene_AltParty.prototype.commandQuest = function() {
    SceneManager.push(Scene_Quest);
}

Scene_AltParty.prototype.commandOptions = function() {
    SceneManager.push(Scene_Options);
}

Scene_AltParty.prototype.commandSave = function() {
    SceneManager.push(Scene_Save);
}

Scene_AltParty.prototype.commandGameEnd = function() {
    SceneManager.push(Scene_GameEnd);
}
//---------------------OKNO---------------------------------------------------
function Window_AltParty() {
    this.initialize.apply(this, arguments);
}

Window_AltParty.prototype = Object.create(Window_Command.prototype);
Window_AltParty.prototype.constructor = Window_AltParty;

Window_AltParty.prototype.initialize = function() {
    Window_Command.prototype.initialize.call(this, 0, 0);
    this.updatePlacement();
    this.openness = 0;
    this.open();
};

Window_AltParty.prototype.windowWidth = function() {
    return 240;
};

Window_AltParty.prototype.updatePlacement = function() {
    this.x = (Graphics.boxWidth - this.width) / 2;
    this.y = (Graphics.boxHeight - this.height) / 2;
};

Window_AltParty.prototype.makeCommandList = function() {
    this.addCommand(TextManager.menu, 'menu');
    this.addCommand(TextManager.quest, 'quest');
    this.addCommand(TextManager.options, 'options');
    this.addCommand(TextManager.save, 'save');
    this.addCommand(TextManager.gameEnd,  'gameEnd');
};
Thanks for any replies!
escape key is one of default key use(check out in rpg_core.js)
better bind your custom window with other key
and I don't know
If you already use yanfly journal
why not use his custom main menu too
that you can bind command with out mess up with js
about the add command...
for real... I only understand it by delete/add test...multiple time for it to work...
so let's wait for other expert then...
escape key is one of default key use(check out in rpg_core.js)
better bind your custom window with other key
and I don't know
If you already use yanfly journal
why not use his custom main menu too
that you can bind command with out mess up with js
about the add command...
for real... I only understand it by delete/add test...multiple time for it to work...
so let's wait for other expert then...
Thanks for reply. With yanfly custom main menu you mean main menu manager?
Thanks for reply. With yanfly custom main menu you mean main menu manager?
yes that one
you can bind new command or remove in the plugin
yes that one
you can bind new command or remove in the plugin
Ok, but i wanted to replace normal menu with my menu and then normal menu would be something like party command in which you would have character's status and skill but i don't know how to give player ability to select actor before going to skill or status scene. That's why i want to replace normal menu with mine menu.
Hello, i was trying to replace normal menu with my own command menu, and that command menu would have option to push normal menu, yanfly journal, options, saves and to title command.
For now i have 2 problems:
1. I don't know how to exactly replace that, when i make input.keyMapper[27] (which is escape key) command displays but for other things escape don't work, and i don't know how to hide command menu when it is displayed.
2. Command Journal and Command menu doesn't have text, it's blank
View attachment 140289
Here you can see my code:
JavaScript:
Input.keyMapper['27'] = 'AltParty';
_allias_scene_map_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
    _allias_scene_map_update.call(this);
    if (Input.isTriggered('AltParty')) SceneManager.push(Scene_AltParty);
};

function Scene_AltParty() {
    this.initialize.apply(this, arguments);
}

Scene_AltParty.prototype = Object.create(Scene_MenuBase.prototype);
Scene_AltParty.prototype.constructor = Scene_AltParty;

Scene_AltParty.prototype.initialize = function() {
    Scene_MenuBase.prototype.initialize.call(this);
};

Scene_AltParty.prototype.create = function () {
    Scene_MenuBase.prototype.create.call(this);
    this.createCommandWindow();
}

Scene_AltParty.prototype.stop = function() {
    Scene_MenuBase.prototype.stop.call(this);
    this._commandWindow.close();
};

Scene_AltParty.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_AltParty();
    this._commandWindow.setHandler('menu',  this.commandMenu.bind(this));
    this._commandWindow.setHandler('quest', this.commandQuest.bind(this));
    this._commandWindow.setHandler('gameEnd',   this.commandGameEnd.bind(this));
    this._commandWindow.setHandler('options', this.commandOptions.bind(this));
    this._commandWindow.setHandler('save', this.commandSave.bind(this));
    this.addWindow(this._commandWindow);
};

Scene_AltParty.prototype.commandMenu = function() {
    SceneManager.push(Scene_Menu);
}


Scene_AltParty.prototype.commandQuest = function() {
    SceneManager.push(Scene_Quest);
}

Scene_AltParty.prototype.commandOptions = function() {
    SceneManager.push(Scene_Options);
}

Scene_AltParty.prototype.commandSave = function() {
    SceneManager.push(Scene_Save);
}

Scene_AltParty.prototype.commandGameEnd = function() {
    SceneManager.push(Scene_GameEnd);
}
//---------------------OKNO---------------------------------------------------
function Window_AltParty() {
    this.initialize.apply(this, arguments);
}

Window_AltParty.prototype = Object.create(Window_Command.prototype);
Window_AltParty.prototype.constructor = Window_AltParty;

Window_AltParty.prototype.initialize = function() {
    Window_Command.prototype.initialize.call(this, 0, 0);
    this.updatePlacement();
    this.openness = 0;
    this.open();
};

Window_AltParty.prototype.windowWidth = function() {
    return 240;
};

Window_AltParty.prototype.updatePlacement = function() {
    this.x = (Graphics.boxWidth - this.width) / 2;
    this.y = (Graphics.boxHeight - this.height) / 2;
};

Window_AltParty.prototype.makeCommandList = function() {
    this.addCommand(TextManager.menu, 'menu');
    this.addCommand(TextManager.quest, 'quest');
    this.addCommand(TextManager.options, 'options');
    this.addCommand(TextManager.save, 'save');
    this.addCommand(TextManager.gameEnd,  'gameEnd');
};
Thanks for any replies!
Ok nevermind. Thanks to common events i done what i wanted in 20 minutes fully functional! (Yesterday i wasted 3h for that plugin xD)

Original thread: https://forums.rpgmakerweb.com/threads/command-menu-instead-of-normal-menu-rpg-maker-mv-please-help.120365/