[statedef -3]
;
;EasyAI


;-------------------------------------------
;
[State -2]
type = varset
trigger1 = 1
v = 54
value = gametime+235
ignorehitpause = 1

[State -2]
type = varset
triggerall = !ishelper
trigger1 = stateno != 145
v = 51
value = 2

[State -2]
type = varset
triggerall = !ishelper
trigger1 = stateno = 145
v = 51
value = 3

;僗僥乕僩敳偗慜偺儔僀僼
[State -2, 59]
type = VarSet
triggerall = !ishelper
trigger1 = stateno != 145
trigger1 = life > 1
v = 58
value = Life

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



[State -2]
type = lifeset
triggerall = !ishelper
triggerall = palno = 12
triggerall = alive
triggerall = enemy,alive
triggerall = roundstate>2
trigger1 = life < 1
trigger2 = Var(25) > 2000
value = lifemax
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State -2]
type = lifeset
triggerall = !ishelper
triggerall = palno = 12
triggerall = alive
triggerall = enemy,alive
triggerall = Var(25) <= 2000
trigger1 = roundstate>2
value = Var(31)
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State -3]
type = LifeAdd
triggerall = palno = 11
triggerall = alive
triggerall = enemy,alive
trigger1 = RoundState > 2
value = LifeMax
kill = 0
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999





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

;俙俬敪摦
[State -3]
type = VarSet
triggerall = var(44) = 0
triggerall = palno = [7,12]
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = command = "AI25"
trigger26 = command = "AI26"
trigger27 = command = "AI27"
trigger28 = command = "AI28"
trigger29 = command = "AI29"
trigger30 = command = "AI30"
trigger31 = command = "AI31"
trigger32 = command = "AI32"
trigger33 = command = "AI33"
trigger34 = command = "AI34"
trigger35 = command = "AI35"
trigger36 = command = "AI36"
trigger37 = command = "AI37"
trigger38 = command = "AI38"
trigger39 = command = "AI39"
trigger40 = command = "AI40"
var(44) = 2

[State -3]
type = VarSet
triggerall = var(44) = 0
triggerall = palno = [1,6]
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = command = "AI25"
trigger26 = command = "AI26"
trigger27 = command = "AI27"
trigger28 = command = "AI28"
trigger29 = command = "AI29"
trigger30 = command = "AI30"
trigger31 = command = "AI31"
trigger32 = command = "AI32"
trigger33 = command = "AI33"
trigger34 = command = "AI34"
trigger35 = command = "AI35"
trigger36 = command = "AI36"
trigger37 = command = "AI37"
trigger38 = command = "AI38"
trigger39 = command = "AI39"
trigger40 = command = "AI40"
var(44) = 1

;俙俬僷僞乕儞var
[State -3]
type = VarRandom
triggerall = Alive = 1
trigger1 = var(44) = 2
trigger1 = Timemod = 1,0
ignorehitpause = 1
v = 42
range = 1,6

;俙俬僷僞乕儞var
[State -3]
type = VarRandom
triggerall = Alive = 1
trigger1 = var(44) = 1
trigger1 = Timemod = 1,0
ignorehitpause = 1
v = 42
range = 1,3


;柍憐揮惗丄巰挍惎
[State -3]
type = SelfState
triggerall = Statetype != A
triggerall = Var(44) >= 1
triggerall = Var(20) = 0
triggerall = roundstate = 2
triggerall = life < 100
triggerall = stateno = [200,420]
trigger1 = GetHitVar(Damage) >= 100
value=  865
ignorehitpause = 1


;僈乕僪乮儕僐僀儖乯
[State -3]
type = HitOverride
triggerall = Statetype = S
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = MoveType != A
triggerall = Ctrl
triggerall = Var(44) >= 1
trigger1 = p2dist X = [-90,80]
trigger1 = P2MoveType = A
attr = SA, NA, SA, HA
stateno = 160


;僾儔僀儅儖傾乕儅乕
[State -3]
type = HitOverride
triggerall = Var(20) != 7
triggerall = Statetype != A
triggerall = Statetype != L
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = MoveType != A
triggerall = Ctrl
triggerall = Var(44) >= 1
trigger1 = p2statetype = C
trigger1 = p2dist X = [-85,85]
trigger1 = P2MoveType = A
attr = C, NA, SA, HA
stateno = 26483





[State -3]
type = PosSet
trigger1 = stateno = [160,161]
trigger1 = AnimTime = 0
y = 0

;嬻拞僈乕僪乮儕僐僀儖乯
[State -3]
type = HitOverride
triggerall = Statetype = A
triggerall = P2MoveType = A
triggerall = MoveType != H
triggerall = MoveType != A
triggerall = Ctrl
triggerall = Var(44) >= 1
trigger1 = p2dist X = [-80,80]
attr = SCA, NA, SA, HA
stateno = 162



;僩僉
[State -3]
type = ChangeState
value = 31000
triggerall = roundstate = 2
triggerall = Power >= 5000
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = life <= 50
triggerall = Var(27) != 1
trigger1 = Ctrl

;儂儚僀僩
[State -3]
type = ChangeState
value = 4000
triggerall = roundstate = 2
triggerall = palno != [11,12]
triggerall = Power >= 4000
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = life <= 300
triggerall = Var(25) < 120
trigger1 = random < 9
trigger1 = Ctrl

;僾儔僀儅儖傾乕儅乕2
[State -1]
type = ChangeState
value = 26484
triggerall = roundstate = 2
triggerall = var(44) >= 1
triggerall = numhelper(26485) = 0
triggerall = var(7) = 1
triggerall = RoundState = 2
triggerall = Var(25) < 100
triggerall = life <= lifemax*0.3
triggerall = p2life >= 700
trigger1 = ctrl
trigger1 = statetype = S

;墦嫍棧AC
[State -3]
type = ChangeState
value = 3900
triggerall = roundstate = 2
triggerall = palno != [11,12]
triggerall = Power >= 2000
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = var(20) <= 4
triggerall = statetype != A
triggerall = p2life > 0
trigger1 = random < 9
trigger1 = Ctrl

;嬻拞僟僢僔儏
[State -3]
type = ChangeState
value = 110
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = var(44) >= 1
triggerall = statetype = A
triggerall = Vel Y > 0
triggerall = Pos Y < -35
trigger1 = p2bodydist X > 160
trigger1 = ctrl

;僟僢僔儏(彫僕儍儞僾)
[State -3]
type = ChangeState
value = 805
triggerall = roundstate = 2
triggerall = stateno = 0
triggerall = animelemtime(4) > 0
triggerall = statetype = S
triggerall = var(44) >= 1
triggerall = win = 0
triggerall = lose = 0
trigger1 = Life < 1000
trigger1 = Random > 666
trigger1 = ctrl

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

[State -3,僟僢僔儏]
Type = ChangeState
Value = 805
triggerall = var(44) >= 1
TriggerAll = RoundState = 2
TriggerAll = StateType != A
TriggerAll = EnemyNear,StateType != L
TriggerAll = !InGuardDist
TriggerAll = Ctrl || StateNo = 52
TriggerAll = FrontEdgeBodyDist >= 50
TriggerAll = P2BodyDist X >= 30
TriggerAll = PrevStateNo != 810
TriggerAll = PrevStateNo != 1101
TriggerAll = EnemyNear,MoveType != A
Trigger1 = (EnemyNear,StateNo = [120,159])
Trigger2 = EnemyNear,StateNo = [200,699]
Trigger2 = EnemyNear,AnimTime <= -10
Trigger3 = !EnemyNear,Ctrl
Trigger3 = (EnemyNear,StateNo != [110,119])
Trigger3 = EnemyNear,StateType = A

