GameMaker Touhou Engine   Home   Downloads   Documentation

_UPDATE_UNSET_SPELL_BONUS()


A script called when a boss finishes their current spell card that awards the player with the bonus for that spell.


Returns: Void


Syntax:


_UPDATE_UNSET_SPELL_BONUS()

Arguments: None


Actions: Set _SPELL_BONUS_CONTROLLER's _SBONUS to the spell bonus at the time of calling the script and it's _DRAW_TRIGGER to true. Increase the player's score by global._SPELL_BONUS, then set global._SPELL_BONUS to 0. Destroy every instance of _SPELL_CARD_TEXT_E.