how to make an event happen before going to map

So I want to have the name input happen before the game goes on the map , like the pokemon games,earthbound, undertale etc. but have only figured out how to have events be tied to certain squares on the map. Is there a way to basically make an event be the first thing that happens when the player presses new game?
I have a blank map where I set the player's starting position (I usually set the player to be transparent as well when the game starts, in the database). On that starting map, I have only one event (with no graphic), set to autorun,. That event does everything that needs to be done before the game actually starts (e.g., I set the variable for the day = 1).

So you could insert your name input command and any others in that starting map's event.

At the end of the event, I transfer the player to the map where the beginning of the game actually takes place and turn transparency off.
A map is just a screen. You can leave it blank. You can start the player translucent. If you wanted to, you could build a "map" that functions like a complete UI for the things you want to do at the beginning of the game.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-happen-before-going-to-map.159542/