Now you have everything you need, it is time to create the event itself. In the first page of this event you have to setup everything you need for the actual scene. Since we don't want the player to be able to open the menu it is better to seal access to it while the map is displayed on the screen. In the 3rd page of your event commands there is an option for that. You probably don't want the player to be able to move while the map is displayed as well. That can be done using passability, you need a tileset that is TOTALLY unpassable. What is in the tileset is not important since you can either freeze graphics until the map is displayer or tint the screen (I am going to use this last one). What is important is that your tileset is unpassable. Tint your screen black and change map tileset (both of them are event commands).
Now your player cannot move, cannot open the menu and cannot see. What you need is to fix its direction to prevent any kind of movement. You can either store the player direction and move it once the event is completed or set a direction fix using a move route. Up to you, just remember your choice.
You only lack images right now and your event setup is completed. Using show picture select your map image and show it as picture 1. If your image size doesn't fit perfectly in your game window then show it using the top left corner as starting point and take note of its X and Y coordinates (I assume you want to adjust them to centre your image).
Using Control Variables store your map image X and Y (if they are not 0) in two variables and continue to the next part. If your map image X and Y are 0 you don't need to store them (which is the best option in my opinion).
Decide one of the locations you took note of and set it as starting potision for your cursor. Show your cursor using show picture and set the starting point to be the centre of your image then set X and Y according to what you wrote for that location.
After that change your event Self Switch A and set it to be ON (true if you are using a script call instead of the event command).
Create a second page for your event. Unlike the previousone this will be a Parallel Process. Set the page condition to be "Self Switch A is ON" and start addin commands to this page too.
Here is what you need: a variable to store your location order (like location A is number 1, location B is number 2 and so on), many different conditional branches.
First of all set up a conditional branch to check if the B button is being pressed (this means the player wants to exit the scene). Don't forget to check "set handling when conditions do not apply", you will need it. In the first part of the conditional branch you have to turn on Self Switch B. We will use this one to tell the game we want to exit the scene.
In the second part (the Else one) of the conditional branch you have to put another conditional branch to check if the UP button is being pressed. As in the previous one you want the option "set handling when conditions do not applu" active. It is not something really needed but without it it is possible to press both DOWN and UP button and move the cursor twice in the same event. I personally think it is better to give some sort of priority to input buttons so that it still moves only once.
In the first part of this new conditional branch you have to increase a variable (the one you decided to use to store your location order) by one and turn Self Switch C ON. In the second part of this new conditional branch (the Else one) you have to put another conditional branch (yes, another one...) to check if the DOWN button is being presed. This time you don't have to check the option "set handling when conditions do not apply". This conditional branch is the same as the previous but instead of increasing your variable by 1 you have to
decrease it.
After that, in the Else part of the very first conditional branch you have to create a new conditional branch to check if the C Self Switch is ON. If yes turn it off and set up a condition al branch for every location you have (a different one for each location). In every one, according to your location index (remember that the 1st location index is 0), you hve to set a Move Picture command to move your cursor (picture 2) in the right position. You should have them noted if you followed my instructions. Create as many conditional branches you need to do that.
In the second part of the very first conditional branch (again the one to check if B button is being pressed) place a new conditional branch below the one to check if the DOWN button is being pressed and
outside it. This time you have to check if the C button (it should be the one for Z key) is being pressed to transfer the player. You don't need an else branch so you can uncheck the "set handling when conditions do not apply" option.
Almost done (I know, this explaination is kinda boring...It took me more than 1 hour to write it until this point. Please forgive me if I make mistakes when typing but I am super tired). In the conditional branch to check if the C button is being pressed (the last one you created) you have to set up the map transfer. You can do this part using many different conditional branches or using a script call...honestly a script call is much easier here so I am going to use that one.
Before this remember to set off Direction Fix for the player if you set it on before and set map tileset back to normal. After that use a flag to tell the game you are operatin a transfer turning Self Switch C ON then just copy/paste this code in your script call and modify it to fit your needs.
Code:
case $game_variables[your_variable_id]
when 0
$game_player.reserve_transfer(location0_map_id, location0_x, location0_y, location0_direction)
when 1
$game_player.reserve_transfer(location1_map_id, location1_x, location1_y, location1_direction)
when 2
$game_player.reserve_transfer(location2_map_id, location2_x, location2_y, location2_direction)
# you can add more locations using the same format and increasing the value after "when"
end
#locationN_map_id is the map id for your location with index N
#locationN_x is the x coordinate for your location with index N
#locationN_y is the y coordinate for your location with index N
#locationN_direction is the direction the player should fac eonce arriving in your location with index N
#N is the value after the"when" keyword (note that the 1st one is 0)
After this you have to turn on Self Swith B ON.
One last thing before the second page is gone: at the bottom of your event (
not in a conditional branch) add a Wait command (5 frames are usually enough) so it will be possible to select locations one by one. If you don't it will be very hard to pick the right destination since the cursor will move every frame and you need to be crazy fast to not move it more than once.
Finally done. All you hve to do is create a third page for your event. This one will have Self Switch B is ON as condition and will trigger as Autorun. The first thing to do is turn OFF Self Switch B, if we don't we might forget it later. After that we have to dispose of the two pictures (both map and cursor) using the Erase Picture command. The screen is now black and the player still cannot access his game menu. Enable menu access and add a conditional branch to check Self Switch C status (do you remember this one? We ussed it to tell the game we were operating a transfer). If the switch is OFF it means the player decided to exit the scene without teleporting to another map. If so you have to set map tileset back to normal. In the else branch just turn Self Switch C OFF. Now the player can access menu, can move but still cannot see a thing because the screen is still pitch black. OUTSIDE the conditional branch you can now finally tint your screen back to normal (the value for every color should be 0).