GameMaker Touhou Engine   Home   Downloads   Documentation

_PLAYER_DECLARE_SPELL()


A script that declares a spell cast by the player, used when a bomb is fired off.


Returns: Void


Syntax:


_PLAYER_DECLARE_SPELL(name, cutin)

Arguments:


Name Value Significance
name <string> The name of the spell.
cutin <sprite> The cutin to use.

Actions:


Create an instance of _SPELL_CARD_TEXT_P and _CUTIN_OBJECT. Set their _SPELL_NAME and sprite respectively.