Air Throw Land: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(add details)
(add Into Twirling)
Line 7: Line 7:
|group= Stationary
|group= Stationary
|id= 0x036
|id= 0x036
|into= [[Water Plunge]], [[Squished]], [[Standing Death]] (theoretically), [[Quicksand Death]], [[Shockwave Bounce]], [[Freefall]], [[Idle]]
|into= [[Twirling]], [[Water Plunge]], [[Squished]], [[Standing Death]] (theoretically), [[Quicksand Death]], [[Shockwave Bounce]], [[Freefall]], [[Idle]]
|out of=
|out of=
|animation=
|animation=
Line 15: Line 15:
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 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>


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. 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 ==
== Behavior ==
Before performing the action, [[Idle#Stationary%20cancels|stationary cancels]] are checked.
Before performing the action, [[Idle#Stationary%20cancels|stationary cancels]] are checked.


When performing Air Throw Land:
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 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 Mario is off the floor, his action is set to [[freefall]].
Line 26: Line 26:
#Mario's animation is set/updated for the "throw light object" animation.
#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.
#If the animation is over, Mario's action is set to the [[idle]] action.
==References==
==References==
<references />
<references />
{{actions}}
{{actions}}

Revision as of 01:50, 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. 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:

  1. If Mario is shocked by a Bowser shock wave, his action is set to shockwave bounce.
  2. If Mario is off the floor, his action is set to freefall.
  3. If ++animationTimer == 4, Mario throws his held object.
  4. Now, Mario performs quarter-frame movement via a full common stationary step.
  5. Mario's animation is set/updated for the "throw light object" animation.
  6. If the animation is over, Mario's action is set to the idle action.

References