Squished: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo edit summary
(add Standard cutscene action cancel)
Line 13: Line 13:
|related=
|related=
}}
}}
'''Squished''' is an action that Mario enters after being caught under certain enemies or objects, such as a [[Whomp]]. After Mario is squished, he will return to an unsquished state if the squish timer is 0 and there is more than 160 units of space from a ceiling.
'''Squished''' is an action that Mario enters after being caught under certain enemies or objects, such as a [[Whomp]]. After Mario is squished, he will return to an unsquished state if the squish timer is 0 and there is more than 160 units of space from a ceiling.
 
==Standard cutscene action cancel==
{{actions}}
Like all Cutscene actions<ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_cutscene.c#L2689</ref>, if Mario's floor type is <code>SURFACE_INSTANT_QUICKSAND</code> and <span style="color:green;">Mario's action has the <code>INVULNERABLE</code> flag</span> and <span style="color:green;">Mario's action is not [[Quicksand Death]]</span>, the action is cancelled to [[Quicksand Death]].{{actions}}

Revision as of 19:27, 2 June 2023

Squished
Properties
Hex 0x00020339
Action Flags Stationary, Invulnerable
Action Group Cutscene
ID 0x139
Other
Animation 0x0E

Squished is an action that Mario enters after being caught under certain enemies or objects, such as a Whomp. After Mario is squished, he will return to an unsquished state if the squish timer is 0 and there is more than 160 units of space from a ceiling.

Standard cutscene action cancel

Like all Cutscene actions[1], if Mario's floor type is SURFACE_INSTANT_QUICKSAND and Mario's action has the INVULNERABLE flag and Mario's action is not Quicksand Death, the action is cancelled to Quicksand Death.