
;-| CPU傾儖僑儕僘儉梡僐儅儞僪 |------------------------------
;CPU傾儖僑儕僘儉傪巊偆嵺偵曋棙側婰弎偱偡丅
;AI傪巊傢側偄側傜昁梫偁傝傑偣傫丅
;偙傟傜偺僐儅儞僪偼恖娫偵偼擖椡偱偒側偄傕偺偵偡傞昁梫偑偁傝傑偡丅

[Command]
name = "cpu1"
command = a,U,D,F,F,B,B,D,U,U
time = 1
[Command]
name = "cpu2"
command = b,U,D,F,B,F,B,D,U,D
time = 1
[Command]
name = "cpu3"
command = c,U,D,B,F,B,F,D,U,B
time = 1
[Command]
name = "cpu4"
command = x,U,D,B,F,F,B,D,U,F
time = 1
[Command]
name = "cpu5"
command = y,U,D,F,F,B,B,D,U,a
time = 1
[Command]
name = "cpu6"
command = z,U,D,F,B,F,B,D,U,b
time = 1
[Command]
name = "cpu7"
command = s,U,D,B,F,B,F,D,U,c
time = 1
[Command]
name = "cpu8"
command = b,U,D,B,F,F,B,D,U,x
time = 1
[Command]
name = "cpu9"
command = c,U,D,F,B,F,B,D,U,y
time = 1
[Command]
name = "cpuA"
command = y,U,D,B,F,B,F,D,U,z
time = 1
[Command]
name = "cpuB"
command = z,U,D,B,F,F,B,D,U,s
time = 1
[Command]
name = "cpuC"
command = U,D,F,F,B,B,D,U,a+x
time = 1
[Command]
name = "cpuD"
command = U,D,F,B,F,B,D,U,b+y
time = 1
[Command]
name = "cpuE"
command = U,D,B,F,B,F,D,U,c+z
time = 1
[Command]
name = "cpuF"
command = U,D,s,B,F,F,B,s,D,U
time = 1

[Command] ;摨偠僐儅儞僪柤傪巊偊偽屻偑妝偵側傞
name = "cpu1"
command = a,U,D,F,F,B,B,D,U,U,s
time = 1
[Command]
name = "cpu2"
command = b,U,D,F,B,F,B,D,U,D,s
time = 1
[Command]
name = "cpu3"
command = c,U,D,B,F,B,F,D,U,B,s
time = 1
[Command]
name = "cpu4"
command = x,U,D,B,F,F,B,D,U,F,s
time = 1
[Command]
name = "cpu5"
command = y,U,D,F,F,B,B,D,U,a,s
time = 1
[Command]
name = "cpu6"
command = z,U,D,F,B,F,B,D,U,b,s
time = 1
[Command]
name = "cpu7"
command = s,U,D,B,F,B,F,D,U,c,s
time = 1
[Command]
name = "cpu8"
command = b,U,D,B,F,F,B,D,U,x,s
time = 1
[Command]
name = "cpu9"
command = c,U,D,F,B,F,B,D,U,y,s
time = 1
[Command]
name = "cpuA"
command = y,U,D,B,F,B,F,D,U,z,s
time = 1
[Command]
name = "cpuB"
command = z,U,D,B,F,F,B,D,U,s,z
time = 1
[Command]
name = "cpuC"
command = U,D,F,F,B,B,D,U,a+x,s
time = 1
[Command]
name = "cpuD"
command = U,D,F,B,F,B,D,U,b+y,s
time = 1
[Command]
name = "cpuE"
command = U,D,B,F,B,F,D,U,c+z,s
time = 1
[Command]
name = "cpuF"
command = U,D,s,B,F,F,B,s,D,U,z
time = 1


;


;-| 挻昁嶦媄 |--------------------------------------------------------

[Command] 
name = "棾崠嶦"
command = ~F, FD, D, BD, B, UB, F, UF, F, B, F, D, FD, UB, UF, DB, D, F, a, b, c
time = 999999

[Command] 
name = "TripleKFPalm"   ;Same name as above
command = ~D, DF, F, D, DF, F, x
time = 40

[Command] 
name = "TripleKFPalm"   ;Same name as above
command = ~D, DF, F, D, DF, F, y
time = 40

[Command] 
name = "ohaousyokouken1"   ;Same name as above
command = ~F, B, DB, D, DF, F, c
time = 40

[Command] 
name = "ohaousyokouken2"   ;Same name as above
command = ~F, B, DB, D, DF, F, y
time = 40

[Command] 
name = "ohaousyokouken1"   ;Same name as above
command = ~F, B, D, F, x
time = 40

[Command] 
name = "ohaousyokouken2"   ;Same name as above
command = ~F, B, D, F, y
time = 30


;-| 昁嶦媄 |------------------------------------------------------
[Command]
name = "徃棾a"
command = F, D, DF, a
time = 17

[Command]
name = "徃棾b"
command = F, D, DF, b
time = 17

[Command]
name = "徃棾c"
command = F, D, DF, c
time = 17

[Command]
name = "QCF_ab"
command = ~D, DF, F, a+b