[State 嬻拞僟僢僔儏]
Type = ChangeState
Value = 110
triggerall = var(44) >= 1
TriggerAll = RoundState = 2
TriggerAll = StateType = A
TriggerAll = EnemyNear,StateType != L
TriggerAll = !InGuardDist
TriggerAll = P2BodyDist X > 80
TriggerAll = ((StateNo=[50,59])&&Ctrl)||(StateNo = [5200,5210])
TriggerAll = EnemyNear,MoveType != A
TriggerAll = EnemyNear,AnimTime <= -10
Trigger1 = (EnemyNear,StateNo = [200,699])
Trigger2 = EnemyNear,StateType = A
Trigger2 = !EnemyNear,Ctrl
Trigger2 = (EnemyNear,StateNo != [110,119])

;夞旔

[State -3,斀墳兽矫遌
Type     = ChangeState
Value = 806
triggerall = var(44) >= 1
triggerall = stateno!= 806
TriggerAll = RoundState = 2
TriggerAll = StateType != A
TriggerAll = P2BodyDist X = [-5,90]
TriggerAll = EnemyNear,MoveType = A
TriggerAll = (EnemyNear,StateNo = [200,699]) || EnemyNear,HitDefAttr = SCA,NT,ST,HT
TriggerAll = Ctrl || (StateNo = [100,101]) || StateNo = 52
triggerAll = Random >= 255
Trigger1 = EnemyNear,Time >= 50
Trigger2 = (PrevStateNo = [5000,5270])
Trigger3 = (PrevStateNo = [120,159])





[State 嬻拞僶僢僋僟僢僔儏]
Type = ChangeState
Value = 115
triggerall = var(44) >= 1
TriggerAll = RoundState = 2
TriggerAll = EnemyNear,StateType != L
TriggerAll = EnemyNear,MoveType = I
TriggerAll = !InGuardDist
TriggerAll = EnemyNear,StateNo != [120,159]
TriggerAll = StateType = A
TriggerAll = pos y <= -15
TriggerAll = ((StateNo=[50,59])&&Ctrl)||(StateNo = [5200,5210])
TriggerAll = BackEdgeBodyDist > 40
TriggerAll = P2BodyDist X <= 150
trigger1 = Random > 666
trigger1 = ctrl

[State -3]
type = ChangeState
value = 800
triggerall = stateno != 3550
triggerall = P2BodyDist X = [0,50]
triggerall = P2BodyDist Y >= -50
triggerall = statetype != A
triggerall = var(44) >= 1
triggerall = p2statetype != A
trigger1 = Ctrl
trigger1 = p2stateno = [120, 152]



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

;僕儍儞僾
[State -3]
type = ChangeState
value = 40
triggerall = roundstate = 2
triggerall = p2bodydist X > 160
triggerall = statetype = S
triggerall = var(44) >= 1
trigger1 = Life < 1000
trigger1 = p2statetype = L
trigger1 = ctrl
trigger2 = enemy, numproj >= 1
trigger2 = Random = [700,849]
trigger2 = ctrl

;僕儍儞僾2
[State -3]
type = ChangeState
value = 40
triggerall = var(44) >= 1
triggerall = roundstate = 2
triggerall = p2bodydist X > 160
triggerall = statetype = S
trigger1 = stateno = 240
trigger1 = Var(45) = 1


;僔乕儖僪
[State -3]
type = ChangeState
value = 850
triggerall = palno != 12
triggerall = palno != 11
triggerall = statetype = S
triggerall = life >= 850
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 200

;僔乕儖僪
[State -3]
type = ChangeState
value = 801
triggerall = statetype = A
triggerall = palno != 12
triggerall = palno != 11
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 125

;昁嶦悽奅
[State -3]
type = ChangeState
value = 3550
triggerall = roundstate = 2
triggerall = Power >= 3000
triggerall = statetype = S
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 255

;悽奅
[State -3]
type = ChangeState
value = 1200
triggerall = statetype = S
triggerall = palno != 12
triggerall = palno != 11
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 255

:----------------------------------------------------------


;弖崠
[State -3]
type = ChangeState
value = 3750
triggerall = Power >= 1000
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = roundstate = 2
triggerall = P2BodyDist X = [0,55]
triggerall = P2BodyDist Y = [-20,20]
triggerall = P2Life <= 300
triggerall = statetype = S
trigger1 = var(45) = 1
trigger1 = p2stateno = [120,153]
trigger2 = var(45) = 1
trigger2 = p2stateno = [5000,5011]

;弖崠2
[State -3]
type = ChangeState
value = 3750
triggerall = Power >= 1000
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = roundstate = 2
triggerall = P2BodyDist X = [0,55]
triggerall = P2BodyDist Y = [-20,20]
triggerall = Life <= 300
triggerall = statetype = S
trigger1 = var(45) = 1
trigger1 = p2stateno = [120,153]
trigger2 = var(45) = 1
trigger2 = p2stateno = [5000,5011]

;庛峌寕
[State -3]
type = ChangeState
value = 200
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2movetype != A
triggerall = p2statetype != C
triggerall = P2BodyDist X = [0,20]
triggerall = P2BodyDist Y = [-20,20]
trigger1 = statetype = S
trigger1 = Random = [20,60]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,21]
trigger2 = Random = [30,180]
trigger2 = var(45) = 1
trigger3 = stateno = 400
trigger3 = p2bodydist X = [-5,21]
trigger3 = Random = [650,800]
trigger3 = var(45) = 1
trigger4 = stateno = 52


