;-| Super Motions |--------------------------------------------------------
[Command]
name = "QCF_2p"
command = ~D, DF, F, x+y

[Command]
name = "QCF_2p"
command = ~D, DF, F, x+z

[Command]
name = "QCF_2p"
command = ~D, DF, F, y+z

[Command]
name = "QCB_2p"
command = ~D, DB, B, x+y

[Command]
name = "QCB_2p"
command = ~D, DB, B, x+z

[Command]
name = "QCB_2p"
command = ~D, DB, B, y+z

[Command]
name = "BF_2k"
command = ~20$B, F, a+b
time = 10

[Command]
name = "BF_2k"
command = ~20$B, F, b+c
time = 10

[Command]
name = "BF_2k"
command = ~20$B, F, a+c
time = 10

;-| Special Motions |------------------------------------------------------
[Command]
name = "QCF_x"
command = ~D, DF, F, x

[Command]
name = "QCF_y"
command = ~D, DF, F, y

[Command]
name = "QCF_z"
command = ~D, DF, F, z

[Command]
name = "QCB_x"
command = ~D, DB, B, x

[Command]
name = "QCB_y"
command = ~D, DB, B, y

[Command]
name = "QCB_z"
command = ~D, DB, B, z

[Command]
name = "BF_a"
command = ~20$B, F, a
time = 10

[Command]
name = "BF_b"
command = ~20$B, F, b
time = 10

[Command]
name = "BF_c"
command = ~20$B, F, c
time = 10

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF";Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB";Required (do not remove)
command = B, B
time = 10

;-| Reversals |-----------------------------------------------------------
[Command]
name = "pk"
command = x+a
time = 1

[Command]
name = "pk"
command = y+b
time = 1

[Command]
name = "pk"
command = z+c
time = 1

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery"
command = a+b
time = 1

[Command]
name = "recovery"
command = b+c
time = 1

[Command]
name = "recovery"
command = a+c
time = 1

[Command]
name = "recovery"
command = x+y
time = 1

[Command]
name = "recovery"
command = y+z
time = 1

[Command]
name = "recovery"
command = x+z
time = 1

[Command]
name = "ab"
command = a+b
time = 1

[Command]
name = "bc"
command = b+c
time = 1

[Command]
name = "ac"
command = a+c
time = 1

[Command]
name = "xy"
command = c+y
time = 1

[Command]
name = "yz"
command = y+z
time = 1

[Command]
name = "xz"
command = x+z
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_a"
command = /F,a
time = 1
[Command]
name = "fwd_b"
command = /F,b
time = 1
[Command]
name = "fwd_c"
command = /F,c
time = 1
[Command]
name = "fwd_x"
command = /F,x
time = 1
[Command]
name = "fwd_y"
command = /F,y
time = 1
[Command]
name = "fwd_z"
command = /F,z
time = 1

[Command]
name = "back_a"
command = /B,a
time = 1
[Command]
name = "back_b"
command = /B,b
time = 1
[Command]
name = "back_c"
command = /B,c
time = 1
[Command]
name = "back_x"
command = /B,x
time = 1
[Command]
name = "back_y"
command = /B,y
time = 1
[Command]
name = "back_z"
command = /B,z
time = 1

[Command]
name = "down_a"
command = /D,a
time = 1
[Command]
name = "down_b"
command = /D,b
time = 1
[Command]
name = "down_c"
command = /D,c
time = 1
[Command]
name = "down_x"
command = /D,x
time = 1
[Command]
name = "down_y"
command = /D,y
time = 1
[Command]
name = "down_z"
command = /D,z
time = 1

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1
[Command]
name = "fwd_bc"
command = /F, b+c
time = 1

[Command]
name = "fwd_xy"
command = /F, x+y
time = 1
[Command]
name = "fwd_yz"
command = /F, y+z
time = 1

[Command]
name = "back_xy"
command = /B, x+y
time = 1
[Command]
name = "back_yz"
command = /B, y+z
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1
[Command]
name = "back_bc"
command = /B, b+c
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "s"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup";Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

;-| Tap Dir |--------------------------------------------------------------
[Command]
name = "tapfwd"
command = ~F
time = 1

[Command]
name = "tapback"
command = ~B
time = 1

[Command]
name = "tapup"
command = ~U
time = 1

[Command]
name = "tapdown"
command = ~D
time = 1

;===========================================================================
;===========================================================================

[Statedef -1]

