;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
[Statedef -2]

[State 0];νAIONXCb`
type = VarSet
trigger1 = !ishelper && roundstate <= 2
var(30) = 1
IgnoreHitPause = 1
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

[State 0]
Type = DisplayToClipboard
trigger1 = 1
text = "V40=%d,V41=%d,V42=%d,V43=%d,V44=%d"
params = var(40),var(41),var(42),var(43),var(44)
ignorehitpause = 1
[State 0]
type = AppendToClipboard
trigger1 = 1
text = " V45=%d,V31=%d,V32=%d,V33=%d,V47=%d"
params = var(45),var(31),var(32),var(33),var(47)
ignorehitpause = 1
[State 0]
type = AppendToClipboard
trigger1 = 1
text = " V48=%d,V50=%d,V51=%d"
params = var(48),var(50),var(51)
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = AttackMulSet
trigger1 = enemynear,const(data.defence) > 100 || enemynear,lifemax > 1000
value = ceil(0.00001*ifelse(enemynear,const(data.defence) > 100,enemynear,const(data.defence),100)*ifelse(enemynear,lifemax > 1000,enemynear,lifemax,1000))
ignorehitpause = 1

[State 0]
type = AssertSpecial
triggerall = ishelper
trigger1 = !ishelper(7777)
flag = noshadow
flag2 = noautoturn
ignorehitpause = 1
[State 0]
type = AssertSpecial
triggerall = !ishelper
trigger1 = alive && RoundState > 2
flag = noko
ignorehitpause = 1

[State 0]
type = AssertSpecial
triggerall = ishelper
triggerall = numhelper(7777)
trigger1 = helper(7777),stateno = 2000
trigger2 = helper(7777),stateno = [2100,2102]
trigger3 = helper(7777),stateno = [2200,2202]
trigger4 = helper(7777),stateno = [2300,2305]
flag = noBG
flag2 = noFG
ignorehitpause = 1
[State 0]
type = AssertSpecial
triggerall = ishelper
triggerall = numhelper(7777)
trigger1 = helper(7777),stateno = 2305
flag = nobardisplay
ignorehitpause = 1
[State 0]
type = BGPalFx
triggerall = ishelper
triggerall = numhelper(7777)
trigger1 = helper(7777),stateno = 2000
trigger2 = helper(7777),stateno = [2100,2102]
trigger3 = helper(7777),stateno = [2200,2202]
trigger4 = helper(7777),stateno = [2300,2305]
add = -256,-256,-256
sinadd = 256,256,256,480
time = 120
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = screenbound
triggerall = ishelper
trigger1 = !ishelper(7777)
trigger1 = !ishelper(9870)
value = 0
movecamera = 0,0
ignorehitpause = 1

[state 0]
type = playsnd
triggerall = ishelper(7777)
trigger1 = loseKO
trigger1 = RoundNo = 1
trigger1 = var(12) = 0
value = 12,0
persistent = 0
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(7777)
trigger1 = loseKO
trigger1 = RoundNo != 1
trigger1 = var(12) = 0
value = 12,1
persistent = 0
ignorehitpause = 1

[State 0]
type = stopSnd
triggerall = ishelper(7777)
trigger1 = MoveType = H
channel = 2
ignorehitpause = 1
[state 0]
type = stopsnd
triggerall = ishelper(7777)
trigger1 = MoveType = H
channel = 1
ignorehitpause = 1
[state 0]
type = stopsnd
triggerall = ishelper(7777)
trigger1 = MoveType = H
channel = 4
ignorehitpause = 1
[state 0]
type = stopsnd
triggerall = ishelper(7777)
trigger1 = RoundState = 2
channel = 2
ignorehitpause = 1
[state 0]
type = stopsnd
triggerall = ishelper(7777)
trigger1 = RoundState = 2
channel = 5
ignorehitpause = 1

[State 0]
type = removeexplod
triggerall = ishelper(7777)
trigger1 = MoveType = H
ID = 3000
ignorehitpause = 1

[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = RoundState != 2 || var(51) > 0 || var(57) != 69*gametime
trigger2 = root,palno = 12 && (enemynear,life = 0 || enemynear,stateno = 5150 || enemynear,alive = 0)
value = SCA
time = 1
ignorehitpause = 1
[state 0]
type = NotHitBy
trigger1 = !ishelper
value = SCA
time = -1
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[state 0]
type = varadd
trigger1 = ishelper(78881)
trigger1 = var(57) != 69*gametime
var(0) = 1
ignorehitpause = 1
[state 0]
type = varset
trigger1 = ishelper(78881)
trigger1 = var(57) = 69*gametime
var(0) = 0
ignorehitpause = 1

[state 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = 1
v = 4
value = -1
persistent = 0
ignorehitpause = 1
[state 0]
type = pause
triggerall = ishelper(7777)
trigger1 = var(4) >= 1
trigger1 = gametime % 2
time = 1
persistent = 0
ignorehitpause = 1

[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = enemynear,movetype != A
v = 8
value = 0
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = enemynear,movetype = A
v = 8
value = 1
ignorehitpause = 1

[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = var(10) = 0
trigger1 = facing = 1
v = 10
value = 1
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = var(10) = 0
trigger1 = facing = -1
v = 10
value = 2
ignorehitpause = 1

[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = RoundState = 3
v = 12
value = 1
IgnoreHitPause = 1
[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = RoundState = 2
v = 12
value = 0
IgnoreHitPause = 1

[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = movetype = H
v = 13
value = 0
ignorehitpause = 1

[State 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = 1
v = 15
value = -1
ignorehitpause = 1

[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = roundstate = 0
var(21) = 1
ignorehitpause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = roundstate = 0
var(22) = 1
ignorehitpause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = var(21) <= 1
var(22) = 3
ignorehitpause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = var(21) >= 150
var(22) = 2
ignorehitpause = 1
[State 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = var(22) = 3
var(21) = 5
ignorehitpause = 1
[State 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = var(22) = 2
var(21) = -5
ignorehitpause = 1
[State 0]
type = PalFX
trigger1 = ishelper(7777)
time = 2
add = var(21),var(21),var(21)
ignorehitpause = 1
[State 0]
type = PalFX
triggerall = ishelper(7777)
trigger1 = var(21) <= 40
time = 2
add = var(21)-40,var(21)-40,var(21)-40
color = 0
ignorehitpause = 1

[State 0]
type = parentvarset
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991) || ishelper(9990)
triggerall = root,var(31) = -1
trigger1 = numtarget
trigger1 = target,ishelper
trigger1 = movehit = 1
var(31) = target,anim
ignorehitpause = 1
[State 0]
type = parentvarset
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991) || ishelper(9990)
triggerall = root,var(32) = -1 && root,var(31) != -1
trigger1 = numtarget
trigger1 = target,ishelper
trigger1 = movehit = 1
var(32) = target,anim
ignorehitpause = 1
[State 0]
type = parentvarset
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991) || ishelper(9990)
triggerall = root,var(33) = -1 && root,var(31) != -1 && root,var(32) != -1
trigger1 = numtarget
trigger1 = target,ishelper
trigger1 = movehit = 1
var(33) = target,anim
ignorehitpause = 1

[State 0]
Type = VarSet
trigger1 = 1
var(35) = 0
IgnoreHitPause = 1
[State 0]
Type = VarSet
trigger1 = Random <= 300
var(35) = 1
IgnoreHitPause = 1
[State 0]
Type = VarSet
trigger1 = Random <= 300
var(35) = 2
IgnoreHitPause = 1
[State 0]
Type = VarSet
trigger1 = Random <= 300
var(35) = 3
IgnoreHitPause = 1

[State 0]
type = varrandom
trigger1 = ishelper(7777)
range = -40,40
v = 40
IgnoreHitPause = 1
[State 0]
type = varrandom
trigger1 = ishelper(7777)
range = 0,-40
v = 41
IgnoreHitPause = 1

[State 0]
type = varset
triggerall = !ishelper
triggerall = var(40) = 0
trigger1 = var(57) != 69*gametime
var(40) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(40) = 0
trigger1 = var(57) != 69*gametime
var(40) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0
trigger1 = var(40) = 0
var(40) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(40) = [10,12]) || var(40) = 20 || var(40) = 40 || var(40) = 45 || (var(40) = [50,52])
trigger2 = var(40) = 100 || (var(40) = [105,106]) || var(40) = 110 || var(40) = 115 || var(40) = 120 || (var(40) = [130,132]) || var(40) = 140 || (var(40) = [150,155])
trigger3 = (var(40) = [5000,5001]) || (var(40) = [5010,5011]) || var(40) = 5020 || var(40) = 5030 || var(40) = 5035 || var(40) = 5040 || var(40) = 5050 || (var(40) = [5070,5071]) || (var(40) = [5080,5081])
trigger4 = (var(40) = [5100,5101]) || var(40) = 5110 || var(40) = 5120 || (var(40) = [5200,5201]) || var(40) = 5210
trigger5 = var(40) = 1000044 || (var(40) = [1000060,1000065])
var(40) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(41) = 0 && var(40) > 0
triggerall = stateno != var(40)
trigger1 = var(57) != 69*gametime
var(41) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(41) = 0 && root,var(40) > 0
triggerall = stateno != root,var(40)
trigger1 = var(57) != 69*gametime
var(41) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(50) = 1
triggerall = numhelper(7888) && helper(7888),var(0) = [0,240]
trigger1 = var(41) = 0
var(41) = var(40)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(40) != var(47)
trigger1 = var(41) = 0
var(41) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(48) > 0 && var(40) = var(47)
trigger1 = var(41) = 0
var(41) = var(48)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(41) = [10,12]) || var(41) = 20 || var(41) = 40 || var(41) = 45 || (var(41) = [50,52])
trigger2 = var(41) = 100 || (var(41) = [105,106]) || var(41) = 110 || var(41) = 115 || var(41) = 120 || (var(41) = [130,132]) || var(41) = 140 || (var(41) = [150,155])
trigger3 = (var(41) = [5000,5001]) || (var(41) = [5010,5011]) || var(41) = 5020 || var(41) = 5030 || var(41) = 5035 || var(41) = 5040 || var(41) = 5050 || (var(41) = [5070,5071]) || (var(41) = [5080,5081])
trigger4 = (var(41) = [5100,5101]) || var(41) = 5110 || var(41) = 5120 || (var(41) = [5200,5201]) || var(41) = 5210
trigger5 = var(41) = var(47) && var(40) = var(47)
trigger6 = var(41) = 1000044 || (var(41) = [1000060,1000065])
var(41) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7888) && helper(7888),var(0) != [0,240]
trigger1 = var(41) = var(40)
var(41) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(42) = 0 && var(40) > 0 && var(41) > 0
triggerall = stateno != var(40) && stateno != var(41)
trigger1 = var(57) != 69*gametime
var(42) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(42) = 0 && root,var(40) > 0 && root,var(41) > 0
triggerall = stateno != root,var(40) && stateno != root,var(41)
trigger1 = var(57) != 69*gametime
var(42) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(50) = 1
triggerall = numhelper(7888) && helper(7888),var(0) = [0,240]
trigger1 = var(42) = 0
var(42) = var(40)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(40) != var(47) && var(41) != var(47)
trigger1 = var(42) = 0
var(42) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(48) > 0 && (var(40) = var(47) || var(41) = var(47))
trigger1 = var(42) = 0
var(42) = var(48)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(42) = [10,12]) || var(42) = 20 || var(42) = 40 || var(42) = 45 || (var(42) = [50,52])
trigger2 = var(42) = 100 || (var(42) = [105,106]) || var(42) = 110 || var(42) = 115 || var(42) = 120 || (var(42) = [130,132]) || var(42) = 140 || (var(42) = [150,155])
trigger3 = (var(42) = [5000,5001]) || (var(42) = [5010,5011]) || var(42) = 5020 || var(42) = 5030 || var(42) = 5035 || var(42) = 5040 || var(42) = 5050 || (var(42) = [5070,5071]) || (var(42) = [5080,5081])
trigger4 = (var(42) = [5100,5101]) || var(42) = 5110 || var(42) = 5120 || (var(42) = [5200,5201]) || var(42) = 5210
trigger5 = var(42) = var(47) && (var(40) = var(47) || var(41) = var(47))
trigger6 = var(42) = var(48) && (var(40) = var(48) || var(41) = var(48))
trigger7 = var(42) = 1000044 || (var(42) = [1000060,1000065])
var(42) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7888) && helper(7888),var(0) != [0,240]
trigger1 = var(42) = var(40) || var(42) = var(41)
var(42) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(43) = 0 && var(40) > 0 && var(41) > 0 && var(42) > 0
triggerall = stateno != var(40) && stateno != var(41) && stateno != var(42)
trigger1 = var(57) != 69*gametime
var(43) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(43) = 0 && root,var(40) > 0 && root,var(41) > 0 && root,var(42) > 0
triggerall = stateno != root,var(40) && stateno != root,var(41) && stateno != root,var(42)
trigger1 = var(57) != 69*gametime
var(43) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(50) = 1
triggerall = numhelper(7888) && helper(7888),var(0) = [0,240]
trigger1 = var(43) = 0
var(43) = var(40)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(40) != var(47) && var(41) != var(47) && var(42) != var(47)
trigger1 = var(43) = 0
var(43) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(48) > 0 && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47))
trigger1 = var(43) = 0
var(43) = var(48)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(43) = [10,12]) || var(43) = 20 || var(43) = 40 || var(43) = 45 || (var(43) = [50,52])
trigger2 = var(43) = 100 || (var(43) = [105,106]) || var(43) = 110 || var(43) = 115 || var(43) = 120 || (var(43) = [130,132]) || var(43) = 140 || (var(43) = [150,155])
trigger3 = (var(43) = [5000,5001]) || (var(43) = [5010,5011]) || var(43) = 5020 || var(43) = 5030 || var(43) = 5035 || var(43) = 5040 || var(43) = 5050 || (var(43) = [5070,5071]) || (var(43) = [5080,5081])
trigger4 = (var(43) = [5100,5101]) || var(43) = 5110 || var(43) = 5120 || (var(43) = [5200,5201]) || var(43) = 5210
trigger5 = var(43) = var(47) && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47))
trigger6 = var(43) = var(48) && (var(40) = var(48) || var(41) = var(48) || var(42) = var(48))
trigger7 = var(43) = 1000044 || (var(43) = [1000060,1000065])
var(43) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7888) && helper(7888),var(0) != [0,240]
trigger1 = var(43) = var(40) || var(43) = var(41) || var(43) = var(42)
var(43) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(44) = 0 && var(40) > 0 && var(41) > 0 && var(42) > 0 && var(43) > 0
triggerall = stateno != var(40) && stateno != var(41) && stateno != var(42) && stateno != var(43)
trigger1 = var(57) != 69*gametime
var(44) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(44) = 0 && root,var(40) > 0 && root,var(41) > 0 && root,var(42) > 0 && root,var(43) > 0
triggerall = stateno != root,var(40) && stateno != root,var(41) && stateno != root,var(42) && stateno != root,var(43)
trigger1 = var(57) != 69*gametime
var(44) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(50) = 1
triggerall = numhelper(7888) && helper(7888),var(0) = [0,240]
trigger1 = var(44) = 0
var(44) = var(40)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(40) != var(47) && var(41) != var(47) && var(42) != var(47) && var(43) != var(47)
trigger1 = var(44) = 0
var(44) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(48) > 0 && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47) || var(43) = var(47))
trigger1 = var(44) = 0
var(44) = var(48)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(44) = [10,12]) || var(44) = 20 || var(44) = 40 || var(44) = 45 || (var(44) = [50,52])
trigger2 = var(44) = 100 || (var(44) = [105,106]) || var(44) = 110 || var(44) = 115 || var(44) = 120 || (var(44) = [130,132]) || var(44) = 140 || (var(44) = [150,155])
trigger3 = (var(44) = [5000,5001]) || (var(44) = [5010,5011]) || var(44) = 5020 || var(44) = 5030 || var(44) = 5035 || var(44) = 5040 || var(44) = 5050 || (var(44) = [5070,5071]) || (var(44) = [5080,5081])
trigger4 = (var(44) = [5100,5101]) || var(44) = 5110 || var(44) = 5120 || (var(44) = [5200,5201]) || var(44) = 5210
trigger5 = var(44) = var(47) && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47) || var(43) = var(47))
trigger6 = var(44) = var(48) && (var(40) = var(48) || var(41) = var(48) || var(42) = var(48) || var(43) = var(48))
trigger7 = var(44) = 1000044 || (var(44) = [1000060,1000065])
var(44) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7888) && helper(7888),var(0) != [0,240]
trigger1 = var(44) = var(40) || var(44) = var(41) || var(44) = var(42) || var(44) = var(43)
var(44) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(45) = 0 && var(40) > 0 && var(41) > 0 && var(42) > 0 && var(43) > 0 && var(44) > 0
triggerall = stateno != var(40) && stateno != var(41) && stateno != var(42) && stateno != var(43) && stateno != var(44)
trigger1 = var(57) != 69*gametime
var(45) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = parentvarset
triggerall = ishelper(7777) || ishelper(78881)
triggerall = root,var(45) = 0 && root,var(40) > 0 && root,var(41) > 0 && root,var(42) > 0 && root,var(43) > 0 && root,var(44) > 0
triggerall = stateno != root,var(40) && stateno != root,var(41) && stateno != root,var(42) && stateno != root,var(43) && stateno != root,var(44)
trigger1 = var(57) != 69*gametime
var(45) = stateno
ignorehitpause = (movereversed = 0)
[State 0]
type = varset
triggerall = !ishelper && var(50) = 1
triggerall = numhelper(7888) && helper(7888),var(0) = [0,240]
trigger1 = var(45) = 0
var(45) = var(40)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(40) != var(47) && var(41) != var(47) && var(42) != var(47) && var(43) != var(47) && var(44) != var(47)
trigger1 = var(45) = 0
var(45) = var(47)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(48) > 0 && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47) || var(43) = var(47) || var(44) = var(47))
trigger1 = var(45) = 0
var(45) = var(48)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(45) = [10,12]) || var(45) = 20 || var(45) = 40 || var(45) = 45 || (var(45) = [50,52])
trigger2 = var(45) = 100 || (var(45) = [105,106]) || var(45) = 110 || var(45) = 115 || var(45) = 120 || (var(45) = [130,132]) || var(45) = 140 || (var(45) = [150,155])
trigger3 = (var(45) = [5000,5001]) || (var(45) = [5010,5011]) || var(45) = 5020 || var(45) = 5030 || var(45) = 5035 || var(45) = 5040 || var(45) = 5050 || (var(45) = [5070,5071]) || (var(45) = [5080,5081])
trigger4 = (var(45) = [5100,5101]) || var(45) = 5110 || var(45) = 5120 || (var(45) = [5200,5201]) || var(45) = 5210
trigger5 = var(45) = var(47) && (var(40) = var(47) || var(41) = var(47) || var(42) = var(47) || var(43) = var(47) || var(44) = var(47))
trigger6 = var(45) = var(48) && (var(40) = var(48) || var(41) = var(48) || var(42) = var(48) || var(43) = var(48) || var(44) = var(48))
trigger7 = var(45) = 1000044 || (var(45) = [1000060,1000065])
var(45) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7888) && helper(7888),var(0) != [0,240]
trigger1 = var(45) = var(40) || var(45) = var(41) || var(45) = var(42) || var(45) = var(43) || var(45) = var(44)
var(45) = 0
ignorehitpause = 1

[State 0]
type = varrandom
trigger1 = !ishelper && gametime%60 = [0,5]
v = 46
range = 100,119
IgnoreHitPause = 1
[State 0]
type = varrandom
trigger1 = !ishelper && gametime%60 = [6,60]
v = 46
range = 5000,5210
IgnoreHitPause = 1

[State 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = gethitvar(damage) || var(57) != 69*gametime
var(50) = 1
IgnoreHitPause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = movetype != H
var(50) = 0
IgnoreHitPause = 1

[State 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = var(51) > 0
var(51) = -1
IgnoreHitPause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = var(51) = 0 && (((root,palno = [1,6]) && var(50) > 50) || ((root,palno = [7,11]) && var(50) > 25) || (root,palno = 12 && var(50) > 10))
var(51) = 50 + 50*(root,palno = [7,11]) + 100*(root,palno = 12)
IgnoreHitPause = 1

[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = life = 0
var(53) = 1
ignorehitpause = 1
[State 0]
type = parentvarset
triggerall = ishelper(7777)
trigger1 = life = 0
trigger2 = gethitvar(damage) >= lifemax
var(53) = 1
ignorehitpause = 1

[state 0]
type = varset
trigger1 = numenemy = 1
trigger2 = numenemy = 2
trigger2 = enemynear(0),alive
fvar(13) = abs(pos x - enemynear,pos x)*ifelse(frontedgedist<ifelse((facing=enemynear,facing),(enemynear,frontedgedist),(enemynear,backedgedist)),-1,1)
ignorehitpause = 1
[state 0]
type = varset
trigger1 = numenemy = 2
trigger1 = !enemynear(0),alive
fvar(13) = abs(pos x - enemynear(1),pos x)*ifelse(frontedgedist<ifelse((facing=enemynear(1),facing),(enemynear(1),frontedgedist),(enemynear(1),backedgedist)),-1,1)
ignorehitpause = 1

[state 0]
type = varset
trigger1 = numenemy = 1
trigger2 = numenemy = 2
trigger2 = enemynear(0),alive
fvar(14) = (enemynear,pos y) - pos y
ignorehitpause = 1
[state 0]
type = varset
trigger1 = numenemy = 2
trigger1 = !enemynear(0),alive
fvar(14) = (enemynear(1),pos y) - pos y
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[state 0]
type = Projectile
triggerall = ishelper(7777)
trigger1 = roundstate = 2 && (root,palno = [1,6])
trigger1 = var(57) != 69*gametime && enemynear,movetype != H
projanim = 40030
projid = 40030
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = SCA,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
sparkno = -1
hitsound = -1
numhits = 0
GivePower = -enemynear,power+1
pausetime = 0,20
ground.velocity = -10,15
air.velocity = -10,15
palfx.time = 60
palfx.mul = 255,0,0
palfx.invertall = 1
fall = 1
fall.recover = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7777)
trigger1 = numhelper(7888)
trigger1 = roundstate = 2 && (root,palno = [7,12])
trigger1 = var(57) != 69*gametime && enemynear,movetype != H
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = SCA,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
sparkno = -1
hitsound = -1
numhits = 0
air.velocity = 100-random%200,99999999999999999999999999999999999
ground.velocity = 100-random%200,99999999999999999999999999999999999
air.slidetime = 99999999999999999999999999999999999
ground.slidetime = 99999999999999999999999999999999999
GivePower = -enemynear,power+1
palfx.time = 60
palfx.mul = 255,0,0
palfx.invertall = 1
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (helper(7888),var(0) = [0,240])) + 994954*(gametime%10 < 5 && (helper(7888),var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = ReversalDef
triggerall = ishelper(7777)
trigger1 = numtarget && roundstate = 2
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
ignorehitpause = 1

[state 0]
type = targetlifeadd
triggerall = ishelper(7777)
trigger1 = numtarget && roundstate = 2 && stateno != 2101 && stateno != 2201 && stateno != 2305
value = -Ceil(0.001*enemynear,Const(data.life))
Absolute = 1
ignorehitpause = 1
[state 0]
type = targetpoweradd
triggerall = ishelper(7777)
trigger1 = numtarget && roundstate = 2 && stateno != 2101 && stateno != 2201 && stateno != 2305
value = -Ceil(0.001*enemynear,Const(data.power))
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = lifeset
trigger1 = !ishelper
value = lifemax - var(59)
ignorehitpause = 1

[State 0]
type = powerset
trigger1 = !ishelper
trigger1 = TeamMode = Single || TeamMode = Turns
value = var(58)
ignorehitpause = 1

[State 0]
type = SelfState
trigger1 = ishelper(7777)
trigger1 = root,var(49) = 0 && roundstate = 2
trigger2 = ishelper(7777)
trigger2 = root,var(49) = 1 && (roundstate > 2 || root,alive = 0)
value = 157
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7777)
trigger1 = hitpausetime > 20
value = 158
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7777)
trigger1 = root,alive && (var(57) != 69*gametime || pos Y != [-1280,240])
value = 151*(statetype = S || statetype = L) + 153*(statetype = C) + 155*(statetype = A)
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7777) && roundstate > 3
trigger1 = root,alive && (root,win || root,drawgame || root,lose) && stateno != [170,181]
value = ifelse((root,win),180,170)
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7777)
trigger1 = root,alive = 0 && stateno != [5050,5150]
value = 5050
ctrl = 0
ignorehitpause = 1

[State 0]
type = SelfState
triggerall = ishelper(1220)
trigger1 = stateno != 130
trigger1 = stateno != 156
trigger2 = var(57) != 69*gametime
value = 156
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(525) || ishelper(526) || ishelper(1111) || ishelper(2315) || ishelper(2316) || ishelper(2317)
trigger1 = stateno != [130,131]
trigger2 = var(57) != 69*gametime
value = 130
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(6000) || ishelper(6003) || ishelper(6021) || ishelper(6030) || ishelper(6050) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trigger1 = stateno != [130,131]
trigger2 = var(57) != 69*gametime
value = 130
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(6510) || ishelper(6511) || ishelper(6512) || ishelper(6520)
trigger1 = stateno != [130,131]
trigger2 = var(57) != 69*gametime
value = 130
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(2006) || ishelper(2112) || ishelper(2218) || ishelper(2219) || ishelper(6070) || ishelper(22014) || ishelper(22217) || ishelper(27101)
trigger1 = stateno != [130,131]
trigger2 = var(57) != 69*gametime
value = 130
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = stateno != 131
trigger2 = var(57) != 69*gametime
value = 131
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(9870) || ishelper(9871) || ishelper(9872) || ishelper(9873) || ishelper(9874) || ishelper(9880) || ishelper(9881) || ishelper(9882)
trigger1 = stateno != 132
trigger2 = var(57) != 69*gametime
value = 132
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7790)
trigger1 = stateno != 150
trigger1 = stateno != 151
trigger1 = stateno != 152
trigger2 = var(57) != 69*gametime
value = 150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7886) || ishelper(7888) || ishelper(7889) || ishelper(7899) || ishelper(7990) || ishelper(7991)
trigger1 = stateno != 150
trigger2 = var(57) != 69*gametime
value = 150
ctrl = 0
ignorehitpause = 1
[state 0]
type = destroyself
trigger1 = ishelper(78880)
trigger1 = gethitvar(damage) && var(57) != 69*gametime && parent,numtarget
ignorehitpause = 1
[State 0]
type = SelfState
trigger1 = ishelper(78880)
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(7778) || ishelper(7791)
trigger1 = stateno != 5150
trigger2 = var(57) != 69*gametime
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = ishelper(78881)
trigger1 = var(0) > 60
trigger2 = (stateno = [5000,5120]) || (stateno = 5150 && var(57) != 69*gametime) || (stateno = [5200,5210])
value = 5150
ctrl = 0
ignorehitpause = 1

[State 0]
type = SelfState
trigger1 = !IsHelper
value = ifelse(hitpausetime < 2,120,158)
ctrl = 0
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
[Statedef -3]
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

;-------------------------------------------------------------------------------------------------------
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7777) = 0
id = 7777
stateno = 0 + 50*(Pos Y < 0 && alive) + 190*(roundstate < 2 && roundno = 1) + 5050*(alive = 0)
keyctrl = ifelse((roundstate != 2),0,1)
ownpal = 1
helpertype = player
ignorehitpause = 1
pausemovetime = ifelse((roundstate = 2),0,2000000000)
supermovetime = ifelse((roundstate = 2),0,2000000000)
[State 0]
type = helper
triggerall = ishelper(7777)
trigger1 = root,alive && (root,var(50) = 1 || root,var(53) = 1) && numhelper(7778) = 0
id = 7778
stateno = 5150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7790) = 0
id = 7790
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7791) = 0
id = 7791
stateno = 5150
keyctrl = 0
ownpal = 1
helpertype = player
size.xscale = 0.6
size.yscale = 0.6
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7888) = 0
id = 7888
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7889) = 0
id = 7889
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = !ishelper && palno = 12 && roundstate = 2
trigger1 = numhelper(7899) = 0 && var(50) = 1
id = 7899
stateno = 150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7990) = 0
id = 7990
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper
trigger1 = numhelper(7991) = 0
id = 7991
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = !ishelper && palno%2 = 0
trigger1 = numhelper(9990) = 0
id = 9990
stateno = 131
pos = -75,-125
keyctrl = 0
ownpal = 1
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = !ishelper && roundstate > 2 && enemynear,alive = 0
trigger1 = numhelper(27101) = 0 && fvar(26) = 1
id = 27101
stateno = 130
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate > 2 && (alive = 0 || enemynear,alive = 0)
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = helper
triggerall = !ishelper && palno = 12
trigger1 = roundstate < 2
trigger2 = roundstate > 2 && alive && enemynear,alive
id = 7886
stateno = 150
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

;-------------------------------------------------------------------------------------------------------
[State 0]
type = assertspecial
triggerall = ishelper
trigger1 = root,hitpausetime
flag = roundnotover
ignorehitpause = 1
[State 0]
type = assertspecial
triggerall = roundstate = 4
trigger1 = numhelper(7777)
trigger1 = helper(7777),stateno != 170
trigger1 = helper(7777),stateno != 181
trigger1 = helper(7777),stateno != 5150
flag = roundnotover
ignorehitpause = 1

[State 0]
Type = AssertSpecial
triggerall = ishelper(7777)
Trigger1 = fvar(13) > 0
Flag = NoAutoTurn
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = AfterImage
triggerall = IsHelper(7777)
trigger1 = stateno = 0 && time = 0 && stateno != [2300,2305]
time = -1
length = 5
palcontrast = 220,120,120
paladd = -10,-25,-25
palmul = .75,.65,.65
timegap = 2
framegap = 1
trans = add
persistent = 0
ignorehitpause = 1
[State 0]
type = Afterimagetime
triggerall = ishelper(7777)
trigger1 = root,alive = 0
trigger2 = stateno = [2300,2305]
time = 0
IgnoreHitPause = 1

[state 0]
type = Ctrlset
triggerall = ishelper(7777)
trigger1 = roundstate = 2 && stateno = 0 && ctrl = 0
value = 1
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = Time = 1
trigger1 = stateno = 52 
trigger2 = stateno = 107 
trigger3 = stateno = 103 
value = 40,0
IgnoreHitPause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = time = 1
trigger1 = stateno = 40 
value = 40,1
channel = 3
IgnoreHitPause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = time = 1
trigger1 = stateno = 40 
trigger1 = var(15) > 1
value = 41, 0
channel = 3
IgnoreHitPause = 1
[state 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = movetype = H
triggerall = time = 0
triggerall = stateno != [120,159]
trigger1 = GetHitVar(animtype) = 0
value = 5000,0+(random%5)
persistent = 0
IgnoreHitPause = 1
[state 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = movetype = H
triggerall = time = 0
triggerall = stateno != [120,159]
trigger1 = GetHitVar(animtype) = 1
value = 5001,0+(random%5)
persistent = 0
IgnoreHitPause = 1
[state 0]
type = PlaySnd
triggerall = ishelper(7777)
triggerall = movetype = H
triggerall = time = 0
triggerall = stateno != [120,159]
trigger1 = GetHitVar(animtype) = 2
trigger2 = GetHitVar(animtype) = 3
trigger3 = GetHitVar(animtype) = 4
value = 5002,0+(random%4)
persistent = 0
IgnoreHitPause = 1

[State 0]
type = PlayerPush
triggerall = ishelper
trigger1 = !ishelper(7777)
value = 0
ignorehitpause = 1
[State 0]
type = PlayerPush
trigger1 = ishelper(7777)
value = ifelse(roundstate != 2,0,1)
ignorehitpause = 1

[State 0]
type = Width
trigger1 = ishelper(7777)
edge = 5,0
IgnoreHitPause = 1

[State 0]
type = velset
triggerall = ishelper(7777)
trigger1 = stateno = 50
trigger1 = anim = 42
trigger1 = time = 1
trigger1 = var(15) >= 1
x = 6
y = -12
IgnoreHitPause = 1
[State 0]
type = velset
triggerall = ishelper(7777)
trigger1 = stateno = 50
trigger1 = anim = 43
trigger1 = time = 1
trigger1 = var(15) >= 1
x = -6
y = -12
IgnoreHitPause = 1
[State 0]
type = veladd
triggerall = ishelper(7777)
trigger1 = stateno = 50
trigger1 = time = 1
trigger1 = var(16) = 1
y = 3
IgnoreHitPause = 1

[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = RoundState <= 2
trigger1 = (stateno = [0,12]) || stateno = 151 || stateno = 153
trigger2 = pos Y != [-1280,240]
y = 0
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(7777)
triggerall = root,alive
trigger1 = (stateno != [2100,2102]) && gametime%6 = 0
anim = 22207
id = 22207
sprpriority = 5
postype = p1
pos = var(40),var(41)
bindtime = 1
under = 0
ownpal = 1
vel = 0,-3 - random%2
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = lifeadd
trigger1 = ishelper(7777)
value = lifemax
kill = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = stateno = 10
trigger1 = time = 0
trigger2 = stateno = 100
Trigger3 = p2movetype = H
trigger3 = var(30) = 1
v = 15
value = 20
IgnoreHitPause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = stateno = 52
trigger1 = time = 0
v = 15
value = 0
IgnoreHitPause = 1

[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = stateno = 40
trigger1 = command != "holdup"
trigger2 = var(30) != 1
v = 16
value = 1
IgnoreHitPause = 1
[State 0]
type = varset
triggerall = ishelper(7777)
trigger1 = stateno = 40
trigger1 = command = "holdup"
v = 16
value = 0
IgnoreHitPause = 1

[State 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
var(29) = 0
IgnoreHitPause = 1
[State 0]
type = varadd
triggerall = !ishelper
trigger1 = roundstate = 2
var(29) = 1
IgnoreHitPause = 1

[state 0]
type = parentvarset
triggerall = ishelper(7777)
trigger1 = movecontact = 1
trigger1 = numtarget = 0
trigger2 = movehit = 1
trigger2 = (enemynear,stateno != [5000,5210]) || enemynear,movetype != H
var(56) = 1
ignorehitpause = 1

[state 0]
type = varset
trigger1 = 1
var(57) = 69*gametime
ignorehitpause = 1

[state 0]
type = varset
trigger1 = numenemy = 1
trigger2 = numenemy = 2
trigger2 = enemynear(0),alive
fvar(13) = abs(pos x - enemynear,pos x)*ifelse(frontedgedist<ifelse((facing=enemynear,facing),(enemynear,frontedgedist),(enemynear,backedgedist)),-1,1)
ignorehitpause = 1
[state 0]
type = varset
trigger1 = numenemy = 2
trigger1 = !enemynear(0),alive
fvar(13) = abs(pos x - enemynear(1),pos x)*ifelse(frontedgedist<ifelse((facing=enemynear(1),facing),(enemynear(1),frontedgedist),(enemynear(1),backedgedist)),-1,1)
ignorehitpause = 1

[state 0]
type = varset
trigger1 = numenemy = 1
trigger2 = numenemy = 2
trigger2 = enemynear(0),alive
fvar(14) = (enemynear,pos y) - pos y
ignorehitpause = 1
[state 0]
type = varset
trigger1 = numenemy = 2
trigger1 = !enemynear(0),alive
fvar(14) = (enemynear(1),pos y) - pos y
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
;t
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-65,65]
triggerall = enemynear,statetype != L 
Trigger1 = MoveGuarded && (stateno = 420)
Trigger2 = enemynear,hitdefattr = SCA,NT,ST,HT
Trigger2 = fvar(13) = [-30,30]
trigger2 = ctrl
value = 1100

;_bV
[State 0]
type = ChangeState
value = 100
triggerall = ishelper(7777)
TriggerAll = root,var(30)
triggerall = RoundState = 2
TriggerAll = StateType != A
TriggerAll = enemynear,StateType != L
TriggerAll = !inguarddist
TriggerAll = Ctrl
Trigger1 = fvar(13) != [-130,130]
Trigger1 = Random <= 100
Trigger2 = fvar(13) != [-100,100]
Trigger2 = NumHelper(6510) = 1 || NumHelper(6511) = 1 || NumHelper(6512) = 1 || NumHelper(6520) = 1
Trigger3 = fvar(13) != [-100,100]
trigger3 = enemynear,movetype = H
trigger3 = enemynear,statetype = A
trigger4 = enemynear,stateno = 5050
Trigger4 = fvar(13) != [-69,69]

;σ_bV
[State 0]
type = ChangeState
value = 110
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerAll = statetype = A
trigger1 = ctrl && random <= 500
trigger1 = fvar(13) != [-40,40]
trigger1 = stateno = 50

;°
[State 0]
Type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
triggerall = fvar(13) = [-15,15]
triggerall = enemynear,StateType = S || enemynear,StateType = C
triggerall = enemynear,MoveType != H
triggerall = enemynear,prevstateno != [5000,5120]
trigger1 = Random = [400,700]
value = 800

;§Ξσ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = enemynear,life != 0
triggerall = statetype != A
triggerall = enemynear,statetype = A 
Trigger1 = fvar(13) = [-40,40]
trigger1 = fvar(14) = [-80,-20]
trigger1 = ctrl
trigger1 = enemynear,stateno != 5050
value = 1400

;όέγ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-50,50]
trigger1 = enemynear,statetype != L 
trigger1 = enemynear,statetype != A
Trigger1 = Random <= 400
trigger1 = ctrl || stateno = 100
trigger2 = prevstateno = 1110
trigger2 = ctrl
value = 400

;όέ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-70,70]
triggerall = enemynear,statetype != L 
Trigger1 = movecontact && (stateno = 400)
trigger1 = random = [500,999]
Trigger2 = movehit && ((stateno = 1101) && (animelem = 4))
trigger2 = random = [500,999]
Trigger2 = (stateno = 1101) && (animelem = 4)
trigger2 = enemynear,stateno = [120,150]
trigger2 = random = [50,999]
trigger3 = fvar(13) = [-70,70]
trigger3 = enemynear,statetype != A
trigger3 = ctrl && random <= 100
value = 410

;όέ­
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = enemynear,statetype != L 
trigger1 = fvar(13) = [-80,80]
Trigger1 = movecontact && (stateno=410)
trigger2 = fvar(13) = [-130,130]
trigger2 = enemynear,statetype != A
trigger2 = ctrl && random <= 100
value = 420

;ζωRθ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-65,65]
triggerall = enemynear,statetype != L 
Trigger1 = movehit && (stateno=420)
value = 250

;Φ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = var(31) = 0
triggerall = RoundState = 2
triggerall = statetype != A
trigger1 = enemynear,statetype != L 
Trigger1 = movecontact && (stateno = 420)
trigger1 = fvar(13) != [-50,50]
trigger2 = enemynear,stateno = [5100,5120]
trigger2 = ctrl
trigger2 = fvar(13) = [40,110]
trigger3 = enemynear,statetype != A 
trigger3 = ctrl && random <= 200
trigger3 = fvar(13) = [161,180]
value = 1300

;t(OEO)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = enemynear,statetype != L 
trigger1 = fvar(13) != [-170,170]
Trigger1 = stateno = 1101 && (animelem = 1)
value = 1110
;t(γEO)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = stateno = 1101 && (animelem = 4)
triggerall = frontedgedist > 100
trigger1 = enemynear,movetype = H 
trigger1 = random = [0,499]
trigger2 = enemynear,stateno = [120,150]
trigger2 = random = [0,49]
value = 1110

;β
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-70,70]
triggerall = enemynear,statetype != L
Trigger1 = movecontact && (stateno = 251)
Trigger2 = movecontact && (stateno = 210)
trigger2 = enemynear,statetype = A
value = 1000

;§Ώγ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = enemynear,statetype != L 
trigger1 = fvar(13) = [-40,40]
trigger1 = ctrl 
trigger1 = enemynear,stateno = 5050
trigger1 = fvar(14) = [-34,-20]
value = 200

;§Ώ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = enemynear,statetype != L 
trigger1 = fvar(13) = [-60,60]
Trigger1 = movecontact && (stateno = 400)
trigger1 = enemynear,statetype != A
trigger1 = random =[0,499]
trigger2 = movehit && (stateno = 200)
Trigger3 = movecontact && (stateno = 400)
trigger3 = enemynear,statetype = A
value = 210

;§Ώ­
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
trigger1 = fvar(13) = [-70,70]
trigger1 = enemynear,statetype != L || enemynear,statetype != A
Trigger1 = movecontact && (stateno=210)
value = 220

;§
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-110,110]
triggerall = enemynear,statetype != L 
Trigger1 = movecontact && (stateno=220)
trigger1 = root,var(58) < 2000
value = 1400

;dM
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-70,70]
triggerall = enemynear,statetype != A
Trigger1 = movecontact && (stateno = 1400)
value = 1410

;χΨ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-120,120]
trigger1 = enemynear,statetype = A
Trigger1 = movehit && (stateno = 1400)
value = 1420

;oNXe
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = enemynear,statetype = L
Trigger1 = ctrl
trigger1 = fvar(13) = [-40,40]
trigger1 = statetype != A
trigger1 = backedgedist > 60
value = 105

;Wvγaθ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = fvar(13) = [-10,60]
triggerall = enemynear,statetype != L 
trigger1 = ctrl
value = 600

;Wvaθ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = fvar(13) = [-60,60]
triggerall = enemynear,statetype != L 
Trigger1 = movecontact && (stateno = 600)
value = 610

;σΨ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = fvar(13) = [-60,60]
triggerall = enemynear,statetype = A
Trigger1 = movehit && (stateno = 610)
trigger1 = root,var(58) < 1000
value = 1250

;χΤςγΔM
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = fvar(13) = [-100,100]
triggerall = enemynear,statetype = A
triggerall = root,var(58) >= 1000
Trigger1 = movehit && (stateno = 610)
value = 2200

;Ψ
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = enemynear,statetype != L || enemynear,statetype = A
triggerall = root,var(58) >= 2000
Trigger1 = movecontact && ((stateno = 2201) && (animelem = 18))
value = 2300

;ΦE
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) != [-170,170]
Trigger1 = NumHelper(6510) = 0 && NumHelper(6511) = 0 && NumHelper(6512) = 0 && NumHelper(6520) = 0
trigger1 = root,var(58) >= 1000
trigger1 = enemynear,statetype != L
trigger1 = ctrl
value = 2000

;βE
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = fvar(13) = [-70,70]
triggerall = enemynear,statetype != L
triggerall = root,var(58) >= 1000;2000
Trigger1 = movehit && (stateno = 220)
value = 2100

;B_bV
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = enemynear,movetype = H
Trigger1 = (stateno = 2102) && (time > 14)
value = 500

;Wv
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Trigger1 = (stateno = 1000) && (animelem >= 5)
value = 40

;BJE^[
[State 0]
type = ChangeState
value = 530
triggerall = ishelper(7777)
TriggerAll = root,Var(30) = 1
triggerall = RoundState = 2
triggerall = fvar(13) = [-30,30]
triggerall = random <= 50
trigger1 = stateno = [150,152]

;΄ρ
[State 0]
type = ChangeState
Value  = 520
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = ctrl
trigger1 = enemynear,statetype = L || enemynear,movetype = H
trigger1 = fvar(13) != [-150,150]
trigger1 = life < lifemax*0.8

;B_bVEnγOϋ
[State 0]
type = ChangeState
Value  = 500
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = ctrl
trigger1 = fvar(13) != [-160,160]
trigger1 = stateno != [500,501]
trigger1 = random <= 300
;B_bVEσOϋ
[State 0]
type = ChangeState
Value  = 503
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype = A
Triggerall = ctrl
triggerall = var(32) < 3
trigger1 = fvar(13) != [-60,60]
trigger1 = fvar(14) = [-90,0]
trigger1 = stateno != [503,504]
trigger1 = random <= 300

;BGXP[v
[State 0]
type = ChangeState
value = 535
triggerall = ishelper(7777)
TriggerAll = root,Var(30) = 1
triggerall = RoundState = 2
triggerall = movetype = H
triggerall = (stateno != [120,159]) && stateno != 504 && stateno != 535
trigger1 = random <= 4

;§ΏK[h
[State 0]
type = ChangeState
Value = 130
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = ctrl
trigger1 = InGuardDist
trigger1 = enemynear,statetype = A

;όέK[h
[State 0]
type = ChangeState
Value = 131
triggerall = ishelper(7777)
triggerall = root,var(30) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = ctrl
trigger1 = enemynear,statetype != A
trigger1 = InGuardDist

[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = root,var(30) = 1
trigger1 = stateno = 1300
var(31) = 60
ignorehitpause = 1
[state 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = var(31) > 0
var(31) = 0
ignorehitpause = 1
[state 0]
type = varadd
triggerall = ishelper(7777)
trigger1 = root,var(30) = 1
trigger1 = stateno = 503
trigger1 = time = 1
var(32) = 1
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(7777)
trigger1 = statetype = S
var(32) = 0
ignorehitpause = 1
