
[Statedef -3]
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;曄悢
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -1, varset]
Type = Varset
trigger1 = 1
var(58) = ifelse((!enemynear(0),alive && numenemy = 2),1,0)

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;柍揋媄摍
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[state -1, 搳偘夞旔僕儍儞僾]
type = ChangeState
value = 41
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = ctrl || stateno = 21 || (stateno = [120,132])
triggerall = statetype != A
trigger1 = enemynear(var(58)),hitdefattr = SC,AT
trigger1 = p2bodydist x < 160
trigger1 = random <= 900-((enemynear(var(58)),stateno<1000)*700)

[state -3, 僨僢僪儕乕儗僀僽]
type = changestate
value = 3300
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,60]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = A
triggerall = power >= 3000
trigger1 = enemynear(var(58)),time >= 6
trigger1 = random <= 150+((100*life/lifemax)<=30)*70+(p2life<=200)*70+(stateno=161)*50

[state -3, 梾惗栧]
type = changestate
value = 3100
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,30]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = A
triggerall = power >= 3000
trigger1 = enemynear(var(58)),time >= 6
trigger1 = random <= 10+((100*life/lifemax)<=30)*70+(p2life<=150)*70+(stateno=161)*50

[state -3, 儗僀僕儞僌僗僩乕儉]
type = changestate
value = 3000
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,30]
triggerall = p2bodydist y >= -60
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),movetype = A
triggerall = power >= 3000
trigger1 = !numproj
trigger1 = enemynear(var(58)),time >= 6
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = random <= 10+((100*life/lifemax)<=30)*70+(p2life<=150)*70+(stateno=161)*50

[state -3, 嫊嬻楏晽巃]
type = changestate
value = 3200
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,30]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = A
triggerall = power >= 3000
trigger1 = !numproj
trigger1 = enemynear(var(58)),time >= 6
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = random <= 10+((100*life/lifemax)<=30)*70+(p2life<=150)*70+(stateno=161)*50

[state -3, 夞傝崬傒]
type = changestate
value = 500
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = ctrl || stateno = 21 || (stateno = [100,101])
triggerall = enemynear(var(58)),movetype = A
triggerall = (prevstateno != [500,550])
triggerall = !(enemynear(var(58)),hitdefattr = SCA,AT)
trigger1 = p2bodydist x = [-5,180]
trigger1 = random <= 25

[state -3, 旔偗]
type = changestate
value = 550
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = ctrl || stateno = 21 || (stateno = [100,101])
triggerall = enemynear(var(58)),movetype = A
triggerall = (prevstateno != [500,550])
triggerall = !(enemynear(var(58)),hitdefattr = SCA,AT)
trigger1 = p2bodydist x = [-5,60]
trigger1 = random <= 25

[state -3, 嫊嬻楏晽巃乮摉偰恎乯]
type = changestate
value = 3410
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,70]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = !(enemynear(var(58)),hitdefattr = SCA,AT) && !(enemynear(var(58)),hitdefattr = SCA,AP)
triggerall = enemynear(var(58)),movetype = A
triggerall = !enemynear(var(58)),numproj
triggerall = var(32)
trigger1 = random <= 50-(stateno=161)*25

[state -3, 忋抜摉偰恎搳偘]
type = changestate
value = 1500
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,70]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype = A && (p2bodydist y=[-80,5]) || enemynear(var(58)),stateno >= 1000 || enemynear(var(58)),hitdefattr = A,NA || enemynear(var(58)),hitdefattr = SCA,SA,HA
triggerall = enemynear(var(58)),movetype = A
triggerall = (prevstateno != [1500,1710]) && (prevstateno != [500,550])
triggerall = !enemynear(var(58)),numproj
triggerall = !var(32)
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = random <= 50-(stateno=161)*25

[state -3, 拞抜摉偰恎搳偘]
type = changestate
value = 1600
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,70]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),stateno < 1000 || enemynear(var(58)),hitdefattr = SC,NA
triggerall = enemynear(var(58)),movetype = A
triggerall = (prevstateno != [1500,1710]) && (prevstateno != [500,550])
triggerall = !enemynear(var(58)),numproj
triggerall = !var(32)
trigger1 = random <= 50-(stateno=161)*25

[state -3, 壓抜摉偰恎搳偘]
type = changestate
value = 1700
triggerall = var(59)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = p2bodydist x = [-5,70]
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),stateno < 1000 || enemynear(var(58)),hitdefattr = SC,NA
triggerall = enemynear(var(58)),movetype = A
triggerall = (prevstateno != [1500,1710]) && (prevstateno != [500,550])
triggerall = !enemynear(var(58)),numproj
triggerall = !var(32)
trigger1 = random <= 50-(stateno=161)*25

