;-| 儃僞儞攝抲 |----------------------------------------------------------------
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| Default Values |-----------------------------------------------------------
[Defaults]
command.time = 18
command.buffer.time = 1

;-| AI |-----------------------------------------------------------------------

[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

;-----------------------------------------------------------------------------
;-| 僋儕僥傿僇儖僴乕僩 |-----------------------------------------------------------

;廔傢傝傪崘偘傞儔僗僗僞償傽乕僯傿
[Command]
name = "剛刾剎則剈剕剈剘剏剈"
command = ~F, D, B, a+b
time = 30

;廔傢傝傪崘偘傞儔僗僗僞償傽乕僯傿
[Command];娙堈斉
name = "剛刾剎則剈剕剈剘剏剈"
command = ~z

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

;愴壩偵嬁偔僞儖僠僆乕僋
[Command]
name = "剟剙剕剦剙剓"
command = D, DB, B, a+b

;僞儗傾僪乕儖偼搢傟側偄
[Command]
name = "剟剙剛剈刾則剙剛"
command = D, DF, F, a+b

;僄儕僟儔乕僟偼墦夁偓偰
[Command]
name = "刕剕剮則剙剛刾則剙"
command = B, D, DB, a+b
time = 20

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

;杋偊傞崟偒僂儔僈乕儞
[Command]
name="A-剠剛刾剆刾剘"
command=~40$B,F,a
[Command]
name="B-剠剛刾剆刾剘"
command=~40$B,F,b
[Command]
name="C-剠剛刾剆刾剘"
command=~40$B,F,c

[Command];娙堈斉
name="A-剠剛刾剆刾剘"
command=~B,F,a 
time = 10
[Command];娙堈斉
name="B-剠剛刾剆刾剘"
command=~B,F,b
time = 10
[Command];娙堈斉
name="C-剠剛刾剆刾剘"
command=~B,F,c ;娙堈斉
time = 10

;栆傞埫偒僞儖僫乕僟
[Command]
name="A-剟剙剛剘刾則剙"
command= ~40$D,$U,a
[Command]
name="B-剟剙剛剘刾則剙"
command= ~40$D,$U,b
[Command]
name="C-剟剙剛剘刾則剙"
command= ~40$D,$U,c

[Command];娙堈斉
name="A-剟剙剛剘刾則剙"
command= D, D, a
[Command];娙堈斉
name="B-剟剙剛剘刾則剙"
command= D, D, b
[Command];娙堈斉
name="C-剟剙剛剘刾則剙"
command= D, D, c

;嬥怓偺僀僨傿僫儘乕僋
[Command]
name = "剈則剏剘剙剛剙剆"
command = D, DB, B, a
[Command]
name = "剈則剏剘剙剛剙剆"
command = D, DB, B, b
[Command]
name = "剈則剏剘剙剛剙剆"
command = D, DB, B, c

;嬥怓偺僀僨傿僫儘乕僋(懳嬻丒嬻拞斉)
[Command]
name = "air-剈則剏剘剙剛剙剆"
command = F, D, DF, a
[Command]
name = "air-剈則剏剘剙剛剙剆"
command = F, D, DF, b
[Command]
name = "air-剈則剏剘剙剛剙剆"
command = F, D, DF, c

;惇偔偼償傿乕儖僸
[Command]
name = "A-剅剏剣剛剮"
command = D, DF, F, a
[Command]
name = "B-剅剏剣剛剮"
command = D, DF, F, b
[Command]
name = "C-剅剏剣剛剮"
command = D, DF, F, c

;-----------------------------------------------------------------------------
;-| 摿庩摦嶌 |----------------------------------------------------------------

[Command]
name = "jump"    
command = D, $U
time = 12

[Command]
name = "counter"
command = ~B, D, DB, a
time = 15
[Command]
name = "counter"
command = ~B, D, DB, b
time = 15
[Command]
name = "counter"
command = ~B, D, DB, c
time = 15
[Command]
name = "counter"
command = ~B, D, DB, z
time = 15

;-----------------------------------------------------------------------------
;-| 僉乕俀夞楢懕擖椡 |----------------------------------------------------------
[Command]
name = "FF"     ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = F, F
time = 10

[Command]
name = "BB"     ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = B, B
time = 10

;-----------------------------------------------------------------------------
;-| 摨帪墴偟 |------------------------------------------------------------------
[Command]
name = "recovery"   ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = a+c
time = 1

[Command]
name = "recovery"   ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = z
time = 1

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

[Command]
name = "charge"
command = a+z
time = 1

[Command]
name = "extend"
command = c+z
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 = "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 = "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

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

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

[Command]
name = "holdz"
command = /$z
time = 1

;------------------------------------------------------------------------------
;-| 儃僞儞墴偟偭傁側偟 |-----------------------------------------------------------

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

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

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

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

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

[Command]
name = "holdz"
command = /$z
time = 1

;------------------------------------------------------------------------------
;-| 曽岦僉乕扨敪 |--------------------------------------------------------------

[Command]
name="rlsfwd"
command=~$F
time=1
[Command]
name="rlsback"
command=~$B
time=1
[Command]
name="rlsup"
command=~$U
time=1
[Command]
name="rlsdown"
command=~$D
time=1

;------------------------------------------------------------------------------
[Statedef -1]
;------------------------------------------------------------------------------
;======================================================
; 挻昁嶦媄
;======================================================
;------------------------------------------------------------------------------

[State -1, 剟剙剛剈刾則剙剛];僞儗傾僪乕儖偼搢傟側偄
type = ChangeState
value = 2200
triggerall= var(59)<=0 && var(20) >= 1 && fvar(31) <= 25
triggerall = command = "剟剙剛剈刾則剙剛"
triggerall= statetype!=A && power >= 1000
trigger1= ctrl
trigger2= movecontact

[State -1, 剟剙剛剈刾則剙剛];僞儗傾僪乕儖偼搢傟側偄
type = ChangeState
value = 2200
triggerall= var(59)<=0 && var(20) <= 0
triggerall = command = "剟剙剛剈刾則剙剛"
triggerall= statetype!=A && power >= 1000
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= (stateno=1000 || stateno=1010 || stateno=1020) && movecontact
trigger5= (stateno=1100 || stateno=1110 || stateno=1120) && movecontact
trigger6= (stateno=1400 || stateno=1410 || stateno=1420) && movecontact

[State -1, 剟剙剕剦剙剓];愴壩偵嬁偔僞儖僠僆乕僋
type = ChangeState
value = 2100
triggerall= var(59)<=0 && var(20) >= 1 && fvar(31) <= 25
triggerall = command = "剟剙剕剦剙剓"
triggerall= statetype=A && power >= 1000
trigger1= ctrl
trigger2= movecontact

[State -1, 剟剙剕剦剙剓];愴壩偵嬁偔僞儖僠僆乕僋
type = ChangeState
value = 2100
triggerall= var(59)<=0 && var(20) <= 0
triggerall = command = "剟剙剕剦剙剓"
triggerall= statetype=A && power >= 1000
trigger1= ctrl
trigger2= (stateno=400 || stateno=410 || stateno=415 || stateno=420) && movecontact
trigger4= (stateno=1221 || stateno=1222  || stateno=1223) && movecontact

[State -1, 刕剕剮則剙剛刾則剙];僄儕僟儔乕僟偼墦夁偓偰
type = ChangeState
value = 2000
triggerall= var(59)<=0 && var(20) <= 0
triggerall= fvar(31) < 100
triggerall = command = "刕剕剮則剙剛刾則剙"
triggerall= statetype!=A && power >= 1000
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact

;======================================================
; 昁嶦媄
;======================================================

[State -1, C-剠剛刾剆刾剘];嫮欋偊傞崟偒僂儔僈乕儞
type = ChangeState
value = 1020
triggerall= var(59)<=0
triggerall = command = "C-剠剛刾剆刾剘"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=215 || stateno=220) && movecontact
trigger3= (stateno=1400 || stateno=1410) && movecontact
trigger4= (stateno=300 || stateno=310) && movecontact
trigger5= var(20) && movecontact && animelemtime(9) <= 0

[State -1, B-剠剛刾剆刾剘];拞欋偊傞崟偒僂儔僈乕儞
type = ChangeState
value = 1010
triggerall= var(59)<=0
triggerall = command = "B-剠剛刾剆刾剘"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=215 || stateno=220) && movecontact
trigger3= (stateno=300 || stateno=310) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact
trigger5= var(20) && movecontact && animelemtime(7) <= 0

[State -1, A-剠剛刾剆刾剘];庛欋偊傞崟偒僂儔僈乕儞
type = ChangeState
value = 1000
triggerall= var(59)<=0
triggerall = command = "A-剠剛刾剆刾剘"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=215 || stateno=220) && movecontact
trigger3= (stateno=300 || stateno=310) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact
trigger5= var(20) && movecontact && animelemtime(6) <= 0

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

[State -1, C-剟剙剛剘刾則剙];嫮栆傞埫偒僞儖僫乕僟
type = ChangeState
value = 1120
triggerall= var(59)<=0
triggerall = command = "C-剟剙剛剘刾則剙"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact
trigger5= var(20) && movecontact && animelemtime(9) <= 0

[State -1, B-剟剙剛剘刾則剙];拞栆傞埫偒僞儖僫乕僟
type = ChangeState
value = 1110
triggerall= var(59)<=0
triggerall = command = "B-剟剙剛剘刾則剙"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact
trigger5= var(20) && movecontact && animelemtime(6) <= 0

