;-| Special Motions |------------------------------------------------------
[Command]
name = "SP1"
command = b+c

[Command]
name = "SP2"
command = y

[Command]
name = "SP3"
command = y+z

;-| 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

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
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 = x+y
time = 1

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

[Command]
name = "start"
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

[Statedef -1]
;---------------------------------------------------------------------------
;Special
;Warp
[State -1,1]
type = ChangeState
value = 1000
triggerall = Command = "SP1"
triggerall = StateType = S || StateType = C
trigger1 = Ctrl

;1Way
[State -1,2]
type = ChangeState
value = 1100
triggerall = NumProjId(1100) = 0
triggerall = Command = "SP2"
triggerall = StateType = S || StateType = C
trigger1 = Ctrl

;3Way
[State -1,3]
type = ChangeState
value = 1200
triggerall = NumProjId(1100) = 0
triggerall = Command = "SP3"
triggerall = StateType = S || StateType = C
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Throw
[State -1, Throw]
type = ChangeState
value = 800
triggerall = P2BodyDist X < 30
triggerall = (Command = "y" || Command = "z") && Command = "holdfwd"
triggerall = StateType = S
trigger1 = Ctrl

[State -1, Throw]
type = ChangeState
value = 805
triggerall = P2BodyDist X < 30
triggerall = (Command = "y" || Command = "z") && Command = "holdback"
triggerall = StateType = S
trigger1 = Ctrl

[State -1, Throw]
type = ChangeState
value = 850
triggerall = P2BodyDist X < 30
triggerall = (Command = "a" || Command = "b") && (Command = "holdfwd" || Command = "holdback")
triggerall = StateType = S
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = IfElse(P2BodyDist X < 20,205,200)
triggerall = Command = "x"
triggerall = Command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = IfElse(P2BodyDist X < 30,215,210)
triggerall = Command = "y" || Command = "z"
triggerall = Command != "holddown"
trigger1 = StateType = S
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 220
triggerall = Command = "a"
triggerall = Command != "holddown"
trigger1 = StateType = S
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = IfElse(P2BodyDist X < 30,235,230)
triggerall = Command = "b" || Command = "c"
triggerall = Command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crouching Punch
[State -1, Crouching Punch]
type = ChangeState
value = 400
triggerall = Command = "x" || Command = "y" || Command = "z"
triggerall = Command = "holddown"
trigger1 = StateType = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crouching Light Kick
[State -1, Crouching Light Kick]
type = ChangeState
value = 410
triggerall = Command = "a"
triggerall = Command = "holddown"
trigger1 = StateType = C
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Crouching Medium Kick
[State -1, Crouching Medium Kick]
type = ChangeState
value = 420
triggerall = Command = "b"
triggerall = Command = "holddown"
trigger1 = StateType = C
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
value = 430
triggerall = Command = "c"
triggerall = Command = "holddown"
trigger1 = StateType = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Punch
[State -1, Jump Punch]
type = ChangeState
value = 600
triggerall = Command = "x" || Command = "y" || Command = "z"
trigger1 = StateType = A
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = IfElse(Vel X = 0,620,610)
triggerall = Command = "a"
trigger1 = StateType = A
trigger1 = Ctrl

;---------------------------------------------------------------------------
;Jump Strong Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 630
triggerall = Command = "b" || Command = "c"
trigger1 = statetype = A
trigger1 = ctrl


