246
edits
mNo edit summary |
Icecream17 (talk | contribs) (consistent stationary cancel) |
||
Line 13: | Line 13: | ||
}} | }} | ||
The '''jump land stop''' action is an action that Mario passes through when landing that brings him into the [[idle]] action. | The '''jump land stop''' action is an action that Mario passes through when landing that brings him into the [[idle]] action. | ||
== Behavior == | == Behavior == | ||
''Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.'' | ''Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.'' | ||
As with all stationary actions, a variety of "cancels" are checked prior to actually performing the | As with all stationary actions, a variety of "cancels" are checked prior to actually performing the idle action. These checks are as follows:<ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_stationary.c#L1083-L1115</ref> | ||
#Water - If Mario's height is lower than 100 units below the water height: | |||
# Water - If Mario's height is lower than 100 units below the water height: | #*The camera preset is updated. | ||
#*Mario's action is set to [[Water Plunge|water plunge]]. | |||
#Squish - If Mario is supposed to be squished: | |||
#*The camera preset is updated. | |||
#*Mario's action is set to [[squished]]. | |||
#If the action is not the unused [[0x0E action]] (always true) and Mario has less than 0x100 health: | |||
#* The camera preset is updated. | #* The camera preset is updated. | ||
#*Mario's action is changed to the [[Standing Death|standing death]] action. | |||
#Lastly, Mario interacts with [[quicksand]] if his floor is a quicksand floor. | |||
#* Mario's action is changed to the [[Standing Death|standing death]] | |||
# Lastly, Mario interacts with [[quicksand]] if his floor is a quicksand floor. | |||
With the jump land stop action occurring, the following happens: | With the jump land stop action occurring, the following happens: | ||
# If Mario is shocked by a Bowser shock wave, his action is set to the [[Shockwave Bounce|shockwave bounce]] action. This exits the jump land stop action. | # If Mario is shocked by a Bowser shock wave, his action is set to the [[Shockwave Bounce|shockwave bounce]] action. This exits the jump land stop action. | ||
Line 47: | Line 41: | ||
# Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Stationary_Step|common stationary step]]. | # Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Stationary_Step|common stationary step]]. | ||
# Mario's animation is set/updated for the "land from single jump" animation. | # Mario's animation is set/updated for the "land from single jump" animation. | ||
# If the animation is over, Mario's action is set to the [[idle]] action. | # If the animation is over, Mario's action is set to the [[idle]] action. | ||
{{actions}} | {{actions}} |
edits