GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_BOSS_SET_PARAMS()


A script that allows easy setting of values related to boss fights such as health, timers and bullet patterns.


Returns: Void


Syntax:


_ENEMY_BOSS_SET_PARAMS(en, ntl, arr1, arr2)

Arguments:


Name Type Significance
en Reference to Object The target boss.
ntl Reference to Object The timeline object to be created after the boss is defeated.
arr1 Various Type Array This array should contain triplets of values in the following order, signifying each phase: the health the boss has during it, the timeline object to use and the timer that the phase has.
arr2 Non-negative Integer Array The index of the last patterns that each of the boss' health bars contain. (see _BARS in _BOSS_PARENT)