Turning Around
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 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.
Conditions for Action to Occur
The conditions that have to be met in order for this action to occur are:
Checks and Behavior
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)
- Game checks if INPUT_UNKNOWN_5 is pressed (If true Mario will break)
- Game checks if If analog_stick_held_back is no longer true (If true Mario will begin walking)
- Game performs slope decel check
- The "SOUND_MOVING_TERRAIN_SLIDE" sound plays
- The sound is adjusted for speed
- Game performs floor checks (If floor checks fail, Mario will enter freefall and stop turning)
- Game makes dust particles
- Mario goes into the turning animation
- Mario turns
- 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