;===========================================================================
;---------------------------------------------------------------------------
; Super Marathon
[State -1]
type = ChangeState
value = 3000
triggerall = (command = "QCB_2p") && (var(59) >= -1)
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
; Super Rolling Cat
[State -1]
type = ChangeState
value = 3100
triggerall = (command = "BF_2k") && (var(59) >= -5)
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
; Super Psycho Madness
[State -1]
type = ChangeState
value = 3200
triggerall = power >= 1000
triggerall = (command = "QCF_2p") && (var(59) >= -3)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
;Run Away-x
[State -1]
type = ChangeState
value = 1000
triggerall = (command = "QCB_x") && (var(59) >= -6) 
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;---------------------------------------------------------------------------
;Run Away-y
[State -1]
type = ChangeState
value = 1010
triggerall = (command = "QCB_y") && (var(59) >= -6)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;---------------------------------------------------------------------------
;Run Away-z
[State -1]
type = ChangeState
value = 1020
triggerall = (command = "QCB_z") && (var(59) >= -6)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
; Air Psycho Madness_x
[State -1]
type = ChangeState
value = 1200
triggerall = (command = "QCF_x") && (var(59) >= -2)
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 610) && (var(59) >= -7) ;Jump_Y
trigger4 = movecontact && (stateno = 620) && (var(59) >= -7) ;Jump_Z
trigger5 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A
trigger6 = movecontact && (stateno = 640) && (var(59) >= -7) ;Jump_B
trigger7 = movecontact && (stateno = 650) && (var(59) >= -7) ;Jump_C

;===========================================================================
;---------------------------------------------------------------------------
; Air Psycho Madness_y
[State -1]
type = ChangeState
value = 1210
triggerall = (command = "QCF_y") && (var(59) >= -2)
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 610) && (var(59) >= -7) ;Jump_Y
trigger4 = movecontact && (stateno = 620) && (var(59) >= -7) ;Jump_Z
trigger5 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A
trigger6 = movecontact && (stateno = 640) && (var(59) >= -7) ;Jump_B
trigger7 = movecontact && (stateno = 650) && (var(59) >= -7) ;Jump_C

;===========================================================================
;---------------------------------------------------------------------------
; Air Psycho Madness_z
[State -1]
type = ChangeState
value = 1220
triggerall = (command = "QCF_z") && (var(59) >= -2)
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 610) && (var(59) >= -7) ;Jump_Y
trigger4 = movecontact && (stateno = 620) && (var(59) >= -7) ;Jump_Z
trigger5 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A
trigger6 = movecontact && (stateno = 640) && (var(59) >= -7) ;Jump_B
trigger7 = movecontact && (stateno = 650) && (var(59) >= -7) ;Jump_C

;===========================================================================
;---------------------------------------------------------------------------
; Psycho Madness_x
[State -1]
type = ChangeState
value = 1200
triggerall = (command = "QCF_x") && (var(59) >= -9)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
; Psycho Madness_y
[State -1]
type = ChangeState
value = 1210
triggerall = (command = "QCF_y") && (var(59) >= -9)
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
; Psycho Madness_z
[State -1]
type = ChangeState
value = 1220
triggerall = (command = "QCF_z") && (var(59) >= -9)
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
;Roll_a
[State -1]
type = ChangeState
value = 1100
triggerall = (command = "BF_a") && (var(59) >= -8)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;---------------------------------------------------------------------------
;Roll_b
[State -1]
type = ChangeState
value = 1110
triggerall = (command = "BF_b") && (var(59) >= -8)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;---------------------------------------------------------------------------
;Roll_c
[State -1]
type = ChangeState
value = 1120
triggerall = (command = "BF_c") && (var(59) >= -8)
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 420) && (var(59) >= -7) ;Crouch_Z
trigger5 = movecontact && (stateno = 430) && (var(59) >= -7) ;Crouch_A
trigger6 = movecontact && (stateno = 440) && (var(59) >= -7) ;Crouch_B
trigger7 = movecontact && (stateno = 200) && (var(59) >= -7) ;Stand_X
trigger8 = movecontact && (stateno = 210) && (var(59) >= -7) ;Stand_Y
trigger9 = movecontact && (stateno = 220) && (var(59) >= -7) ;Stand_Z
trigger10 = movecontact && (stateno = 230) && (var(59) >= -7) ;Stand_A
trigger11 = movecontact && (stateno = 240) && (var(59) >= -7) ;Stand_B
trigger12 = movecontact && (stateno = 250) && (var(59) >= -7) ;Stand_C

;===========================================================================
;---------------------------------------------------------------------------
;COUNTER
[State -1]
type = ChangeState
value = 5600
triggerall = (command = "pk") && (var(59) >= -4)
triggerall = command != "holddown"
trigger1 = stateno = 150

;COUNTER
[State -1]
type = ChangeState
value = 5601
triggerall = (command = "pk") && (var(59) >= -4)
triggerall = command = "holddown"
trigger1 = stateno = 152

