GameMaker Touhou Engine   Home   Downloads   Documentation


A script that declares a spell cast by the enemy.

Returns: Void


_ENEMY_DECLARE_SPELL(name, sid, tl, bossid, bonus, cutin, ds, surv)


Name Type Significance
name String The name of the spell.
sid Non-negative Integer The spell's unique numerical identifier. (see global._DATA_MAP)
tl Reference to Object The timeline object used for the spell card.
bossid Reference to Object The ID of the object that represents the boss.
bonus Integer The spell card bonus.
cutin Reference to Sprite The cutin to use (noone for no cutin).
ds ds_map The ds_map to write into.
surv Boolean Whether or not the spell is a survival card.