I want to have the option of bypassing the main menu on exiting the item submenu.
Is there a script call or plugin that can do this?
Is there a script call or plugin that can do this?
The former, but ideally I'd like to replace or override the command that closes the Item scene back into the Main Menu.
Scene_Item.prototype.onItemCancel = function() {
if (this._categoryWindow.needsSelection()) {
this._itemWindow.deselect();
this._categoryWindow.activate();
} else {
SceneManager.goto(Scene_Map);
}
};
Original thread: https://forums.rpgmakerweb.com/threads/close-item-scene-directly-to-game-map.170371/