[State -3, 僇僂儞僞乕峌寕庛]
Type = ChangeState
Value = 560
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = stateno = 550
trigger1 = (p2bodydist x = [-5,40]) && Time =[15,25]
trigger1 = random <= 25

[State -3, 僇僂儞僞乕峌寕嫮]
Type = ChangeState
Value = 570
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = stateno = 550
trigger1 = (p2bodydist x = [-5,40]) && Time =[15,25]
trigger1 = random <= 25

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;僐儞儃
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;栚墴偟
[State -3, 棫偪嫮峌寕]
type = ChangeState
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = p2bodydist x = [-5,35]
triggerall = ctrl || stateno = 21 || (stateno = [100,101]) || var(7)
triggerall = numtarget
triggerall = target,stateno = 1660
trigger1 = random <= 700
value = 210

[State -3, 棫偪嫮峌寕]
type = ChangeState
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = p2bodydist x = [-5,25]
triggerall = ctrl || stateno = 21 || (stateno = [100,101]) || var(7)
trigger1 = random <= 700
value = 210

[State -3, 偟傖偑傒庛峌寕]
type = ChangeState
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = p2bodydist x = [-5,35]
triggerall = ctrl || stateno = 21 || (stateno = [100,101]) || var(7)
trigger1 = random <= 500
value = 400

[State -3, 棫偪庛峌寕]
type = ChangeState
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate=2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype = H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = p2bodydist x = [-5,20]
triggerall = ctrl || stateno = 21 || (stateno = [100,101]) || var(7)
trigger1 = random <= 400
value = 400

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;僉儍儞僙儖
[State -3, 僨僢僪儕乕儗僀僽]
Type = ChangeState
Value = 3300
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = p2bodydist x = [-5,90]
triggerall = movetype = A
triggerall = time > 1
triggerall = power >= 3000
triggerall = random <= 700
triggerall = (100*life/lifemax) <= 20 || p2life <= 150
trigger1 = stateno = 210 && var(0)=1&&p2statetype!=A
trigger2 = stateno = 560 && var(0)=1&&p2statetype!=A

[State -3, 棫偪庛]
Type = ChangeState
Value = 200
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,10]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 250
trigger1 = prevstateno != 200
trigger1 = stateno=200 && (var(0)=1&&p2statetype!=A||var(0)=2)

[State -3, 孅傒庛]
Type = ChangeState
Value = 400
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,10]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 250
trigger1 = prevstateno != 200
trigger1 = stateno=200 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger2 = prevstateno != 400
trigger2 = stateno=400 && (var(0)=1&&p2statetype!=A||var(0)=2)

[State -3, 旘隳擔椫巃]
Type = ChangeState
Value = 1800
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,30]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 20
trigger1 = stateno = 200 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger2 = stateno = 210 && (var(0)=1&&p2statetype!=A||var(0)=2) && p2bodydist x = [-5,10]
trigger3 = stateno = 400 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger4 = stateno = 560 && (var(0)=1&&p2statetype!=A||var(0)=2)

[State -3, 幾塭対]
Type = ChangeState
Value = 1400
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,40]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 200
trigger1 = stateno = 210 && var(0)=1&&p2statetype!=A
trigger2 = stateno = 560 && var(0)=1&&p2statetype!=A

[State -3, 棆岝夞偟廟傝]
Type = ChangeState
Value = 1100
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,15]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 500
trigger1 = stateno = 200 && var(0)=1&&p2statetype!=A
trigger2 = stateno = 210 && (var(0)=1&&p2statetype!=A||var(0)=2) && p2bodydist x = [-5,10]
trigger3 = stateno = 400 && var(0)=1&&p2statetype!=A
trigger4 = stateno = 560 && var(0)=1&&p2statetype!=A

[State -3, 楏晽対]
Type = ChangeState
Value = 1200
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= ifelse(var(0)=1,600,300)
triggerall = !numproj
trigger1 = stateno = 200 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger2 = stateno = 210 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger3 = stateno = 400 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger4 = stateno = 410 && var(0)=2
trigger5 = stateno = 560 && (var(0)=1&&p2statetype!=A||var(0)=2)
trigger6 = stateno = 1000 && var(0)=2

