246
edits
Icecream17 (talk | contribs) (Ahhh, these are totally different, I understand now) |
Icecream17 (talk | contribs) (extract check_common_idle_cancels) |
||
Line 31: | Line 31: | ||
# If Mario is in poison gas, his action is set to [[coughing]]. | # If Mario is in poison gas, his action is set to [[coughing]]. | ||
# If Mario is not against a wall and has low health, his action is set to the [[panting action]]. | # If Mario is not against a wall and has low health, his action is set to the [[panting action]]. | ||
# | # [[Idle#Check%20common%20idle%20cancels|check_common_idle_cancels]] | ||
# | |||
# If Mario's animation has just ended, his head has turned 10 times, and there is ground behind him (that is not an object) | # If Mario's animation has just ended, his head has turned 10 times, and there is ground behind him (that is not an object) | ||
## If Mario is in a cold environment, he starts to [[Shivering|shiver]], else he goes into the [[Start Sleeping|start sleeping]] action. | ## If Mario is in a cold environment, he starts to [[Shivering|shiver]], else he goes into the [[Start Sleeping|start sleeping]] action. | ||
# If Mario is against a wall, Mario has his animation changed to be standing against the wall. Otherwise, Mario's animation is set depending on which way he is turning his head. | # If Mario is against a wall, Mario has his animation changed to be standing against the wall. Otherwise, Mario's animation is set depending on which way he is turning his head. | ||
== check_common_idle_cancels == | |||
# If Mario is on a steep cliff, he is pushed off (into [[freefall]]). | |||
# If Mario is hit by a shockwave, his action is set to the [[shockwave bounce]] action. | |||
# If A is pressed, Mario's action is set to [[jump]]. | |||
# If Mario is off the floor, Mario's action is set to [[freefall]]. | |||
# If Mario is above a slide, he [[Begin Sliding|begins sliding]]. | |||
# If Mario goes into first-person mode, his action is set to [[first person]]. | |||
# If the joystick is held in a direction, Mario's action is set to [[walking]]. | |||
# If B is pressed, Mario's action is set to [[punching]]. | |||
# If Z is pressed, Mario's action is set to [[start crouching]].<ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_stationary.c#L20-L60</ref> | |||
{{actions}} | {{actions}} |
edits