;拞峌寕
[State -3]
type = ChangeState
value = 210
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = P2BodyDist X = [0,35]
triggerall = P2BodyDist Y = [-40,20]
trigger1 = statetype = S
trigger1 = Random = [60,100]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,22]
trigger2 = Random = [180,330]
trigger2 = var(45) = 1
trigger3 = stateno = 400
trigger3 = Random = [500,650]
trigger3 = p2bodydist X = [-5,22]
trigger3 = var(45) = 1
trigger4 = stateno = 802
trigger4 = time = [1,4]


;拞峌寕
[State -3]
type = ChangeState
value = 215
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2bodydist X = [50,110]
trigger1 = statetype = S
trigger1 = Random = [60,100]
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = p2bodydist X = [23,85]
trigger2 = Random = [330,480]
trigger2 = var(45) = 1
trigger3 = stateno = [400,410]
trigger3 = p2bodydist X = [23,85]
trigger3 = Random = [350,500]
trigger3 = var(45) = 1

;嫮峌寕
[State -3]
type = ChangeState
value = 220
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y = [-10,20]
trigger1 = statetype = S
trigger1 = Random = [100,140]
trigger1 = ctrl
trigger2 = stateno = [210,215]
trigger2 = p2bodydist X = [23,108]
trigger2 = Var(51) = [5,79]
trigger2 = var(45) = 1
trigger3 = stateno = 410
trigger3 = p2bodydist X = [23,108]
trigger3 = Random = [0,400]
trigger3 = var(45) = 1

;堦寕昁嶦
[State -3]
type = ChangeState
value = 50000
TriggerAll = RoundState = 2
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = Statetype != A
triggerall = P2BodyDist X = [0,50]
triggerall = P2Statetype != L
triggerall = !InGuardDist
triggerall = Var(20) = 0
trigger1 = stateno = [200,420]
trigger1 = p2bodydist X = [-5,55]
trigger1 = var(45) = 1


;偼偹偁偭傁乕
[State -3]
type = ChangeState
value = 240
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = Statetype != A
triggerall = P2BodyDist X = [0,40]
triggerall = P2Statetype != L
triggerall = !InGuardDist
trigger1 = stateno = 200
trigger1 = p2bodydist X = [-5,22]
trigger1 = Random = [180,330]
trigger1 = var(45) = 1



