2013/03/08

The vertical speed in a jump

Mario's initial speed in a jump depends on his velocity and whether the player pressed B or A. It's also possible to have different values by stomping an enemy or dismounting Yoshi. Here we see those values:

Speed A B
0, 1, 2, 3, 4, 5, 6, 7 -71 -77
8, 9, 10, 11, 12, 13, 14, 15 -73 -79
16, 17, 18, 19, 20, 21, 22, 23 -75 -82
24, 25, 26, 27, 28, 29, 30, 31 -77 -84
32, 33, 34, 35, 36, 37, 38, 39 -79 -87
40, 41, 42, 43, 44, 45, 46, 47 -82 -89
48, 49, 50, 51, 52, 53, 54, 55 -84 -92
56, 57, 58, 59, 60, 61, 62, 63 -87 -94
64 or higher (Mario can't jump) 2 3

Jumping off of an enemy or sprite after stomping it makes Mario goes up according to the way he fell onto it (spinning or normally):

Falling normally while pressing B or A: -88
Falling normally without pressing B or A: -48
Falling spinning (eg: Shells): -8
Falling spinning (eg: Rex): like when falling normally.
Dismounting Yoshi in the air: -96
Dismounting Yoshi in the ground: -64
Springboard without pressing A or B: -80
Springboard pressing A or B: -128

Therefore, we have the following set of speeds:
{-8, -48, -64, -71, -73, -75, -77, -79, -80, -82, -84, -87, -88, -89, -92, -94, -96, -128}

3 comments:

  1. Actually he can jump with a speed over 64....

    ReplyDelete
    Replies
    1. You mean jumping from a solid floor, or jumping from the water (possible indeed)?

      BTW: I added the springboard to the post.

      Delete
    2. He can jump if his speed is higher than 120, I think. But he can't spin jump.

      Delete