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

;-| Super Motions |---------------------------------------------------------
[command]
name = "new"
command = ~F,D,F,B,y+z
time = 30

[command]
name = "beam"
command = ~B,D,B,F,y+z
time = 30

;-| Special Motions |-------------------------------------------------------
[Command]
name = "jamp"
command = a+b+c
time = 1

[Command]
name = "yari"
command = ~D,B,F, x
time = 30

[Command]
name = "yari"
command = ~D,B,F, y
time = 30

[Command]
name = "yari"
command = ~D,B,F, z
time = 30

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

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

[command]
name = "guruguru"
command = ~D,DF,F,z
time = 20

;-| Double Tap |------------------------------------------------------------
[Command]
name = "BB"
command = B,B
time = 10

;-| 2/3 Button Combination |------------------------------------------------
[Command]
name = "recovery"
command = x+y
time = 1

;-| Single Button |---------------------------------------------------------
[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

;-| Hold Dir |--------------------------------------------------------------
[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

;---------------------------------------------------------------------------
[Statedef -1]
[State -1, AIフラグセット]
type = explod
triggerall = !ishelper && !numexplod(59)
triggerall = roundstate < 3
triggerall = stateno != 5500
trigger1 = Command = "AI0" || Command = "AI1" || Command = "AI2" || Command = "AI3" || Command = "AI4" || Command = "AI5" || Command = "AI6"
trigger2 = Command = "AI7" || Command = "AI8" || Command = "AI9" || Command = "AI10" || Command = "AI11" || Command = "AI12" || Command = "AI13"
trigger3 = Command = "AI14" || Command = "AI15" || Command = "AI16" || Command = "AI17" || Command = "AI18" || Command = "AI19"
trigger4 = Command = "AI20" || Command = "AI21" || Command = "AI22" || Command = "AI23" || Command = "AI24" || Command = "AI25"
trigger5 = Command = "AI26" || Command = "AI27" || Command = "AI28" || Command = "AI29" || Command = "AI30" || Command = "AI31"
trigger6 = Command = "AI32" || Command = "AI33" || Command = "AI34" || Command = "AI35" || Command = "AI36" || Command = "AI37"
trigger7 = Command = "AI38" || Command = "AI39" || Command = "AI40" || Command = "AI41" || Command = "AI42" || Command = "AI43"
trigger8 = Command = "AI44" || Command = "AI45" || Command = "AI46" || Command = "AI47" || Command = "AI48" || Command = "AI49"
trigger9 = Command = "AI50" || palno > 4
anim = 100
id = 59
removetime = -1
ignorehitpause = 1

[State -1, AIオフ]
type = removeexplod
trigger1 = !ishelper && numexplod(59)
trigger1 = roundstate > 2
id = 59
ignorehitpause = 1

[State -1, 追加技]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype != A
trigger1 = command = "new"
trigger1 = numexplod(123456789) = 2
trigger1 = power <= 3 || power >= 3000 || power = powermax
trigger1 = ctrl
value = 132

[State -1, 空烈眼刺驚]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype != A
trigger1 = command = "beam"
trigger1 = power <= 3 || power >= 3000 || power = powermax
trigger1 = ctrl
value = 154

[State -1, メキシカンムーンサルト]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype != A
trigger1 = command = "jamp"
trigger1 = ctrl
value = 153

[State -1, 髪の毛]
type = changestate
triggerall = !ishelper && !numexplod(59)
triggerall = statetype != A
triggerall = command = "yari"
trigger1 = ctrl
trigger2 = movecontact
trigger2 = (stateno = [200,260]) || stateno = [400,420]
value = 150

[State -1, ローリング]
type = changestate
triggerall = !ishelper && !numexplod(59)
triggerall = statetype != A
triggerall = command = "guruguru"
trigger1 = ctrl
trigger2 = movecontact
trigger2 = (stateno = [200,260]) || stateno = [400,420]
value = 151

[State -1, フェイント]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = A
trigger1 = command = "holddown"
trigger1 = command = "jamp"
trigger1 = ctrl
value = 630

[State -1, 後退ダッシュ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command = "BB"
trigger1 = ctrl
value = 105

[State -1, 空中投げ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = p2bodydist x = [35,100]
trigger1 = statetype = A
trigger1 = command = "holdfwd" || command = "holdback"
trigger1 = command = "z"
trigger1 = ctrl
value = 850

[State -1, 通常投げ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = p2bodydist x <= 18
trigger1 = statetype = S
trigger1 = command = "holdfwd" || command = "holdback"
trigger1 = command = "z"
trigger1 = ctrl
value = 800

[State -1, 特殊キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command = "holdfwd"
trigger1 = command = "c"
trigger1 = ctrl
value = 270

[State -1, 立ち弱パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = command = "x" || command = "y"
trigger1 = ctrl
value = 200+(p2bodydist x<=25)*20

[State -1, 立ち強パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = command = "z"
trigger1 = ctrl
value = 210+(p2bodydist x<=25)*20

[State -1, 立ち弱キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = command = "a"
trigger1 = ctrl
value = 240

[State -1, 立ち中キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = command = "b"
trigger1 = ctrl
value = 250+(p2bodydist x<=10)*5

[State -1, 立ち強キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = command = "c"
trigger1 = ctrl
value = 260

[State -1, しゃがみ弱パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command = "holddown"
trigger1 = command = "x"
trigger1 = ctrl
value = 400

[State -1, しゃがみ中パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command = "holddown"
trigger1 = command = "y"
trigger1 = ctrl
value = 405

[State -1, しゃがみ強パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command = "holddown"
trigger1 = command = "z"
trigger1 = ctrl
value = 410

[State -1, しゃがみ弱キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command = "holddown"
trigger1 = command = "a" || command = "b"
trigger1 = ctrl
value = 420

[State -1, しゃがみ強キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command = "holddown"
trigger1 = command = "c"
trigger1 = ctrl
value = 430

[State -1, ジャンプ弱パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = A
trigger1 = command = "x" || command = "y"
trigger1 = ctrl
value = 600

[State -1, ジャンプ強パンチ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = A
trigger1 = command = "z"
trigger1 = ctrl
value = 610

[State -1, ジャンプ弱キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = A
trigger1 = command = "a"
trigger1 = ctrl
value = 615

[State -1, ジャンプ強キック]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = A
trigger1 = command = "b" || command = "c"
trigger1 = ctrl
value = 620

[State -1, ジャンプ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command = "holdup"
trigger1 = ctrl
value = 40

[State -1, 立ち上がる]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = C
trigger1 = command != "holddown"
trigger1 = ctrl
value = 12

[State -1, しゃがむ]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command = "holddown"
trigger1 = ctrl
value = 10

[State -1, 歩き]
type = changestate
trigger1 = !ishelper && !numexplod(59)
trigger1 = statetype = S
trigger1 = command = "holdfwd" || command = "holdback"
trigger1 = ctrl
value = 20

[State -1, 追加技]
type = changestate
trigger1 = !ishelper && numexplod(59)
trigger1 = statetype != A
trigger1 = ifelse(palno<12,numexplod(123456789)=2,numexplod(123456789)=4)
trigger1 = power <= 3 || power >= 3000 || power = powermax
trigger1 = random < 50
trigger1 = ctrl
value = 132

[State -1, 空烈眼刺驚]
type = changestate
triggerall = statetype != A
triggerall = ctrl
triggerall = random < 100-(ishelper)*90
triggerall = p2statetype != L
triggerall = enemy,pos y = [-50,0]
trigger1 = !ishelper && numexplod(59)
trigger1 = power <= 3 || power >= 3000 || power = powermax
trigger2 = (ishelper(1)||ishelper(2)) && roundstate = 2
trigger2 = power >= 1500 || power = ceil(powermax/2)
value = 154

[State -1, メキシカンムーンサルトAIコンボ用]
type =  changeanim
trigger1 = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
trigger1 = p2statetype != A
trigger1 = p2movetype = H
trigger1 = statetype = A
trigger1 = random < 777
trigger1 = moveguarded
trigger1 = stateno = 153
trigger1 = !animtime
value = 101

[State -1, メキシカンムーンサルト]
type = changestate
triggerall = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
trigger1 = statetype != A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;切り替えし
trigger1 = ctrl
trigger1 = p2statetype != A
trigger1 = p2movetype = A
trigger1 = enemy,hitdefattr = SCA,AA,AT,AP || enemy,numproj
trigger2 = statetype != A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;空中起き攻め
trigger2 = ctrl
trigger2 = p2statetype = L
trigger2 = p2bodydist x = [0,200]
trigger2 = p2stateno = 5120
trigger2 = enemy,animtime = -(17+random%3+1)
trigger3 = p2statetype != A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;コンボ
trigger3 = p2movetype = H
trigger3 = (statetype!=A&&!inguarddist&&!animtime&&((movecontact&&stateno=230)||(moveguarded&&stateno=150))) || anim = 101
trigger4 = statetype != A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;隙付き
trigger4 = ctrl
trigger4 = !inguarddist
trigger4 = p2statetype != A
trigger4 = p2statetype != L
trigger4 = p2movetype = I
trigger4 = p2bodydist x > 105
trigger4 = p2stateno = [200,649]
trigger4 = enemy,animtime <= -17
trigger5 = statetype != A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;牽制(近距離)
trigger5 = ctrl
trigger5 = !inguarddist
trigger5 = p2statetype != L
trigger5 = p2movetype != H
trigger5 = p2bodydist x = [0,99]
trigger5 = p2bodydist y = [-90,0]
trigger5 = p2statetype = A || p2stateno != [120,155]
value = 153

[State -1, 髪の毛]
type = changestate
triggerall = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
triggerall = statetype != A
trigger1 = ctrl;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;地上起き攻め
trigger1 = p2statetype = L
trigger1 = p2bodydist x = [50,160]
trigger1 = p2stateno = 5120
trigger1 = enemy,animtime = -10
trigger2 = !inguarddist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;コンボ
trigger2 = p2movetype = H
trigger2 = p2bodydist x = [0,145]
trigger2 = p2bodydist y = [-90,0]
trigger2 = (movecontact&&((random<30-(ishelper)*15&&stateno=230)||stateno=210)) || (moveguarded&&stateno=420)
trigger3 = ctrl;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;牽制(遠距離)
trigger3 = !inguarddist
trigger3 = p2statetype != L
trigger3 = p2movetype != H
trigger3 = p2bodydist x = [100,160]
trigger3 = p2bodydist y = [-90,0]
trigger3 = p2statetype = A || p2stateno != [120,155]
trigger4 = ctrl;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;隙付き
trigger4 = !inguarddist
trigger4 = p2statetype != L
trigger4 = p2movetype = I
trigger4 = p2bodydist x = [0,160]
trigger4 = p2stateno = [200,649]
trigger4 = enemy,animtime <= -7
value = 150

[State -1, ローリング]
type = changestate
triggerall = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
triggerall = statetype != A
triggerall = !inguarddist
trigger1 = p2movetype = H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;コンボ
trigger1 = movehit && stateno = 150
trigger1 = !animtime
trigger2 = ctrl;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;隙付き
trigger2 = p2statetype != A
trigger2 = p2statetype != L
trigger2 = p2movetype = I
trigger2 = p2stateno = [200,649]
trigger2 = enemy,animtime <= -2
value = 151

[State -1, 通常投げ]
type = changestate
triggerall = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
triggerall = statetype != A
triggerall = ctrl
triggerall = p2statetype != A
triggerall = p2statetype != L
triggerall = p2bodydist x <= 18
trigger1 = !inguarddist
trigger1 = p2movetype = H || p2stateno != [120,155]
trigger2 = !inguarddist
trigger2 = p2movetype = I
trigger2 = p2stateno = [200,649]
trigger2 = enemy,animtime <= -1
trigger3 = p2statetype != L
trigger3 = p2movetype != H
value = 800

[State -1, 立ち強パンチ]
type = changestate
triggerall = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
triggerall = !inguarddist
triggerall = !animtime
triggerall = p2movetype = H
triggerall = p2bodydist x = [26,80]
trigger1 = statetype != A
trigger1 = movehit && stateno = 420
trigger2 = statetype = A
trigger2 = movehit && stateno = 153
value = 210

[State -1, 近距離立ち強パンチ]
type = changestate
trigger1 = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
trigger1 = statetype = A
trigger1 = !inguarddist
trigger1 = p2statetype != A
trigger1 = p2movetype = H
trigger1 = p2bodydist x <= 25
trigger1 = movehit && stateno = 153
trigger1 = !animtime
value = 230

[State -1, しゃがみ弱キック]
type = changestate
trigger1 = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
trigger1 = statetype = A
trigger1 = !inguarddist
trigger1 = p2statetype != A
trigger1 = p2movetype = H
trigger1 = p2bodydist x <= 40
trigger1 = moveguarded && stateno = 153
trigger1 = !animtime
value = 420

[State -1, ぶっぱ]
type = changestate
trigger1 = (!ishelper&&numexplod(59)) || ((ishelper(1)||ishelper(2)||ishelper(3))&&roundstate=2)
trigger1 = statetype != A
trigger1 = ctrl
value = 151+(random<777)*2
