Flying: Difference between revisions

55 bytes added ,  1 August 2023
clarify non-cancel
(fix typo)
(clarify non-cancel)
Line 7: Line 7:
|group= Airborne
|group= Airborne
|id= 0x099
|id= 0x099
|into= Airborner cancels: [[Water Plunge]], [[Squished]], [[Vertical Wind]] (theoretically), (Technically, because of the flying triple jump code): [[Double Jump Land]], [[Lava Boost]] (theoretically), non cancel: [[Backwards Air Kb]], [[Lava Boost]] (again) (theoretically)
|into= Airborner cancels: [[Water Plunge]], [[Squished]], [[Vertical Wind]] (theoretically), (Technically, because of the flying triple jump code): [[Double Jump Land]], [[Lava Boost]] (theoretically), non cancel: [[Ground Pound]], [[Freefall]], [[Dive Slide]], [[Backwards Air Kb]], [[Lava Boost]] (again) (theoretically)
|out of= [[Shot From Cannon]], [[Flying Triple Jump]], when spawning in some levels like [[Tower of the Wing Cap]]
|out of= [[Shot From Cannon]], [[Flying Triple Jump]], when spawning in some levels like [[Tower of the Wing Cap]]
|animation= 0x5B fly from cannon, 0xCF forwards spinning flip, 0x29 wing cap fly
|animation= 0x5B fly from cannon, 0xCF forwards spinning flip, 0x29 wing cap fly
Line 22: Line 22:
== Behavior ==
== Behavior ==
As with all airborne actions, a variety of "cancels" are checked prior to actually performing any airborne action. See [[Jump#Airborne cancels]].
As with all airborne actions, a variety of "cancels" are checked prior to actually performing any airborne action. See [[Jump#Airborne cancels]].
Then:
# If Z is pressed
# If Z is pressed
## If Mario's camera mode is CAMERA_MODE_BEHIND_MARIO, set_camera_mode to m->area->camera->defMode
## If Mario's camera mode is CAMERA_MODE_BEHIND_MARIO, set_camera_mode to m->area->camera->defMode
188

edits