Double Jump: Difference between revisions

missed a few common air step actions
(add forward velocity step, be more accurate in when things happen)
(missed a few common air step actions)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
|group= Airborne
|group= Airborne
|id= 0x081
|id= 0x081
|into=Universal interactions: [[Twirling]], Transition in: [[Single Jump]], Airborne cancels: [[Water Plunge]], [[Squished]], [[Vertical Wind]], non cancel: [[Dive]], [[Jump Kick]], [[Ground Pound]], air step: [[Double Jump Land]], [[Air Hit Wall]], [[Backwards Air Kb]], [[Soft Bonk]], [[Ledge Grab]], [[Start Hanging]], [[Lava Boost]]  
|into=Universal interactions: [[Twirling]], Transition in: [[Single Jump]], Airborne cancels: [[Water Plunge]], [[Squished]], [[Vertical Wind]], non cancel: [[Dive]], [[Jump Kick]], [[Ground Pound]], common air step: [[Feet Stuck In Ground]], [[Hard Backward Ground Kb]], [[Double Jump Land]], [[Air Hit Wall]], [[Backwards Air Kb]], [[Soft Bonk]], [[Ledge Grab]], [[Start Hanging]], [[Lava Boost]]  
|out of= [[Single Jump Land]], [[Sideflip Land]], [[Freefall Land]]
|out of= [[Single Jump Land]], [[Sideflip Land]], [[Freefall Land]]
|animation= 0x4C, 0x4D
|animation= 0x4C, 0x4D
Line 20: Line 20:
''See [[Single Jump|single jump]] for more details''
''See [[Single Jump|single jump]] for more details''


# If Mario is squished and/or has a quicksand depth more than 1, cancel to [[Single Jump]]. (This cancel is shared with [[Twirling]])
# If Mario is squished and/or has a quicksand depth more than 1, cancel to [[Single Jump]]. (This cancel is shared with [[Twirling]])<ref>https://github.com/n64decomp/sm64/blob/9921382a68bb0c865e5e45eb594d9c64db59b1af/src/game/mario.c#L779-L781</ref>
# Mario's vertical speed is set to <math>52+\frac{\text{hspeed}}4</math>.
# Mario's vertical speed is set to <math>52+\frac{\text{hspeed}}4</math>.
# Mario's forward velocity is multiplied by 0.8
# Mario's forward velocity is multiplied by 0.8
Line 26: Line 26:
== Behavior ==
== Behavior ==
As with all airborne actions, a variety of "cancels" are checked prior to actually performing the jump action. See [[Single Jump#Airborne cancels]]
As with all airborne actions, a variety of "cancels" are checked prior to actually performing the jump action. See [[Single Jump#Airborne cancels]]
But before even that, if the quicksand timer is not 0 and quicksand depth is more than 1, it cancels to [[Single Jump|Jump]].<ref>https://github.com/n64decomp/sm64/blob/9921382a68bb0c865e5e45eb594d9c64db59b1af/src/game/mario.c#L779-L781</ref>


At this point, two more things happen prior to the jump action:
At this point, two more things happen prior to the jump action:
192

edits