269
edits
Icecream17 (talk | contribs) (fill in lava boost) |
Icecream17 (talk | contribs) (lava boost on wall) |
||
Line 20: | Line 20: | ||
'''Lava Boost''' is when Mario jumps after he comes into contact with lava, unless he is slide kicking (onto a lava ''floor''). This action does not require A to be pressed. This is useful for various things, especially in the [[A Button Challenge]]. | '''Lava Boost''' is when Mario jumps after he comes into contact with lava, unless he is slide kicking (onto a lava ''floor''). This action does not require A to be pressed. This is useful for various things, especially in the [[A Button Challenge]]. | ||
== Lava Boost on Wall == | |||
Many Airborne actions cancel into [[Lava Boost]] upon hitting a lava wall. This utility function is used for such transitions. (The only lava wall in [[SM64]] is the one in [[Lethal Lava Land]]). | |||
The following steps happen before [[Lava Boost#Transition In|Transition In]]: | |||
# Update Mario's-facing-angle[1] based on the wall (atan z x normal) | |||
# If forward velocity is less than 24, set it to 24 | |||
# Take 12 or 18 hurt counter damage, depending on if Mario has his cap. | |||
# Play the Mario on fire sound | |||
# update_mario_sound_and_camera (todo) | |||
# [[Lava Boost]](actionArg 1) | |||
==Transition In== | ==Transition In== |
edits