Double Jump: Difference between revisions

add forward velocity step, be more accurate in when things happen
(double jump can into single jump)
(add forward velocity step, be more accurate in when things happen)
Line 7: Line 7:
|group= Airborne
|group= Airborne
|id= 0x081
|id= 0x081
|into=Universal interactions: [[Twirling]], Pre-cancel: [[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]], air step: [[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 16: Line 16:
* A [[Sideflip Land]]
* A [[Sideflip Land]]
* A [[Freefall Land]]
* A [[Freefall Land]]
== Transition In ==
''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]])
# Mario's vertical speed is set to <math>52+\frac{\text{hspeed}}4</math>.
# Mario's forward velocity is multiplied by 0.8


== Behavior ==
== Behavior ==
Line 26: Line 33:
* Mario plays a falling noise if he has fallen more than 1150 units from his peak.
* Mario plays a falling noise if he has fallen more than 1150 units from his peak.
With the jump action occurring, the following happens:
With the jump action occurring, the following happens:
# Mario's vertical speed is set to <math>52+\frac{\text{hspeed}}4</math>.
# If Mario's vertical speed is not negative, his animation is set to the double jump rising animation. Otherwise, it is set to the double jump falling animation.
# If Mario's vertical speed is not negative, his animation is set to the double jump rising animation. Otherwise, it is set to the double jump falling animation.
# If the B button is pressed, Mario will either enter the [[dive]] action if his speed is greater than 28 or the [[jump kick]] action otherwise.
# If the B button is pressed, Mario will either enter the [[dive]] action if his speed is greater than 28 or the [[Jump Kick|jump kick]] action otherwise.
# If the Z button is pressed, Mario will enter the [[ground pound]] action.
# If the Z button is pressed, Mario will enter the [[ground pound]] action.
# Mario performs the other noises for the jump.
# Mario performs the other noises for the jump.
188

edits