[Command]
name = "AI1"
command = D,D,D,F,F,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI2"
command = D,D,D,F,F,U,a+b+c+x+y+z
time = 1

[Command]
name = "AI3"
command = D,D,D,F,F,UF,a+b+c+x+y+z
time = 1

[Command]
name = "AI4"
command = D,D,D,F,F,D,a+b+c+x+y+z
time = 1

[Command]
name = "AI5"
command = D,D,D,F,F,DF,a+b+c+x+y+z
time = 1

[Command]
name = "AI6"
command = D,D,D,F,F,B,a+b+c+x+y+z
time = 1

[Command]
name = "AI7"
command = D,D,D,F,F,DB,a+b+c+x+y+z
time = 1

[Command]
name = "AI8"
command = D,D,D,F,F,UB,a+b+c+x+y+z
time = 1

[Command]
name = "AI9"
command = D,D,D,F,U,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI10"
command = D,D,D,F,UF,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI11"
command = D,D,D,F,DF,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI12"
command = D,D,D,F,D,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI13"
command = D,D,D,F,DB,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI14"
command = D,D,D,F,B,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI15"
command = D,D,D,F,UB,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI16"
command = D,D,D,F,F,F,a+b+c+x+y,z
time = 1

[Command]
name = "AI17"
command = D,D,D,F,F,F,a+b+c+x,y,z
time = 1

[Command]
name = "AI18"
command = D,D,D,F,F,F,a+b+c,x,y,z
time = 1

[Command]
name = "AI19"
command = D,D,D,F,F,F,a+b,c,x,y,z
time = 1

[Command]
name = "AI20"
command = D,D,D,F,F,F,a,b,c,x,y,z
time = 1

[Command]
name = "AI21"
command = D,D,D,F,F,F,a+b+c,x+y+z
time = 1

[Command]
name = "AI22"
command = D,D,D,F,F,U,a+b,c+x+y+z
time = 1

[Command]
name = "AI23"
command = D,D,D,F,F,UF,a,b+c+x+y+z
time = 1

[Command]
name = "AI24"
command = D,D,D,F,F,U,a+b,c+x+y+z
time = 1

[Command]
name = "AI25"
command = D,D,D,F,F,DF,a,b,c+x+y+z
time = 1

[Command]
name = "AI26"
command = D,D,D,F,F,B,a+b,c+x,y+z
time = 1

[Command]
name = "AI27"
command = D,D,D,F,F,DB,a,b+c+x,y+z
time = 1

[Command]
name = "AI28"
command = D,D,D,F,F,UB,a,b+c+x+y,z
time = 1

[Command]
name = "AI29"
command = DF,D,D,F,U,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI30"
command = B,D,D,F,UF,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI31"
command = B,B,BD,F,DF,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI32"
command = D,F,F,F,D,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI33"
command = DF,D,DF,UF,DB,F,a+b+c+x+y+z
time = 1

[Command]
name = "AI34"
command = D,D,D,F,DB,DF,a+b+c+x+y+z
time = 1

[Command]
name = "AI35"
command = D,D,UF,DF,UB,UF,a+b+c+x+y+z
time = 1

[Command]
name = "AI36"
command = D,DF,DF,DF,DF,F,a+b+c+x+y,z
time = 1

[Command]
name = "AI37"
command = D,D,DB,UF,DF,UF,a+b+c+x,y,z
time = 1

[Command]
name = "AI38"
command = F,U,F,F,F,F,a,b+c,x,y,z
time = 1

[Command]
name = "AI39"
command = DF,UF,D,DF,U,F,a+b,c+x,y,z
time = 1

[Command]
name = "AI40"
command = D,D,D,D,F,D,a+b,c,x,y+z
time = 1

[Command]
name = "AI41"
command = D,D,D,F,F,F,a+b+c+x+y+z,a
time = 1

[Command]
name = "AI42"
command = D,D,D,F,F,U,a+b+c+x+y+z,b
time = 1

[Command]
name = "AI43"
command = D,D,D,F,F,UF,a+b+c+x+y+z,c
time = 1

[Command]
name = "AI44"
command = D,D,D,F,F,D,a+b+c+x+y+z,x
time = 1

[Command]
name = "AI45"
command = D,D,D,F,F,DF,a+b+c+x+y+z,y
time = 1

[Command]
name = "AI46"
command = D,D,D,F,F,B,a+b+c+x+y+z,z
time = 1

[Command]
name = "AI47"
command = D,D,D,F,F,DB,a+b+c+x+y+z,a+b
time = 1

[Command]
name = "AI48"
command = D,D,D,F,F,UB,a+b+c+x+y+z,a+c
time = 1

[Command]
name = "AI49"
command = D,D,D,F,U,F,a+b+c+x+y+z,b+c
time = 1

[Command]
name = "AI50"
command = D,D,D,F,UF,F,a+b+c+x+y+z,x+z
time = 1




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

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

;-| 昁嶦媄 |------------------------------------------------------
[Command]
name = "QCF_x"
command = ~D, DF, F, x

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

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

