MZ VSMZ - How to make a title screen command to go to a certain map? (For a manual screen)

I have tried injecting the script call as seen in Archeia's post into the VisuStella MZ Core Engine's title command configuration screen, but when I test the game, nothing happened when I clicked / selected the "Manual" option that I configured.

Here's the code that is supposed to be run when selecting that command:

JavaScript:
$gamePlayer.reserveTransfer(3,8,6,0,0)

Is this the wrong piece of code? Tbf, I wanna have that command to make the screen transfers to a map that shows the "manual" of the game in it. If that is the wrong code snippet, how can I change it in order to make what I want works?

Thanks in advance!
If "nothing happened" when you tried to execute a script you'll need to check the console log to see what's going wrong.
If "nothing happened" when you tried to execute a script you'll need to check the console log to see what's going wrong.
Nothing bad detected from the console though...

I mean I tried looking for a universal (not in-game, I mean those that can even be called in game menus and stuff) script call that can transport the player to another map...

That's what I am gonna use for the game manual stuff (there is a separate map that serves as a manual)...

How can I do it?
If you used MV id just say use mogs title plugin or yanfly and add it that way but with MZ I'm not sure.


if its possible you could try adding a common event to run when the manual option is selected then put all the stuff in there. If that is the correct code, then sounds like it's not recognizing the script call from the main menu. I ran into a lot of this in MV and had to play with it some
on the title screen, most game structures do not exist - they need to be created first, either by the new game option, the load game option or quite a series of commands from a plugin manipulating the title screen.

so in your case most likely the gameplayer object was not yet ready when you gave that command.
I suggest you carefully re-read the context in which you saw the command used to learn what you missed when transferring it to where you used it.
Assuming it just requires a function body or eval then this should work:
JavaScript:
// Memorise assigned start point.
const mem = { startMapId, startX, startY } = $dataSystem;
// Change start point.
$dataSystem.startMapId = 1;
$dataSystem.startX = 2;
$dataSystem.startY = 3;
// Start new game from title screen.
SceneManager._scene.commandNewGame();
// Immediately reset start point.
$dataSystem.startMapId = mem.startMapId;
$dataSystem.startX = mem.startX;
$dataSystem.startY = mem.startY;
Replace the numbers 1, 2, and 3 with your "alternative start" coordinates.

Original thread: https://forums.rpgmakerweb.com/threads/vsmz-how-to-make-a-title-screen-command-to-go-to-a-certain-map-for-a-manual-screen.158061/