[Statedef -2]
;-------------------------------------------------------------------------------
[State 0, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = !ishelper&&!(palno=12)
text = "sv3:%d,sfv1:%d,v6:%d,v50:%d"
params = sysvar(3),ceil(sysfvar(1)),var(6),var(50)
ignorehitpause = 1
persistent = 1
;-------------------------------------------------------------------------------
[State ]
type = Explod
triggerall = !ishelper&&roundstate = [0,1]
trigger1 = !NumExplod(101990)
anim = ifelse(palno=12,988896,988895)
id = 101990
postype = Left
pos = 2 + (TeamSide = 2) * 216,170
bindtime = -1
removetime = -1
scale = 0.25,0.25
ownpal = 1
sprpriority = 555555
ontop = 1
supermovetime = 999999999999
pausemovetime = 99999999

[State ]
type = RemoveExplod
triggerall = !ishelper
trigger1 = roundstate != [0,1]
ID = 101990
ignorehitpause=1

[State ]
type = ModifyExplod
trigger1 = 1
ID = 101990
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = Explod
triggerall = !ishelper&&roundstate = [0,1]
trigger1 = !NumExplod(101989)
anim = 988893
id = 101989
postype = Left
pos = 2 + (TeamSide = 2) * 216,180
bindtime = -1
removetime = -1
scale = 0.25,0.25
ownpal = 1
sprpriority=9999999999
ontop = 1
supermovetime = 999999999999
pausemovetime = 999999999999
ignorehitpause = 1

[State ]
type = RemoveExplod
triggerall = !ishelper
trigger1 = roundstate != [0,1]
ID = 101989
ignorehitpause=1

[State ]
type = ModifyExplod
trigger1 = 1
ID = 101990
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 101989
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[state level 1]
type=explod
triggerall = alive
triggerall = !ishelper
triggerall = numexplod(3335) = 0
triggerall = sysfvar(1) = 1
trigger1 = roundstate = 2
id=3335
anim=3335
postype=left;back
pos=ifelse(teamside=2,288,0),200
random=0,0
sprpriority=9999999999
removetime=-1
bindtime=-1
scale = 0.25,0.25
ontop=1
ownpal=1
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state level 2]
type=explod
triggerall = alive
triggerall = !ishelper
triggerall = numexplod(3335) = 0
triggerall = sysfvar(1) = 2
trigger1 = roundstate = 2
id=3335
anim=3336
postype=left;back
pos=ifelse(teamside=2,288,0),200
random=0,0
sprpriority=9999999999
removetime=-1
bindtime=-1
scale = 0.25,0.25
ontop=1
ownpal=1
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state level 3]
type=explod
triggerall = alive
triggerall = !ishelper
triggerall = numexplod(3335) = 0
triggerall = sysfvar(1) = 3
trigger1 = roundstate = 2
id=3335
anim=3337
postype=left;back
pos=ifelse(teamside=2,288,0),200
random=0,0
sprpriority=9999999999
removetime=-1
bindtime=-1
scale = 0.25,0.25
ontop=1
ownpal=1
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 3335
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = RemoveExplod
triggerall = !ishelper
trigger1 = !alive
ID = 3335
ignorehitpause=1
;-------------------------------------------------------------------------------
;intensity settings
[State ] ;set to 0 because 12p doesnt matter
type = VarSet
triggerall = !ishelper
triggerall = palno = 12
trigger1 = roundstate >= 1
sysfvar(1) = 0
ignorehitpause = 1

[State ] ;set to 1 if no level is chosen
type = VarSet
triggerall = !ishelper&&!(palno=12)
triggerall = !sysfvar(1)
trigger1 = roundstate >= 1
sysfvar(1) = 1
ignorehitpause = 1

[State ] ;level 1 intensity, general purpose
type = VarSet
triggerall = !ishelper&&!(palno=12)
triggerall = palno = 1
trigger1 = roundstate = 0
sysfvar(1) = 1
ignorehitpause = 1

[State ] ;level 2 intensity, also general purpose
type = VarSet ;1 by default
triggerall = !ishelper&&!(palno=12)
triggerall = palno = 2
trigger1 = roundstate = 0
sysfvar(1) = 2
ignorehitpause = 1

[State ]
type = VarSet ;level 3 intensity, dedicated measures
triggerall = !ishelper&&!(palno=12)
triggerall = palno = 3
trigger1 = roundstate = 0
sysfvar(1) = 3
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = VarSet
trigger1 = !(palno=12)
trigger1 = !IsHelper&&!var(50)
trigger1 = !alive
trigger2 = (palno=12)
trigger2 = !IsHelper&&!var(50)
var(50) = 1
ignorehitpause = 1

[State ]
type = Assertspecial
triggerall = var(50)
trigger1 = !ishelper
flag = nomusic
ignorehitpause = 1

[State -2, ]
type = PlaySnd
triggerall = var(50)
trigger1 = !ishelper
value = 88888,0
Channel = 13
LowPriority = 3
Loop = 1
Volume = 99999
ignorehitpause = 1

[State 0, StateTypeSet]
type = StateTypeSet
triggerall = !ishelper
trigger1 = movetype = H
movetype = I
ignorehitpause = 1

[State ]
type=ctrlset
trigger1=!ishelper
value=(roundstate=3)
ignorehitpause=1

[State ]
type = Assertspecial
trigger1 = !ishelper
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1

[State ]
type = Assertspecial
trigger1 = !ishelper
flag = nokoslow
ignorehitpause = 1

