[Command]
name = "cpu"
command = D, F, U, UF, D, F, x+y
time = 0

[Command]
name = "cpu2"
command = B, F, U, DB, D, F, a+b
time = 0

[Command]
name = "cpu3"
command = B, U, DB, D, F, D, c
time = 0

[Command]
name = "cpu4"
command = F, D, UB, F, B, D, a
time = 0

[Command]
name = "cpu5"
command = F+a, b+c+D, c+x+a+UB
time = 0

[Command]
name = "cpu6"
command = F+b+c, D, UB, c+a, c+x+UF
time = 0

[Command]
name = "cpu7"
command = F, U, B, F, UF, U, B, DF, c+z
time = 0

[Command]
name = "cpu8"
command = F, U, B, F, UF, U, B, DU, c+z
time = 0

[Command]
name = "cpu9"
command = F, U, B, F, UF, U, B, D, D, c+z
time = 0

[Command]
name = "cpu10"
command = F, U, B, F, UF, U, B, c+z+UB
time = 0

[Command]
name = "cpu11"
command = F, U, B, F, UF, U, B, c+z+UD
time = 0

[Command]
name = "cpu12"
command = F, U, B, F, UF, U, B, a+b
time = 0

[Command]
name = "cpu13"
command = F, U, B, F, UF, U, B, c+y
time = 0

[Command]
name = "cpu14"
command = F, U, B, F, UF, U, B, c+x
time = 0

[Command]
name = "cpu15"
command = F, U, B, F, UF, U, B, c+b
time = 0

[Command]
name = "cpu16"
command = F, U, B, F, UF, U, B, c+a
time = 0

[Command]
name = "cpu17"
command = F, U, B, F, UF, U, B, c+z+b
time = 0

[Command]
name = "cpu18"
command = F, U, B, F, UF, U, B, c+z+a
time = 0

[Command]
name = "cpu19"
command = F, U, B, F, UF, U, B, c+z+x
time = 0

[Command]
name = "cpu20"
command = F, U, B, F, UF, U, B, c+z+B
time = 0

[Command]
name = "cpu21"
command = F, U, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu22"
command = F, U, B, F, UF, U, B, a+b
time = 0

[Command]
name = "cpu23"
command = F, U, B, F, UF, U, B, c+y
time = 0

[Command]
name = "cpu24"
command = F, U, B, F, UF, U, B, c+x
time = 0

[Command]
name = "cpu25"
command = F, U, B, F, UF, U, B, c+b
time = 0

[Command]
name = "cpu26"
command = F, U, B, F, UF, U, B, c+a
time = 0

[Command]
name = "cpu27"
command = F, U, B, F, UF, U, B, c+z+b
time = 0

[Command]
name = "cpu28"
command = F, U, B, F, UF, U, B, c+z+a
time = 0

[Command]
name = "cpu29"
command = F, U, B, F, UF, U, B, c+z+x
time = 0

[Command]
name = "cpu30"
command = F, U, B, F, UF, U, B, c+z+B
time = 0

[Command]
name = "cpu31"
command = F, UD, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu32"
command = F, U, BD, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu33"
command = F, UF, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu34"
command = D, D, D, D, D, D, D, x
time = 1
[Command]
name = "cpu"
command = D, F, U, UF, D, F, x+y
time = 0

[Command]
name = "cpu2"
command = B, F, U, DB, D, F, a+b
time = 0

[Command]
name = "cpu3"
command = B, U, DB, D, F, D, c
time = 0

[Command]
name = "cpu4"
command = F, D, UB, F, B, D, a
time = 0

[Command]
name = "cpu5"
command = F+a, b+c+D, c+x+a+UB
time = 0

[Command]
name = "cpu6"
command = F+b+c, D, UB, c+a, c+x+UF
time = 0

[Command]
name = "cpu7"
command = F, U, B, F, UF, U, B, DF, c+z
time = 0

[Command]
name = "cpu8"
command = F, U, B, F, UF, U, B, DU, c+z
time = 0

[Command]
name = "cpu9"
command = F, U, B, F, UF, U, B, D, D, c+z
time = 0

[Command]
name = "cpu10"
command = F, U, B, F, UF, U, B, c+z+UB
time = 0

[Command]
name = "cpu11"
command = F, U, B, F, UF, U, B, c+z+UD
time = 0

[Command]
name = "cpu12"
command = F, U, B, F, UF, U, B, a+b
time = 0

[Command]
name = "cpu13"
command = F, U, B, F, UF, U, B, c+y
time = 0

