GameMaker Touhou Engine   Home   Downloads   Documentation


The object that controls the pause menu.


Name Type Significance
_SELECTED Integer The selected menu option at the time of access, top to bottom.


Trigger # Actions
Create 1 Declare local variables.
Press Escape Key 1 If a replay is currently being played back, return to the title screen. If the game is paused, unpause it. Else, deactivate everything except self and _CONTROLLER_BASE, using it to draw the pause menu with a still snapshot of the game behind it.
Press Up Arrow 1 Move the selection upwards.
Press Down Arrow 1 Move the selection downwards.
Press Z-Key 1 Either resume the game, restart the game, or return to the main menu depending on the selected option.