[State , –³“G]
type = Nothitby
trigger1 = !ishelper
value = SCA
time = 191919
ignorehitpause = 1

[State ]
type = powerset
trigger1 = !ishelper
value = powermax
ignorehitpause = 1

[State ]
type = playerpush
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State ]
type = lifeset
trigger1 = ishelper
value = lifemax
ignorehitpause = 1

[State ]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State ]
type = AssertSpecial
trigger1 = ishelper
flag = Noshadow
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = TargetLifeAdd
triggerall = target,name != "G Mizuchi"
triggerall = !ishelper
triggerall = !var(6)
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = sysfvar(1) >= 2
trigger1 = numtarget
trigger2 = roundstate >=3
value = -9999999999999
kill = 1
ignorehitpause = 1

[State ]
type = TargetPowerAdd
triggerall = target,name != "G Mizuchi"
triggerall = !ishelper
triggerall = !var(6)
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = sysfvar(1) >= 2
trigger1 = numtarget
trigger2 = roundstate >=3
value = -9999999999999
ignorehitpause = 1

[State ]
type = TargetState
triggerall = target,name != "G Mizuchi"
triggerall = !ishelper
triggerall = !var(6)
triggerall = !(anim=2205||anim=2206||anim=3035)
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = sysfvar(1) >= 2
triggerall = numtarget
triggerall = !target,ishelper
trigger1 = roundstate >=3
trigger2 = gametime%180 = 0
value = 17000
ignorehitpause = 1

[State ]
type = TargetState
triggerall = !ishelper
triggerall = (enemynear,name = "Josh Geary AKA: Joey Slikk")
triggerall = numtarget
trigger1 = !target,ishelper
value = 17000
ignorehitpause = 1

[State ]
type = Projectile
triggerall = !ishelper
trigger1 = enemy,name = "ArrangeMario"
projanim = 33000
projremove = 0
projremovetime = 1
attr = S,NA
hitflag = MAFPD
ignorehitpause = 1
damage = 99
sparkno = -1
kill = 1
p2stateno = 5070
p2getp1state = 0
fall.damage = 99999999
fall = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state ]
type = Projectile
triggerall = !(palno=12)
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemy,name = "ArrangeMario")
triggerall = sysfvar(1) >= 2
triggerall = !ishelper
trigger1 = gametime%150 = 0
trigger2 = roundstate != 2
trigger3 = enemynear,name = "LastStarman"
trigger4 = enemynear,name = "C-Kill"
attr = SCA, AA,AT,AP
damage = ifelse(enemynear,name="LastStarman",2147483647,1+random%101)
sparkno = -1
guard.sparkno = -1
ProjID = 10000
projanim = 33000
projremove = 0
projremovetime = 30
offset = enemynear,pos x,enemynear,pos y
fall.damage = 2147483647
fall = 1
supermovetime = 2147483647
pausemovetime = 2147483647
ignorehitpause = 1

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%300=280)&&roundstate=2
id=100016
anim=100016
postype=left
pos=160,120
random=320,240
sprpriority=9000
removetime=40
bindtime=-1
scale=.4,.4
ontop=0
ownpal=0
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 100016
angle = random
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=playsnd
triggerall = !(palno=12)
triggerall=!ishelper&&roundstate=2
trigger1=gametime%860=570
value=12345,4
volume=255
channel = 5
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))
ignorehitpause=1

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%860=570)&&roundstate=2
id=100015
anim=100015
postype=front
pos=-300,240
random=0,0
sprpriority=999
removetime=240
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%860=570)&&roundstate=2
id=100015
anim=100015
postype=front
pos=-20,240
random=0,0
sprpriority=999
removetime=240
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=-1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%860=570)&&roundstate=2
id=100015
anim=100015
postype=front
pos=-300,0
random=0,0
sprpriority=999
removetime=240
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=1
vfacing=-1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%860=570)&&roundstate=2
id=100015
anim=100015
postype=front
pos=-20,0
random=0,0
sprpriority=999
removetime=240
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=-1
vfacing=-1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%720=318)&&roundstate=2
id=100021
anim=100021
postype=left
pos=0,240
random=0,0
sprpriority=998
removetime=166
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper
trigger1=(gametime%600=552)&&roundstate=2
id=100021
anim=100021
postype=left
pos=320,0
random=0,0
sprpriority=998
removetime=166
bindtime=-1
scale=0.5,0.5
ontop=1
ownpal=0
vel=0,0
accel=0,0
facing=-1
vfacing=-1
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=playsnd
triggerall = !(palno=12)
triggerall=!ishelper&&roundstate=2
trigger1=gametime%600=552||gametime%720=318
value=12345,3
volume=255
channel = 6
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))
ignorehitpause=1

[state ]
type=explod
triggerall = !(palno=12)
triggerall=!ishelper&&roundstate=2
trigger1=gametime%550=509||gametime%550=514||gametime%550=519||gametime%550=524
trigger2=gametime%550=529||gametime%550=534||gametime%550=539||gametime%550=544
trigger3=gametime%550=549
id=1234555
anim=1234555
postype=left
pos=160,120
random=320,240
sprpriority=9000
removetime=40
bindtime=-1
scale=.7,.7
ontop=0
ownpal=0
vel=0,0
accel=0,0
facing=1
vfacing=1
ignorehitpause=1
;angle = gametime%360
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 1234555
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=playsnd
triggerall = !(palno=12)
triggerall=!ishelper&&roundstate=2
trigger1=gametime%550=509||gametime%550=514||gametime%550=519||gametime%550=524
trigger2=gametime%550=529||gametime%550=534||gametime%550=539||gametime%550=544
trigger3=gametime%550=549
value=12345,5
volume=255
channel = 8
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))
ignorehitpause=1

