; Evil Ryu's Command File
;===================
;-| Super Motions |--------------------------------------------------------
[Command]
name = "raging_demon"
command = x, x, F, a
time = 25

[command]
name = "shinku_hadoken"
command = ~D, DF, F ,D, DF, F, x
time = 35

[command]
name = "shinku_hadoken"
command = ~D, DF, F ,D, DF, F, y
time = 35

[command]
name = "shinku_hadoken"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "shinku_hadoken_2"
command = ~D, DF, F ,D, DF, F, y
time = 35

[command]
name = "shinku_hadoken_2"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "shinku_hadoken_3"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "air_shinku_hadoken"
command = ~D, DF, F ,D, DF, F, x
time = 35

[command]
name = "air_shinku_hadoken"
command = ~D, DF, F ,D, DF, F, y
time = 35

[command]
name = "air_shinku_hadoken"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "air_shinku_hadoken_2"
command = ~D, DF, F ,D, DF, F, y
time = 35

[command]
name = "air_shinku_hadoken_2"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "air_shinku_hadoken_3"
command = ~D, DF, F ,D, DF, F, z
time = 35

[command]
name = "shinku_hurricane"
command = ~D, DB, B, D, DB, B, a
time = 35

[command]
name = "shinku_hurricane"
command = ~D, DB, B, D, DB, B, b
time = 35

[command]
name = "shinku_hurricane"
command = ~D, DB, B, D, DB, B, c
time = 35

[command]
name = "shinku_hurricane_2"
command = ~D, DB, B, D, DB, B, b
time = 35

[command]
name = "shinku_hurricane_2"
command = ~D, DB, B, D, DB, B, c
time = 35

[command]
name = "shinku_hurricane_3"
command = ~D, DB, B, D, DB, B, c
time = 35

[command]
name = "shinku_Shoryuken"
command = ~D, DB, B, D, DB, B, x
time = 35

[command]
name = "shinku_Shoryuken"
command = ~D, DB, B, D, DB, B, y
time = 35

[command]
name = "shinku_Shoryuken"
command = ~D, DB, B, D, DB, B, z
time = 35

[command]
name = "shinku_Shoryuken_2"
command = ~D, DB, B, D, DB, B, y
time = 35

[command]
name = "shinku_Shoryuken_2"
command = ~D, DB, B, D, DB, B, z
time = 35

[command]
name = "shinku_Shoryuken_3"
command = ~D, DB, B, D, DB, B, z
time = 35

;-| Special Motions |------------------------------------------------------
[command]
name = "h"
command = ~D, DF, F, x
time = 35

[command]
name = "ha"
command = ~D, DF, F, y
time = 35

[command]
name = "had"
command = ~D, DF, F, z
time = 35

[command]
name = "fire_hadoken"
command = ~B, F, x
time = 35

[command]
name = "fire_hadoken"
command = ~B, F, y
time = 35

[command]
name = "fire_hadoken"
command = ~B, F, z
time = 35

[command]
name = "hur"
command = ~D, B, a
time = 35

[command]
name = "hurr"
command = ~D, B, b
time = 35

[command]
name = "hurri"
command = ~D, B, c
time = 35

[command]
name = "s"
command = ~D,F,D,x
time = 35

[command]
name = "sh"
command = ~D,F,D,y
time = 35

[command]
name = "sho"
command = ~D,F,D,z
time = 35

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

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

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

[command]
name = "a"
command = a
time = 1

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

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

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

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

[Command]
name = "BB"
command = B, B
time = 10

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

;-| Dir + Button |----------------------------------------------------------
[Command]
name = "fwd_med_kick"
command = /F, b
time = 1

[Command]
name = "fwd_hea_kick"
command = /F, c
time = 1

[Command]
name = "zcounter_1"
command = /B, a
time = 1

[Command]
name = "zcounter_1"
command = /B, b
time = 1

[Command]
name = "zcounter_1"
command = /B, c
time = 1

[Command]
name = "zcounter_1"
command = /B, x
time = 1

[Command]
name = "zcounter_1"
command = /B, y
time = 1

[Command]
name = "zcounter_1"
command = /B, z
time = 1

;-| Hold Button |-----------------------------------------------------------

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

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

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

[Command]
name = "hold_a"
command = /a
time = 1

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

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

[Command]
name = "slam_1"
command = /F,z
time = 1

[Command]
name = "slam_2"
command = /B,z
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

