Jump Land Stop: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(mario can only be in one action at a time)
(refactor stationary cancels, add into)
 
Line 7: Line 7:
|group= Stationary
|group= Stationary
|id= 0x030
|id= 0x030
|into=
|into=[[Water Plunge]], [[Squished]], [[Standing Death]] (theoretically), [[Quicksand Death]], [[Shockwave Bounce]], [[Idle]], [[Quicksand Jump Land]], [[Hold Quicksand Jump Land]], [[Steep Jump]], [[Jump]], [[Double Jump]]
|out of=
|out of=
|animation= 0x4E
|animation= 0x4E
Line 16: Line 16:
''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 idle action. These checks are as follows:<ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_stationary.c#L1083-L1115</ref>
Before performing the action, [[Idle#Stationary%20cancels|stationary cancels]] are checked.
#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.
#*Mario's action is changed to the [[Standing Death|standing death]] action.
#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.
# If Mario is shocked by a Bowser shock wave, his action is set to the [[Shockwave Bounce|shockwave bounce]] action.
Line 36: Line 27:
## If Mario is on a [[steepness|steep slope]]:
## If Mario is on a [[steepness|steep slope]]:
##* Mario enters the [[Steep Jump|steep jump]] action.
##* Mario enters the [[Steep Jump|steep jump]] action.
## If Mario is not on a [[steepness|steep slop]]:
## If Mario is not on a [[steepness|steep slope]]:
###* If the double jump timer is 0 or Mario is squished, Mario's action is set to the jump action.
##* If the double jump timer is 0 or Mario is squished, Mario's action is set to the jump action.
###* Otherwise, Mario's action is set to the [[Double Jump|double jump]] action.
##* Otherwise, Mario's action is set to the [[Double Jump|double jump]] action.
# Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Stationary_Step|common stationary step]].
# Now, Mario performs 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}}

Latest revision as of 00:34, 7 March 2023

Jump Land Stop
Properties
Official Name jumpEnd (Jump End)
Hex 0x0C000230
Action Flags Stationary, Allow First Person, Pause Exit
Action Group Stationary
ID 0x030
Transitions
Into Water Plunge, Squished, Standing Death (theoretically), Quicksand Death, Shockwave Bounce, Idle, Quicksand Jump Land, Hold Quicksand Jump Land, Steep Jump, Jump, Double Jump
Other
Animation 0x4E

The jump land stop action is an action that Mario passes through when landing that brings him into the idle action.

Behavior

Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.

Before performing the action, stationary cancels are checked.

With the jump land stop action occurring, the following happens:

  1. If Mario is shocked by a Bowser shock wave, his action is set to the shockwave bounce action.
  2. If Mario is entering first person, his action is set to the idle action.
  3. If the A button is pressed:
    1. If quicksand depth is 11 or deeper:
    2. If Mario is on a steep slope:
    3. If Mario is not on a steep slope:
      • If the double jump timer is 0 or Mario is squished, Mario's action is set to the jump action.
      • Otherwise, Mario's action is set to the double jump action.
  4. Now, Mario performs quarter-frame movement via a full common stationary step.
  5. Mario's animation is set/updated for the "land from single jump" animation.
  6. If the animation is over, Mario's action is set to the idle action.