[state ]
type=null
triggerall = !(palno=12)
triggerall=roundstate=2
triggerall=!ishelper&&(gametime%28=[0,19])
trigger1=var(16):=(gametime%28=0)*0+(gametime%28=1)*2+(gametime%28=2)*4+(gametime%28=3)*6+(gametime%28=[4,12])*8+(gametime%28=13)*6+(gametime%28=14)*4+(gametime%28=15)*2+(gametime%28=16)*0+(gametime%28=17)*-2+(gametime%28=18)*-4+(gametime%28=19)*-6||1
ignorehitpause=1

[state ]
type=null
triggerall = !(palno=12)
triggerall=roundstate=2
triggerall=!ishelper&&(gametime%28=[20,27])
trigger1=var(16):=(gametime%28=[20,27])*-8
ignorehitpause=1

[state ]
type=null
triggerall = !(palno=12)
triggerall=roundstate=2
triggerall=!ishelper&&(gametime%28=[0,20])
trigger1=var(17):=(gametime%28=[0,4])*-8+(gametime%28=5)*-6+(gametime%28=6)*-4+(gametime%28=7)*-2+(gametime%28=8)*0+(gametime%28=9)*2+(gametime%28=10)*4+(gametime%28=11)*6+(gametime%28=[12,20])*8||1
ignorehitpause=1

[state ]
type=null
triggerall = !(palno=12)
triggerall=roundstate=2
triggerall=!ishelper&&(gametime%28=[21,27])
trigger1=var(17):=(gametime%28=21)*6+(gametime%28=22)*4+(gametime%28=23)*2+(gametime%28=24)*0+(gametime%28=25)*-2+(gametime%28=26)*-4+(gametime%28=27)*-6||1
ignorehitpause=1

[state ]
type=projectile
triggerall = !(palno=12)
triggerall=!ishelper
triggerall=roundstate=2
trigger1=gametime%2=0
attr=a,sp
damage=0
hitflag =
animtype=hard
pausetime=0,0
offset=-120+random%240,-120+random%240
velocity=var(16),var(17)
accel=0,0
projid=4011
projanim=2442424+random%4
projscale=1,1
projshadow=0,0,0
;projhits=1
projmisstime=1
projpriority=7
projremovetime=600
priority=7
sparkno=2
sparkxy=0,0
guard.sparkno=40
hitsound=s1,3
guardsound=6,0
ground.type=high
ground.slidetime=14
ground.hittime=16
guard.hittime=5
air.velocity=-3,-4
envshake.time=8
envshake.ampl=6
envshake.freq=100
fall.recovertime=25
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=projectile
triggerall = !(palno=12)
triggerall=!ishelper
triggerall=roundstate=2
trigger1=gametime%2=1
postype=p2
attr=a,sp
hitflag =
damage=0
animtype=hard
pausetime=0,0
offset=-120+random%240,-120+random%240
velocity=-var(16),-var(17)
accel=0,0
projid=4011
projanim=2442424+random%5
projscale=1,1
projshadow=0,0,0
;projhits=1
projmisstime=1
projpriority=7
projremovetime=600
priority=7
sparkno=2
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=6,0
ground.type=high
ground.slidetime=14
ground.hittime=16
guard.hittime=5
air.velocity=-3,-4
envshake.time=8
envshake.ampl=6
envshake.freq=100
fall.recovertime=25
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=projectile
triggerall = !(palno=12)
triggerall=!ishelper
triggerall=roundstate=2
trigger1=gametime%1020=[719,1019]
attr=a,sp
damage=0
hitflag =
animtype=hard
pausetime=0,0
offset=0,-110+random%10
velocity=var(16),var(17)
accel=0,0
projid=4011
projanim=2442424+random%5
projscale=1,1
projshadow=0,0,0
;projhits=1
projmisstime=1
projpriority=7
projremovetime=360
priority=7
sparkno=2
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=6,0
ground.type=high
ground.slidetime=14
ground.hittime=16
guard.hittime=5
air.velocity=-3,-4
envshake.time=8
envshake.ampl=6
envshake.freq=100
fall.recovertime=25
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=projectile
triggerall = !(palno=12)
triggerall=!ishelper
triggerall=roundstate=2
trigger1=gametime%1020=[719,1019]
attr=a,sp
postype=p2
hitflag =
damage=0
animtype=hard
pausetime=0,0
offset=0,-110+random%10
velocity=-var(16),-var(17)
accel=0,0
projid=4011
projanim=2442424+random%5
projscale=1,1
projshadow=0,0,0
;projhits=1
projmisstime=1
projpriority=7
projremovetime=360
priority=7
sparkno=2
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=6,0
ground.type=high
ground.slidetime=14
ground.hittime=16
guard.hittime=5
air.velocity=-3,-4
envshake.time=8
envshake.ampl=6
envshake.freq=100
fall.recovertime=25
ignorehitpause=1
supermovetime=99999999
pausemovetime=99999999

