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


;


;-| 挻昁嶦媄 |--------------------------------------------------------
;偙偙偵偼挻昁嶦媄傪婰弎偟偰偔偩偝偄丄摨偠柤慜傪乽name =乿棑偵彂偗傑偡偑
;僐儅儞僪偼愨懳偵堘偭偨傕偺偵偟偰偔偩偝偄丅
;僇儞僼乕儅儞偼庛僷儞僠偲嫮僷儞僠偱媄偑弌偣傞傛偆偵摨偠柤慜偺僐儅儞僪偱
;撪梕偑庛偲嫮偵側偭偰偄傑偡丅
;乽time=20乿偲彂偔偙偲偱乽僐儅儞僪傪20僼儗乕儉埲撪偵擖椡乿偲愝掕偱偒傑偡丅


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

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

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

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

;-| 昁嶦媄 |------------------------------------------------------
[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, DF, F, a

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

[Command]
name = "FF_ab"
command = F, F, a+b

[Command]
name = "FF_a"
command = F, F, a

[Command]
name = "FF_b"
command = F, F, b

;仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸僴僀僕儍儞僾僐儅儞僪
;壓傪偪傚偭偲墴偟偰忋傪墴偡丄偲尵偆堄枴丅
[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 = x+y
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, Triple Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = command = "TripleKFPalm"
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 = 2000
triggerall = command = "ohaousyokouken2"
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 = 2020
triggerall = command = "ohaousyokouken"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact

;===========================================================================

;---------------------------------------------------------------------------
;懍偄僇儞僼乕撍偒庤乮僎乕僕儗儀儖侾乛俁乯
[State -1, Fast Kung Fu Palm]
type = ChangeState
value = 1020
triggerall = command = "QCF_xy"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

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

;僇儞僼乕撍偒庤乮嫮乯
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1015
triggerall = command = "QCF_y"
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_x"
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 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 = ChangeState
value = 6002
triggerall = command = "z"
triggerall = Var(20) != 1
trigger1 = var(25) = 1
trigger1 = statetype != A
trigger1 = ctrl

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


;---------------------------------------------------------------------------
;棫偪庛僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 200
triggerall = command = "x"
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 = "y"
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 = "x"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && time > 8
trigger2 = movecontact


;---------------------------------------------------------------------------
;嬻拞嫮僷儞僠
[State -1, Jump Strong Kick]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && time > 8
trigger2 = movecontact

