Lava

From MZXWiki
Revision as of 12:25, 1 June 2025 by Lachesis (talk | contribs) (Created page with "{{ID |name = Lava |id = 26 |robotic = Lava |color = <code>c4c</code> (red on dark red) |param = 0 |idchar = 0 |iddamage = 100 (#353) |idanim_colors = Lava animation (#164-#166) |floor = y |active = y |effect_stood = Player takes damage unless Firewalker is active }} Category:MegaZeux Category:MegaZeux built-in objects Category:Elements Lava is a MegaZeux built-in element. Lava is a special floor: whenever the Player start...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Lava # 26 Id26.png
Robotic name Lava
Default color c4c (red on dark red)
Default param 0
ID char 0 (#26)
ID damage 100 (#353)
ID anim. colors Lava animation (#164-#166)
Attributes Floor
Active
Effect when
stood on
Player takes damage unless Firewalker is active

Lava is a MegaZeux built-in element. Lava is a special floor: whenever the Player starts the cycle standing on Lava and the Firewalker effect is not currently active, they will take damage and the special damage SFX 22 (Lava, also known as Augh!) will play, and the message "Augh!" will display.

Lava acts as a barrier to most Enemies, but projectiles and Eye, Ghost, and Dragon can move over it, and Lava is one of the two elements that Shark can move in (the other being Goop).

If a Fire is placed on top of Lava, it is extinguished immediately. Lava can not be overwritten with Floor or Fire by an Explosion.

Behavior

The entire parameter of Lava is the current animation Stage.

Lava updates every other cycle. When it updates, it has a 20/256 chance of doing nothing; otherwise, it will advance its Stage by one, unless its current Stage is 2, in which case it will reset to 0.

MegaZeux 1.00

Lava updated on every cycle instead of every other cycle.

Unintended behavior

Lava with a Stage of 3 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.