
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0

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

[Command]
name = "TripleKFPalm"
command = ~D, DF, F, D, DF, F, x
time = 20

[Command]
name = "236236y"
command = ~D, DF, F, D, DF, F, y
time = 20

[Command] 
name = "214214x"
command = ~D, DB, B, D, DB, B, x
time = 20

[Command] 
name = "214214y"
command = ~D, DB, B, D, DB, B, y
time = 20

[Command]
name = "236236b"
command = ~D, DF, F, D, DF, F, b
time = 20

[Command] 
name = "214214b"
command = ~D, DB, B, D, DB, B, b
time = 20

[Command]
name = "236236a"
command = ~D, DF, F, D, DF, F, a
time = 20

[Command]
name = "236236c"
command = ~D, DF, F, D, DF, F, c
time = 20

[Command] 
name = "22c"
command = ~D, D ,c;
time = 8

[Command]
name = "AI妋擣"
command = ~D,c
time = 10

;-| 昁嶦媄 |------------------------------------------------------
[Command]
name = "426a"
command = ~B, D, F, a
time = 15

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

[Command]
name = "236a"
command = D,DF,F,a
time = 16

[Command]
name = "236b"
command = D,DF,F,b
time = 16

[Command]
name = "236c"
command = D,DF,F,c
time = 16

[Command]
name = "236y"
command = D,DF,F,y
time = 16

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

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

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

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

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

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

[Command]
name = "214c"
command = ~D, DB, B, c
time = 15

[Command]
name = "214x"
command = D, DB, B, x

[Command]
name = "214y"
command = D, DB, B, y

[Command]
name = "DD_x"
command = D, D, x

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

[Command]
name = "holdc"
command = /c
time = 1

[command]
name="fwd"
command=F
time=1
[command]
name="back"
command=B
time=1
[command]
name="up"
command=U
time=1
[command]
name="down"
command=D
time=1

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

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

;仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸仸慜旔偗
;屻傪墴偟側偑傜俙亄俛丄偲偄偆堄枴
[Command]
name = "away-b"    
command = /B,x+a
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 = "yb"
command = b+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]
;-----------------------------------------------------------------
;                         Player     Command
;-----------------------------------------------------------------
[State -1]
type = ChangeState
value = 3030
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236236c"
triggerall = power >= 5000
triggerall = life<=300
Triggerall = Var(13)<=0
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1,FLAM]
type = ChangeState
value = 3060
triggerall = !var(59)
triggerall = statetype!=A
triggerall = command = "632146c"
trigger1 = power >= 3000
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 3000
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = power >= 3000
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = power >= 3000+(var(55)>0)*500
trigger4 = stateno = 1800
trigger5 = power>=3000+(var(55)>0)*500
trigger5 = stateno = 1061

[State -1,FLAM]
type = ChangeState
value = 3050
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "22c"
trigger1 = power >= 3000
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 3000
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = power >= 3000
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = power >= 3000+(var(55)>0)*500
trigger4 = stateno = 1800
trigger5 = power >= 3000+(var(55)>0)*500
trigger5 = stateno = 1030 && movecontact
trigger6 = power >= 3000+(var(55)>0)*500
trigger6 = stateno = 6060
trigger7 = power >= 3000+(var(55)>0)*500
trigger7 = stateno = 2000

[State -1,FLAM]
type = ChangeState
value = 2000
triggerall = var(59)=0
triggerall = command = "236236b"
trigger1 = power >= 1500
trigger1 = (statetype = s)
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 1500
trigger2 = stateno = 215 && movecontact
trigger3 = power >= 1500
trigger3 = stateno = 200 && movecontact
trigger4 = power >= 1500
trigger4 = stateno = 210 && movecontact
trigger5 = power >= 1500
trigger5 = stateno = 225 && movecontact
trigger6 = power >= 1500
trigger6 = stateno = 222 && movecontact
trigger7 = power >= 1500
trigger7 = stateno = 300 && movecontact
trigger8 = power >= 1500
trigger8 = stateno = 310 && movecontact
trigger9 = power >= 1500
trigger9 = stateno = 320 && movecontact
trigger10 = power >= 1500+(var(55)>0)*500
trigger10 = stateno = 1080 && movecontact
trigger11 = power >= 1500+(var(55)>0)*500
trigger11 = stateno = 1800
trigger12 = power >= 1500+(var(55)>0)*500
trigger12 = stateno = 6060
trigger13 = power >= 1500+(var(55)>0)*500
trigger13 = stateno = 6065
trigger14 = power >= 1500
trigger14 = (palno=12&&(Stateno=[150,153]))

[State -1,FLAM]
type = ChangeState
value = 2100
triggerall = var(59)=0
triggerall = command = "214214b"
trigger1 = power >= 1500
trigger1 = (statetype = s)
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 1500
trigger2 = stateno = 215 && movecontact
trigger3 = power >= 1500
trigger3 = stateno = 200 && movecontact
trigger4 = power >= 1500
trigger4 = stateno = 210 && movecontact
trigger5 = power >= 1500
trigger5 = stateno = 225 && movecontact
trigger6 = power >= 1500
trigger6 = stateno = 222 && movecontact
trigger7 = power >= 1500
trigger7 = stateno = 300 && movecontact
trigger8 = power >= 1500
trigger8 = stateno = 310 && movecontact
trigger9 = power >= 1500
trigger9 = stateno = 320 && movecontact
trigger10 = power >= 1500+(var(55)>0)*500
trigger10 = stateno = 1800
trigger11 = power >= 1500+(var(55)>0)*500
trigger11 = stateno = 6060
trigger12 = power >= 1500
trigger12 = palno=12&&(Stateno=[150,153])

[State -1]
type = ChangeState
value = 6060
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236236y"
triggerall = power >= 1000
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = stateno = 1000
trigger4 = time >= 12
trigger5 = stateno = 1030
trigger5 = movecontact
trigger5 = power >= 1000+(var(55)>0)*500
trigger6 = power >= 1000+(var(55)>0)*500
trigger6 = stateno = 1800

[State -1]
type = ChangeState
value = 3000
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214214y"
Triggerall = Var(13) <= 0
trigger1 = power >= 3000
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 3000+(var(55)>0)*500
trigger2 = stateno = 1031
trigger2 = movecontact
trigger3 = power >= 3000+(var(55)>0)*500
trigger3 = stateno = 1030
trigger3 = movecontact
trigger4 = power >= 3000+(var(55)>0)*500
trigger4 = Stateno=1800
trigger4 = movecontact
;trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 6065
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214214x"
trigger1 = power >= 2000
trigger1 = ctrl||(palno=12&&(Stateno=[150,153]))
trigger2 = power >= 2000
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = power >= 2000
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = stateno = 1030
trigger4 = movecontact
trigger4 = power >= 2000+(var(55)>0)*500
trigger5 = stateno = 6060
Trigger5 = time >= 45
Trigger5 = time <= 60
trigger5 = power >= 2000+(var(55)>0)*500
trigger6 = stateno = 3022
Trigger6 = time >= 8
Trigger6 = time <= 28
trigger6 = power >= 2000+(var(55)>0)*500
trigger7 = power >= 2000+(var(55)>0)*500
trigger7 = stateno = 1800 && movecontact
trigger8 = power >= 2000+(var(55)>0)*500
trigger8 = stateno = 2000


;===========================================================================
;--------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3020
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236236a"
trigger1 = power >= 2000
trigger1 = ctrl

[State -1]
type = ChangeState
value = 3010
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "TripleKFPalm"
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = stateno = 1000
trigger4 = time >= 12
trigger4 = power >= 1000+(var(55)>0)*500
trigger5 = stateno = 1061
trigger5 = time = [8,25]
trigger5 = power >= 1000+(var(55)>0)*500
trigger6 = power >= 1000+(var(55)>0)*500
trigger6 = stateno = 1800 && movecontact

[State -1]
type = ChangeState
value = 3015
TriggerAll = var(59)=0
triggerall = statetype = A
triggerall = command = "TripleKFPalm"
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 1078
trigger2 = anim = 4552
trigger2 = power >= 1000+(var(55)>0)*500
trigger2 = var(25) = 1
trigger3 = stateno = 1005
trigger3 = time >= 10
trigger3 = power >= 1000+(var(55)>0)*500
trigger4 = stateno = 3011
trigger4 = time >= 16
trigger4 = time <= 44
trigger4 = prevstateno = 3010
trigger4 = power >= 1000+(var(55)>0)*500


[State -1]
type = ChangeState
value = 1031
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "623a"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1030
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "623b"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1,FLAM]
type = ChangeState
value = 1070
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214a"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1,FLAM]
type = ChangeState
value = 1075
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214b"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1,FLAM]
type = ChangeState
value = 1800
triggerall = var(59)=0
triggerall = command = "214c" 
trigger1 = (statetype = s) && ctrl
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = palNo=12
trigger4 = stateno=1800&&time>=0;Special
trigger5 = var(13) > 0
trigger5 = Stateno = 1000

[State -1]
type = ChangeState
value = 1050
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236a"
triggerall = numprojid(4600) = 0
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1052
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236b"
triggerall = numprojid(4600) = 0
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1,FLAM]
type = ChangeState
value = 1500
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236c"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1010;6050
TriggerAll = var(59)=0
triggerall = command = "236y"
triggerall = statetype != A
triggerall = numhelper(1013) = 0
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = null;ChangeState
value = 1015
TriggerAll = var(59)=0
triggerall = command = "236y"
triggerall = stateno !=[100,105]
trigger1 = statetype = A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1000;6080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236x"; || (var(5) != 0) 
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
trigger4 = var(13) > 0
trigger4 = Stateno = 1800 && MoveContact

[State -1]
type = ChangeState
value = 1005
TriggerAll = var(59)=0
triggerall = statetype = A
triggerall = command = "236x"
triggerall = stateno !=[100,105]
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact) || ((stateno = [400,420]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300 || stateno = 400) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1063
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214x"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1060
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214y"
trigger1 = ctrl
trigger2 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 1080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "DD_x"
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl

[State -1, Throw]
type = ChangeState
value = 600
TriggerAll = var(59)=0
triggerall = command = "y" || command = "b"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = p2bodydist X < 20
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl

;6B
[State -1]
type = ChangeState
value = 205
TriggerAll = var(59)=0
triggerall = (var(13)<=0&&var(27)=0)||var(13)>0
triggerall = statetype != A
triggerall = command = "b" && command != "holddown" && command = "holdfwd"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = var(13) > 0
trigger4 = Stateno=1000||(Stateno=1800&&MoveContact)

;6B
[State -1]
type = ChangeState
value = 215
TriggerAll = var(59)=0
triggerall = (var(13)<=0&&var(20)=0)||var(13)>0
triggerall = statetype != A
triggerall = command = "a" && command != "holddown" && command = "holdfwd"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = var(13) > 0
trigger4 = Stateno=1000||(Stateno=1800&&MoveContact)

[State -1]
type = ChangeState
value = 200
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "a" && command != "holddown"
trigger1 = ctrl 
trigger2 = (stateno = 200) && (movecontact || animelemtime(3) > 2)
trigger3 = (stateno = 300) && (movecontact || animelemtime(3) > 2)


;===========================================================================
;--------------------------------------------------------------------------

;===========================================================================
;---------------------------------------------------------------------------
;5B
[State -1]
type = ChangeState
value = 210
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "b" && command != "holddown"
trigger1 = ctrl  
trigger2 = ((stateno = [200,210]) && movecontact) || ((stateno = 300) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

;===========================================================================
;---------------------------------------------------------------------------
;6C
[State -1]
type = ChangeState
value = 225
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "y" && command != "holddown" && command = "holdfwd"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)


;===========================================================================
;---------------------------------------------------------------------------
;5C
[State -1]
type = ChangeState
value = 222
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "y" && command != "holddown"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

;===========================================================================
;---------------------------------------------------------------------------
;2A
[State -1]
type = ChangeState
value = 300
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "a" && command = "holddown"
trigger1 = ctrl  
trigger2 = (stateno = 200) && (movecontact || animelemtime(3) > 2)
trigger3 = (stateno = 300) && (movecontact || animelemtime(3) > 2)

;===========================================================================
;---------------------------------------------------------------------------
;2B
[State -1]
type = ChangeState
value = 310
TriggerAll = var(59)=0
triggerall = (var(13)<=0&&var(21)=0)||var(13)>0
triggerall = statetype != A
triggerall = command = "b" && command = "holddown"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger4 = var(13) > 0
trigger4 = Stateno=1000||(Stateno=1800&&MoveContact)

;===========================================================================
;---------------------------------------------------------------------------
;2C
[State -1]
type = ChangeState
value = 320
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "y" && command = "holddown"
trigger1 = ctrl
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1, Jump Light Punch]
type = ChangeState
value = 400
TriggerAll = var(59)=0
triggerall = command = "a" || command = "b"
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl

;===========================================================================
;---------------------------------------------------------------------------
;僟僢僔儏
[State -1,Dash]
type = ChangeState
value = 102
TriggerAll = var(59)=0
triggerall = var(50)>0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;FrontStep
[State -1, Run Fwd]
type = ChangeState
value = 100
TriggerAll = var(59)=0
triggerall = var(50)=0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

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

[State -1 ]
type = ChangeState
value = 2200
TriggerAll = var(59)=0
triggerall = (command = "c" || command = "yb")
triggerall = NumEnemy >= 1
trigger1 = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 150 || stateno = 152) && power >= 1000

[State -1
type = ChangeState
value = 5201
TriggerAll = var(59)=0
triggerall = (command = "z" || command = "recovery")
triggerall = alive = 1
trigger1 = stateno = 5050
trigger1 = pos y > -40

;慜旔偗
;偲偰傕娙扨側僗僥乕僩偱偡丅
;偙偙偱傗偭偰傞摿庩側偙偲偼乽岠棪壔乿偱偡丅
;徻嵶偼away.cns偱

[State -1, 僋僀僢僋嬞媫夞旔]
type = ChangeState
value = 705
ignorehitpause = 1
triggerall = !var(59)
triggerall = RoundState = 2
triggerall = StateType != A
triggerall = (command = "z" || command = "away-f")
triggerall = Power >= 1000
trigger1 = (StateNo = [200,400]) && MoveContact

[State -1]
type = ChangeState
value = 700
TriggerAll = var(59)=0
triggerall = (command = "z" || command = "away-f")
triggerall = command != "holdback"
trigger1 = ctrl
trigger1 = statetype != A
trigger2 = stateno = [150,151]
trigger2 = power >= 1000
trigger3 = stateno = [152,153]
trigger3 = power >= 1000

[State -1]
type = ChangeState
value = 702
TriggerAll = var(59)=0
triggerall = (command = "z" || command = "away-f")
triggerall = command = "holdback"
trigger1 = ctrl
trigger1 = statetype != A
trigger2 = (stateno = 150 || stateno = 152) && power >= 1000
