Player States

States
Use these values when changing states with

To check the state of a character, use the  variable.

In-game, the state variable stores a integer value, not as string labels as listed above. To convert the values to the string labels for e.g. debug print purposes, use

State Categories
These values are set automatically depending on the state and should not be manually changed. To check a character's state category, use the  variable.

Full List
In reality, the labels for the state indexes are arbitrary. Each is a macro which returns an integer value.