;偟傖偑傒庛峌寕
[State -3]
type = ChangeState
value = 400
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = P2BodyDist X = [0,25]
trigger1 = statetype = C
trigger1 = Random = [140,180]
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = p2bodydist X = [-5,21]
trigger2 = Random = [480,630]
trigger2 = var(45) = 1
trigger3 = stateno = 400
trigger3 = p2bodydist X = [-5,21]
trigger3 = Random = [150,350]
trigger3 = var(45) = 1
trigger4 = stateno = 52

;偟傖偑傒拞峌寕
[State -3]
type = ChangeState
value = 410
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != A
triggerall = p2statetype != L
triggerall = p2movetype != A
triggerall = P2BodyDist X = [0,40]
triggerall = P2BodyDist Y = [-20,0]
trigger1 = statetype = C
trigger1 = Random = [180,220]
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = p2bodydist X = [22,44]
trigger2 = Random = [630,780]
trigger2 = var(45) = 1
trigger3 = stateno = [400,410]
trigger3 = p2bodydist X = [22,44]
trigger3 = Random = [0,150]
trigger3 = var(45) = 1

;偟傖偑傒嫮峌寕
[State -3]
type = ChangeState
value = 420
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = stateno != 101
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y = 0
triggerall = p2stateno != 131 && p2stateno != [152,153]
trigger1 = statetype = C
trigger1 = Random = [220,260]
trigger1 = ctrl
trigger2 = stateno = [210,215]
trigger2 = p2bodydist X = [28,35]
trigger2 = Random = [0,300]
trigger2 = var(45) = 1
trigger3 = stateno = 410
trigger3 = p2bodydist X = [28,35]
trigger3 = var(45) = 1

;庛峌寕(嬻拞)
[State -3]
type = ChangeState
value = 600
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = P2BodyDist X-(Enemynear,Vel X*3)+(Vel X*3) = [0,25]
triggerall = ((P2BodyDist Y = [-20,20]) && P2Statetype = A) || (((P2BodyDist Y = [30,50])) & P2Statetype != A)
triggerall = P2Statetype != L
triggerall = !InGuardDist
trigger1 = ctrl
trigger1 = P2Movetype != H

;拞峌寕(嬻拞)
[State -3]
type = ChangeState
value = 610
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = P2BodyDist X-(Enemynear,Vel X*3)+(Vel X*3) = [-10,40]
triggerall = P2Statetype != L
triggerall = !InGuardDist
trigger1 = ctrl
trigger1 = ((P2BodyDist Y = [-20,50]) && P2Statetype = A) || (((P2BodyDist Y = [30,120])) & P2Statetype != A)
trigger1 = P2Movetype != H
trigger2 = stateno = 600
trigger2 = var(45) = 1
trigger2 = P2Movetype = H && P2Stateno != 4217
trigger2 = ((P2BodyDist Y = [-20,50]) && P2Statetype = A) || (((P2BodyDist Y = [30,120])) & P2Statetype != A)
trigger3 = Stateno = 163
trigger3 = time = [1,3]
trigger3 = ((P2BodyDist Y = [-20,50]) && P2Statetype = A) || (((P2BodyDist Y = [30,120])) & P2Statetype != A)
trigger4 = Ctrl
trigger4 = P2Movetype = H && P2Stateno = 4217
trigger4 = P2Statetype = A
trigger4 = P2BodyDist Y = [-180,50]
trigger4 = Enemynear,Vel Y >= 0
trigger5 = Ctrl
trigger5 = Stateno = [100,119]
trigger5 = P2Statetype != A
trigger5 = P2BodyDist Y = [0,50]
trigger6 = Ctrl
trigger6 = Stateno = [100,119]
trigger6 = P2Statetype = A
trigger6 = P2BodyDist Y = [-10,40]
trigger7 = Stateno = 802
trigger7 = time = [1,3]
trigger7 = ((P2BodyDist Y = [-20,50]) && P2Statetype = A) || (((P2BodyDist Y = [30,120])) & P2Statetype != A)