[Command]
name = "cpu14"
command = F, U, B, F, UF, U, B, c+x
time = 0

[Command]
name = "cpu15"
command = F, U, B, F, UF, U, B, c+b
time = 0

[Command]
name = "cpu16"
command = F, U, B, F, UF, U, B, c+a
time = 0

[Command]
name = "cpu17"
command = F, U, B, F, UF, U, B, c+z+b
time = 0

[Command]
name = "cpu18"
command = F, U, B, F, UF, U, B, c+z+a
time = 0

[Command]
name = "cpu19"
command = F, U, B, F, UF, U, B, c+z+x
time = 0

[Command]
name = "cpu20"
command = F, U, B, F, UF, U, B, c+z+B
time = 0

[Command]
name = "cpu21"
command = F, U, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu22"
command = F, U, B, F, UF, U, B, a+b
time = 0

[Command]
name = "cpu23"
command = F, U, B, F, UF, U, B, c+y
time = 0

[Command]
name = "cpu24"
command = F, U, B, F, UF, U, B, c+x
time = 0

[Command]
name = "cpu25"
command = F, U, B, F, UF, U, B, c+b
time = 0

[Command]
name = "cpu26"
command = F, U, B, F, UF, U, B, c+a
time = 0

[Command]
name = "cpu27"
command = F, U, B, F, UF, U, B, c+z+b
time = 0

[Command]
name = "cpu28"
command = F, U, B, F, UF, U, B, c+z+a
time = 0

[Command]
name = "cpu29"
command = F, U, B, F, UF, U, B, c+z+x
time = 0

[Command]
name = "cpu30"
command = F, U, B, F, UF, U, B, c+z+B
time = 0

[Command]
name = "cpu31"
command = F, UD, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu32"
command = F, U, BD, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu33"
command = F, UF, B, F, UF, U, B, c+z+y
time = 0

[Command]
name = "cpu34"
command = D, D, D, D, D, D, D, x
time = 1

;-| Super Motions |--------------------------------------------------------



[Command]
name = "4093"
command = ~D, B, D, B, x
time = 35

[Command]
name = "7704"
command = ~D, B, D, B, y
time = 35

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

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


[Command]
name = "12001"
command = ~D, F, D, F, a
time = 35

[Command]
name = "sanagi"
command = ~D, F, D, F, a+b
time = 35


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

[Command]
name = "balia"
command = ~D, DF, F, a
time = 15

[Command]
name = "balia2"
command = ~D, DF, F, y
time = 15

[Command]
name = "hansha"
command = ~D, DF, F, b
time = 15

[Command]
name = "kaminari"
command = ~D, B, x
time = 15

[Command]
name = "kaminari2"
command = ~D, B, a
time = 15

[Command]
name = "kaminari3"
command = ~D, B, y
time = 15

[Command]
name = "kaminari4"
command = ~D, B, b
time = 15



;-| 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+a
time = 1

[Command]
name = "recovery";Required (do not remove)
command = z
time = 1

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

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

[Command]
name = "dodge"
command = x+a
time = 1

[Command]
name = "striker"
command = a+y
time = 1

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