[State -1, A-剟剙剛剘刾則剙];庛栆傞埫偒僞儖僫乕僟
type = ChangeState
value = 1100
triggerall= var(59)<=0
triggerall = command = "A-剟剙剛剘刾則剙"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= (stateno=1400 || stateno=1410) && movecontact
trigger5= var(20) && movecontact && animelemtime(5) <= 0

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

[State -1, air-剈則剏剘剙剛剙剆];嬥怓偺僀僨傿僫儘乕僋(嬻拞)
type = ChangeState
value = 1220
triggerall= var(59)<=0
triggerall = command = "air-剈則剏剘剙剛剙剆"
triggerall= statetype=A
trigger1= ctrl
trigger2= (stateno=400 || stateno=410 || stateno=415 || stateno=420) && movecontact
trigger3= var(20) && movecontact && animelemtime(4) <= 0

[State -1, air-剈則剏剘剙剛剙剆];嬥怓偺僀僨傿僫儘乕僋(懳嬻)
type = ChangeState
value = 1210
triggerall= var(59)<=0
triggerall = command = "air-剈則剏剘剙剛剙剆"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact

[State -1, air-剈則剏剘剙剛剙剆];嬥怓偺僀僨傿僫儘乕僋(懳嬻丒僞儖僫乕僟攈惗)
type = ChangeState
value = 1211
triggerall= var(59)<=0
triggerall = command = "air-剈則剏剘剙剛剙剆"
triggerall= statetype!=A
trigger1= (stateno=1100 || stateno=1110) && movehit
trigger2= stateno=1120 && movehit
trigger3= var(20) && movecontact && animelemtime(5) <= 0

[State -1, 剈則剏剘剙剛剙剆];嬥怓偺僀僨傿僫儘乕僋
type = ChangeState
value = 1200
triggerall= var(59)<=0
triggerall = command = "剈則剏剘剙剛剙剆"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact

[State -1, 剈則剏剘剙剛剙剆];嬥怓偺僀僨傿僫儘乕僋(僂儔僈乕儞攈惗)
type = ChangeState
value = 1201
triggerall= var(59)<=0
triggerall = command = "剈則剏剘剙剛剙剆"
triggerall= statetype!=A
trigger1= (stateno=1000 || stateno=1010) && movehit
trigger2= stateno = 1020 && time =[22,29]
trigger3= stateno = 1020 && movehit
trigger4= var(20) && movecontact && animelemtime(5) <= 0

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