[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, Light Kung Fu Palm]
type = ChangeState
value = 10230
triggerall = command = "QCF_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 1070
trigger2 = statetime >= 15
trigger3 = stateno = 1000
trigger3 = statetime >= 30
;-----------------------------------
;埮偺椡偦偺俁
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 2220
triggerall = command = "QCB_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 1070
trigger2 = statetime >= 15
trigger3 = stateno = 1000
trigger3 = statetime >= 30
trigger4 = stateno = 10230
trigger4 = statetime >= 25

;--------------------------------------------------------------------------
;恄
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 10070
triggerall = power >= 3000
triggerall = command = "holddown"
triggerall = command = "b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
trigger3 = Stateno = 410
trigger3 = movecontact = 1
;--------------------------------------------------
;僟乕僋儊僥僆
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 2210
triggerall = power >= 1000
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
;===========================================================================
;僜僯僢僋儗僀償
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 10050
triggerall = power >= 1000
triggerall = command = "b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
trigger3 = Stateno = 410
trigger3 = movecontact = 1
;----------------------------------------
;巃傝崀傠偟丠
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1010
triggerall = command = "QCF_x"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 440
trigger2 = statetime >= 15
;-----------------------------------------------
;巃傝崀傠偟乮嬻拞
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1020
triggerall = command = "QCF_x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 640
trigger2 = statetime >= 15

;------------------------
;巃傝忋偘
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 640
triggerall = command = "QCB_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 410
trigger2 = statetime >= 15
trigger3 = stateno = 430
trigger3 = statetime >= 15
trigger4 = stateno = 440
trigger4 = statetime >= 15

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

;---------------------------------------------------------------------------
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;嬻拞慜僟僢僔儏
;晛捠偺僗僥乕僩丄偙偺拞偱偼堦斣娙扨側僗僥乕僩
;偨偩偟嬻拞僟僢僔儏傪楢懕偱偱偒側偄傛偆偵乽stateno ! = 2300乿偲偟偰偄傑偡
;徻嵶偼airdash.cns偱

;[State -1, airrun]
;type = ChangeState
;value = 2300
;trigger1 = command = "FF"
;triggerall = statetype = A
;trigger1 = ctrl
;trigger1 = stateno != 2300

;---------------------------------------------------------------------------
;僷儚乕棴傔
;怴偟偔乽holdx乿乽holdy乿偲偄偆僐儅儞僪傪嶌傝傑偡
;偁傢偣傞偲X偲Y傪摨帪偵墴偡偲偭偰偙偲偱偡丅
;僷儚乕偑俵俙倃側偺偵棴傔傞偺偼曄側偺偱僩儕僈乕偵power != 3000傪晅偗傑偡丅
;徻嵶偼power.cns偱

;[State -1, Run Back]
;type = ChangeState
;value = 2000
;triggerall = power != 3000
;trigger1 = command = "holdx"
;trigger1 = command = "holdy"
;trigger1 = statetype = S
;trigger1 = ctrl

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

;嬻拞庛僷儞僠
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 630
trigger2 = statetime >= 7

;---------------------------------------------------------------------------
;嬻拞庛僉僢僋
[State -1, Jump Light Kick]
type = ChangeState
value = 610
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;僟僢僔儏僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 1052
triggerall = stateno = 100
triggerall =  command = "x"
trigger1 = statetype = S
trigger1 = ctrl

;僟僢僔儏僉僢僋
[State -1, Stand Strong Punch]
type = ChangeState
value = 1060
triggerall = stateno = 100
triggerall =  command = "a"
trigger1 = statetype = S
trigger1 = ctrl
;--------------------------
;偟傖偑傒偐傜巃傝忋偘
[State -1, Crouching Light Punch]
type = ChangeState
value = 440
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 430
trigger2 = statetime >= 15

;埮偺椡侾
[State -1,aaa]
type = ChangeState
value = 1000
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 210
trigger2 = statetime >= 15
trigger3 = stateno = 430
trigger3 = statetime >= 20
trigger4 = stateno = 1070
trigger4 = statetime >= 15
;---------------------------------------------------------------------------
;棫偪庛僷儞僠
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;棫偪嫮僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = stateno = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = time >= 30

;棫偪嫮僷儞僠2
[State -1, Stand Strong Punch 2]
type = ChangeState
value = 230
triggerall = stateno = 210
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = time >= 25
trigger2 = stateno = 410
trigger2 = statetime >= 30

;----------------------------------------
;---------------------------------------------------------------------------
;棫偪庛僉僢僋
[State -1, Stand Light Punch]
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 210
trigger2 = statetime >= 28

;棫偪嫮僉僢僋
[State -1, Stand Strong Punch]
type = ChangeState
value = 430
triggerall = stateno = 240
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = time >= 30

;棫偪嫮僉僢僋2
[State -1, Stand Strong Punch]
type = ChangeState
value = 410
triggerall = stateno = 430
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = time >= 25


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



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

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


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

