Problem with starting a new game.

So, when my game starts there's a custom sort of splash screen I have. It just a basic menu. It asks the player if they want to start a new game, load, change options, etc.

When the player hits new game, I use a transfer event to transfer the player to the first map where a cutscene autoruns. To end the cutscene, I have a second page that is set to trigger on a self switch A. On the first page I trigger this self switch at the very end.

At the moment with my menu, if players choose to start a new game, what it does is transfers them back to that original splash screen. The issue arises when they try and hit new game again because it'll load again into that first map, but now, because all the switches and everything haven't been reset, the cutscene is still stuck on the second page and won't play.

Is there a way to reset the entire game without having to use the in-built title screen?
Code:
DataManager.setupNewGame()
script event command at the very end of the game might work.
it sounds as if whatever you used to skip the default title screen is messing up with your game process.
If the command above does not help you, you need to link us to any plugin that you use to skip the original title screen and then give us screenshots of the event that makes your repacement menu.
Code:
DataManager.setupNewGame()
script event command at the very end of the game might work.

This just threw up an error for me. It also didn't seem to do anything in a brand new scene.

I did try this though: location.reload(); as a script call.

It seems to work. If you're game is in full screen though, it will go windowed and then be made smaller, but I using SRD's Game Upgrade plugin, I was able to set it to Always full screen, which stops this from happening.

It means players can't play the game windowed, but that's alright to me. It's either that or have no new game option.
it sounds as if whatever you used to skip the default title screen is messing up with your game process.
If the command above does not help you, you need to link us to any plugin that you use to skip the original title screen and then give us screenshots of the event that makes your repacement menu.

I replied to this thread just as you posted it seems. I was using Sum Random Dude's skip title screen plugin found here: http://sumrndm.site/mv-plugins/

But yeah, I got it working, at the cost of allowing players the option to play windowed.
If you want to clear all the self switches, you can use the "clear" function on the self switches variable:
https://kinoar.github.io/rmmv-doc-web/classes/game_selfswitches.html#clear

There are similar functions for switches and variables.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-starting-a-new-game.107695/