Life
Life # 66 ![]() | |
Robotic name | Life
|
Default color | c0b (cyan on black)
|
Default param | 0 |
ID char | 0 (#66) |
ID anim. chars | Life animation chars (#278-#281) |
ID anim. colors | Life animation colors (#282-#285) |
Attributes | Active Pushable: any |
Effect when touched |
Give 1 LIVES; become Space, move Player |
Life (ID 66, Life
) is a built-in item. When touched by the Player, it gives 1 LIVES, plays SFX 5 (Life), is removed from the board, and the Player moves onto its old position.
Behavior
The entire parameter of Life is its current animation Stage.
Every even cycle, a Life updates its animation. If its Stage is equal to 3, it will reset it to 0; otherwise, it will advance its Stage by one.
The current display character of Life is determined by position parameter + 278
of the ID animations. The current display color of Life is determined by position parameter + 282
of the ID animations.
MegaZeux 1.00 until 2.00
In MegaZeux 1.x, Life updates on every cycle instead of on every other cycle.
Unintended behavior
A Life with a Stage of 4 or greater can be created. These Stage values continuously increment the parameter until the Stage overflows to 0. This results in buggy animations referencing other ID animation and ID damage values, the specifics of which are version-dependent and unsupported.