GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_KILL()


A script that destroys a stage enemy or advances a boss to their next phase.


Returns: Void


Syntax:


_ENEMY_KILL(en)

Arguments:


Name Value Significance
en <object> The target enemy. (Must inherit from _ENEMY_PARENT or _BOSS_PARENT)

Actions: Set en's _HEALTH to -1.