Riding Shell Fall: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Action_infobox |title= Riding Shell Air |image= |official name= |hex= 0x0081089B |flags= Air, Riding Shell, Attacking |group= Airborne |id= 0x09B |into= |out of= |animation=...") |
Icecream17 (talk | contribs) m (Icecream17 moved page Riding Shell Air to Riding Shell Fall: it was renamed: https://github.com/n64decomp/sm64/blob/master/include/sm64.h#L273) |
||
(One intermediate revision by one other user not shown) | |||
Line 42: | Line 42: | ||
#*# Mario enters the [[Lava Boost|lava boost]] action while dropping any held objects and no longer riding a shell. | #*# Mario enters the [[Lava Boost|lava boost]] action while dropping any held objects and no longer riding a shell. | ||
# Mario's visual position is shifted up 42 units. | # Mario's visual position is shifted up 42 units. | ||
{{actions}} |
Latest revision as of 00:17, 21 July 2023
Riding Shell Air | |
Properties | |
Hex | 0x0081089B |
Action Flags | Air, Riding Shell, Attacking |
Action Group | Airborne |
ID | 0x09B |
Other | |
Animation | 0x4A |
The riding shell air action is the action Mario enters while in the air while riding a shell.
Behavior
Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.
As with all airborne actions, a variety of "cancels" are checked prior to actually performing the riding shell air action. These checks are as follows:
- Water - If Mario's height is lower than 100 units below the water height, the action is transitioned into the water plunge action.
- Squish - If Mario is supposed to be squished, his action is changed to the squished action.
At this point, two more things happen prior to the riding shell air action:
- Mario's quicksand depth is set to 0.
- Mario plays a falling noise if he has fallen more than 1150 units from his peak.
With the riding shell air action occurring, the following happens:
- Mario plays the movement sounds.
- Mario's animation is set to the shell jump animation.
- Mario updates his speed/sideways position via straining.
- Now, Mario performs the quarter-frame movement via a partial air step with no flags. The action will determine its own reaction.
- If Mario Lands:
- Mario's action is set to the riding shell ground action.
- If Mario hits a wall:
- Mario's forward speed is set to 0.
- If Mario lava wall boosts:
- Mario's yaw is set perpendicular to the wall.
- Mario's forward speed is capped to 24.
- If Mario is not wearing a metal cap, he is hurt 12 (or 18 without his hat).
- Mario plays the noise for being burned.
- The camera preset is set to the area's default preset.
- Mario enters the lava boost action while dropping any held objects and no longer riding a shell.
- If Mario Lands:
- Mario's visual position is shifted up 42 units.