;COUNTER
[State -1]
type = ChangeState
value = 5602
triggerall = (command = "pk") && (var(59) >= -4)
trigger1 = stateno = 154

;===========================================================================
;---------------------------------------------------------------------------
;RunBack
[State -1]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Stand_Throw1
[State -1]
type = ChangeState
value = 900
triggerall = (command = "y") || (command = "z")
triggerall = (statetype = S) && (stateno != 100) && ctrl
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
;---------------------------------------------------------------------------
;Taunt
[State -1]
type = ChangeState
value = 195
triggerall = command = "s"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
;Stand_X
[State -1]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger3 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X

;---------------------------------------------------------------------------
;Stand_Y
[State -1]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger3 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger4 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger5 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A

;---------------------------------------------------------------------------
;Stand_Z
[State -1]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger3 = movecontact && (stateno = 210) && (time > 8) && (var(59) >= -7) ;Stand_Y
trigger4 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger5 = movecontact && (stateno = 240) && (time > 8) && (var(59) >= -7) ;Stand_B
trigger6 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger7 = movecontact && (stateno = 410) && (time > 8) && (var(59) >= -7) ;Crouch_Y
trigger8 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger9 = movecontact && (stateno = 440) && (time > 8) && (var(59) >= -7) ;Crouch_B

;---------------------------------------------------------------------------
;Stand_A
[State -1]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger3 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A

;---------------------------------------------------------------------------
;Stand_B
[State -1]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger3 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger4 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger5 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A

;---------------------------------------------------------------------------
;Stand_C
[State -1]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger3 = movecontact && (stateno = 210) && (time > 8) && (var(59) >= -7) ;Stand_Y
trigger4 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger5 = movecontact && (stateno = 240) && (time > 8) && (var(59) >= -7) ;Stand_B
trigger6 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger7 = movecontact && (stateno = 410) && (time > 8) && (var(59) >= -7) ;Crouch_Y
trigger8 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger9 = movecontact && (stateno = 440) && (time > 8) && (var(59) >= -7) ;Crouch_B

;---------------------------------------------------------------------------
;Crouch_X
[State -1]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X

;---------------------------------------------------------------------------
;Crouch_Y
[State -1]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger4 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger5 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A

;---------------------------------------------------------------------------
;Crouch_Z
[State -1]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (time > 8) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger5 = movecontact && (stateno = 440) && (time > 8) && (var(59) >= -7) ;Crouch_B
trigger6 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger7 = movecontact && (stateno = 210) && (time > 8) && (var(59) >= -7) ;Stand_Y
trigger8 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger9 = movecontact && (stateno = 240) && (time > 8) && (var(59) >= -7) ;Stand_B

;---------------------------------------------------------------------------
;Crouch_A
[State -1]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger3 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A

;---------------------------------------------------------------------------
;Crouch_B
[State -1]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger4 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger5 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A

;---------------------------------------------------------------------------
;Crouch_C
[State -1]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 400) && (time > 8) && (var(59) >= -7) ;Crouch_X
trigger3 = movecontact && (stateno = 410) && (time > 8) && (var(59) >= -7) ;Crouch_Y
trigger4 = movecontact && (stateno = 430) && (time > 8) && (var(59) >= -7) ;Crouch_A
trigger5 = movecontact && (stateno = 440) && (time > 8) && (var(59) >= -7) ;Crouch_B
trigger6 = movecontact && (stateno = 200) && (time > 8) && (var(59) >= -7) ;Stand_X
trigger7 = movecontact && (stateno = 210) && (time > 8) && (var(59) >= -7) ;Stand_Y
trigger8 = movecontact && (stateno = 230) && (time > 8) && (var(59) >= -7) ;Stand_A
trigger9 = movecontact && (stateno = 240) && (time > 8) && (var(59) >= -7) ;Stand_B

;---------------------------------------------------------------------------
;Jump_X
[State -1]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_Y
[State -1]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A

;---------------------------------------------------------------------------
;Jump_Z
[State -1]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 610) && (var(59) >= -7) ;Jump_Y
trigger4 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A
trigger5 = movecontact && (stateno = 640) && (var(59) >= -7) ;Jump_B

;---------------------------------------------------------------------------
;Jump_A
[State -1]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_B
[State -1]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A

;---------------------------------------------------------------------------
;Jump_C
[State -1]
type = ChangeState
value = 650
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = movecontact && (stateno = 600) && (var(59) >= -7) ;Jump_X
trigger3 = movecontact && (stateno = 610) && (var(59) >= -7) ;Jump_Y
trigger4 = movecontact && (stateno = 630) && (var(59) >= -7) ;Jump_A
trigger5 = movecontact && (stateno = 640) && (var(59) >= -7) ;Jump_B