[State -1, A-剅剏剣剛剮];嫮惇偔偼償傿乕儖僸
type = ChangeState
value = 1320
triggerall= var(59)<=0
triggerall = command = "C-剅剏剣剛剮"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= var(20) && movecontact

[State -1, B-剅剏剣剛剮];拞惇偔偼償傿乕儖僸
type = ChangeState
value = 1310
triggerall= var(59)<=0
triggerall = command = "B-剅剏剣剛剮"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= var(20) && movecontact

[State -1, A-剅剏剣剛剮];庛惇偔偼償傿乕儖僸
type = ChangeState
value = 1300
triggerall= var(59)<=0
triggerall = command = "A-剅剏剣剛剮"
triggerall= statetype!=A
trigger1= ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && movecontact
trigger3= (stateno=215 || stateno=220 || stateno=310 || stateno=320) && movecontact
trigger4= var(20) && movecontact

;=====================================================
; 摿庩峴摦
;=====================================================

;---------------------------------------------------------------------------
;庴恎
[State -1, UKEMI]
type = ChangeState
value = 52000
triggerall = var(59) <= 0
triggerall = command = "recovery"
triggerall = alive = 1
trigger1 = stateno = 5050
trigger1 = pos y > -30
trigger1 = vel y > 0 && vel y < 9

;---------------------------------------------------------------------------
; 嬞媫夞旔
[State -1, dodge]
type=changestate
value=750
trigger1= var(59)<=0
trigger1= stateno=150 || stateno=152
trigger1= command="recovery" || command="recovery"
trigger1= roundstate=2 && statetype!=A
trigger1= power>=1000

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

; 僄僋僗僥儞僪 嬻拞
[State -1, extend]
type = ChangeState
value = 745
triggerall = fvar(31) > 0
triggerall = command = "extend" && !var(20)
triggerall = statetype = A
triggerall = stateno != 100
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = movecontact

; 僄僋僗僥儞僪
[State -1, extend]
type = ChangeState
value = 740
triggerall = fvar(31) > 0
triggerall = command = "extend" && !var(20)
triggerall = statetype = S
triggerall = stateno != 100
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = movecontact

;---------------------------------------------------------------------------
; 僇僂儞僞乕
[State -1, Counter]
type=changestate
value=730
trigger1= var(59)<=0
trigger1= stateno=150 || stateno=152
trigger1= command="counter" || command="counter"
trigger1= roundstate=2 && statetype!=A
trigger1= power>=1000

;---------------------------------------------------------------------------
; 僠儍乕僕
[State -1, Charge]
type = ChangeState
value = 700
triggerall = command = "charge"
triggerall = statetype = S
triggerall = stateno != 100
triggerall = power < 3000
trigger1 = ctrl

;---------------------------------------------------------------------------
; 嬻拞搳偘
[State -1, Throw]
type = ChangeState
value = 530
triggerall = command = "throw"
triggerall = statetype = A
triggerall = stateno != 100
trigger1 = p2statetype = A && p2movetype != H
trigger1 = ctrl

;---------------------------------------------------------------------------
; 搳偘
[State -1, Throw]
type = ChangeState
value = 500
triggerall = command = "throw"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl

;---------------------------------------------------------------------------
; 僟僢僔儏慜
[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

;------------------------------------------------------------------------------
;挧敪
[State -1, Taunt]
type = ChangeState
value = 199
triggerall = var(59) <= 0
triggerall = command = "start"
triggerall = var(20) = 0
trigger1 = statetype != A
trigger1 = ctrl

;======================================================
; 捠忢媄
;======================================================

[State -1, SZ];棫偪傆偭偲偽偟
type = ChangeState
value = 230
triggerall = command = "z" && command != "holddown"
triggerall= var(59)<=0
triggerall= statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=210 || stateno=215) && time>=5
trigger3= (stateno=300 || stateno=310 || stateno=320) && movecontact
trigger4= var(20) && movecontact && stateno = [200,320]