;-| Dir + Button |---------------------------------------------------------
[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 = "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 = "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

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

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

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

[Statedef -1]
[State -1]
type = ChangeState
triggerall = power < 3000
trigger1 = command = "hold_a" && command = "hold_b" && command = "hold_x" && statetype = S && ctrl
value = 8000
;===========================================================================
;---------------------------------------------------------------------------
;無に還ろう
[State -1]
type = ChangeState
value = 2000
triggerall = command = "mu"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

[State -1]
type = ChangeState
value = 12001
triggerall = command = "12001"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = ctrl

[State -1]
type = ChangeState
value = 4093
triggerall = command = "4093"
triggerall = statetype != A
triggerall = power >= 3000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact


[State -1]
type = ChangeState
value = 7704
triggerall = command = "7704"
triggerall = statetype != A
triggerall = power >= 3000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;魂潰し
[State -1]
type = ChangeState
value = 2100
triggerall = command = "soul"
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;新・無に還ろう
[State -1]
type = ChangeState
value = 2300
triggerall = command = "sanagi"
triggerall = statetype != A
triggerall = power >= 3000 
triggerall = life <= 500
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;飛び道具
[State -1]
type = ChangeState
value = 1000
triggerall = command = "black"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

trigger6 = var(58) = 1
trigger6 = movecontact
trigger6 = stateno = 1050 || stateno = 1060
trigger7 = var(58) = 1
trigger7 = movecontact
trigger7 = stateno = 1020
trigger7 = animelem = 12, >= 0
trigger7 = animelem = 14, <= 0
trigger8 = var(58) = 1
trigger8 = movecontact
trigger8 = stateno = 1030 || stateno = 1031

;---------------------------------------------------------
;---------------------------------------------------------------------------
;バリア中段
[State -1]
type = ChangeState
value = 1030
triggerall = command = "balia"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

trigger6 = var(58) = 1
trigger6 = movecontact
trigger6 = stateno = 1020
trigger6 = animelem = 12, >= 0
trigger6 = animelem = 14, <= 0
trigger7 = var(58) = 1
trigger7 = movecontact
trigger7 = stateno = 1030 || stateno = 1031

;---------------------------------------------------------------------------
;バリア上段
[State -1]
type = ChangeState
value = 1031
triggerall = command = "balia2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

trigger6 = var(58) = 1
trigger6 = movecontact
trigger6 = stateno = 1020
trigger6 = animelem = 12, >= 0
trigger6 = animelem = 14, <= 0
trigger7 = var(58) = 1
trigger7 = movecontact
trigger7 = stateno = 1030 || stateno = 1031

;---------------------------------------------------------------------------
;飛び道具反射
[State -1]
type = ChangeState
value = 1040
triggerall = command = "hansha"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

trigger6 = var(58) = 1
trigger6 = movecontact
trigger6 = stateno = 1020
trigger6 = animelem = 12, >= 0
trigger6 = animelem = 14, <= 0
trigger7 = var(58) = 1
trigger7 = movecontact
trigger7 = stateno = 1030 || stateno = 1031

;---------------------------------------------------------------------------
;落雷1
[State -1]
type = ChangeState
value = 1200
triggerall = command = "kaminari"
triggerall = statetype != A
trigger1 = ctrl

;落雷2
[State -1]
type = ChangeState
value = 1201
triggerall = command = "kaminari2"
triggerall = statetype != A
trigger1 = ctrl

;落雷3
[State -1]
type = ChangeState
value = 1202
triggerall = command = "kaminari3"
triggerall = statetype != A
trigger1 = ctrl

;落雷4
[State -1]
type = ChangeState
value = 1203
triggerall = command = "kaminari4"
triggerall = statetype != A
trigger1 = ctrl

;オロチ犬噛み付く
;[State -1]
;type = null   ;ChangeState
;value = 2220
;triggerall = command = "dog" && life < 0
;triggerall = var(58) = 1
;triggerall = helper(2200), stateno = 2200
;triggerall = statetype != A
;trigger1 = ctrl

;オロチ犬飛び道具吐き出す
;[State -1]
;type = null   ;ChangeState
;value = 2230
;triggerall = command = "tobi" && life < 0
;triggerall = var(58) = 1
;triggerall = helper(2200), stateno = 2200
;triggerall = numproj = 0
;triggerall = statetype != A
;trigger1 = ctrl

;デブ
;[State -1]
;type = null  ;ChangeState
;value = 2240
;triggerall = var(58) = 1
;triggerall = command = "earth" && life < 0
;triggerall = helper(2200), stateno = 2200
;triggerall = numproj = 0
;triggerall = statetype != A
;trigger1 = ctrl

;クールチョイ
;[State -1]
;type = null   ;ChangeState
;value = 2400
;triggerall = command = "cool" && life < 0
;triggerall = numhelper(2400) = 0
;triggerall = 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

;---------------------------------------------------------------------------
;C投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 810
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
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

;---------------------------------------------------------------------------
;D投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 815
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
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

;===========================================================================
;---------------------------------------------------------------------------
;ふっ飛ばし
[State -1, Stand Light Punch]
type = ChangeState
value = 500
triggerall = command = "knock"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 150 || stateno = 151) && power >= 500

;---------------------------------------------------------------------------
;AIRふっ飛ばし
[State -1, ]
type = ChangeState
value = 510
triggerall = command = "knock"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;緊急回避前
[State -1]
type = ChangeState
value = 900
triggerall = command = "dodge"
triggerall = command != "holdback"
trigger1 = statetype != A && (ctrl || stateno = 100)
trigger2 = (stateno = 150 || stateno = 151) && power >= 500

[State -1]
type = ChangeState
value = 910
triggerall = command = "dodge" && command = "holdback"
trigger1 = statetype != A && (ctrl || stateno = 100)
trigger2 = (stateno = 150 || stateno = 151) && power >= 500

;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x" || command = "holddown" && command = "x"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Strong Punch
;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Light Kick
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Strong Kick
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl


