Changes the state number of the player.
Required parameters:
- value = state_no (int)
state_no is the number of the state to change to.
Optional parameters:
- ctrl = ctrl_flag (boolean)
ctrl_flag is the value to set the player's control flag to. Valid values are 0 and 1.
- anim = anim_no (int)
anim_no is the action number to switch to.
Example:
; Change to standing state, and give player control
type = ChangeState
value = 0
ctrl = 1