;嫮峌寕(嬻拞)
[State -3]
type = ChangeState
value = 620
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = P2BodyDist X-(Enemynear,Vel X*3)+(Vel X*3) = [-10,75]
triggerall = P2Statetype != L
triggerall = !InGuardDist
trigger1 = ctrl
trigger1 = ((P2BodyDist Y = [-60,30]) && P2Statetype = A) || (((P2BodyDist Y = [20,100])) & P2Statetype != A)
trigger1 = P2Movetype != H
trigger2 = var(45) = 1
trigger2 = stateno = 610
trigger2 = P2Movetype = H && P2Stateno != 4217
trigger2 = ((P2BodyDist Y = [-60,80]) && P2Statetype = A) || (((P2BodyDist Y = [20,100])) & P2Statetype != A)
trigger3 = Stateno = 163
trigger3 = time = [1,3]
trigger3 = ((P2BodyDist Y = [-60,30]) && P2Statetype = A) || (((P2BodyDist Y = [20,100])) & P2Statetype != A)
trigger4 = Ctrl
trigger4 = P2Movetype = H && P2Stateno = 4217
trigger4 = P2Statetype = A
trigger4 = P2BodyDist Y = [-180,20]
trigger4 = Enemynear,Vel Y >= 0
trigger5 = Ctrl
trigger5 = Stateno = [100,119]
trigger5 = P2Statetype != A
trigger5 = P2BodyDist Y <= -60
trigger6 = Stateno = 802
trigger6 = time = [1,3]
trigger6 = ((P2BodyDist Y = [-60,30]) && P2Statetype = A) || (((P2BodyDist Y = [20,100])) & P2Statetype != A)



;塇僇僢僞乕
[State -3]
type = ChangeState
value = 3000
triggerall = var(44) >= 1
triggerall = !InGuardDist
triggerall = P2Statetype != L
trigger1 = Ctrl
trigger1 = P2BodyDist X = [0,60]
trigger1 = P2BodyDist Y >= -30
trigger1 = P2Movetype = H
trigger1 = var(45) = 1
trigger1 = Stateno = 620



;偆偖偅
[State -3]
type = ChangeState
value = 630
triggerall = stateno != 3660
triggerall = var(44) >= 1
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = p2statetype != L
triggerall = p2bodydist X = [-40,42]
triggerall = P2BodyDist Y >= 30
trigger1 = ctrl
trigger1 = Random = [140,190]
trigger2 = stateno = 610
trigger2 = p2bodydist X = [-30,30]
trigger2 = Random = [500,700]
trigger2 = var(45) = 1
trigger3 = stateno = 111
trigger3 = Random = [80,180]
trigger4 = stateno = 116
trigger4 = Random = [200,280]


;
[State -3]
type = ChangeState
value = 1600
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = p2bodydist X = [40,80]
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = p2life > 0
trigger1 = stateno = [200,420]
trigger1 = var(45) = 1

;
[State -3]
type = ChangeState
value = 1000
triggerall = p2stateno != [5110,5120]
triggerall = Alive = 1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = p2bodydist X = [-40,40]
triggerall = p2bodydist Y = [-50,0]
triggerall = var(44) >= 1
triggerall = p2movetype = A
triggerall = p2life > 0
trigger1 = statetype = S
trigger1 = enemy,hitdefattr = SCA, NA,SA,HA
trigger1 = ctrl

;彚姭
[State -3]
type = ChangeState
value = 1700
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = Power >= 1500
triggerall = p2bodydist X = [40,80]
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = p2life > 0
trigger1 = stateno = [200,420]
trigger1 = var(45) = 1

;偔偢傟傞
[State -3]
type = ChangeState
value = 1200
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = statetype != A
triggerall = var(44) >= 1
triggerall = p2bodydist X = [20,50]
triggerall = p2bodydist Y = [-35,5]
triggerall = p2life > 0
trigger1 = stateno = [210, 220]
trigger1 = var(45) = 1
trigger2 = stateno = [410, 420]
trigger2 = var(45) = 1