[Command]
name = "QCF_a"
command = ~D, DF, F, a

[Command]
name = "QCF_b"
command = ~D, DF, F, b

[Command]
name = "QCF_c"
command = ~D, DF, F, c





[Command]
name = "QCF_x"
command = ~D, DF, F, x

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

[Command]
name = "QCF_xy"
command = ~D, DF, F, x+y

[Command]
name = "QCB_a"
command = ~D, DB, B, a

[Command]
name = "QCB_b"
command = ~D, DB, B, b

[Command]
name = "QCB_c"
command = ~D, DB, B, c


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

;仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸僴僀僕儍儞僾僐儅儞僪
;壓傪偪傚偭偲墴偟偰忋傪墴偡丄偲尵偆堄枴丅
[Command]
name = "jump"    
command = ~D,$U
time = 10

;仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸慜旔偗
;慜傪墴偟側偑傜俙亄俛丄偲偄偆堄枴
[Command]
name = "away-f"    
command = /F,a+b
time = 10

;仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸慜旔偗
;屻傪墴偟側偑傜俙亄俛丄偲偄偆堄枴
[Command]
name = "away-b"    
command = /B,a+b
time = 10

;-| 俀夞墴偟媄 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

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

;-| 俀丒俁屄偺摨帪墴偟媄 |-----------------------------------------------
[Command]
name = "recovery"
command = a+b
time = 1

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

;-| 曽岦偲儃僞儞偱弌偡媄 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
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 = "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

;-| 墴偟偭傁側偟愝掕乮偄偠傜側偄乯-------------------------------------------------------
[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

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

[Command]
name = "holdy"
command = /$y
time = 1

; 壓偺婰弎伀偼愨懳偵徚偝側偄偱偔偩偝偄丅
[Statedef -1]

;挧敪
[State -1, Run Back]
type = ChangeState
value = 195
triggerall = Var(20) != 1
trigger1 = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;===========================================================================
;偙偙偐傜挻昁嶦媄
;---------------------------------------------------------------------------
;嶰楏僇儞僼乕撍偒庤乮僎乕僕儗儀儖侾乯
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = command = "QCF_ab"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact

;---------------------------------------------------------------------------
;攅墹隳欋対
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3100
triggerall = command = "ohaousyokouken1"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact

;===========================================================================
;偙偙偐傜昁嶦媄
;---------------------------------------------------------------------------
;棾崠嶦
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1300
triggerall = command = "棾崠嶦"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;墖岇梫惪乮嫮乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1210
triggerall = command = "QCB_c"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;墖岇梫惪乮cyu乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1205
triggerall = command = "QCB_b"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;墖岇梫惪乮庛乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1200
triggerall = command = "QCB_a"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

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

;徃棾乮嫮乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1110
triggerall = command = "徃棾c"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;徃棾乮cyu乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1105
triggerall = command = "徃棾b"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;徃棾乮庛乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1100
triggerall = command = "徃棾a"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact


;---------------------------------------------------------------------------
;僇儞僼乕撍偒庤乮嫮乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1010
triggerall = command = "QCF_c"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;僇儞僼乕撍偒庤乮cyu乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1005
triggerall = command = "QCF_b"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------

;僇儞僼乕撍偒庤乮庛乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = command = "QCF_a"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;===========================================================================
;嬻拞僇儞僼乕撍偒庤乮嫮乯
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1005
triggerall = command = "QCF_y"
triggerall = Var(20) != 1
trigger1 = statetype != S
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

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

;嬻拞僇儞僼乕撍偒庤乮庛乯
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = command = "QCF_x"
triggerall = Var(20) != 1
trigger1 = statetype != S
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

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

;---------------------------------------------------------------------------
;僟僢僔儏
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = Var(20) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl


;嬻僟僢僔儏
[State -1, Run Fwd]
type = ChangeState
value = 103
triggerall = Var(20) != 1
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = Var(20) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl




;===========================================================================
;---------------------------------------------------------------------------
;挧敪 搳偘偡偐傝偺戙傢傝
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;傾乕儅乕夝彍
[State -1, Taunt]
type = null;ChangeState
value = 6002
triggerall = command = "z"
triggerall = Var(20) = 0
trigger1 = var(25) = 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;傾乕儅乕
[State -1, Taunt]
type = null;ChangeState
value = 6001
triggerall = command = "z"
triggerall = Var(20) = 0
trigger1 = var(25) = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;搳偘
[State -1, Stand Strong Punch]
type = ChangeState
value = 800
triggerall = command = "搳偘"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;偟傖偑傒庛僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;偟傖偑傒庛僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;偟傖偑傒庛僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;棫偪庛僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 9
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;棫偪拞僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 9
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;棫偪嫮僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 9
trigger3 = (stateno = 230) && time > 6





;---------------------------------------------------------------------------
;嬻拞庛僷儞僠
[State -1, Jump Strong Kick]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;嬻拞cyu僷儞僠
[State -1, Jump Strong Kick]
type = ChangeState
value = 610
triggerall = command = "b"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;嬻拞kyo僷儞僠
[State -1, Jump Strong Kick]
type = ChangeState
value = 620
triggerall = command = "c"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl