Imitating a "New Game" via script calls

Working on my custom on map title screen. Could I somehow force a New Game via script call?
I've tried SceneManager.push(Scene_Map); ,but it doesn't seem to work properly. It seemingly ignores the player's game start location and doesn't clear any switches, variables, etc.

Would it be better to just use normal transfer player command with these:
$gameSelfSwitches.clear();
and $gameSwitches.clear(); , $gameVariables.clear();

I haven't tested them yet. Would they clear all the data from all of the maps?
Hi!
I believe you can use DataManager.setupNewGame()
Just for reference:

DataManager.setupNewGame = function() {
this.createGameObjects();
this.selectSavefileForNewGame();
$gameParty.setupStartingMembers();
$gamePlayer.reserveTransfer($dataSystem.startMapId,
$dataSystem.startX, $dataSystem.startY);
Graphics.frameCount = 0;
};


Don't know exactly what you are doing, but this will take you to the first map. If your first map is your title screen, then will do nothing. Do you are making this in a map or in a custom scene title?
It works! Thank you!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/imitating-a-new-game-via-script-calls.132513/