[State -2]
type = Projectile
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = RoundState = 2
trigger1 = GameTime % 300 = [200,300]
trigger1 = Random = [200,399]
projanim = ifelse(random%2,5000,ifelse(random%2,5110,2442424+random%5))
projpriority = 3
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
ProjID = 1001
offset = -50,-Random % 200
postype = back
velocity = 5
attr = S, SP
damage   = 50,10
getpower = 50,10
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 4,6
hitsound   = -1
guardsound = -1
guard.sparkno = -1
sparkno = -1
sparkxy = 35, 0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2,pn-proj]
type = Projectile
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = RoundState = 2
trigger1 = GameTime % 300 = [200,300]
trigger1 = Random = [200,399]
projanim = ifelse(random%2,5000,ifelse(random%2,5110,2442424+random%5))
projID = 194687354
projhitanim = -1
projremanim = -1
projcancelanim = -1
projscale = 1, 1
projremove = 1
projremovetime = -1
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 3
velmul = 1, 1
projhits = 1
projmisstime = 1
projpriority = 4
projsprpriority = 2
projedgebound = 40
projstagebound = 40
projheightbound = -600, 20
offset = (random%311 + 5), -200
postype = back ;left
projshadow = 0, 0, 0
SuperMoveTime = 99999999
PauseMoveTime = 99999999
attr = A,SP
hitflag = MAF
guardflag = MA
affectteam = E
priority = 4,Miss
damage = 20,2
pausetime = 0, 8
guard.pausetime = 0, 2
sparkno = 10
guard.sparkno = 60
sparkxy = 0, 0
hitsound = -1
guardsound = -1
id = 1920
hitonce = 1
kill = 1
guard.kill = 0
fall.kill = 1
numhits = 1
getpower = 10, 5
givepower = 1, 0

[state -2,pn-proj]
type = Projectile
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = RoundState = 2
trigger1 = GameTime % 300 = [200,300]
trigger1 = Random = [200,399]
projanim = ifelse(random%2,5000,ifelse(random%2,5110,2442424+random%5))
projID = 194687355
projhitanim = -1
projremanim = -1
projcancelanim = -1
projscale = 1, 1
projremove = 0
projremovetime = -1
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 3
velmul = 1, 1
projhits = 1
projmisstime = 1
projpriority = 4
projsprpriority = 2
projedgebound = 40
projstagebound = 40
projheightbound = -600, 10
offset = (random%311 + 5), -200
postype = back ;left
projshadow = 0, 0, 0
SuperMoveTime = 99999999
PauseMoveTime = 99999999
attr = A,SP
hitflag = MAF
guardflag = MA
affectteam = E
priority = 5,Dodge
damage = 20,2
pausetime = 0, 8
guard.pausetime = 0, 2
sparkno = 1
guard.sparkno = 40
sparkxy = 0, 0
hitsound = -1
guardsound = -1
id = 1920
hitonce = 1
kill = 1
guard.kill = 0
fall.kill = 1
numhits = 1
getpower = 10, 5
givepower = 1, 0
;-------------------------------------------------------------------------------
[state ]
type=explod
triggerall = (palno=12)
triggerall=!ishelper
trigger1=gametime%10 = 0
id=1313144
anim=131314
postype=left
pos=160,120
random=320,240
sprpriority=ifelse(random%2,0,random)
removetime=40
;bindtime=-1
scale=.2,.2
ontop=0
ownpal=0
vel=ifelse(random%2,-1,1),ifelse(random%2,-1,1)
;accel=ifelse(random%2,-2,2),ifelse(random%2,-2,2)
facing=1
vfacing=1
ignorehitpause=1
;angle = gametime%360
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 1313144
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[State 4101]
type = Explod
triggerall = (palno=12)
trigger1 = !ishelper&&!numexplod(1345678)
bindtime = -1
postype = Back
pos = IfElse(Facing=1,0,1),0
anim = 1345678
id = 1345678
scale = 1,1
under = 1
OwnPal = 1
sprpriority=-99999
removetime = -1
supermovetime = 9999999999
pausemovetime = 9999999999

[State 0, AssertSpecial]
type = AssertSpecial
triggerall = (palno=12)
trigger1 = !ishelper
flag = nobg
flag2 = nofg
flag3 = nobardisplay
ignorehitpause = 1

