Idle: Difference between revisions

Jump to navigation Jump to search
151 bytes added ,  26 February 2023
transitions --> into based on https://github.com/n64decomp/sm64/blob/master/src/game/mario_actions_stationary.c#L105
m (changed sleep to start sleep)
(transitions --> into based on https://github.com/n64decomp/sm64/blob/master/src/game/mario_actions_stationary.c#L105)
Line 7: Line 7:
|group= Stationary
|group= Stationary
|id= 0x001
|id= 0x001
|into=
|into=[[Quicksand Action]], [[Coughing]], [[Panting]], [[Freefall]], [[Begin Sliding]], [[First Person Action]], [[Walking]], [[Punching]], [[Start Crouching]], [[Shivering]], [[Start Sleeping]]
|out of=
|out of=
|animation=
|animation=
Line 17: Line 17:


As with all stationary actions, a variety of "cancels" are checked prior to actually performing the idle action. These checks are as follows:
As with all stationary actions, a variety of "cancels" are checked prior to actually performing the idle action. These checks are as follows:
# If Mario is on a steep cliff, he is pushed off.
# 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.
# If A is pressed, Mario's action is set to [[jump]].
# If A is pressed, Mario's action is set to [[jump]].
Line 44: Line 44:
# 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]].
# Common stationary cancels are checked.
# Common stationary cancels are checked.
# If Mario is about to start sleeping, if he is in a cold environment he stars to shiver. Otherwise, he begins the sleeping action.
# 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 against a wall, Mario has his animation changed to be [[Standing Against Wall|standing against the wall]]. Otherwise, Mario's animation is set depending on which way he is turning his head.
## If Mario is in a cold environment, he starts to [[Shivering|shiver]], else he goes into the [[Start Sleeping|start sleeping]] action.
# If Mario's animation has just ended, his head has turned 10 times, and there is ground behind him, 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.
{{actions}}
{{actions}}
246

edits

Navigation menu