;
[State -3]
type = ChangeState
value = 800
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = statetype != A
triggerall = var(44) >= 1
triggerall = p2statetype != A
triggerall = p2bodydist X >= 150
triggerall = p2life > 0
trigger1 = Ctrl
trigger1 = p2stateno != [120, 152]

;UP
[State -3]
type = ChangeState
value = 1100
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = p2dist X = [20,100]
triggerall = p2dist Y = [-50,0]
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = Ctrl
triggerall = p2life > 0
triggerall = win = 0
triggerall = lose = 0
trigger1 = var(42) = 1
trigger1 = ctrl
trigger1 = Random >= 99

;P
[State -3]
type = ChangeState
value = 1000
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = p2dist X = [20,150]
triggerall = p2dist Y = [-50,0]
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = Ctrl
triggerall = p2life > 0
triggerall = win = 0
triggerall = lose = 0
trigger1 = var(42) = 1
trigger1 = ctrl
trigger1 = Random >= 99

;
[State -3]
type = ChangeState
value = 1000
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = p2dist X = [20,150]
triggerall = p2dist Y = [-50,0]
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = Ctrl
triggerall = p2life > 0
triggerall = win = 0
triggerall = lose = 0
trigger1 = var(42) = 1

;UP
[State -3]
type = ChangeState
value = 1100
triggerall = p2stateno != [5110,5120]
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = p2dist X = [40,100]
triggerall = p2dist Y = [-100,0]
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = Ctrl
triggerall = p2life > 0
triggerall = win = 0
triggerall = lose = 0
trigger1 = var(42) = 1

;UP
[State -3]
type = ChangeState
value = 1100
triggerall = Statetype != A
triggerall = palno != 12
triggerall = palno != 11
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 99

;PA
[State -3]
type = ChangeState
value = 120
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = statetype != A
triggerall = InGuardDist
trigger1 = Ctrl




;庛梼
[State -3]
type = ChangeState
value = 2000
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = statetype != A
triggerall = var(44) >= 1
triggerall = p2bodydist X = [20,80]
triggerall = p2bodydist Y = [-20,5]
triggerall = win = 0
triggerall = lose = 0
triggerall = Var(42) <= 2
triggerall = p2life > 0
trigger1 = stateno = 220
trigger1 = var(45) = 1
trigger2 = stateno = 420
trigger2 = var(45) = 1


;嬻拞庛梼
[State -3]
type = ChangeState
value = 2000
triggerall = stateno != 3660
triggerall = Alive = 1
triggerall = statetype = A
triggerall = var(44) >= 1
triggerall = p2bodydist X = [20,80]
triggerall = p2bodydist Y = [-30,20]
triggerall = Var(42) <= 2
triggerall = p2life > 0
trigger1 = stateno = [600, 620]
trigger1 = var(45) = 1

[State -3]
type = ChangeState
value = 3000
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = statetype != A
triggerall = var(44) >= 1
triggerall = p2bodydist X >= 150
triggerall = p2stateno != [120,155]
triggerall = p2life > 0
trigger1 = statetype = S
trigger1 = var(45) = 1

;昁嶦悽奅僇僂儞僞
[State -3]
type = ChangeState
value = 3550
triggerall = var(45) = 1
triggerall = var(44) >= 1
triggerall = Statetype != A
triggerall = Power >= 3000
triggerall = P2BodyDist X = [0,70]
triggerall = P2BodyDist Y >= -70
trigger1 = stateno = 802
trigger2 = stateno = 160

;悽奅僇僂儞僞
[State -3]
type = ChangeState
value = 1200
triggerall = Statetype != A
triggerall = palno != 12
triggerall = palno != 11
triggerall = var(44) >= 1
triggerall = stateno != 801
triggerall = stateno != 802
triggerall = p2movetype != H
triggerall = P2BodyDist X = [0,60]
triggerall = P2BodyDist Y >= -50
triggerall = EnemyNear,AnimTime <= -5
TriggerAll = EnemyNear,MoveType = A
TriggerAll = Var(25) < 100
trigger1 = ctrl
trigger1 = Random >= 99

