246
edits
Icecream17 (talk | contribs) (→Behavior: unimportant) |
Icecream17 (talk | contribs) (change to bullets) |
||
Line 12: | Line 12: | ||
|related= | |related= | ||
}} | }} | ||
Flying is an action that can occurs when Mario triple jumps or does a cannon shot while wearing the [[wing cap]]. | Flying is an action that can occurs when Mario triple jumps or does a cannon shot while wearing the [[wing cap]]. | ||
== Entering flying == | == Entering flying == | ||
Line 39: | Line 38: | ||
# Call '''<code>update_flying</code>''' | # Call '''<code>update_flying</code>''' | ||
# switch [[Movement_steps#Perform_Air_Step]]: | # switch [[Movement_steps#Perform_Air_Step]]: | ||
# | #* air step none: | ||
# | #*# Update graphics (camera) angle to be behind Mario | ||
# | #*# Set action timer to 0 | ||
# | #* air step land: | ||
# | #*# Set action to [[Dive Slide]] | ||
# | #*# Set animation to MARIO_ANIM_DIVE | ||
# | #*# Set animation frame to 7 | ||
# | #*# Set facing angle (x) to 0 | ||
# | #*# Set camera mode to m->area->camera->defMode | ||
# | #* air step hit wall: | ||
# | #*#'''todo''' | ||
# | #*# if wall is not null, stuff, [[Backwards Air Kb]] | ||
# | #*# else, stuff (but no knockback, this is probably out of bounds) | ||
# | #* air step hit lava wall: | ||
# | #*# stop holding, stop riding, [[Lava Boost]] | ||
# finally, play the flying sound (adjust sound for speed) | # finally, play the flying sound (adjust sound for speed) | ||
I am too lazy to describe the exact details of <code>update_flying</code>, so here is the code | I am too lazy to describe the exact details of <code>update_flying</code>, so here is the code |
edits