[State -3, 旘墠幐媟]
Type = ChangeState
Value = 2000
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),alive
triggerall = enemynear(var(58)),movetype=H
triggerall = !inguarddist
triggerall = p2bodydist x = [-5,50]
triggerall = movetype = A
triggerall = time > 1
triggerall = random <= 200
trigger1 = stateno = 200 && var(0)=1&&p2statetype!=A
trigger2 = stateno = 210 && var(0)=1&&p2statetype!=A
trigger2 = enemynear(var(58)),backedgebodydist <= 20
trigger3 = stateno = 400 && var(0)=1&&p2statetype!=A
trigger4 = stateno = 560 && var(0)=1&&p2statetype!=A

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;堏摦 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -1, 曕偒]
type = ChangeState
value = 21
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype = S
triggerall = ctrl
triggerall = !inguarddist
triggerall = prevstateno != 21
trigger1 = random <= 800

[State -3, 僕儍儞僾]
Type = ChangeState
Value = 41
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = ctrl || stateno = 21
triggerall = !inguarddist
trigger1 = p2bodydist X >= 90
trigger1 = random <= 25

[State -3, 僟僢僔儏]
Type = ChangeState
Value = 100
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype = S
triggerall = ctrl || stateno = 21 && anim = 20
triggerall = !inguarddist
trigger1 = p2bodydist X >= 60
trigger1 = random <= 25+((P2bodydist X>=120)*25)

[State -3, 僶僢僋僗僥僢僾]
Type = ChangeState
Value = 105
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype = S
triggerall = ctrl || stateno = 21 && anim = 21
triggerall = !inguarddist
triggerall = backedgebodydist >= 60
trigger1 = p2bodydist X <= 150
trigger1 = random <= 25

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;棫偪夞傝
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;傇偭傁
[State -3, 梾惗栧]
Type = ChangeState
Value = 3100
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = power >= 3000
trigger1 = p2bodydist x = [-5,20]
trigger1 = random <= 50+((100*life/lifemax)<=30)*50+(p2life<=150)*50

[State -3, 儗僀僕儞僌僗僩乕儉]
Type = ChangeState
Value = 3000
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = power >= 3000
trigger1 = !numproj
trigger1 = p2bodydist x = [-5,20]
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = enemynear(var(58)),time >= 6
trigger1 = random <= 50+((100*life/lifemax)<=30)*50+(p2life<=150)*50

[State -3, 嫊嬻楏晽巃]
Type = ChangeState
Value = 3200
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = power >= 3000
trigger1 = !numproj
trigger1 = p2bodydist x = [-5,30]
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = enemynear(var(58)),time >= 6
trigger1 = random <= 50+((100*life/lifemax)<=30)*50+(p2life<=150)*50

[State -3, 儗僀僕儞僌僨僢僪僄儞僪]
Type = ChangeState
Value = 3400
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
triggerall = !var(32)
trigger1 = power >= 3000
trigger1 = random <= 1

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;搳偘
[State -3, 搳偘]
Type = ChangeState
Value = 800
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype = S
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21
trigger1 = p2bodydist x = [-5,10]
trigger1 = random <= 25

[State -3, 棆柭崑攋搳偘]
Type = ChangeState
value = 1900
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype = L
triggerall = enemynear(var(58)),stateno != 5120
triggerall = random <= 50
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno = [100,101]) || var(7)
trigger1 = p2bodydist x = [-5,15]

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;懳嬻
[State -3, 儗僀僕儞僌僗僩乕儉]
Type = ChangeState
Value = 3000
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype = A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = power >= 3000
trigger1 = p2bodydist x = [-10,20]
trigger1 = p2bodydist y = [-60,-30]
trigger1 = enemynear(var(58)),vel x >= 0
trigger1 = enemynear(var(58)),vel y >= 0
trigger1 = random <= 50

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;尅惂
[State -3, 棫偪庛]
Type = ChangeState
Value = 200
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,40]
trigger1 = (p2bodydist y = [-40,5]) || enemynear(var(58)),statetype != A
trigger1 = random <= 75
trigger2 = ifelse(var(7),1,!inguarddist)
trigger2 = p2bodydist x >= 120
trigger2 = random <= 25

[State -3, 孅傒庛]
Type = ChangeState
Value = 400
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,40]
trigger1 = (p2bodydist y = [-40,5]) || enemynear(var(58)),statetype != A
trigger1 = random <= 75
trigger2 = ifelse(var(7),1,!inguarddist)
trigger2 = p2bodydist x >= 120
trigger2 = random <= 25

[State -3, 棫偪嫮]
Type = ChangeState
Value = 210
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,50]
trigger1 = (p2bodydist y = [-40,5]) || enemynear(var(58)),statetype != A
trigger1 = random <= 70

[State -3, 孅傒嫮]
Type = ChangeState
Value = 410
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = ctrl || stateno = 21 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,70]
trigger1 = random <= 50

[State -3, 旘隳擔椫巃]
Type = ChangeState
Value = 1800
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,30]
trigger1 = random <= 30

[State -3, 旘墠幐媟]
Type = ChangeState
Value = 2000
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,30]
trigger1 = random <= 10

[State -3, 晄摦妶嶦棤対]
Type = ChangeState
Value = 1000
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [20,40]
trigger1 = random <= 10

[State -3, 幾塭対]
Type = ChangeState
Value = 1400
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [-5,60]
trigger1 = random <= 10

[State -3, 楏晽対]
Type = ChangeState
Value = 1200
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
triggerall = !numproj
trigger1 = p2bodydist x >= 60+(enemynear(var(58)),statetype=L)*60
trigger1 = random <= 10

[State -3, 棆岝夞偟廟傝]
Type = ChangeState
Value = 1100
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype != A
triggerall = enemynear(var(58)),statetype != L
triggerall = enemynear(var(58)),statetype != A
triggerall = enemynear(var(58)),movetype != H
triggerall = ifelse(var(7),1,!inguarddist)
triggerall = ctrl || stateno = 21 || stateno = 41 || (stateno=[100,101]) || var(7)
trigger1 = p2bodydist x = [60,120]
trigger1 = random <= 75

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞
[State -3, 幘晽対]
Type = ChangeState
value = 1300
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype = A
triggerall = enemynear(var(58)),statetype != L
triggerall = !(enemynear(var(58)),movetype=H&&enemynear(var(58)),statetype=A)
triggerall = p2bodydist x >= 80
triggerall = p2bodydist y >= 80
triggerall = ctrl || var(7)
trigger1 = random <= 50
trigger1 = !var(5)
trigger1 = !numproj

[State -3, 嬻拞庛峌寕]
Type = ChangeState
value = 600
triggerall = var(59)
triggerall = alive && roundstate = 2
triggerall = statetype = A
triggerall = enemynear(var(58)),statetype != L
triggerall = !(enemynear(var(58)),movetype=H&&enemynear(var(58)),statetype=A)
triggerall = p2bodydist x =[-5, (60-((!vel x)*20))]
triggerall = p2bodydist y = [-40, 70]
triggerall = ctrl || var(7)
trigger1 = random <= 120
trigger1 = vel y > -2

[State -3, 嬻拞嫮峌寕]
Type = ChangeState
value = 610
triggerall = var(59) || fvar(39)
triggerall = alive && roundstate = 2
triggerall = statetype = A
triggerall = enemynear(var(58)),statetype != L
triggerall = !(enemynear(var(58)),movetype=H&&enemynear(var(58)),statetype=A)
triggerall = p2bodydist x =[-40, (60-((!vel x)*20))]
triggerall = p2bodydist y = [-10, 100]
triggerall = ctrl || var(7)
trigger1 = random <= 240
trigger1 = vel y > 1

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;俙俬僼儔僌僙僢僩
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3, VarSet]
type = VarSet
triggerall = !var(59)
trigger1 = Command = "AI0"|| Command = "AI1"|| Command = "AI2"|| Command = "AI3"|| Command = "AI4"
trigger2 = Command = "AI5"|| Command = "AI6"|| Command = "AI7"|| Command = "AI8"|| Command = "AI9"
trigger3 = Command = "AI10"|| Command = "AI11"|| Command = "AI12"|| Command = "AI13"|| Command = "AI14"
trigger4 = Command = "AI15"|| Command = "AI16"|| Command = "AI17"|| Command = "AI18"|| Command = "AI19"
trigger5 = Command = "AI20"|| Command = "AI21"|| Command = "AI22"|| Command = "AI23"|| Command = "AI24"
trigger6 = Command = "AI25"|| Command = "AI26"|| Command = "AI27"|| Command = "AI28"|| Command = "AI29"
trigger7 = Command = "AI30"|| Command = "AI31"|| Command = "AI32"|| Command = "AI33"|| Command = "AI34"
trigger8 = Command = "AI35"|| Command = "AI36"|| Command = "AI37"|| Command = "AI38"|| Command = "AI39"
trigger9 = Command = "AI40"|| Command = "AI41"|| Command = "AI42"|| Command = "AI43"|| Command = "AI44"
trigger10 = Command = "AI45"|| Command = "AI46"|| Command = "AI47"|| Command = "AI48"|| Command = "AI49"|| Command = "AI50"
var(59) = 1