;---------------------------------------------------------------------------
; State Entry
;============
[Statedef -1]
;RagingDemon
[State -1]
type = ChangeState
value = 4000
triggerall = command = "raging_demon"
triggerall = power >= 3000
trigger1 = ctrl = 1
trigger1 = statetype != A

; Shinku HaDoKen level 3
[State -1]
type = ChangeState
value = 3002
triggerall = power >= 3000
triggerall = command = "shinku_hadoken_3"
trigger1 = statetype = S
trigger1 = ctrl = 1

; Shinku HaDoKen level 2
[State -1]
type = ChangeState
value = 3001
triggerall = power >= 2000
triggerall = command = "shinku_hadoken_2"
trigger1 = statetype = S
trigger1 = ctrl = 1

; Shinku HaDoKen level 1
[State -1]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = command = "shinku_hadoken"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Air Shinku HaDoKen level 3
[State -1]
type = ChangeState
value = 3005
triggerall = power >= 3000
triggerall = command = "air_shinku_hadoken_3"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Air Shinku HaDoKen level 2
[State -1]
type = ChangeState
value = 3004
triggerall = power >= 2000
triggerall = command = "air_shinku_hadoken_2"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Air Shinku HaDoKen level 1
[State -1]
type = ChangeState
value = 3003
triggerall = power >= 1000
triggerall = command = "air_shinku_hadoken"
trigger1 = statetype = A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 3
[State -1]
type = ChangeState
value = 3102
triggerall = power >= 3000
triggerall = command = "shinku_hurricane_3"
trigger1 = statetype != A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 2
[State -1]
type = ChangeState
value = 3101
triggerall = power >= 2000
triggerall = command = "shinku_hurricane_2"
trigger1 = statetype != A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 1
[State -1]
type = ChangeState
value = 3100
triggerall = power >= 1000
triggerall = command = "shinku_hurricane"
trigger1 = statetype != A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 3
[State -1]
type = ChangeState
value = 3102
triggerall = power >= 3000
triggerall = command = "shinku_hurricane_3"
trigger1 = statetype = A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 2
[State -1]
type = ChangeState
value = 3101
triggerall = power >= 2000
triggerall = command = "shinku_hurricane_2"
trigger1 = statetype = A
trigger1 = ctrl = 1

; Shinku Hurricane Kick level 1
[State -1]
type = ChangeState
value = 3100
triggerall = power >= 1000
triggerall = command = "shinku_hurricane"
trigger1 = statetype = A
trigger1 = ctrl = 1

; Shinku Shoryuken level 3
[State -1]
type = ChangeState
value = 3220
triggerall = power >= 3000
triggerall = command = "shinku_Shoryuken_3"
trigger1 = statetype != A
trigger1 = ctrl = 1

; Shinku Shoryuken level 2
[State -1]
type = ChangeState
value = 3210
triggerall = power >= 2000
triggerall = command = "shinku_Shoryuken_2"
trigger1 = statetype != A
trigger1 = ctrl = 1

; Shinku Shoryuken level 1
[State -1]
type = ChangeState
value = 3200
triggerall = power >= 1000
triggerall = command = "shinku_Shoryuken"
trigger1 = statetype != A
trigger1 = ctrl = 1

;HaDoKen 1
[State -1]
type = ChangeState
value = 1000
triggerall = command = "h"
trigger1 = statetype = S
trigger1 = ctrl = 1

; Hadoken 2
[State -1]
type = ChangeState
value = 1001
triggerall = command = "ha"
trigger1 = statetype = S
trigger1 = ctrl = 1

; Hadoken 3
[State -1]
type = ChangeState
value = 1003
triggerall = command = "had"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Fire Hadoken 
[State -1]
type = ChangeState
value = 1004
triggerall = command = "fire_hadoken"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Air HaDoKen 1
[State -1]
type = ChangeState
value = 1005
triggerall = command = "h"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Air Hadoken 2
[State -1]
type = ChangeState
value = 1006
triggerall = command = "ha"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Air Hadoken 3
[State -1]
type = ChangeState
value = 1007
triggerall = command = "had"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Fire Air Hadoken 
[State -1]
type = ChangeState
value = 1009
triggerall = command = "fire_hadoken"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1100
triggerall = command = "hur"
trigger1 = statetype != A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1101
triggerall = command = "hurr"
trigger1 = statetype != A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1102
triggerall = command = "hurri"
trigger1 = statetype != A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1103
triggerall = command = "hur"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1104
triggerall = command = "hurr"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Hurricane Kick
[State -1]
type = ChangeState
value = 1105
triggerall = command = "hurri"
trigger1 = statetype = A
trigger1 = ctrl = 1

