Start Sleeping: Difference between revisions

update Into
(→‎Behavior: hyperlink check_common_idle_cancels)
(update Into)
Line 8: Line 8:
|group= Stationary
|group= Stationary
|id= 0x002
|id= 0x002
|into= Sleeping action
|into= [[Water Plunge]] (theoretically), [[Squished]] (theoretically), [[Standing Death]] (theoretically), [[Quicksand Death]] (theoretically), [[In Quicksand]] (theoretically), [[Freefall]], [[Shockwave Bounce]] (theoretically), [[Jump]], [[Begin Sliding]] (theoretically), [[First Person]], [[Walking]], [[Punching]], [[Start Crouching]], [[Sleeping]]
|out of= Idle
|out of= [[Idle]]
|animation=
|animation=
|related= Sleep action, [[Waking up]]
|related= [[Sleeping]], [[Waking up]]
}}
}}
The '''start sleeping''' actions the occurs when [[Mario]] has performed ten head turn cycles successively whilst [[idle]]. The start sleeping action transitions into the [[sleeping action]] after Mario has finished the nodding animation.
The '''start sleeping''' actions the occurs when [[Mario]] has performed ten head turn cycles successively whilst [[idle]]. The start sleeping action transitions into the [[sleeping action]] after Mario has finished the nodding animation.
Line 18: Line 18:
*Mario has to not:
*Mario has to not:
**Be in [[poison gas]] (he will [[Coughing|cough]])
**Be in [[poison gas]] (he will [[Coughing|cough]])
**Have [[quicksand]] depth above 30.0f (he will do [[quicksand action]])
**Have [[quicksand]] depth above 30.0f (he will do [[In Quicksand|in quicksand]])
**Be in [[snowy terrain]] (he will [[shiver]])
**Be in [[snowy terrain]] (he will [[shiver]])
*Mario has to:
*Mario has to:
**Have [[health]] above 0x300 (else he will [[Panting action|pant]])
**Have [[health]] above 0x300 (else he will [[Panting action|pant]])
**Completed 10 head turn cycles whilst idle without being interrupted
**Completed 10 head turn cycles whilst [[idle]] without being interrupted
==Behavior==
==Behavior==
When Mario performs the start sleeping action, the following can be observed:
When Mario performs the start sleeping action, the following can be observed:
*The game performs the following checks on Mario
*The game performs the following checks on Mario
**[[Idle#Check%20common%20idle%20cancels|check_common_idle_cancels]]
**[[Idle#Check%20common%20idle%20cancels|check_common_idle_cancels]]
**If Mario has quicksand depth above 30.0f, he will do [[quicksand action]]
**If Mario has quicksand depth above 30.0f, he will do [[In Quicksand|in quicksand]]


*Mario plays the following [[animations]]:
*Mario plays the following [[animations]]:
192

edits