;-| Super Motions |--------------------------------------------------------
;-| Special Motions |------------------------------------------------------
[Command]
name = "shotto"
command = ~D, DF, F, x
time = 10

[Command]
name = "carhed"
command = ~D, DB, B, x
time = 10

[Command]
name = "carhed_m"
command = ~D, DB, B, y
time = 10

[Command]
name = "carhed_s"
command = ~D, DB, B, b
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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "foward_y"
command = /$F,y
time = 1

[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

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

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

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

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

[Command]
name = "mawarikomi"
command = z
time = 2

[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]
;===========================================================================
;Soff　ハープーンショット　-　銛　(スタンド)
[State -1, shotto]
type = ChangeState
value = 240
triggerall = command = "shotto"
triggerall = command != "holddown"
triggerall = numproj <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Soff　モーターヘッド　強 -　車　(スタンド)
[State -1, carhed]
type = ChangeState
value = 234
triggerall = command = "carhed_s"
triggerall = command != "holddown"
triggerall = numproj <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Soff　モーターヘッド　中 -　車　(スタンド)
[State -1, carhed]
type = ChangeState
value = 232
triggerall = command = "carhed_m"
triggerall = command != "holddown"
triggerall = numproj <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Soff　モーターヘッド　弱 -　車　(スタンド)
[State -1, carhed]
type = ChangeState
value = 230
triggerall = command = "carhed"
triggerall = command != "holddown"
triggerall = numproj <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;挑発 (踊らない？)
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soff 立ち前中攻撃　-　
[State -1, Stand middle ]
type = ChangeState
value = 250
triggerall = command = "foward_y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;Soff　空中 下強攻撃　-　鉄柱攻撃
[State -1, Jump strong]
type = ChangeState
value = 630
triggerall = command = "down_b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = movecontact

;---------------------------------------------------------------------------
;回り込み
[State -1]
type = ChangeState
value = 340
triggerall = command = "mawarikomi"
triggerall = var(1)= 0
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = stateno != 100

;===========================================================================
;Soff 立ち弱攻撃　-　パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time > 6

;---------------------------------------------------------------------------
;Soff 立ち中攻撃　-　キック
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;Soff 立ち強攻撃　-　払い　(スタンド)
[State -1, Stand Light Kick]
type = ChangeState
value = 220
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 7
trigger3 = (stateno = 230) && time > 9

;---------------------------------------------------------------------------
;Soff しゃがみ弱攻撃　-　キック
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soff しゃがみ中攻撃　-　突き　(スタンド)
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;Soff　しゃがみ強攻撃　-　デカ顔　(スタンド)
[State -1, Crouching Light Kick]
type = ChangeState
value = 420
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;Soff　空中 弱攻撃　-　キック
[State -1, Jump Light Kick]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Soff　空中 中攻撃　-　キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = movecontact

;---------------------------------------------------------------------------
;Soff　空中 強攻撃　-　払い　(スタンド)
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = movecontact