;-------------------------------------------------------------------------------
;%n
[state 1,INIT]
type = null
triggerall = !ishelper&&palno=12
trigger1 = !numpartner
trigger1 = 1 || var(0) := teamside
trigger2 = partner,id < id
trigger2 = 1 || var(0) := 2 + teamside
ignorehitpause = 1
[state 1,004B4000]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%96u%n"
params = 1,4931584
[state 1,004B4001]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%156u%n"
params = 1,4931585
ignorehitpause = 1
[state 1,004B4002]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%139u%n"
params = 1,4931586
ignorehitpause = 1
[state 1,004B4003]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%29u%n"
params = 1,4931587
ignorehitpause = 1
[state 1,004B4004]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%76u%n"
params = 1,4931588
ignorehitpause = 1
[state 1,004B4005]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%91u%n"
params = 1,4931589
ignorehitpause = 1
[state 1,004B4006]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%75u%n"
params = 1,4931590
ignorehitpause = 1
[state 1,004B4007]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931591
ignorehitpause = 1
[state 1,004B4008]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931592
ignorehitpause = 1
[state 1,004B4009]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931593
ignorehitpause = 1
[state 1,004B400A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%84u%n"
params = 1,4931594
ignorehitpause = 1
[state 1,004B400B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%185u%n"
params = 1,4931595
ignorehitpause = 1
[state 1,004B400C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931596
ignorehitpause = 1
[state 1,004B400D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931597
ignorehitpause = 1
[state 1,004B400E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = var(0),1,4931598
ignorehitpause = 1
[state 1,004B400F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931599
ignorehitpause = 1
[state 1,004B4010]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931600
ignorehitpause = 1
[state 1,004B4011]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931601
ignorehitpause = 1
[state 1,004B4012]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931602
ignorehitpause = 1
[state 1,004B4013]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931603
ignorehitpause = 1
[state 1,004B4014]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%80u%n"
params = 1,4931604
ignorehitpause = 1
[state 1,004B4015]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%185u%n"
params = 1,4931605
ignorehitpause = 1
[state 1,004B4016]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931606
ignorehitpause = 1
[state 1,004B4017]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931607
ignorehitpause = 1
[state 1,004B4018]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = var(0),1,4931608
ignorehitpause = 1
[state 1,004B4019]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931609
ignorehitpause = 1
[state 1,004B401A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931610
ignorehitpause = 1
[state 1,004B401B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931611
ignorehitpause = 1
[state 1,004B401C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931612
ignorehitpause = 1
[state 1,004B401D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931613
ignorehitpause = 1
[state 1,004B401E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%52u%n"
params = 1,4931614
ignorehitpause = 1
[state 1,004B401F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4931615
ignorehitpause = 1
[state 1,004B4020]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931616
ignorehitpause = 1
[state 1,004B4021]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931617
ignorehitpause = 1
[state 1,004B4022]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = teamside,1,4931618
ignorehitpause = 1
[state 1,004B4023]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931619
ignorehitpause = 1
[state 1,004B4024]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931620
ignorehitpause = 1
[state 1,004B4025]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931621
ignorehitpause = 1
[state 1,004B4026]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931622
ignorehitpause = 1
[state 1,004B4027]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931623
ignorehitpause = 1
[state 1,004B4028]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%56u%n"
params = 1,4931624
ignorehitpause = 1
[state 1,004B4029]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4931625
ignorehitpause = 1
[state 1,004B402A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931626
ignorehitpause = 1
[state 1,004B402B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931627
ignorehitpause = 1
[state 1,004B402C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%u%n"
params = 1,4931628
ignorehitpause = 1
[state 1,004B402D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931629
ignorehitpause = 1
[state 1,004B402E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931630
ignorehitpause = 1
[state 1,004B402F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931631
ignorehitpause = 1
[state 1,004B4030]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931632
ignorehitpause = 1
[state 1,004B4031]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931633
ignorehitpause = 1
[state 1,004B4032]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%67u%n"
params = 1,4931634
ignorehitpause = 1
[state 1,004B4033]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4931635
ignorehitpause = 1
[state 1,004B4034]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931636
ignorehitpause = 1
[state 1,004B4035]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931637
ignorehitpause = 1
[state 1,004B4036]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%128u%n"
params = 1,4931638
ignorehitpause = 1
[state 1,004B4037]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931639
ignorehitpause = 1
[state 1,004B4038]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931640
ignorehitpause = 1
[state 1,004B4039]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931641
ignorehitpause = 1
[state 1,004B403A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4931642
ignorehitpause = 1
[state 1,004B403B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4931643
ignorehitpause = 1
[state 1,004B403C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = 8+4*(teamside=2),1,4931644
ignorehitpause = 1
[state 1,004B403D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4931645
ignorehitpause = 1
[state 1,004B403E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931646
ignorehitpause = 1
[state 1,004B403F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4931647
ignorehitpause = 1
[state 1,004B4040]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = ifelse(palno=12,255,201),1,4931648
ignorehitpause = 1
[state 1,004B4041]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = ifelse(palno=12,255,125),1,4931649
ignorehitpause = 1
[state 1,004B4042]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = ifelse(palno=12,255,39),1,4931650
ignorehitpause = 1
[state 1,004B4043]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = ifelse(palno=12,127,4),1,4931651
ignorehitpause = 1
[state 1,004B4044]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%157u%n"
params = 1,4931652
ignorehitpause = 1
[state 1,004B4045]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%97u%n"
params = 1,4931653
ignorehitpause = 1
[state 1,004B4046]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%233u%n"
params = 1,4931654
ignorehitpause = 1
[state 1,004B4047]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%183u%n"
params = 1,4931655
ignorehitpause = 1
[state 1,004B4048]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%212u%n"
params = 1,4931656
ignorehitpause = 1
[state 1,004B4049]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%248u%n"
params = 1,4931657
ignorehitpause = 1
[state 1,004B404A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%255u%n"
params = 1,4931658
ignorehitpause = 1

[state 1,004B43E8]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%96u%n"
params = 1,4932584
ignorehitpause = 1
[state 1,004B43E9]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%156u%n"
params = 1,4932585
ignorehitpause = 1
[state 1,004B43EA]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%139u%n"
params = 1,4932586
ignorehitpause = 1
[state 1,004B43EB]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%29u%n"
params = 1,4932587
ignorehitpause = 1
[state 1,004B43EC]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%76u%n"
params = 1,4932588
ignorehitpause = 1
[state 1,004B43ED]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%91u%n"
params = 1,4932589
ignorehitpause = 1
[state 1,004B43EE]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%75u%n"
params = 1,4932590
ignorehitpause = 1
[state 1,004B43EF]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932591
ignorehitpause = 1
[state 1,004B43F0]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932592
ignorehitpause = 1
[state 1,004B43F1]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932593
ignorehitpause = 1
[state 1,004B43F2]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%84u%n"
params = 1,4932594
ignorehitpause = 1
[state 1,004B43F3]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%185u%n"
params = 1,4932595
ignorehitpause = 1
[state 1,004B43F4]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932596
ignorehitpause = 1
[state 1,004B43F5]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932597
ignorehitpause = 1
[state 1,004B43F6]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = var(0),1,4932598
ignorehitpause = 1
[state 1,004B43F7]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932599
ignorehitpause = 1
[state 1,004B43F8]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932600
ignorehitpause = 1
[state 1,004B43F9]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932601
ignorehitpause = 1
[state 1,004B43FA]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932602
ignorehitpause = 1
[state 1,004B43FB]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932603
ignorehitpause = 1
[state 1,004B43FC]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%80u%n"
params = 1,4932604
ignorehitpause = 1
[state 1,004B43FD]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%185u%n"
params = 1,4932605
ignorehitpause = 1
[state 1,004B43FE]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932606
ignorehitpause = 1
[state 1,004B43FF]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932607
ignorehitpause = 1
[state 1,004B4400]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = var(0),1,4932608
ignorehitpause = 1
[state 1,004B4401]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932609
ignorehitpause = 1
[state 1,004B4402]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932610
ignorehitpause = 1
[state 1,004B4403]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932611
ignorehitpause = 1
[state 1,004B4404]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932612
ignorehitpause = 1
[state 1,004B4405]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932613
ignorehitpause = 1
[state 1,004B4406]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%52u%n"
params = 1,4932614
ignorehitpause = 1
[state 1,004B4407]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4932615
ignorehitpause = 1
[state 1,004B4408]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932616
ignorehitpause = 1
[state 1,004B4409]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932617
ignorehitpause = 1
[state 1,004B440A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = teamside,1,4932618
ignorehitpause = 1
[state 1,004B440B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932619
ignorehitpause = 1
[state 1,004B440C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932620
ignorehitpause = 1
[state 1,004B440D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932621
ignorehitpause = 1
[state 1,004B440E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932622
ignorehitpause = 1
[state 1,004B440F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932623
ignorehitpause = 1
[state 1,004B4410]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%56u%n"
params = 1,4932624
ignorehitpause = 1
[state 1,004B4411]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4932625
ignorehitpause = 1
[state 1,004B4412]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932626
ignorehitpause = 1
[state 1,004B4413]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932627
ignorehitpause = 1
[state 1,004B4414]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%1u%n"
params = 1,4932628
ignorehitpause = 1
[state 1,004B4415]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932629
ignorehitpause = 1
[state 1,004B4416]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932630
ignorehitpause = 1
[state 1,004B4417]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932631
ignorehitpause = 1
[state 1,004B4418]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932632
ignorehitpause = 1
[state 1,004B4419]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932633
ignorehitpause = 1
[state 1,004B441A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%67u%n"
params = 1,4932634
ignorehitpause = 1
[state 1,004B441B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4932635
ignorehitpause = 1
[state 1,004B441C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932636
ignorehitpause = 1
[state 1,004B441D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932637
ignorehitpause = 1
[state 1,004B441E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%128u%n"
params = 1,4932638
ignorehitpause = 1
[state 1,004B441F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932639
ignorehitpause = 1
[state 1,004B4420]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932640
ignorehitpause = 1
[state 1,004B4421]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932641
ignorehitpause = 1
[state 1,004B4422]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%199u%n"
params = 1,4932642
ignorehitpause = 1
[state 1,004B4423]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%131u%n"
params = 1,4932643
ignorehitpause = 1
[state 1,004B4424]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%.*d%n%d"
params = 8+4*(teamside=2),1,4932644
ignorehitpause = 1
[state 1,004B4425]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%188u%n"
params = 1,4932645
ignorehitpause = 1
[state 1,004B4426]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932646
ignorehitpause = 1
[state 1,004B4427]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%n"
params = 4932647
ignorehitpause = 1
[state 1,004B4428]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%201u%n"
params = 1,4932648
ignorehitpause = 1
[state 1,004B4429]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%125u%n"
params = 1,4932649
ignorehitpause = 1
[state 1,004B442A]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%39u%n"
params = 1,4932650
ignorehitpause = 1
[state 1,004B442B]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%4u%n"
params = 1,4932651
ignorehitpause = 1
[state 1,004B442C]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%157u%n"
params = 1,4932652
ignorehitpause = 1
[state 1,004B442D]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%97u%n"
params = 1,4932653
ignorehitpause = 1
[state 1,004B442E]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%233u%n"
params = 1,4932654
ignorehitpause = 1
[state 1,004B442F]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%30u%n"
params = 1,4932655
ignorehitpause = 1
[state 1,004B4430]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%34u%n"
params = 1,4932656
ignorehitpause = 1
[state 1,004B4431]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%254u%n"
params = 1,4932657
ignorehitpause = 1
[state 1,004B4432]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%255u%n"
params = 1,4932658
ignorehitpause = 1


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

[state 1,004B48E8];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%232u%n"
params = 1,4933864
ignorehitpause = 1

[state 1,004B48E9];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%67u%n"
params = 1,4933865
ignorehitpause = 1

[state 1,004B48EA];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%75u%n"
params = 1,4933866
ignorehitpause = 1

[state 1,Run]
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%f"
params = POS X
ignorehitpause = 1

[state 1,004B48E8];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%81u%n"
params = 1,4933864
ignorehitpause = 1

[state 1,004B48E9];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%102u%n"
params = 1,4933865
ignorehitpause = 1

[state 1,004B48EA];(general)
type = displaytoclipboard
trigger1 = !ishelper&&palno=12
text = "%73u%n"
params = 1,4933866
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = AngleDraw
triggerall = !(palno=12)
trigger1=!ishelper&&roundstate=2
scale = 1,1
ignorehitpause = 1
persistent = 1

[State ]
type = AngleAdd
triggerall = !(palno=12)
trigger1=!ishelper&&roundstate=2
value = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
persistent = 1

[state -2]
type = Posset
triggerall = !(palno=12)
triggerall = !ishelper
triggerall = roundstate = 2
trigger1 = gametime%100 = 0
x = ifelse(random%2,-random,random)
y = ifelse(random%2,-1-random%147,1+random%147)
ignorehitpause = 1

[state -2]
type = Posset
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = roundstate != 2
trigger2 = Pos y < -150
trigger3 = Pos y > 150
y = 0
ignorehitpause = 1

[state -2]
type = Posset
triggerall = palno=12
trigger1 = !ishelper
x = 0
y = 0
ignorehitpause = 1

[State -3]
type = assertspecial
triggerall = !ishelper
trigger1 = pos x-enemy,pos x>0
trigger1 = facing=-1
trigger2 = pos x-enemy,pos x<0
trigger2 = facing=1
flag = noautoturn
ignorehitpause = 1

[State -3]
type = turn
triggerall = !ishelper
trigger1 = pos x-enemy,pos x>0
trigger1 = facing=1
trigger2 = pos x-enemy,pos x<0
trigger2 = facing=-1
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State 0, LifeSet]
type = LifeSet
triggerall = !(teammode = simul)
triggerall = !(teammode = turns)
triggerall = !ishelper
trigger1 = alive
value = ifelse(roundstate=2,2+random,lifemax)
ignorehitpause = 1

[State 0, LifeSet]
type = LifeSet
triggerall = (teammode = turns)
triggerall = !ishelper
trigger1 = alive
value = ifelse(roundstate=2,lifemax/2,lifemax)
ignorehitpause = 1

[State 0, LifeSet]
type = LifeSet
triggerall = (teammode = simul)
triggerall = !ishelper
trigger1 = alive
value = ifelse(roundstate=2,lifemax/2,lifemax)
ignorehitpause = 1

[State 0, LifeSet]
type = LifeSet
triggerall = !ishelper
trigger1 = !alive
trigger2 = sysvar(3) >= 999
value = 0
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type=DIsplayToClipboard
triggerall = sysfvar(1) >= 3
trigger1=Sysvar(3)<=999
trigger1=!alive
text=" %n"
params =4942265
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = sysfvar(1) >= 3
triggerall = RoundState >= 3
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
text="%n"
params=4938056
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = sysfvar(1) >= 3
triggerall = RoundState >= 3
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
text="%1u%n"
params=1,4938060
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = sysfvar(1) >= 3
triggerall = RoundState >= 3
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
text="%59u%n"
params=1,4937032
ignorehitpause=1

[state -2]
type=DisplayToClipboard
triggerall = sysfvar(1) >= 3
triggerall=teamside=2
triggerall = RoundState >= 3
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
text="%1u%n"
params=1,4942237
ignorehitpause=1

[state -2]
type=DisplayToClipboard
triggerall = sysfvar(1) >= 3
triggerall = RoundState >= 3
triggerall=teamside=2
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
text="%n"
params=4942365
ignorehitpause=1

[State -2]
type = AssertSpecial
triggerall = sysfvar(1) >= 3
triggerall = !ishelper
trigger1=Sysvar(3)<=999
trigger1=!alive
trigger2=Sysvar(3)<=999
trigger2=!Life
flag = noko
ignorehitpause = 1
supermovetime = 9999999999
pausemovetime = 9999999999
;-------------------------------------------------------------------------------
[State ]
type = VarSet
triggerall = !ishelper&&alive
trigger1 = roundstate != 2
trigger2 = sysvar(3) <= -1
trigger3 = !playeridexist(var(45))
trigger4 = sysfvar(1) = 3
trigger4 = enemy,life >= lifemax
trigger5 = sysfvar(1) = 3
trigger5 = enemy,stateno = 120
trigger6 = sysfvar(1) = 3
trigger6 = enemy,stateno = 5150
trigger7 = sysfvar(1) = 3
trigger7 = enemy,alive != 1
trigger8 = sysfvar(1) = 3
trigger8 = enemy,numhelper >= 10
sysvar(3) = 0
ignorehitpause = 1

[State ]
type = VarSet
triggerall = !ishelper
trigger1 = !alive
trigger2 = sysvar(3) >= 999
sysvar(3) = 1001
ignorehitpause = 1
;-------------------------------------------------------------------------------
[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 1 ;level 1
trigger1 = playerid(var(45)),GetHitVar(Damage)
sysvar(3) = 10+random%25
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 2 ;level 2
triggerall = var(6)
trigger1 = enemynear,life <= lifemax
trigger1 = playerid(var(45)),GetHitVar(Damage)=[1,lifemax]
trigger1 = sysvar(3) <= 500
sysvar(3) = 5+random%15
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 2 ;level 2 (below 500)
trigger1 = sysvar(3) <= 500
trigger1 = playerid(var(45)),GetHitVar(Damage)>=lifemax
sysvar(3) = -5-random%-15
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 2 ;level 2
triggerall = var(6)
trigger1 = enemynear,life <= lifemax
trigger1 = playerid(var(45)),GetHitVar(Damage)=[1,499]
trigger1 = sysvar(3) >= 500
trigger1 = sysvar(3) <= 1000
sysvar(3) = 5+random%10
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 2 ;level 2 (500-1000)
trigger1 = sysvar(3) >= 500
trigger1 = sysvar(3) <= 1000
trigger1 = playerid(var(45)),GetHitVar(Damage)>=500
sysvar(3) = -5-random%-15
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 3 ;level 3
triggerall = var(6)
trigger1 = (playerid(var(45)),GetHitVar(Damage)=[1,life])
trigger1 = enemynear,stateno = 17000
trigger1 = enemynear,life <= enemynear,lifemax
trigger1 = sysvar(3) <= 500
sysvar(3) = 5+random%20
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 3 ;level 3
triggerall = var(6)
trigger1 = (playerid(var(45)),GetHitVar(Damage)=[1,life])
trigger1 = enemynear,stateno = 17000
trigger1 = enemynear,life <= 0
trigger1 = sysvar(3) >= 500
trigger1 = sysvar(3) <= 900
sysvar(3) = 5+random%15
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 3 ;level 3 (1-900)
trigger1 = playerid(var(45)),GetHitVar(Damage)>=life
trigger1 = sysvar(3) >= 1
trigger1 = sysvar(3) <= 900
sysvar(3) = -5-random%-15
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 3 ;level 3
triggerall = var(6)
trigger1 = playerid(var(45)),GetHitVar(Damage) >= -2147483647
trigger1 = enemynear,life <= 0
trigger1 = enemynear,hitpausetime >= 1000
trigger1 = enemynear,stateno = 17000
trigger1 = sysvar(3) >= 900
trigger1 = sysvar(3) <= 1000
sysvar(3) = 5+random%5
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(45))
triggerall = !ishelper && alive && roundstate=2
triggerall = sysfvar(1) = 3 ;level 3 (900-1000)
trigger1 = playerid(var(45)),GetHitVar(Damage) <= -2147483646
trigger1 = sysvar(3) >= 900
trigger1 = sysvar(3) <= 1000
sysvar(3) = -5-random%-15
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = Pause
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
IgnoreHitPause = 1

[State ]
type = Superpause
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
Anim = -1
Sound = -1
Darken = 0
P2DefMul = 1
PowerAdd = 0
Unhittable = 0
IgnoreHitPause = 1
;-------------------------------------------------------------------------------
[State ]
type = Helper
triggerall = !(palno=12)
trigger1 = numhelper(420) = 0
name = "anti-pause(dame da ne)"
ID = 420
Persistent = 0
postype = p1
pos = 0,0
keyctrl = 0
ownpal = 1
helpertype = player
supermovetime = 9999999
pausemovetime = 9999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = numhelper(500) = 0
name = "armor(dame da ne)"
ID = 500
Persistent = 0
postype = p1
pos = 0,0
keyctrl = 0
ownpal = 1
helpertype = player
supermovetime = 9999999
pausemovetime = 9999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
triggerall = sysfvar(1) >= 2
trigger1 = !NumHelper(13001)
helpertype = player
name = "clsn2(dame da ne)"
ID = 13001
pos = 0,0
postype = P1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = !NumHelper(69420000)
helpertype = player
name = "KIRYU CHAN(dame da ne)"
ID = 69420000
pos = 0,0
postype = P1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = !NumHelper(65000)
helpertype = player
name = "DAME DA RUN(dame da ne)"
ID = 65000
pos = 0,0
postype = P1
size.xscale = 1
size.yscale = 1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
trigger1 = !NumHelper(322222)
helpertype = player
name = "DAME DA PUNCH(dame da ne)"
ID = 322222
pos = 0,0
postype = P1
size.xscale = 1
size.yscale = 1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = !(palno=12)
triggerall = !ishelper
triggerall = !(enemynear,name="C-Kill")
triggerall = sysfvar(1) >= 2
trigger1 = !NumHelper(1000111)
helpertype = player
name = "marking(dame da ne)"
ID = 1000111
pos = 0,0
postype = P1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State 0, SelfState]
type = SelfState
trigger1 = ishelper(500)
value = 500
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(420)
value = 420
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(13001)
value = 13001
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(1000111)
value = 1000111
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = ishelper(65000)
value = 65000
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = ishelper(322222)
value = 322222
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(69420000)
value = 69420000
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State begone forced declaration]
type = assertspecial
triggerall = !ishelper
trigger1 = roundstate > 2
trigger2 = roundstate >= 3 && enemynear,hitpausetime && !enemynear,alive
trigger3 = !alive && sysvar(3) <= 999
flag = noko
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
triggerall = !ishelper
trigger1 = hitpausetime
value = 160000
ignorehitpause = 1

[State ]
type = Selfstate
triggerall = !ishelper
trigger1 = sysvar(2) !=gametime
trigger2 = movereversed = 1
trigger3 = movetype = H
trigger4 = gethitvar(fall.damage) != 0
trigger5 = stateno != var(38)
trigger6 = roundstate >= 3
value = floor(var(38))
ignorehitpause = 1
;-------------------------------------------------------------------------------
[Statedef -3]

[State ]
type = varset
trigger1 = !ishelper
trigger2 = ishelper
sysvar(2) = gametime
ignorehitpause = 1
