Slide Kick: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(more details)
(https://ukikipedia.net/wiki/User:Bad_boot)
Line 3: Line 3:
|image=
|image=
|official name=  
|official name=  
|hex= todo
|hex= 0x018008AA
|flags= todo
|flags= todo
|group= Airborne
|group= Airborne
|id= todo
|id= 0x0AA
|into=
|into=
|out of=
|out of=
Line 25: Line 25:
## case AIR_STEP_HIT_LAVA_WALL, change angle, make sure speed is at least 24, damage, [[Lava Boost]]
## case AIR_STEP_HIT_LAVA_WALL, change angle, make sure speed is at least 24, damage, [[Lava Boost]]
(perform_air_step returns NONE if all quartersteps were cancelled)
(perform_air_step returns NONE if all quartersteps were cancelled)
==References==
==References==
<references />
<references />
{{actions}}
{{actions}}

Revision as of 23:59, 25 February 2023

Slide Kick
Properties
Hex 0x018008AA
Action Flags todo
Action Group Airborne
ID 0x0AA

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_NONE
      1. if actionState == 0, change angle
      2. break
    2. case AIR_STEP_LANDED
      1. if actionState != 0 or vel[1] >= 0; Slide Kick Slide
      2. else velocity is negative; set velocity to -velocity/2, actionState to 1, actionTimer to 0, play_mario_landing_sound and break
    3. case AIR_STEP_HIT_WALL, cap speed to 0, Backward Air Knockback
    4. case AIR_STEP_HIT_LAVA_WALL, change angle, make sure speed is at least 24, damage, Lava Boost

(perform_air_step returns NONE if all quartersteps were cancelled)

References