GameMaker Touhou Engine   Home   Downloads   Documentation


The object that initializes, controls and displays the player's graze.


Name Value/Default Significance
_GRAZE_TIMER <boolean>/false true: The player cannot gain graze at the time of access. false: The player is eligible to gain graze at the time of access.


Trigger # Actions
Create 1 Declare global._GRAZE. Set local variables to default values.
Alarm[0] 1 Enable the player to gain graze again.
Step 1 If the player can gain graze, increase their graze according to the number of bullets in their vicinity. If the graze has increased, set _GRAZE_TIMER to false. Else, set Alarm[0] to a small arbitrary value.
Draw 1 Draw the player's graze using _DRAW_DIGIT_INTEGER().