Skip Title Screen if there's no Saved Data

Heyo. I was actually looking for a plug-in that skips the title screen if there's no saved data present (played the game for the first time, for instance), but couldn't find any.

So, I posted here. I'd be glad if someone could actually do this. 😀
Code:
Scene_Boot.prototype.start = function() {
    Scene_Base.prototype.start.call(this);
    SoundManager.preloadImportantSounds();
    if (DataManager.isBattleTest()) {
        DataManager.setupBattleTest();
        SceneManager.goto(Scene_Battle);
    } else if (DataManager.isEventTest()) {
        DataManager.setupEventTest();
        SceneManager.goto(Scene_Map);
    } else {
        this.checkPlayerLocation();
        DataManager.setupNewGame();
        if (DataManager.isAnySavefileExists()) {
                SceneManager.goto(Scene_Title);
                Window_TitleCommand.initCommandPosition();
        }else {
                SceneManager.goto (Scene_Map)
        }
    }
    this.updateDocumentTitle();
};
Hopefully it works.
Code:
Scene_Boot.prototype.start = function() {
    Scene_Base.prototype.start.call(this);
    SoundManager.preloadImportantSounds();
    if (DataManager.isBattleTest()) {
        DataManager.setupBattleTest();
        SceneManager.goto(Scene_Battle);
    } else if (DataManager.isEventTest()) {
        DataManager.setupEventTest();
        SceneManager.goto(Scene_Map);
    } else {
        this.checkPlayerLocation();
        DataManager.setupNewGame();
        if (DataManager.isAnySavefileExists()) {
                SceneManager.goto(Scene_Title);
                Window_TitleCommand.initCommandPosition();
        }else {
                SceneManager.goto (Scene_Map)
        }
    }
    this.updateDocumentTitle();
};
Hopefully it works.


Thank you so much! It worked! 😀
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/skip-title-screen-if-theres-no-saved-data.88141/