[State -1, SC];棫偪嫮峌寕
type = ChangeState
value = 220
triggerall = command = "c" && command != "holddown"
triggerall= var(59)<=0
triggerall= statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=210 || stateno=300 || stateno=310) && time>=5
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, SB2];慜棫偪拞峌寕
type = ChangeState
value = 215
triggerall = command = "b" && command = "holdfwd"
triggerall= var(59)<=0
triggerall= statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=210 || stateno=300) && time>=6
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, SB];棫偪拞峌寕
type = ChangeState
value = 210
triggerall = command = "b" && command != "holddown"
triggerall= var(59)<=0
triggerall= statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=300) && time>=4
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, SA];棫偪庛峌寕
type = ChangeState
value = 200
triggerall = command = "a" && command != "holddown"
triggerall= var(59)<=0
triggerall= statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=300) && time>=7
trigger3= var(20) && movecontact && stateno = [200,320]

;----------------------------------------------------------------------------
[State -1, CZ];偟傖偑傒傆偭偲偽偟峌寕
type = ChangeState
value = 330
triggerall = var(59) <= 0
triggerall = command = "z" && command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2= (stateno=200 || stateno=300 || stateno=310) && time>=5
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, CC];偟傖偑傒嫮峌寕
type = ChangeState
value = 320
triggerall = var(59) <= 0
triggerall = command = "c" && command = "holddown"
triggerall = statetype!=A
trigger1 = ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300 || stateno=310) && time>=4
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, CB];偟傖偑傒拞峌寕
type = ChangeState
value = 310
triggerall = var(59) <= 0
triggerall = command = "b" && command = "holddown"
triggerall = statetype!=A
trigger1 = ctrl
trigger2= (stateno=200 || stateno=210 || stateno=300) && time>=4
trigger3= var(20) && movecontact && stateno = [200,320]

[State -1, CA];偟傖偑傒庛峌寕
type = ChangeState
value = 300
triggerall = var(59) <= 0
triggerall = command = "a" && command = "holddown"
triggerall = statetype!=A
trigger1= ctrl || (stateno=[110,111])
trigger2= (stateno=200 || stateno=300) && time>=7
trigger3= var(20) && movecontact && stateno = [200,320]

;----------------------------------------------------------------------------
[State -1, AZ];嬻拞傆偭偲偽偟峌寕
type = ChangeState
value = 430
triggerall = var(59) <= 0
triggerall = command = "z"
triggerall = statetype = A
trigger1 = ctrl
trigger2= (stateno=400 || stateno=410 ) && time>=5
trigger3= var(20) && movecontact && stateno = [400,420]

[State -1, AC];嬻拞嫮峌寕
type = ChangeState
value = 420
triggerall = var(59) <= 0
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl
trigger2= (stateno=400 || stateno=410 ) && time>=5
trigger3= var(20) && movecontact && stateno = [400,420]

[State -1, AB2];慜嬻拞拞峌寕
type = ChangeState
value = 415
triggerall = var(59) <= 0
triggerall = command = "b" && command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2= (stateno=400 || stateno=410 ) && time>=4
trigger3= var(20) && movecontact && stateno = [400,420]

[State -1, AB];嬻拞拞峌寕
type = ChangeState
value = 410
triggerall = var(59) <= 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2= stateno=400 && time>=4
trigger3= var(20) && movecontact && stateno = [400,420]

[State -1, AA];嬻拞庛峌寕
type = ChangeState
value = 400
triggerall = var(59) <= 0
triggerall = command = "a"
triggerall = statetype = A
trigger1= ctrl
trigger2= stateno=400 && time>=8 && time<=10
trigger3= var(20) && movecontact && stateno = [400,420]