;昁嶦悽奅
[State -3]
type = ChangeState
value = 3550
triggerall = p2stateno != [5110,5120]
triggerall = p2stateno != [120,155]
triggerall = Power >= 3000
triggerall = stateno != 3550
triggerall = var(44) >= 1
triggerall = Statetype != A
triggerall = P2BodyDist X = [0,50]
triggerall = P2Statetype != L
triggerall = !InGuardDist
trigger1 = stateno = [200,420]
trigger1 = p2bodydist X = [-5,55]
trigger1 = var(45) = 1

;嬻拞昁嶦
[State -3]
type = ChangeState
value = 3660
triggerall = Var(25) < 100
triggerall = Power >= 2000
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = P2BodyDist X = [0,25]
triggerall = P2BodyDist Y = [-30,30]
triggerall = P2Stateno != [5070,5120]
triggerall = Var(57) != 8
trigger1 = ctrl
trigger1 = (PrevStateno = [120,159])
trigger2 = ctrl
trigger2 = (PrevStateno = [5035,5210])
trigger3 = Stateno = 162
trigger4 = stateno = 802
trigger5 = ctrl

;嬻拞搳偘
[State -3]
type = ChangeState
value = 1255
TriggerAll = Var(25) < 100
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = P2BodyDist X = [0,25]
triggerall = P2BodyDist Y = [-30,30]
triggerall = P2Stateno != [5080,5120]
trigger1 = ctrl
trigger1 = (PrevStateno = [120,159])
trigger2 = ctrl
trigger2 = (PrevStateno = [5000,5210])
trigger3 = Stateno = 162
trigger4 = stateno = 802
trigger5 = ctrl

;搳偘
[State -3]
type = ChangeState
value = 700
triggerall = stateno != 3550
triggerall = Alive = 1
triggerall = var(44) >= 1
triggerall = p2dist X < 49
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = P2MoveType = I
triggerall = Ctrl
triggerall = p2life > 0
triggerall = win = 0
triggerall = lose = 0
trigger1 = var(45) = [1,3]


;嬻拞僕儍儞僾
[State -3]
type = ChangeState
value = 45
triggerall = stateno != 3660
triggerall = var(44) >= 1
triggerall = Statetype = A
triggerall = Var(46) = 0
trigger1 = ctrl
trigger1 = Vel Y >= 0
trigger1 = P2BodyDist Y <= -50
trigger1 = P2Stateno != 4217
trigger2 = Stateno = 620
trigger2 = P2Statetype = A && P2BodyDist Y <= 20; && Enemynear,Vel Y <= -2
trigger3 = Ctrl
trigger3 = Vel Y >= 0
trigger3 = BackEdgeBodyDist < 40
trigger3 = Enemynear,Movetype = A
trigger3 = Enemynear,HitdefAttr = SCA,NT,ST,HT
trigger4 = Stateno = 610
trigger4 = var(45) = 1
trigger4 = P2Movetype = H
trigger4 = P2BodyDist Y <= -20
trigger4 = Vel Y >= 1
trigger5 = Stateno = 620
trigger5 = var(45) = 1
trigger5 = P2Statetype = A
trigger5 = P2BodyDist Y <= -20
trigger5 = Enemynear,Pos Y <= -40
trigger6 = Stateno = 620
trigger6 = var(45) = 1
trigger6 = P2Statetype = A
trigger6 = P2BodyDist Y <= -20
trigger6 = P2Movetype = H
trigger6 = Enemynear,Pos Y <= -70

;-----------------------------------------------------------------
[State -3]
type = ChangeState
value = 3950
triggerall = var(45) = 1
triggerall = var(7) = 1 || Var(6) >= 200
triggerall = var(6) >= 0
triggerall = NumHelper(30000) = 0
triggerall = Statetype = S
triggerall = var(44) >= 1
triggerall = p2life <= 100
trigger1 = ctrl
trigger1 = random < 47
trigger1 = Var(25) < 200








;偝傒偟偄ZE


