; uppercut-light
[State -1]
type = ChangeState
value = 1200
triggerall = command = "s"
trigger1 = statetype != A
trigger1 = ctrl = 1
[State -1]
type = ChangeState
value = 1200
triggerall = command = "s"
triggerall = movecontact = 1
trigger1 = stateno = 200
trigger1 = AnimElem = 2, >= 1
trigger1 = AnimElem = 3, <= 2
trigger2 = stateno = 210
trigger2 = AnimElem = 3, >= 1
trigger2 = AnimElem = 5, <= 3
trigger3 = stateno = 211
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 3
trigger4 = stateno = 220
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 5, <= 6
trigger5 = stateno = 211
trigger5 = AnimElem = 2, >= 1
trigger5 = AnimElem = 3, <= 6
trigger6 = stateno = 230
trigger6 = AnimElem = 4, >= 1
trigger6 = AnimElem = 7, <= 3
trigger7 = stateno = 232
trigger7 = AnimElem = 4, >= 1
trigger7 = AnimElem = 9, <= 3
trigger8 = stateno = 235
trigger8 = AnimElem = 9, >= 1
trigger8 = AnimElem = 11, <= 3
trigger9 = stateno = 240
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 5, <= 8
trigger10 = stateno = 245
trigger10 = AnimElem = 2, >= 1
trigger10 = AnimElem = 4, <= 5
trigger11 = stateno = 250
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 9, <= 5
trigger12 = stateno = 252
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 9, <= 2
trigger13 = stateno = 255
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 4, <= 4
trigger14 = stateno = 203
trigger14 = AnimElem = 2, >= 1
trigger14 = AnimElem = 3, <= 2
trigger15 = stateno = 213
trigger15 = AnimElem = 2, >= 1
trigger15 = AnimElem = 3, <= 2
trigger16 = stateno = 223
trigger16 = AnimElem = 2, >= 1
trigger16 = AnimElem = 3, <= 5
trigger17 = stateno = 233
trigger17 = AnimElem = 3, >= 1
trigger17 = AnimElem = 5, <= 3
trigger18 = stateno = 243
trigger18 = AnimElem = 2, >= 1
[State -1]
type = ChangeState
value = 1200
triggerall = command = "s"
trigger1 = stateno = 1200
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 5, <= 2
trigger2 = stateno = 1201
trigger2 = AnimElem = 4, >= 1
trigger2 = AnimElem = 5, <= 2
trigger3 = stateno = 1202
trigger3 = AnimElem = 4, >= 1
trigger3 = AnimElem = 5, <= 2


; uppercut-medium
[State -1]
type = ChangeState
value = 1210
triggerall = command = "sh"
trigger1 = statetype != A
trigger1 = ctrl = 1
[State -1]
type = ChangeState
value = 1210
triggerall = command = "sh"
triggerall = movecontact = 1
trigger1 = stateno = 200
trigger1 = AnimElem = 2, >= 1
trigger1 = AnimElem = 3, <= 2
trigger2 = stateno = 210
trigger2 = AnimElem = 3, >= 1
trigger2 = AnimElem = 5, <= 3
trigger3 = stateno = 211
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 3
trigger4 = stateno = 220
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 5, <= 6
trigger5 = stateno = 211
trigger5 = AnimElem = 2, >= 1
trigger5 = AnimElem = 3, <= 6
trigger6 = stateno = 230
trigger6 = AnimElem = 4, >= 1
trigger6 = AnimElem = 7, <= 3
trigger7 = stateno = 232
trigger7 = AnimElem = 4, >= 1
trigger7 = AnimElem = 9, <= 3
trigger8 = stateno = 235
trigger8 = AnimElem = 9, >= 1
trigger8 = AnimElem = 11, <= 3
trigger9 = stateno = 240
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 5, <= 8
trigger10 = stateno = 245
trigger10 = AnimElem = 2, >= 1
trigger10 = AnimElem = 4, <= 5
trigger11 = stateno = 250
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 9, <= 5
trigger12 = stateno = 252
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 9, <= 2
trigger13 = stateno = 255
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 4, <= 4
trigger14 = stateno = 203
trigger14 = AnimElem = 2, >= 1
trigger14 = AnimElem = 3, <= 2
trigger15 = stateno = 213
trigger15 = AnimElem = 2, >= 1
trigger15 = AnimElem = 3, <= 2
trigger16 = stateno = 223
trigger16 = AnimElem = 2, >= 1
trigger16 = AnimElem = 3, <= 5
trigger17 = stateno = 233
trigger17 = AnimElem = 3, >= 1
trigger17 = AnimElem = 5, <= 3
trigger18 = stateno = 243
trigger18 = AnimElem = 2, >= 1
[State -1]
type = ChangeState
value = 1210
triggerall = command = "sh"
trigger1 = stateno = 1200
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 5, <= 2
trigger2 = stateno = 1201
trigger2 = AnimElem = 4, >= 1
trigger2 = AnimElem = 5, <= 2
trigger3 = stateno = 1202
trigger3 = AnimElem = 4, >= 1
trigger3 = AnimElem = 5, <= 2

