Slide Kick: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(basic slide kick info)
 
No edit summary
Line 13: Line 13:
}}
}}


When a slide kick is happening<ref>https://github.com/n64decomp/sm64/blob/master/src/game/mario_actions_airborne.c#L1580</ref>:
When a slide kick is happening:<ref>https://github.com/n64decomp/sm64/blob/master/src/game/mario_actions_airborne.c#L1580</ref>


# If actionTimer > 30 or yPos - floorHeight > 500; [[Freefall]]
# If actionTimer > 30 or yPos - floorHeight > 500; [[Freefall]]

Revision as of 17:37, 27 January 2023

Slide Kick
Properties
Hex todo
Action Flags todo
Action Group Airborne
ID todo


When a slide kick is happening:[1]

  1. If actionTimer > 30 or yPos - floorHeight > 500; Freefall
  2. update_air_without_turn
  3. switch perform_air_step:
    1. case AIR_STEP_LANDED, if actionState != 0 or vel[1] >= 0; Slide Kick Slide
    2. case AIR_STEP_HIT_WALL, Backward Air Knockback
    3. case AIR_STEP_HIT_LAVA_WALL, Lava Boost

References