Turning Around: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(fixed small like small the side flip link)
mNo edit summary
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The '''''Turning around''''' action occurs when Mario is moving in one direction and the analog stick is held in the opposite direction. The turning around action allows Mario to enter the [[Side Flip|side flip]] action one frame after the turning around action has occurred (This is what the turning around action is commonly used for). The amount of time Mario spends in this action depends on his [[speed]] before the action initiated.
{{Action_infobox
 
|title= Turning Around
|image=
|official name= Turning Around
|hex= 0x00000443
|flags= Moving
|group= Moving
|id= 0x043
|into= [[Side Flip|Side flip]], [[finish turning around]], [[braking]]
|out of= [[Walking]]
|animation=
|related=
}}
The '''Turning Around''' action occurs when [[Mario]] is [[walking]] and the analog stick is held back. This action is most commonly used to perform the [[Side Flip|side flip]] action, which can be triggered one frame after Mario enters the turning around action. The amount of time Mario spends in this action depends on his [[speed]] before the action was initiated. Note that the turn around action is different from the [[braking]] action.
== Conditions for Action to Occur ==
== Conditions for Action to Occur ==
The conditions that have to be met in order for this action to occur are:
The conditions that have to be met in order for this action to occur are:
* Mario's current action is [[walking]]
* Mario's current action is walking
* Mario's forwards [[speed]] greater than or equal to 16
* Mario's forwards speed greater than or equal to 16
* analog_stick_held_back is true
* analog_stick_held_back is true
== Checks and Behavior ==
== Checks and Behavior ==
After Mario has initiated the turn, the following things happens in the following order:
After Mario has initiated the turn, the following things happens in the following order:
# Game checks if A button is pressed (If true Mario will [[Side Flip|side flip]])
# Game checks if A button is pressed (If true Mario will side flip)
# Game checks if INPUT_UNKNOWN_5 is pressed (If true Mario will break)
# Game checks if the analog stick is at a neutral position and the A button is not pressed (If true Mario will brake)
# Game checks if If analog_stick_held_back is no longer true (If true Mario will begin walking)
# Game checks if analog_stick_held_back is no longer true (If true Mario will begin walking)
# Game performs slope decel check
# Game performs slope deceleration check
# The "SOUND_MOVING_TERRAIN_SLIDE" sound plays
# The "SOUND_MOVING_TERRAIN_SLIDE" sound plays
# The sound is adjusted for speed
# The sound is adjusted for speed
# Game performs [[floor]] checks (If [[floor checks]] fail, Mario will enter [[freefall]] and stop turning)
# Game performs [[floor]] checks (If floor checks fail, Mario will enter [[freefall]] and stop turning)
# Game makes dust particles
# Game makes dust particles
# Mario goes into the turning animation
# Mario goes into the turning animation
# Mario turns
# Mario turns
# Game checks if Mario's [[speed]] is higher than 0 (If true Mario will begin [[walking]] at his current speed)
# Game checks if Mario's speed is higher than 0 (If true Mario will begin walking at his current speed)
# If the previous check was false, Mario's speed is set to 8 and he begins [[walking]]
# If the previous check was false, Mario's speed is set to 8 and he begins walking
 




{{actions}}
{{actions}}

Revision as of 23:16, 5 October 2022

Turning Around
Properties
Official Name Turning Around
Hex 0x00000443
Action Flags Moving
Action Group Moving
ID 0x043
Transitions
Into Side flip, finish turning around, braking
Out of Walking

The Turning Around action occurs when Mario is walking and the analog stick is held back. This action is most commonly used to perform the side flip action, which can be triggered one frame after Mario enters the turning around action. The amount of time Mario spends in this action depends on his speed before the action was initiated. Note that the turn around action is different from the braking action.

Conditions for Action to Occur

The conditions that have to be met in order for this action to occur are:

  • Mario's current action is walking
  • Mario's forwards speed greater than or equal to 16
  • analog_stick_held_back is true

Checks and Behavior

After Mario has initiated the turn, the following things happens in the following order:

  1. Game checks if A button is pressed (If true Mario will side flip)
  2. Game checks if the analog stick is at a neutral position and the A button is not pressed (If true Mario will brake)
  3. Game checks if analog_stick_held_back is no longer true (If true Mario will begin walking)
  4. Game performs slope deceleration check
  5. The "SOUND_MOVING_TERRAIN_SLIDE" sound plays
  6. The sound is adjusted for speed
  7. Game performs floor checks (If floor checks fail, Mario will enter freefall and stop turning)
  8. Game makes dust particles
  9. Mario goes into the turning animation
  10. Mario turns
  11. Game checks if Mario's speed is higher than 0 (If true Mario will begin walking at his current speed)
  12. If the previous check was false, Mario's speed is set to 8 and he begins walking