; ShoRyuKen-heavy
[State -1]
type = ChangeState
value = 1220
triggerall = command = "sho"
trigger1 = statetype != A
trigger1 = ctrl = 1
[State -1]
type = ChangeState
value = 1220
triggerall = command = "sho"
triggerall = movecontact = 1
trigger1 = stateno = 200
trigger1 = AnimElem = 2, >= 1
trigger1 = AnimElem = 3, <= 2
trigger2 = stateno = 210
trigger2 = AnimElem = 3, >= 1
trigger2 = AnimElem = 5, <= 3
trigger3 = stateno = 211
trigger3 = AnimElem = 3, >= 1
trigger3 = AnimElem = 5, <= 3
trigger4 = stateno = 220
trigger4 = AnimElem = 3, >= 1
trigger4 = AnimElem = 5, <= 6
trigger5 = stateno = 211
trigger5 = AnimElem = 2, >= 1
trigger5 = AnimElem = 3, <= 6
trigger6 = stateno = 230
trigger6 = AnimElem = 4, >= 1
trigger6 = AnimElem = 7, <= 3
trigger7 = stateno = 232
trigger7 = AnimElem = 4, >= 1
trigger7 = AnimElem = 9, <= 3
trigger8 = stateno = 235
trigger8 = AnimElem = 9, >= 1
trigger8 = AnimElem = 11, <= 3
trigger9 = stateno = 240
trigger9 = AnimElem = 3, >= 1
trigger9 = AnimElem = 5, <= 8
trigger10 = stateno = 245
trigger10 = AnimElem = 2, >= 1
trigger10 = AnimElem = 4, <= 5
trigger11 = stateno = 250
trigger11 = AnimElem = 5, >= 1
trigger11 = AnimElem = 9, <= 5
trigger12 = stateno = 252
trigger12 = AnimElem = 5, >= 1
trigger12 = AnimElem = 9, <= 2
trigger13 = stateno = 255
trigger13 = AnimElem = 3, >= 1
trigger13 = AnimElem = 4, <= 4
trigger14 = stateno = 203
trigger14 = AnimElem = 2, >= 1
trigger14 = AnimElem = 3, <= 2
trigger15 = stateno = 213
trigger15 = AnimElem = 2, >= 1
trigger15 = AnimElem = 3, <= 2
trigger16 = stateno = 223
trigger16 = AnimElem = 2, >= 1
trigger16 = AnimElem = 3, <= 5
trigger17 = stateno = 233
trigger17 = AnimElem = 3, >= 1
trigger17 = AnimElem = 5, <= 3
trigger18 = stateno = 243
trigger18 = AnimElem = 2, >= 1
[State -1]
type = ChangeState
value = 1220
triggerall = command = "sho"
trigger1 = stateno = 1200
trigger1 = AnimElem = 4, >= 1
trigger1 = AnimElem = 5, <= 2
trigger2 = stateno = 1201
trigger2 = AnimElem = 4, >= 1
trigger2 = AnimElem = 5, <= 2
trigger3 = stateno = 1202
trigger3 = AnimElem = 4, >= 1
trigger3 = AnimElem = 5, <= 2

;---------------------------------------------------------------------------

; Zero counter 1
[State -1]
type = ChangeState
value = 520
trigger1 = command = "zcounter_1"
triggerall = power >= 500
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------

; Dash foward
[State -1]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

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

