Air Throw Land: Difference between revisions
Icecream17 (talk | contribs) (update) |
Icecream17 (talk | contribs) (add quicksand note) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|official name= | |official name= | ||
|hex= 0x80000A36 | |hex= 0x80000A36 | ||
|flags= | |flags= Stationary, Air, Throwing | ||
|group= Stationary | |group= Stationary | ||
|id= 0x036 | |id= 0x036 | ||
|into= [[Shockwave Bounce]], [[Freefall]], [[Idle]] | |into= [[Twirling]], [[Water Plunge]], [[Squished]], [[Standing Death]] (theoretically), [[Quicksand Death]], [[Shockwave Bounce]], [[Freefall]], [[Idle]] | ||
|out of= | |out of= | ||
|animation= | |animation= | ||
|related= | |related= | ||
}} | }} | ||
Air Throw Land is unique as the only non-Airborne non-Cutscene action with the Air flag. Using this action, Mario can simultaneously land on a [[Fly Guy]] ([[twirling]]) and stand on quicksand (which turns twirling into a [[jump]]). Thus you can jump from this action 0xA.<ref>https://www.youtube.com/watch?v=c8iD58RQ1nw</ref> | |||
Air Throw Land is | Note that the transition to twirl is not in any behavior of the Air Throw Land function, but rather from `mario_process_interactions`, which is called before any actions are executed. There, Mario interacts with a fly guy, and his action is set to Twirling. (Theoretically, interacting with a [[spindrift]] could also cause twirling, but no stages in vanilla SM64 have both spindrifts and quicksand or thick vines.) Then, twirl cancels into jumping when his quicksand depth is at least 1.<ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario.c#L779-L782</ref> | ||
== Behavior == | |||
Before performing the action, [[Idle#Stationary%20cancels|stationary cancels]] are checked. | |||
When performing Air Throw Land: | |||
# If Mario is shocked by a Bowser shock wave, his action is set to [[Shockwave Bounce|shockwave bounce]]. | |||
# If Mario is off the floor, his action is set to [[freefall]]. | |||
# If ++animationTimer == 4, Mario throws his held object. | |||
#Now, Mario performs quarter-frame movement via a full [[Movement_Steps#Stationary_Step|common stationary step]]. | |||
#Mario's animation is set/updated for the "throw light object" animation. | |||
#If the animation is over, Mario's action is set to the [[idle]] action. | |||
==References== | ==References== | ||
<references /> | <references /> | ||
{{actions}} | {{actions}} |
Latest revision as of 01:56, 8 March 2023
Air Throw Land | |
Properties | |
Hex | 0x80000A36 |
Action Flags | Stationary, Air, Throwing |
Action Group | Stationary |
ID | 0x036 |
Transitions | |
Into | Twirling, Water Plunge, Squished, Standing Death (theoretically), Quicksand Death, Shockwave Bounce, Freefall, Idle |
Air Throw Land is unique as the only non-Airborne non-Cutscene action with the Air flag. Using this action, Mario can simultaneously land on a Fly Guy (twirling) and stand on quicksand (which turns twirling into a jump). Thus you can jump from this action 0xA.[1]
Note that the transition to twirl is not in any behavior of the Air Throw Land function, but rather from `mario_process_interactions`, which is called before any actions are executed. There, Mario interacts with a fly guy, and his action is set to Twirling. (Theoretically, interacting with a spindrift could also cause twirling, but no stages in vanilla SM64 have both spindrifts and quicksand or thick vines.) Then, twirl cancels into jumping when his quicksand depth is at least 1.[2]
Behavior
Before performing the action, stationary cancels are checked.
When performing Air Throw Land:
- If Mario is shocked by a Bowser shock wave, his action is set to shockwave bounce.
- If Mario is off the floor, his action is set to freefall.
- If ++animationTimer == 4, Mario throws his held object.
- Now, Mario performs quarter-frame movement via a full common stationary step.
- Mario's animation is set/updated for the "throw light object" animation.
- If the animation is over, Mario's action is set to the idle action.