GameMaker Touhou Engine   Home   Downloads   Documentation

_POWER_CONTROLLER


The object that initializes and displays the player's power level, as well as reacting to significant changes in said power level.


Locals: None


Events:


Trigger # Actions
Create 1 Declare power-related global variables.
Step 1 If global._POWER_CHANGED is true, change the number of familiars the player has accordingly. Set global._POWER_CHANGED to false.
Step 2 If the player's power level exceeds the maximum, set it to that maximum.
End Step 1 If the player's power level exceeds the maximum, set it to that maximum. (yes, it does this twice)
Draw 1 Draw the player's power level using _DRAW_DIGIT_DECIMAL().