269
edits
Icecream17 (talk | contribs) (lava boost on wall) |
Icecream17 (talk | contribs) (→Lava Boost on Wall: improve) |
||
Line 22: | Line 22: | ||
== Lava Boost on Wall == | == 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]]). | 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 the volcano in [[Lethal Lava Land]]). | ||
The following steps happen before [[Lava Boost#Transition In|Transition In]]: | The following steps happen before [[Lava Boost#Transition In|Transition In]]: | ||
# | # Mario's yaw is set perpendicular to the wall. | ||
# If forward velocity is less than 24, set it to 24 | # If forward velocity is '''less''' than 24, set it to 24 (inverse cap) | ||
# | # If Mario is not wearing a metal cap, take 12 (or 18 without Mario's cap) hurt counter damage. | ||
# Play the Mario on fire sound | # Play the Mario on fire sound | ||
# update_mario_sound_and_camera (todo) | # update_mario_sound_and_camera (todo) | ||
# [[Lava Boost]](actionArg 1) | # [[Lava Boost]](actionArg 1) (dropping any held objects and no longer riding a shell) | ||
==Transition In== | ==Transition In== |
edits