Single Jump: Difference between revisions

Jump to navigation Jump to search
explain code for Backflip
(→‎Transition In: order more logically, actually give some info)
(explain code for Backflip)
Line 20: Line 20:


Generally, when transitioning into the jump action... (This is shared with the [[Hold Jump|hold jump]] action)
Generally, when transitioning into the jump action... (This is shared with the [[Hold Jump|hold jump]] action)
# Mario's current animation is stopped.
# Mario's current animation is stopped. <sup>Specifically, an animation flag is updated: <code>m->marioObj->header.gfx.animInfo.animID = -1;</code></sup>
# Mario's vertical speed is set to 42 + a quarter of the current forward speed.
# Mario's vertical speed is set to 42 + a quarter of the current forward speed.
# If Mario is squished and/or has a quicksand depth more than 1, the vertical speed is halved.
# If Mario is squished and/or has a quicksand depth more than 1, the vertical speed is halved.
Line 51: Line 51:
# Mario performs the other noises for the jump.
# Mario performs the other noises for the jump.
# Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Air_Step|common air step]]. The landing action is a [[Jump Land|jump land]] action and the check has both the "Check Ledge Grab" and "Check Hang" flags.
# Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Air_Step|common air step]]. The landing action is a [[Jump Land|jump land]] action and the check has both the "Check Ledge Grab" and "Check Hang" flags.
== References ==
== References ==
<references />
<references />
{{actions}}
{{actions}}
208

edits

Navigation menu