;---------------------------------------------------------------------------
; Super jump
[State -1]
type = ChangeState
value = 1130
trigger1 = movehit = 1
trigger1 = p2statetype = A
trigger1 = stateno = 243
trigger1 = command = "holdup"

;---------------------------------------------------------------------------
; Zero counter 1
[State -1]
type = ChangeState
value = 520
trigger1 = command = "zcounter_1"
triggerall = power >= 1000
trigger1 = stateno >= 150
trigger1 = stateno <= 152

;---------------------------------------------------------------------------

;Stand_A
[State -1]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = Time >= 8

;---------------------------------------------------------------------------
;Stand_B
[State -1]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Stand_C
[State -1]
type = ChangeState
value = 250
triggerall = command = "c"
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 = stateno = 200
trigger2 = Time >= 8
;---------------------------------------------------------------------------
;Stand_Y
[State -1]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
;trigger2 = stateno = 200
;trigger2 = movecontact = 1

;---------------------------------------------------------------------------
;Stand_Z
[State -1]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
;trigger2 = stateno = 200
;trigger2 = movecontact = 1
;trigger3 = stateno = 210
;trigger3 = animelem >= 4

;Stand Forward A
[State -1]
type = ChangeState
value = 310
triggerall = command = "a"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl = 1
;trigger2 = stateno = 200
;trigger2 = movecontact = 1
;trigger3 = stateno = 210
;trigger3 = animelem >= 4

;Stand Forward Y
[State -1]
type = ChangeState
value = 260
triggerall = command = "z"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl = 1
;trigger2 = stateno = 200
;trigger2 = movecontact = 1
;trigger3 = stateno = 210
;trigger3 = animelem >= 4

;---------------------------------------------------------------------------
;Crouch_A
[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 400   ;crouch_a
trigger2 = Time >= 8
trigger3 = stateno = 430   ;crouch_x
trigger3 = Time >= 8


;---------------------------------------------------------------------------
;Crouch_B
[State -1]
type = ChangeState
value = 500
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
;trigger2 = stateno = 400   ;crouch_a
;trigger2 = Movecontact = 1
;trigger2 = Time >= 8


;---------------------------------------------------------------------------
;Crouch_C
[State -1]
type = ChangeState
value = 410
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch_X
[State -1]
type = ChangeState
value = 430
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 430   ;crouch_x
trigger2 = Time >= 8
trigger3 = stateno = 400   ;crouch_a
trigger3 = Time >= 8


;---------------------------------------------------------------------------
;Crouch_Y
[State -1]
type = ChangeState
value = 440
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch_Z
[State -1]
type = ChangeState
value = 450
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_A (MOVING)
[State -1]
type = ChangeState
value = 810
triggerall = Vel X != 0
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = command = "a"

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

;---------------------------------------------------------------------------
;Jump_B (MOVING)
[State -1]
type = ChangeState
value = 610
triggerall = Vel X != 0
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = command = "b";-------
trigger2 = stateno = 600 ;jump_a
trigger2 = movecontact = 1

;Jump_B 
[State -1]
type = ChangeState
value = 660
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = command = "b"

;---------------------------------------------------------------------------
;Jump_C (moving)
[State -1]
type = ChangeState
value = 620
triggerall = Vel X !=0
trigger1 = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = command = "recovery";-------
trigger2 = stateno = 600 ;jump_a
trigger2 = statetime >= 3
trigger3 = command = "recovery";-------
trigger3 = stateno = 610 ;jump_b
trigger3 = movecontact = 1
;trigger4 = command = "c";--shortcut--
;trigger4 = statetype = A
;trigger4 = ctrl = 1

;Jump_C
[State -1]
type = ChangeState
value = 630
trigger1 = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_X
[State -1]
type = ChangeState
value = 600
trigger1 = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = command = "a";-------
trigger2 = stateno = 600 ;jump_a
trigger2 = statetime >= 3

;---------------------------------------------------------------------------
;Jump_Y
[State -1]
type = ChangeState
value = 610
trigger1 = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600   ;jump_a
trigger2 = statetime >= 3

;---------------------------------------------------------------------------
;Jump_Z
[State -1]
type = ChangeState
value = 650
trigger1 = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------

;Taunt
[State -1]
type = ChangeState
value = 195
trigger1 = command = "t"
trigger1 = statetype = S
trigger1 = ctrl = 1
