Ice: Difference between revisions
(Created page with "{{ID |name = Ice |id = 25 |robotic = Ice |color = <code>c3b</code> (cyan on dark cyan) |param = 0 |idchar = 0 |idanim_colors = Ice animation (#160-#163) |floor = y |active = y |effect_stood = Player is moved south }} Category:MegaZeux Category:MegaZeux built-in objects Category:Elements Ice is a MegaZeux built-in element. Ice is a special floor: whenever the Player starts the cycle standing on Ice, they will be moved in the p...") |
No edit summary |
||
Line 9: | Line 9: | ||
|floor = y | |floor = y | ||
|active = y | |active = y | ||
|effect_stood = [[Player]] is moved | |effect_stood = [[Player]] is moved according to [[PLAYERLASTDIR]] | ||
}} | }} | ||
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Elements]] | [[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Elements]] | ||
Line 18: | Line 18: | ||
== Behavior == | == Behavior == | ||
The entire [[parameter]] of Ice is the current animation '''Stage'''. | |||
If the '''Stage''' of Ice is 0, it has a 1/256 chance of advancing its '''Stage''' to 1. If the '''Stage''' is 1 or 2, it will advance to the next '''Stage'''; if the '''Stage''' is 3, it will reset back to 0. | |||
The current display character of Ice is determined by position <code>parameter + 160</code> of the ID animations. | |||
== Unintended behavior == | == Unintended behavior == | ||
Ice 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-specific and unsupported. |
Latest revision as of 09:59, 1 June 2025
Ice # 25 ![]() | |
Robotic name | Ice
|
Default color | c3b (cyan on dark cyan)
|
Default param | 0 |
ID char | 0 (#25) |
ID anim. colors | Ice animation (#160-#163) |
Attributes | Floor Active |
Effect when stood on |
Player is moved according to PLAYERLASTDIR |
Ice is a MegaZeux built-in element. Ice is a special floor: whenever the Player starts the cycle standing on Ice, they will be moved in the previous direction they moved in (as indicated by PLAYERLASTDIR). If the previous moved direction is unset (PLAYERLASTDIR is 0), for example after entering a board through an entrance, Ice will not move the Player. This movement effect does not affect anything aside from the Player.
If a Fire is placed on top of Ice, it will melt the Ice into a Still Water and be extinguished immediately. Ice can not be overwritten with Floor or Fire by an Explosion.
Behavior
The entire parameter of Ice is the current animation Stage.
If the Stage of Ice is 0, it has a 1/256 chance of advancing its Stage to 1. If the Stage is 1 or 2, it will advance to the next Stage; if the Stage is 3, it will reset back to 0.
The current display character of Ice is determined by position parameter + 160
of the ID animations.
Unintended behavior
Ice 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-specific and unsupported.