Just need to know the JS call to close the main menu (in-game).
Thanks in advance!
SceneManager.push(Scene_Map);
SceneManager.pop();
Works for any kind of menu. It will make the game go back to whatever was open before it.
Perfect, thanks both!
And bonus question: What's the JS call to reset the game completely?
Define reset the game completely. Do you want to go back to the title screen? Do you want to remove saves from the game? What do you want?
location.reload is probably what you're looking for, then.