I want the game to start on a map instead of the title screen and return to that same map when you get a "Game Over". I am currently using one, but I noticed that when you get a Game Over it will take you to the title after the Game Over Scene plays.
This is the current code I am using. Can someone please help me fix this issue?
This is the current code I am using. Can someone please help me fix this issue?
JavaScript:
(function() {
Scene_Boot.prototype.start = function() {
Scene_Base.prototype.start.call(this);
SoundManager.preloadImportantSounds();
if (DataManager.isBattleTest()) {
DataManager.setupBattleTest();
SceneManager.goto(Scene_Battle);
} else {
this.checkPlayerLocation();
DataManager.setupNewGame();
SceneManager.goto(Scene_Map);
}
this.updateDocumentTitle();
};
})();