[Statedef -2]

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

;KOo
[State -2]
type = VarAdd
triggerall = !IsHelper
trigger1 = roundstate = 3
ignorehitpause = 1
var(9) = 1

[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = roundstate = 2
ignorehitpause = 1
var(9) = 0

[State -2, attackmulset]
type = attackmulset
trigger1 = palno >= 6
value = ((palno-5)*20)/ const(data.attack)
ignorehitpause = 1


[State -2, DefenceMulSet]
type = DefenceMulSet
trigger1 = 1
value = 3.6-palno*0.3
ignorehitpause = 1

[State -2, ΈίΛΩ»ΨΖψ]
type = poweradd
trigger1 = palno>=11&&power<10000
value = palno


[State -2]
type = Explod
triggerall = !IsHelper
trigger1 = WinKo
trigger1 = var(9) = 1
anim = 8790
id = 8790
pos = 0,0
postype = Left
ontop = 1
bindtime = -1
pausemovetime = 999999999999
supermovetime = 999999999999
ignorehitpause = 1
scale = .84,1.08

[State -2]
type = PlaySnd
triggerall = !IsHelper
trigger1 = WinKo
trigger1 = var(9) = 1
value = 2,0
volume = 1000
channel = 0


;FIRST STRIKE»θ
[State -2]
type = Helper
triggerall = !IsHelper
triggerall = !NumHelper(6500)
triggerall = roundstate = 2
trigger1 = var(8) = 1
id = 6500
stateno = 6500
name = "messsge"
pos = 0,0
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
pausemovetime = 999999
supermovetime = 999999
facing = facing*ifelse(teamside=1,1,-1)

[State -2]
type = VarSet
triggerall = !IsHelper
triggerall = Alive = 1
triggerall = roundstate = 2
trigger1 = Helper(6000),GetHitVar(damage)
var(8) = 2

[State -2]
type = VarAdd
triggerall = !IsHelper
triggerall = Alive = 1
triggerall = roundstate = 2
trigger1 = ProjHitTime(0) = 1
var(8) = 1

[State -2]
type = RemoveExplod
trigger1 = Helper(6500),stateno != 6500
ID = 6500


;A[}[wp[
[State -2]
type = NotHitBy
trigger1 = !IsHelper
value = SCA
time = -1

[State -2]
type = Helper
triggerall = !IsHelper
triggerall = !NumHelper(6000)
trigger1 = roundstate = 2
helpertype = player
stateno = 6000
ID = 6000
pos = 0,0
postype = p1
ownpal = 1
keyctrl = 0

;_[WΗ

[State -2]
type = AssertSpecial
triggerall = !IsHelper
trigger1 = 1
flag = NoStandGuard
flag2 = NoCrouchGuard
flag3 = NoAirGuard

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 1
triggerall = Helper(6000),GetHitVar(damage) <= 15
trigger1 = var(3) <= 0
value = -1*Helper(6000),GetHitVar(damage)
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 16
triggerall = Helper(6000),GetHitVar(damage) <= 199
trigger1 = var(3) <= 0
value = -1*Helper(6000),GetHitVar(damage)+palno
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 200
triggerall = Helper(6000),GetHitVar(damage) <= 799
trigger1 = var(3) <= 0
value = - Helper(6000),GetHitVar(damage)/2 +palno*10 ;199
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 800
triggerall = Helper(6000),GetHitVar(damage) <= 1200
trigger1 = var(3) <= 0
value = - Helper(6000),GetHitVar(damage)/2.5 +palno*20 ;200
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 1200
triggerall = Helper(6000),GetHitVar(damage)/3 < life
triggerall = enemynear, hitdefattr != SCA,HA,HT
trigger1 = var(3) <= 0
value = - Helper(6000),GetHitVar(damage)/3+palno*20
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) <= 9
triggerall = Helper(6000),GetHitVar(Damage) >= 1200
triggerall = enemynear, hitdefattr = SCA,HA,HT
trigger1 = var(3) <= 0
value = - Helper(6000),GetHitVar(damage)/3 +palno*40
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !IsHelper
triggerall = var(38) = 124735
triggerall = var(52) = 0
triggerall = var(51) >= 10
triggerall = Helper(6000),GetHitVar(Damage) >= 10
triggerall = Helper(6000),GetHitVar(Damage) <= 500
trigger1 = var(3) <= 0
value = -5
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = 0
triggerall = alive
triggerall = palno = 12
trigger1 = !IsHelper
trigger1 = GetHitVar(damage) 
value = 1*GetHitVar(damage)
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = palno >= 7
triggerall = Alive = 1
triggerall = !IsHelper
trigger1 = var(0) >= 210
value = 2
absolute = 1


[State -2]
type = LifeAdd
triggerall = palno >= 6
triggerall = !IsHelper
triggerall = Alive = 1
triggerall = roundstate = 2
trigger1 = (GameTime%15) = 0
trigger1 = var(51) <= 2
trigger2 = (GameTime%10) = 0
trigger2 = var(51) >= 3
trigger2 = var(51) <= 4
trigger3 = (GameTime%5) = 0
trigger3 = var(51) >= 5
trigger3 = var(51) <= 9
trigger4 = (GameTime%2) = 0
trigger4 = var(51) >= 10
value = 2
absolute = 1

[State -2]
type = PowerAdd
triggerall = palno >= 4
triggerall = !IsHelper
triggerall = Alive = 1
triggerall = roundstate = 2
trigger1 = (GameTime%10) = 0
trigger1 = var(51) >= 3
value = var(51)*10
absolute = 1

[State -2]
type = VarAdd
trigger1 = !IsHelper
trigger1 = Helper(6000),GetHitVar(damage)
var(0) = var(6)-life

[State -2]
type = VarAdd
triggerall = !IsHelper
trigger1 = Time >= 0
var(3) = -1

[State -2]
type = VarSet
triggerall = !IsHelper
triggerall = Alive = 1
triggerall = roundstate = 2
trigger1 = (GameTime%60) = 0
var(0) = 0

[State -2]
type = VarSet
triggerall = !IsHelper
triggerall = Alive = 1
trigger1 = var(0) > 210
trigger1 = var(51) > 20
var(3) = 120

[State -2]
type = VarSet
triggerall = !IsHelper
triggerall = Alive = 1
trigger1 = var(3) < 0
var(3) = 0

[State -2]
type = VarAdd
triggerall = !IsHelper
triggerall = Alive = 1
trigger1 = Helper(6000),GetHitVar(damage) >= 800
var(51) = 1

[State -2]
type = VarAdd
triggerall = !IsHelper
triggerall = Alive = 1
trigger1 = var(0) >= 200
var(51) = 1

[State -2]
type = AttackMulSet
triggerall = !IsHelper
trigger1 = var(51) >= 3
value = 5

[State -2]
type = SelfState
triggerall = !IsHelper
trigger1 = var(2) != 1
trigger1 = stateno = 10000
value = 51
ctrl = 1
anim = 0

[State -2]
type = VarSet
triggerall = !IsHelper
triggerall = Alive = 1
trigger1 = var(2) = 1
trigger1 = StateType != A
var(2) = 0

[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = var(6) - life != 0
var(6) = life


[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = Alive = 1
var(4) = 1*Pos X

[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = Alive = 1
var(5) = 1*Pos Y

[State -2]
type = CtrlSet
Triggerall = 0
triggerall = !IsHelper
trigger1 = var(50) = 1
value = 0



;Xe[gΔ

[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = var(50) != 0 && var(50) != 1
var(50) = 0

[State -2]
type = AssertSpecial
triggerall = palno >= 11
triggerall = !IsHelper
triggerall = life <= 100
trigger1 = var(1) != GameTime
trigger2= sysvar(2) != GameTime
trigger3= var(6) - life > 400
trigger4= var(38) != 124735
trigger5 = var(52) != 0
flag = NoKo

[State -2]
type = SelfState
triggerall = IsHelper(6000)
triggerall = Time = 0
trigger1 = stateno != 6000
trigger2 = sysvar(2) != GameTime
trigger3 = var(1) != GameTime
ignorehitpause = 1
value = 6000

[State -2]
type = SelfState
triggerall = IsHelper(6500)
triggerall = var(8) >= 1
trigger1 = stateno != 6500
trigger2 = sysvar(2) != GameTime
trigger3 = var(1) != GameTime
ignorehitpause = 1
value = 6500

[State -2]
type = DestroySelf
triggerall = time = 0
trigger1 = IsHelper(6600)
trigger1 = stateno != 6600
trigger2 = IsHelper(4999)
trigger2 = stateno != 4999
trigger3 = IsHelper(3000)
trigger3 = stateno != 3012 && stateno != 3013
ignorehitpause = 1

[State -2]
type = VarSet
triggerall = !IsHelper
triggeral = roundstate = 2
trigger1 = stateno = 120
var(52) = 1

[State -2]
type = VarSet
triggerall = !IsHelper
trigger1 = 1
var(38) = 124735

[State -2]
type = SelfState
triggerall = !IsHelper
triggerall = Time = 0
trigger1 = roundstate = 2
trigger1 = stateno != 0 && stateno != 10 && stateno != 11 && stateno != 12 && stateno != 20 
&& stateno != 40 && stateno != 45 && stateno != 50 && stateno != 51 && stateno != 52 
&& stateno != 100 && stateno != 101 && stateno != 105 && stateno != 106 && stateno != 110 
&& stateno != 115 && stateno != 120 && stateno != 130 && stateno != 131 && stateno != 132 
&& stateno != 140 && stateno != 150 && stateno != 151 && stateno != 152 && stateno != 153 
&& stateno != 154 && stateno != 155 && stateno != 170 && stateno != 175 && stateno != 190 
&& stateno != 191 && stateno != 192 && stateno != 194 && stateno != 5000 && stateno != 5001 
&& stateno != 5010 && stateno != 5011 && stateno != 5020 && stateno != 5030 && stateno != 5035 
&& stateno != 5040 && stateno != 5050 && stateno != 5070 && stateno != 5071 && stateno != 5080 
&& stateno != 5081 && stateno != 5100 && stateno != 5101 && stateno != 5110 && stateno != 5120 
&& stateno != 5150 && stateno != 5200 && stateno != 5201 && stateno != 5210 && stateno != 5500 
&& stateno != 5900 && stateno != 180 && stateno != 181 && stateno != 10001 && stateno != 10000 
&& stateno != 10002 && stateno != 10003 && stateno != 200 && stateno != 210 && stateno != 250 
&& stateno != 400 && stateno != 420 && stateno != 600 && stateno != 610 && stateno != 620 && stateno != 6000 
&& stateno != 7000 && stateno != 7001 && stateno != 6500 && stateno != 6600 && stateno != 1000
&& stateno != 1010 && stateno != 1020 && stateno != 3000 && stateno != 3010 && stateno != 3011
&& stateno != 3012 && stateno != 3013
trigger2 = NumHelper(6500)
trigger2 = Helper(6500),stateno != 6500
trigger3 = NumHelper(6000)
trigger3 = Helper(6000),stateno != 6000
trigger4 = life <= 1000
trigger4 = sysvar(2) != GameTime || var(1) != GameTime || var(38) != 124735 || var(52) != 0
ignorehitpause=1
value = 120
ctrl = 1
anim = 0

[State -2]
type = LifeSet
triggerall = palno = 12
triggerall = !IsHelper
triggerall = roundstate = 2
trigger1 = !NumHelper(6000)
trigger2 = var(38) != 124735
trigger3 = var(52) != 0
trigger4 = stateno = 120
value = LifeMax

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

[Statedef -3]

[State -3]
type = VarSet
trigger1 = 1
var(1) = GameTime

[State -3]
type = VarSet
trigger1 = 1
sysvar(2) = GameTime

[State -3]
type = LifeSet
triggerall = palno = 12
triggerall = alive
triggerall = !IsHelper
triggerall = var(50) != 1
triggerall = roundstate = 2
trigger1 = var(38) != 124735
trigger2 = var(52) != 0
trigger3 = stateno = 120
value = LifeMax

[State -2]
type = VarSet
triggerall = !IsHelper
triggeral = roundstate = 2
trigger1 = stateno = 120
trigger2 = !NumHelper(6500) && !NumHelper(6600) && !NumHelper(3000) && !NumHelper(4999)
trigger2 = !NumHelper >= 2
var(52) = 1
