246
edits
Icecream17 (talk | contribs) (extract check_common_idle_cancels) |
Icecream17 (talk | contribs) (→check_common_idle_cancels: prevent inlining. I wonder if check_common_stationary_cancels could be refactored) |
||
Line 35: | Line 35: | ||
## 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 == | == check_common_idle_cancels == | ||
Note: This is used only in Idle, [[Start Sleeping]], [[Coughing]], [[In Quicksand]], and [[Panting]]. | |||
# If Mario is on a steep cliff, he is pushed off (into [[freefall]]). | # 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 Mario is hit by a shockwave, his action is set to the [[shockwave bounce]] action. |
edits