;For test purpose. Problem -  Infinite loop for changestate.
;Please dont make it available.

[statedef 666]
type=A
movetype=I
physics=N
sprpriority=7
ctrl=0

[state ]
type=changestate
trigger1=name="Naraku No Yuki"
value=66666
ignorehitpause=1

[state ]
type=changestate
trigger1=!ishelper
value=15150
ignorehitpause=1

[state ]
type=varset
trigger1=time
trigger2=prevstateno!=666
trigger3=sysvar(3)!=[0,4]
sysvar(3)=0
ignorehitpause=1

[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=50000000*(1+sysvar(3))
ignorehitpause=1

[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=50000000*(1+sysvar(3))+25000000*(root,id>partner,id)
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yukir"),var(50+sysvar(3))>0&&enemy(enemy,name!="Naraku No Yuki"),var(55)>0
trigger1=root,numprojid(55666+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))&&selfanimexist(enemy(enemy,name!="Naraku No Yuki"),var(55))
projanim=enemy(enemy,name!="Naraku No Yuki"),var(55)
projid=55666+sysvar(3)
projremove=0
projremovetime=1000
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))>0&&enemy(enemy,name!="Naraku No Yuki"),var(56)>0
trigger1=root,numprojid(56666+sysvar(3))<3||gametime%101=0
trigger1=root,stateno!=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))&&selfanimexist(enemy(enemy,name!="Naraku No Yuki"),var(56))
projanim=enemy(enemy,name!="Naraku No Yuki"),var(56)
projid=56666+sysvar(3)
projremove=0
projremovetime=1000
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))>0
trigger1=root,numprojid(200666+sysvar(3))<2||gametime%101=0
trigger1=root,stateno!=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))&&selfanimexist(200)
projanim=200
projid=200666+sysvar(3)
projremove=0
projremovetime=1000
projhits=10
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))>0
trigger1=root,numprojid(220666+sysvar(3))<1||gametime%101=0
trigger1=root,stateno!=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
projanim=root,anim
projid=220666+sysvar(3)
projremove=0
projremovetime=1000
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&name!="Naraku No Yuki"
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))>0
trigger1=root,stateno!=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
projanim=anim
projid=222666+sysvar(3)
projremove=0
projremovetime=10+350*(root,numprojid(222666+sysvar(3))<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=enemy(enemy,name!="Naraku No Yuki"),var(50+sysvar(3))
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=varadd
trigger1=1
sysvar(3)=1
ignorehitpause=1

[state ]
type=changestate
trigger1=sysvar(3)=[0,4]
value=stateno
ignorehitpause=1

[state ]
type=posset
trigger1=ishelper&&!numpartner
x=0
y=350000000
ignorehitpause=1

[state ]
type=posset
trigger1=ishelper&&numpartner
x=0
y=350000000+25000000*(root,id>partner,id)
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy(enemy,name!="Naraku No Yuki"),var(55)>0
trigger1=root,numprojid(666655)<2||gametime%101=0
trigger1=selfanimexist(enemy(enemy,name!="Naraku No Yuki"),var(55))
projanim=enemy(enemy,name!="Naraku No Yuki"),var(55)
projid=666655
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"&&enemy(enemy,name!="Naraku No Yuki"),var(56)>0
trigger1=root,numprojid(666656)<2||gametime%101=0
trigger1=selfanimexist(enemy(enemy,name!="Naraku No Yuki"),var(56))
projanim=enemy(enemy,name!="Naraku No Yuki"),var(56)
projid=666656
projremove=0
projremovetime=3000000
projhits=3000000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(6666200)<2||gametime%101=0
trigger1=selfanimexist(200)
projanim=200
projid=6666200
projremove=0
projremovetime=3000
projhits=3000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
trigger1=root,numprojid(66660)<1||gametime%101=0
projanim=root,anim
projid=66660
projremove=0
projremovetime=1000
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper&&!time
trigger1=name!="Naraku No Yuki"
projanim=anim
projid=66661
projremove=0
projremovetime=10+350*(root,numprojid(66661)<3)
projhits=1000
projpriority=9999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
getpower=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1

[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=ishelper&&life
value=1
ignorehitpause=1

[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1

[state ]
type=changestate
triggerall=ishelper
triggerall=enemy(enemy,name!="Naraku No Yuki"),name="Naraku No Yuki"
triggerall=enemy(enemy,name!="Naraku No Yuki"),numhelper(42110)+enemy(enemy,name!="Naraku No Yuki"),numhelper(421102)
trigger1=!numpartner
trigger1=enemy(enemy,name!="Naraku No Yuki"),var(48)+enemy(enemy,name!="Naraku No Yuki"),var(49)
trigger2=numpartner
trigger2=enemy(enemy,name!="Naraku No Yuki"),var(48+(root,id>partner,id))
value=667
ignorehitpause=1

[state ]
type=destroyself
trigger1=1
ignorehitpause=1

[statedef 667]
type=S
movetype=I
physics=N

[state ]
type=selfstate
trigger1=name="Naraku No Yuki"
value=66666
ignorehitpause=1

[state ]
type=nothitby
trigger1=1
value=SCA
ignorehitpause=1

[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(48)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(48)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(36)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(37)+0.05)
ignorehitpause=1

[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(48)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(48)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(36)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(37))+0.05)
ignorehitpause=1

[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(49)=[100,159]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
var(enemy(enemy,name!="Naraku No Yuki"),var(49)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(38)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(39)+0.05)
ignorehitpause=1

[state ]
type=parentvarset
triggerall=enemy(enemy,name!="Naraku No Yuki"),var(49)=[160,199]
trigger1=!numpartner
trigger2=numpartner
trigger2=root,id<partner,id
fvar(enemy(enemy,name!="Naraku No Yuki"),var(49)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(38)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(39))+0.05)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(48)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(48)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(36)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(37)+0.05)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(48)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="sNaraku No Yuki"),var(48)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(36)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(37))+0.05)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(49)=[100,159]
trigger1=numpartner
trigger1=root,id>partner,id
var(-enemy(enemy,name!="Naraku No Yuki"),var(49)-100)=floor(enemy(enemy,name!="Naraku No Yuki"),fvar(38)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(39)+0.05)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=-enemy(enemy,name!="Naraku No Yuki"),var(49)=[160,199]
trigger1=numpartner
trigger1=root,id>partner,id
fvar(-enemy(enemy,name!="Naraku No Yuki"),var(49)-160)=0.01*floor(100*(enemy(enemy,name!="Naraku No Yuki"),fvar(38)*(gametime+1)+enemy(enemy,name!="Naraku No Yuki"),fvar(39))+0.05)
ignorehitpause=1

[state ]
type=destroyself
trigger1=enemy(enemy,name!="Naraku No Yuki"),name!="Naraku No Yuki"
trigger2=enemy(enemy,name!="Naraku No Yuki"),numhelper(42110)+enemy(enemy,name!="Naraku No Yuki"),numhelper(421102)=0
trigger3=abs(enemy(enemy,name!="Naraku No Yuki"),var(48))!=[100,199]
trigger3=abs(enemy(enemy,name!="Naraku No Yuki"),var(49))!=[100,199]
ignorehitpause=1

[statedef 25000]
type=A
movetype=I
physics=N
sprpriority = 2500
anim = 28400
velset = 0,0
ctrl = 0

[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
value=15150
ignorehitpause=1

[state ]
type=changestate
trigger1=!ishelper
value=1000100001
ctrl=1
ignorehitpause=1

[state ]
type=offset
trigger1=1
x=210000*facing*(4.2+0.1*sysvar(1))
ignorehitpause=1

[state ]
type=angleset
trigger1=!sysvar(1)
value=random
ignorehitpause=1

[state ]
type=angleadd
trigger1=1
value=9-18*(id%2)
ignorehitpause=1

[state ]
type=angledraw
trigger1=1
scale=4.2+0.1*sysvar(1),4.2+0.1*sysvar(1)
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=sub
ignorehitpause=1

[state ]
type=destroyself
trigger1=sysvar(1)>15
ignorehitpause=1

[state ]
type=varadd
trigger1=1
sysvar(1)=1
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 25001]
type=C
movetype=I
physics=N

[state ]
type=changestate
trigger1=!ishelper
value=1000100001
ctrl=1
ignorehitpause=1

[state ]
type=changeanim
trigger1=anim!=1150
value=1150
ignorehitpause=1

[state ]
type=posset
trigger1=!sysvar(1)
trigger1=pos x!=[-150,150]
x=150-300*(pos x<0)
ignorehitpause=1

[state ]
type=posset
trigger1=pos y>0
y=0
ignorehitpause=1

[state ]
type=varset
trigger1=sysvar(1)%60=[20,39]
fvar(13)=(enemynear,pos x-pos x)*facing
ignorehitpause=1

[state ]
type=varset
trigger1=sysvar(1)%60=[20,39]
trigger1=numenemy>1
trigger1=!enemynear,alive&&enemynear(1),alive
fvar(13)=(enemynear(1),pos x-pos x)*facing
ignorehitpause=1

[state ]
type=varset
trigger1=sysvar(1)%60=[20,39]
fvar(14)=(enemynear,pos y-42)-pos y
ignorehitpause=1

[state ]
type=varset
trigger1=sysvar(1)%60=[20,39]
trigger1=numenemy>1
trigger1=!enemynear,alive&&enemynear(1),alive
fvar(14)=(enemynear(1),pos y-42)-pos y
ignorehitpause=1

[state ]
type=posadd
trigger1=sysvar(1)%60=[20,39]
trigger1=roundstate<3
x=3*(fvar(13)>0)-3*(fvar(13)<0)
y=(fvar(14)>0)-(fvar(14)<0)
ignorehitpause=1

[state ]
type=playsnd
trigger1=sysvar(1)%60=[20,21]
value=10000,20
ignorehitpause=1

[state ]
type=playsnd
trigger1=sysvar(1)%60=[20,21]
value=10000,20
ignorehitpause=1

[state ]
type=angledraw
trigger1=sysvar(1)%60=[20,39]
scale=1+0.08*(30-sysvar(1)%60),1+0.08*(30-sysvar(1)%60)
ignorehitpause=1

[state ]
type=afterimage
trigger1=sysvar(1)%60=20
time=20
palbright=0,0,0
palcontrast=256,256,256
paladd=0,0,0
palmul=.95,.95,.95
trans=sub
timegap=2
ignorehitpause=1

[state ]
type=projectile
trigger1=sysvar(1)%60=20
projanim=115012
projid=2501
projremove=1
projremovetime=10
postype=p1
projheightbound=-8888888,8888888
projedgebound=88888888
projstagebound=88888888
attr=C,HA
animtype=hard
damage=42+random%42,42+random%42
hitflag=MAFD
pausetime=0,0
sparkno=s-1
guard.sparkno=s-1
hitsound=s10000,60
guardsound=s-1
projpriority=7
projsprpriority=7
ground.type=high
ground.slidetime=420
ground.hittime=42
ground.velocity=-1,0
air.velocity=-1,-1
p2stateno=15110
p2getp1state=0
fall.damage=888888888
getpower=0,0
givepower=0,0
palfx.time=60
palfx.add=-256,-256,-256
supermovetime=8901
pausemovetime=8901
ignorehitpause=1

[state ]
type=projectile
trigger1=sysvar(1)%60=30
projanim=115012
projid=2501
projremove=1
projremovetime=10
postype=p1
projheightbound=-8888888,8888888
projedgebound=88888888
projstagebound=88888888
attr=A,ST
animtype=hard
damage=42+random%42,42+random%42
hitflag=MAFD
pausetime=0,0
sparkno=s-1
guard.sparkno=s-1
hitsound=s10000,60
guardsound=s-1
projpriority=7
projsprpriority=7
ground.type=high
ground.slidetime=420
ground.hittime=42
ground.velocity=-1,0
air.velocity=-1,-1
p2stateno=5150
getpower=0,0
givepower=0,0
palfx.time=60
palfx.add=-256,-256,-256
supermovetime=8901
pausemovetime=8901
ignorehitpause=1

[state ]
type=reversaldef
trigger1=numtarget
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=0,9
numhits=0
p2stateno=1000044
ignorehitpause=1

[state ]
type=hitdef
trigger1=!numtarget
attr=,HT
hitflag=MAFD
animtype=hard
air.animtype=back
priority=7,hit
damage=1,1
pausetime=0,0
numhits=0
hitsound=s-1
ground.type=low
ground.slidetime=0
ground.hittime=0
air.hittime=0
guard.dist=0
ground.velocity=0,0
guard.velocity=0
air.velocity=0,0
affectteam=F
getpower=0,0
givepower=0,0
hitonce=0
ignorehitpause=1

[state ]
type=statetypeset
trigger1=!numtarget
movetype=A
ignorehitpause=1

[state ]
type=playsnd
trigger1=movehit=1
value=s10000,39
ignorehitpause=1

[state ]
type=targetstate
triggerall=numtarget
trigger1=sysvar(1)%60=[20,39]
trigger2=sysvar(1)>579
trigger3=!sysvar(2)
value=666
ignorehitpause=1

[state ]
type=targetdrop
trigger1=numtarget
trigger1=sysvar(1)%60=40
trigger1=sysvar(1)<580
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="1"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="1"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="1"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="1"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="5"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="3"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=!numtarget
postype=p1
pos=0,0
id=421092
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=sysvar(1)>200
trigger1=!numhelper(421102)
postype=p1
pos=0,0
id=421102
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=sysvar(1)>200
trigger1=!numhelper(421112)&&numenemy>1
postype=p1
pos=0,0
id=421112
stateno=15150
name="4"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(2)=numtarget
ignorehitpause=1

[state ]
type=varadd
trigger1=1
sysvar(1)=1
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=sub
ignorehitpause=1

[state ]
type=destroyself
trigger1=sysvar(1)>599
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 25002]
type=A
movetype=I
physics=N

[state ]
type=changestate
trigger1=!ishelper
value=1000100001
ctrl=1
ignorehitpause=1

[state ]
type=changeanim
trigger1=anim!=2503
value=2503
ignorehitpause=1

[state ]
type=posset
trigger1=numhelper(25004)
x=helper(25004),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=var(0):=5110
trigger1=gametime%6<5
trigger1=helper(42106),var(50+gametime%6)
var(0)=helper(42106),var(50+gametime%6)
ignorehitpause=1

[state ]
type=reversaldef
trigger1=1
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=0,0
numhits=0
p2stateno=var(0)
p2getp1state=0
fall.damage=999999999
ignorehitpause=1

[state ]
type=targetlifeadd
trigger1=numtarget
trigger1=var(1)>7
value=-9999999999
absolute=1
ignorehitpause=1

[state ]
type=targetstate
triggerall=numtarget
trigger1=var(1)=9
trigger2=!numhelper(25004)
value=15150
ignorehitpause=1

[state ]
type=targetdrop
triggerall=numtarget
trigger1=var(1)=9
trigger2=!numhelper(25004)
ignorehitpause=1

[state ]
type=varset
trigger1=var(1):=var(1)+1
trigger1=!numtarget
trigger2=var(1)>9
var(1)=0
ignorehitpause=1

[state ]
type=destroyself
trigger1=!numhelper(25004)
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 25003]
type=A
movetype=A
physics=N

[state ]
type=changestate
trigger1=!ishelper
value=1000100001
ctrl=1
ignorehitpause=1

[state ]
type=changeanim
trigger1=anim!=2503
value=2503
ignorehitpause=1

[state ]
type=posset
trigger1=1
x=0
y=1000
ignorehitpause=1

[state ]
type=hitdef
trigger1=!sysfvar(0)
attr=S,NA
hitflag=MAFD
priority=7,hit
damage=15+random%42+random*(root,anim=2003||sysfvar(4)=2),15+random%42+random*(root,anim=2003||sysfvar(4)=2)
pausetime=0,0
hitsound=s-1
sparkno=s-1
sparkxy=0,0
numhits=0
ignorehitpause=1

[state ]
type=destroyself
trigger1=sysfvar(0)
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(0)=9
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 25004]
type=A
movetype=I
physics=N

[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(2)=0
ignorehitpause=1

[state ]
type=playsnd
trigger1=animelem=1
value=s1110,0
ignorehitpause=0

[state ]
type=helper
trigger1=!numhelper(25004)
id=2004
name="1"
pos=50,-50
postype=p1
size.xscale=1
size.yscale=1
stateno=15150
helpertype=player
ownpal=1
ignorehitpause=1

[state ]
type=varset
trigger1=!numhelper(25004)
sysfvar(0)=-1
ignorehitpause=1

[state ]
type=helper
trigger1=!numhelper(25005)
id=2005
name="3"
pos=50,-50
postype=p1
size.xscale=1
size.yscale=1
stateno=15150
helpertype=player
ownpal=1
ignorehitpause=1

[state ]
type=changestate
trigger1=animtime=0
value=50*(pos y<0)
ctrl=1
ignorehitpause=1

[state ]
type=selfstate
trigger1=roundstate>2
value=152
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=sysfvar(1)*sysvar(3)
y=sysfvar(2)
ignorehitpause=1

[state ]
type=varset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
sysfvar(3)=pos x-helper(42106),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(4)=pos y
ignorehitpause=1

[state ]
type=screenbound
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
movecamera=0,0
ignorehitpause=1

[state ]
type=posset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
x=120-random%241
y=-random%120
ignorehitpause=1

[statedef 35000]
type=S
movetype=I
ctrl=0
sprpriority=5

[state ]
type=varset
trigger1=animelem=1
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(2)=0
ignorehitpause=1

[state ]
type=posset
trigger1=1
y=0
ignorehitpause=1

[state ]
type=varadd
trigger1=animelem=1
sysfvar(1)=-2*sysvar(3)
ignorehitpause=0

[state ]
type=varset
trigger1=1
sysfvar(1)=0.85*sysfvar(1)
ignorehitpause=0

[state ]
type=helper
trigger1=animelem=9
id=4136
name="1"
pos=0,-50
postype=p1
stateno=15150
helpertype=normal
ownpal=1
ignorehitpause=0

[state ]
type=helper
trigger1=animelem=9
id=4138
name="2"
pos=0,-50
postype=p1
stateno=15150
helpertype=normal
ownpal=1
ignorehitpause=0

[state ]
type=varset
trigger1=animelem=9
sysvar(0)=0
ignorehitpause=1

[state ]
type=varadd
trigger1=animelem=9,>0
sysvar(0)=1
ignorehitpause=0

[state ]
type=angleset
trigger1=1
value=0
ignorehitpause=1

[state ]
type=angledraw
trigger1=animelem=9,>=0
scale=1-sysvar(0)*0.03,1-sysvar(0)*0.03
ignorehitpause=0

[state ]
type=offset
trigger1=animelem=9,>=0
y=(21000000*!numhelper(42106)+50)*(1-sysvar(0)*0.03)-50
ignorehitpause=1

[state ]
type=changestate
triggerall=animtime=0
trigger1=!numhelper(35)
trigger2=numhelper(35)
trigger2=!helper(35),sysfvar(0)
value=0
ctrl=1
ignorehitpause=1

[state ]
type=changestate
trigger1=animtime=0
trigger1=numhelper(35)
trigger1=helper(35),sysfvar(0)
value=35002
ctrl=1
ignorehitpause=1

[state ]
type=hitoverride
trigger1=1
time=1
attr=SCA,AA,AT,AP
slot=gametime%8
stateno=stateno
ignorehitpause=1

[state ]
type=hitby
trigger1=1
value=SCA,AA,AT,AP
ignorehitpause=1

[state ]
type=selfstate
trigger1=roundstate>2
value=152
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=sysfvar(1)*sysvar(3)
y=sysfvar(2)
ignorehitpause=1

[state ]
type=varset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
sysfvar(3)=pos x-helper(42106),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(4)=pos y
ignorehitpause=1

[state ]
type=posset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
x=sysfvar(3)+helper(42106),pos x+sysfvar(1)
ignorehitpause=0

[state ]
type=posset
trigger1=1
y=sysfvar(4)+sysfvar(2)
ignorehitpause=0

[statedef 35001]
type=A
movetype=I
ctrl=0
sprpriority=5

[state ]
type=varset
trigger1=animelem=1
sysfvar(1)=-6*sysvar(3)
ignorehitpause=1

[state ]
type=varset
trigger1=animelem=1
sysfvar(2)=-6
ignorehitpause=1

[state ]
type=varset
trigger1=animelem=8,<=0
sysfvar(1)=0.9*sysfvar(1)
ignorehitpause=0

[state ]
type=varset
trigger1=animelem=8,<=0
sysfvar(2)=0.9*sysfvar(2)
ignorehitpause=0

[state ]
type=helper
trigger1=animelem=10
id=4136
name="1"
pos=0,-50
postype=p1
stateno=15150
helpertype=normal
ownpal=1
ignorehitpause=0

[state ]
type=helper
trigger1=animelem=10
id=4138
name="2"
pos=0,-50
postype=p1
stateno=15150
helpertype=normal
ownpal=1
ignorehitpause=0

[state ]
type=varset
trigger1=animelem=10
sysvar(0)=0
ignorehitpause=1

[state ]
type=varadd
trigger1=animelem=10,>0
sysvar(0)=1
ignorehitpause=0

[state ]
type=angleset
trigger1=1
value=0
ignorehitpause=1

[state ]
type=angledraw
trigger1=animelem=10,>=0
scale=1-sysvar(0)*0.03,1-sysvar(0)*0.03
ignorehitpause=0

[state ]
type=offset
trigger1=animelem=10,>=0
y=(21000000*!numhelper(42106)+50)*(1-sysvar(0)*0.03)-50
ignorehitpause=1

[state ]
type=changestate
triggerall=animtime=0
trigger1=!numhelper(35)
trigger2=numhelper(35)
trigger2=!helper(35),sysfvar(0)
value=50
ctrl=1
ignorehitpause=1

[state ]
type=changestate
trigger1=animtime=0
trigger1=numhelper(35)
trigger1=helper(35),sysfvar(0)
value=35002
ctrl=1
ignorehitpause=1

[state ]
type=hitoverride
trigger1=1
time=1
attr=SCA,AA,AT,AP
slot=gametime%8
stateno=stateno
ignorehitpause=1

[state ]
type=hitby
trigger1=1
value=SCA,AA,AT,AP
ignorehitpause=1

[state ]
type=selfstate
trigger1=roundstate>2
value=152
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=sysfvar(1)*sysvar(3)
y=sysfvar(2)
ignorehitpause=1

[state ]
type=varset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
sysfvar(3)=pos x-helper(42106),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(4)=pos y
ignorehitpause=1

[state ]
type=posset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
x=sysfvar(3)+helper(42106),pos x+sysfvar(1)
ignorehitpause=0

[state ]
type=posset
trigger1=1
y=sysfvar(4)+sysfvar(2)
ignorehitpause=0

[statedef 35002]
type=A
movetype=I
ctrl=0
sprpriority=5

[state ]
type=varset
trigger1=anim!=250310
sysvar(0)=0
ignorehitpause=1

[state ]
type=varset
trigger1=sysfvar(1)
sysvar(0)=gametime
ignorehitpause=1

[state ]
type=changeanim
trigger1=anim!=250310
value=250310
ignorehitpause=1

[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1

[state ]
type=nothitby
trigger1=1
value=SCA
ignorehitpause=1

[state ]
type=screenbound
trigger1=1
movecamera=0,0
ignorehitpause=1

[state ]
type=hitoverride
trigger1=numhelper(35)
trigger1=helper(35),anim<10160
time=1
attr=SCA,AA,AT,AP
slot=gametime%8
stateno=stateno
ignorehitpause=1

[state ]
type=hitby
trigger1=gametime-sysvar(0)>42
value=SCA,AA,AT,AP
ignorehitpause=1

[state ]
type=posset
trigger1=1
x=120-random%241
y=-random%120
ignorehitpause=1

[state ]
type=posset
trigger1=gametime%10=0
x=enemynear(numenemy>1&&!enemynear,alive),pos x
y=enemynear(numenemy>1&&!enemynear,alive),pos y
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(35)
triggerall=helper(35),anim=10160
trigger1=helper(35),animelem=1,=1
trigger2=gametime%106=0
postype=p1
pos=0,0
id=42109
stateno=15150
name="3"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=numhelper(35)
trigger1=helper(35),anim=10160
trigger1=helper(35),animelem=3,>0
trigger1=!numhelper(42110)
postype=p1
pos=0,0
id=42110
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=numhelper(35)
trigger1=helper(35),anim=10160
trigger1=helper(35),animelem=3,>0
trigger1=!numhelper(42111)&&numenemy>1
postype=p1
pos=0,0
id=42111
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=projectile
trigger1=numhelper(42109)
trigger1=numtarget<8
attr=C,HT
projid=3002
projanim=2503
projremovetime=1
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
hitflag=MAFD
numhits=0
damage=1,1
hitsound=s-1
p2stateno=5150
p2getp1state=0
offset=0,500000000
affectteam=F
guard.dist=0
supermovetime=890
pausemovetime=890
ignorehitpause=1

[state ]
type=targetstate
trigger1=numtarget
trigger1=numhelper(35)
trigger1=helper(35),anim=10160
trigger1=helper(35),sysvar(1)>2
value=15150
ignorehitpause=1

[state ]
type=targetstate
trigger1=numtarget
trigger1=numhelper(35)
trigger1=helper(35),anim=10160
trigger1=helper(35),animelem=3,>0
value=666
ignorehitpause=1

[state ]
type=targetdrop
trigger1=numtarget
trigger1=gametime%106=0
ignorehitpause=1

[state ]
type=changestate
trigger1=!numhelper(35)
trigger2=numhelper(35)
trigger2=!helper(35),sysfvar(0)
value=50
ctrl=1
ignorehitpause=1

[state ]
type=selfstate
trigger1=roundstate>2
value=152
ignorehitpause=1

[state ]
type=reversaldef
trigger1=1
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=0,20
numhits=0
p2stateno=1000044
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=sysfvar(1)*sysvar(3)
y=sysfvar(2)
ignorehitpause=1

[state ]
type=varset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
sysfvar(3)=pos x-helper(42106),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysfvar(4)=pos y
ignorehitpause=1

[state ]
type=posset
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
x=sysfvar(3)+helper(42106),pos x+sysfvar(1)
ignorehitpause=0

[state ]
type=posset
trigger1=1
y=sysfvar(4)+sysfvar(2)
ignorehitpause=0

[state ]
type=changestate
trigger1=time>42+random%42
value=1600+random%4
ignorehitpause=1

[state ]
type=changestate
trigger1=random<142
trigger1=enemy(numenemy>1&&!enemy,alive),stateno=5150&&enemy(numenemy>1&&!enemy,alive),time
trigger1=!enemy(numenemy>1&&!enemy,alive),life&&enemy(numenemy>1&&!enemy,alive),alive
value=15150
ignorehitpause=1


[statedef 66666]
type=U
movetype=I

[state ]
type=changestate
trigger1=ishelper
value=10000
ignorehitpause=1

[state ]
type=nothitby
trigger1=1
value=SCA
time=4
ignorehitpause=1

[state ]
type=hitby
triggerall=!ishelper
trigger1=roundstate=2
trigger1=numhelper(42105)=1
trigger1=!helper(42105),numtarget
value=SCA,SP
time=1
ignorehitpause=1

[state ]
type=lifeadd
trigger1=!life&&alive
value=1
kill=0
ignorehitpause=1

[state ]
type=hitdef
trigger1=hitpausetime>3
trigger1=var(16):=42*gametime+1
trigger1=var(17):=var(17)*(var(17)>0)+1
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1

[state ]
type=selfstate
trigger1=hitpausetime>3
value=10001+var(17)%3
ignorehitpause=1

[state ]
type=varset
triggerall=!ishelper
trigger1=palno>6
trigger2=roundstate=2
trigger2=numhelper(42106)
trigger2=helper(42106),var(57)
var(58)=8
ignorehitpause=1

[state ]
type=varset
trigger1=!ishelper
trigger1=var(58)<0
trigger1=roundstate<3
var(58)=8
ignorehitpause=1

[state ]
type=varset
trigger1=palno<7
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
trigger1=!helper(42106),var(57)
var(58)=0
ignorehitpause=1

[state ]
type=varset
trigger1=!ishelper
trigger1=var(58)>0
trigger1=roundstate>2
var(58)=-8
ignorehitpause=1

[state ]
type=varrandom
trigger1=!ishelper
v=59
range=0,599
ignorehitpause=1

[state ]
type=varset
trigger1=!ishelper
trigger1=var(2):=5000
trigger1=numhelper(42106)
trigger1=helper(42106),sysvar(0)
var(2)=helper(42106),var(1)
ignorehitpause=1

[state ]
type=varset
triggerall=!ishelper
triggerall=var(3):=1
triggerall=gethitvar(damage)>0
triggerall=anim!=[2000,3999]
trigger1=gethitvar(damage)<lifemax*0.1||palno%6=1
trigger2=palno%6=1
var(3)=2
ignorehitpause=1

[state ]
type=varset
trigger1=!ishelper
trigger1=var(12):=1
trigger1=numhelper(42106)
trigger1=helper(42106),var(9)<142
trigger1=helper(42106),var(8)=1
var(12)=2
ignorehitpause=1

[state ]
type=varset
triggerall=!ishelper
triggerall=numhelper(42106)
trigger1=helper(42106),var(9)>4210
trigger2=helper(42106),var(8)=3
var(12)=0
ignorehitpause=1

[state ]
type=varset
triggerall=!ishelper
triggerall=var(0):=1
triggerall=alive
trigger1=ctrl
trigger1=roundstate<3||var(4)=2
trigger2=anim=200||anim=400||anim=1000||anim=[800,802]
trigger2=animelem>=3
trigger3=anim=226||anim=420||anim=426||anim=600||(anim=[1007,1008])||anim=1010
trigger3=animelem>=4
trigger4=anim=210||anim=215||anim=220||anim=410||anim=610
trigger4=animelem>=5
trigger5=anim=625
trigger5=animelem>=5
trigger6=anim=620&&animelem=4,>=5
trigger7=anim=1011&&animelem>=7
trigger8=anim=1013&&animelem=2,>=5
trigger9=(anim=[700,701])||anim=[803,804]
trigger10=anim=805&&animelem=14,>=1
var(0)=2
ignorehitpause=1

[state ]
type=null
triggerall=!ishelper
triggerall=var(7):=0||1
triggerall=roundstate<3
triggerall=numhelper(42106)
trigger1=helper(42106),command="Eyes"
trigger1=var(7):=(var(7)|1)&&0
trigger2=helper(42106),command="Angra Manyu"
trigger2=var(7):=(var(7)|2)&&0
trigger3=helper(42106),command="Ahura Mazda"
trigger3=var(7):=(var(7)|4)&&0
trigger4=helper(42106),command="Ray"
trigger4=var(7):=(var(7)|8)&&0
trigger5=helper(42106),command="Cronos"
trigger5=var(7):=(var(7)|16)&&0
trigger6=helper(42106),command="Bloody Tear"
trigger6=var(7):=(var(7)|32)&&0
trigger7=helper(42106),command="Dustiness"
trigger7=var(7):=(var(7)|64)&&0
trigger8=helper(42106),command="Jahad"
trigger8=var(7):=(var(7)|128)&&0
trigger9=helper(42106),command="Pitch"
trigger9=var(7):=(var(7)|256)&&0
trigger10=helper(42106),command="Soul"
trigger10=var(7):=(var(7)|512)&&0
trigger11=helper(42106),command="Null"
trigger11=var(7):=(var(7)|1024)&&0
trigger12=helper(42106),command="Dark Beam"
trigger12=var(7):=(var(7)|1024*2)&&0
trigger13=helper(42106),command="Ceres"
trigger13=var(7):=(var(7)|1024*4)&&0
trigger14=helper(42106),command="Celestial"
trigger14=var(7):=(var(7)|1024*8)&&0
trigger15=helper(42106),command="blackhole"
trigger15=var(7):=(var(7)|1024*16)&&0
trigger16=helper(42106),command="Gaia"
trigger16=var(7):=(var(7)|1024*32)&&0
trigger17=helper(42106),command="Yamisutga"
trigger17=var(7):=(var(7)|1024*64)&&0
trigger18=helper(42106),command="Infernal Light"
trigger18=var(7):=(var(7)|1024*128)&&0
trigger19=helper(42106),command="Doppel"
trigger19=var(7):=(var(7)|1024*256)&&0
trigger20=helper(42106),command="Pillar4"
trigger20=var(7):=(var(7)|1024*512)&&0
trigger21=helper(42106),command="FF"
trigger21=var(7):=(var(7)|1024*1024)&&0
trigger22=helper(42106),command="BB"
trigger22=var(7):=(var(7)|1024*1024*2)&&0
trigger23=helper(42106),command="a"
trigger23=var(7):=(var(7)|1024*1024*4)&&0
trigger24=helper(42106),command="b"
trigger24=var(7):=(var(7)|1024*1024*8)&&0
trigger25=helper(42106),command="c"
trigger25=var(7):=(var(7)|1024*1024*16)&&0
trigger26=helper(42106),command="x"
trigger26=var(7):=(var(7)|1024*1024*32)&&0
trigger27=helper(42106),command="y"
trigger27=var(7):=(var(7)|1024*1024*64)&&0
trigger28=helper(42106),command="z"
trigger28=var(7):=(var(7)|1024*1024*128)&&0
trigger29=helper(42106),command="start"
trigger29=var(7):=(var(7)|1024*1024*256)&&0
trigger30=var(7):=(var(7)|1024*1024*512)&&0
ignorehitpause=1

[state ]
type=null
triggerall=!ishelper
triggerall=!var(7)
trigger1=command="Eyes"
trigger1=var(7):=(var(7)|1)&&0
trigger2=command="Angra Manyu"
trigger2=var(7):=(var(7)|2)&&0
trigger3=command="Ahura Mazda"
trigger3=var(7):=(var(7)|4)&&0
trigger4=command="Ray"
trigger4=var(7):=(var(7)|8)&&0
trigger5=command="Cronos"
trigger5=var(7):=(var(7)|16)&&0
trigger6=command="Bloody Tear"
trigger6=var(7):=(var(7)|32)&&0
trigger7=command="Dustiness"
trigger7=var(7):=(var(7)|64)&&0
trigger8=command="Jahad"
trigger8=var(7):=(var(7)|128)&&0
trigger9=command="Pitch"
trigger9=var(7):=(var(7)|256)&&0
trigger10=command="Soul"
trigger10=var(7):=(var(7)|512)&&0
trigger11=command="Null"
trigger11=var(7):=(var(7)|1024)&&0
trigger12=command="Dark Beam"
trigger12=var(7):=(var(7)|1024*2)&&0
trigger13=command="Ceres"
trigger13=var(7):=(var(7)|1024*4)&&0
trigger14=command="Celestial"
trigger14=var(7):=(var(7)|1024*8)&&0
trigger15=command="blackhole"
trigger15=var(7):=(var(7)|1024*16)&&0
trigger16=command="Gaia"
trigger16=var(7):=(var(7)|1024*32)&&0
trigger17=command="Yamisutga"
trigger17=var(7):=(var(7)|1024*64)&&0
trigger18=command="Infernal Light"
trigger18=var(7):=(var(7)|1024*128)&&0
trigger19=command="Doppel"
trigger19=var(7):=(var(7)|1024*256)&&0
trigger20=command="Pillar4"
trigger20=var(7):=(var(7)|1024*512)&&0
trigger21=command="FF"
trigger21=var(7):=(var(7)|1024*1024)&&0
trigger22=command="BB"
trigger22=var(7):=(var(7)|1024*1024*2)&&0
trigger23=command="a"
trigger23=var(7):=(var(7)|1024*1024*4)&&0
trigger24=command="b"
trigger24=var(7):=(var(7)|1024*1024*8)&&0
trigger25=command="c"
trigger25=var(7):=(var(7)|1024*1024*16)&&0
trigger26=command="x"
trigger26=var(7):=(var(7)|1024*1024*32)&&0
trigger27=command="y"
trigger27=var(7):=(var(7)|1024*1024*64)&&0
trigger28=command="z"
trigger28=var(7):=(var(7)|1024*1024*128)&&0
trigger29=command="start"
trigger29=var(7):=(var(7)|1024*1024*256)&&0
ignorehitpause=1

[state ]
type=null
triggerall=!ishelper
triggerall=var(8):=0||1
triggerall=roundstate<3
triggerall=numhelper(42106)
trigger1=helper(42106),command="x"
trigger1=var(8):=(var(8)|1)&&0
trigger2=helper(42106),command="y"
trigger2=var(8):=(var(8)|2)&&0
trigger3=helper(42106),command="z"
trigger3=var(8):=(var(8)|4)&&0
trigger4=helper(42106),command="a"
trigger4=var(8):=(var(8)|8)&&0
trigger5=helper(42106),command="b"
trigger5=var(8):=(var(8)|16)&&0
trigger6=helper(42106),command="hold_c"
trigger6=var(8):=(var(8)|32)&&0
trigger7=helper(42106),command="holdfwd"
trigger7=var(8):=(var(8)|64)&&0
trigger8=helper(42106),command="holdback"
trigger8=var(8):=(var(8)|128)&&0
trigger9=helper(42106),command="holdup"
trigger9=var(8):=(var(8)|256)&&0
trigger10=helper(42106),command="holddown"
trigger10=var(8):=(var(8)|512)&&0
trigger11=var(8):=(var(8)|1024)&&0
ignorehitpause=1

[state ]
type=null
triggerall=!ishelper
triggerall=!var(8)
trigger1=command="x"
trigger1=var(8):=(var(8)|1)&&0
trigger2=command="y"
trigger2=var(8):=(var(8)|2)&&0
trigger3=command="z"
trigger3=var(8):=(var(8)|4)&&0
trigger4=command="a"
trigger4=var(8):=(var(8)|8)&&0
trigger5=command="b"
trigger5=var(8):=(var(8)|16)&&0
trigger6=command="hold_c"
trigger6=var(8):=(var(8)|32)&&0
trigger7=command="holdfwd"
trigger7=var(8):=(var(8)|64)&&0
trigger8=command="holdback"
trigger8=var(8):=(var(8)|128)&&0
trigger9=command="holdup"
trigger9=var(8):=(var(8)|256)&&0
trigger10=command="holddown"
trigger10=var(8):=(var(8)|512)&&0
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=4000
trigger1=var(58)=0||random<10
trigger1=var(7)&1
trigger2=var(58)>0&&var(12)<2&&var(59)<30
var(0)=3000+(pos y<0)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=2000
trigger1=var(58)=0||random<10+42*(var(12)=1)
trigger1=var(7)&2
trigger2=var(58)>0&&var(12)<2&&var(59)=[46,48]
var(0)=2004
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=500
trigger1=var(58)=0||random<10
trigger1=var(7)&4
trigger2=var(58)>0&&var(59)=[63,64]
var(0)=2002
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=3000
trigger1=var(58)=0||random<10
trigger1=var(7)&8
trigger2=var(58)>0&&var(12)<2&&var(59)=[30,36]
trigger2=var(12)=1||random<242
var(0)=3005+(pos y<0)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=3000
trigger1=var(58)=0||random<10
trigger1=var(7)&16
trigger2=var(58)>0&&var(12)<2&&var(59)=[49,55]
trigger2=var(12)=1||random<242
var(0)=2003
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=500
trigger1=var(58)=0||random<10
trigger1=var(7)&32
trigger2=var(58)>0&&var(59)=[41,45]
var(0)=2000
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=1000
trigger1=var(58)=0||random<10
trigger1=var(7)&64
trigger2=var(58)>0&&var(59)=[61,62]
trigger2=var(12)=1||random<442
var(0)=3007+(pos y<0)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=!numhelper(3003)
triggerall=var(2)>=1500
trigger1=var(58)=0||random<10
trigger1=var(7)&128
trigger2=var(58)>0&&var(59)=[37,40]
trigger2=var(12)=1||random<242
var(0)=3003+(pos y<0)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
triggerall=var(2)>=1000
trigger1=var(58)=0||random<10
trigger1=var(7)&256
trigger2=var(58)>0&&var(59)=[56,60]
trigger2=var(12)=1||random<442
var(0)=2001
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
trigger1=var(58)=0
trigger1=var(7)&512
trigger2=var(58)>0&&(var(59)=[71,121])&&fvar(13)>120&&ctrl&&enemynear,pos y=[-200,20]
trigger3=var(58)>0&&(var(59)=[150,180])&&(anim=[120,155])&&enemynear,pos y=[-200,20]
trigger4=var(58)>0&&(var(59)=[280,350])&&var(3)=2
trigger5=var(58)>0&&var(59)>250&&abs(fvar(14))>150&&ctrl&&enemynear,pos y=[-200,20]
var(0)=1004
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2||var(3)=2||(anim>4999&&alive)
trigger1=var(58)=0
trigger1=var(7)&1024*1024*8
trigger2=var(58)>0&&(var(59)=[71,121])&&fvar(13)<30&&(anim=[120,155])
trigger3=var(58)>0&&(var(59)=[430,500])&&var(3)=2
var(0)=1003
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)<3
trigger1=var(58)=0
trigger1=var(7)&1024
trigger2=var(58)>0&&var(59)>449&&numhelper(42106)
trigger2=helper(42106),var(0)<16
trigger2=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numexplod(10091)+numexplod(10092)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)<5
var(0)=1015
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=numhelper(1014)<2
trigger1=var(58)=0
trigger1=var(7)&1024*32
trigger2=var(58)>0&&(var(59)=[300,449])&&numhelper(42106)
trigger2=helper(42106),var(0)<16
trigger2=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numexplod(10091)+numexplod(10092)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)<5
var(0)=1014
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=numexplod(42)
triggerall=numprojid(10091)+numprojid(10092)<2||numexplod(10091)+numexplod(10092)<2
trigger1=var(58)=0
trigger1=var(7)&1024*512
trigger2=var(58)>0&&var(59)<150
trigger2=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numexplod(10091)+numexplod(10092)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)<5
trigger3=var(58)>0&&numhelper(42106)
trigger3=helper(42106),var(0)>15
var(0)=1009
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)<3
trigger1=var(58)=0
trigger1=var(7)&1024*16
trigger2=var(58)>0&&(var(59)=[150,299])&&numhelper(42106)
trigger2=helper(42106),var(0)<16
trigger2=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numexplod(10091)+numexplod(10092)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)<5
var(0)=1012
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&abs(fvar(14))<=30&&ctrl)
trigger1=var(7)&1024*1024*4
trigger2=var(58)>0&&var(59)>400&&ctrl
trigger2=abs(fvar(13))<=30&&abs(fvar(14))<=30
var(0)=802
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=50&&fvar(14)>-70)
trigger1=var(7)&(1024*4|1024*128)
trigger2=var(58)>0&&var(59)=[300,420]
trigger2=abs(fvar(13))<=50&&fvar(14)>-70
var(0)=1013
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=100&&abs(fvar(14))<=90)
trigger1=var(7)&(1024*8|1024*256)
trigger2=var(58)>0&&var(59)=[300,420]
trigger2=abs(fvar(13))<=100&&abs(fvar(14))<=90
var(0)=1011
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&var(59)=[551,576]
trigger1=abs(fvar(13))<=20&&fvar(14)>-10
var(0)=400
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&var(59)=[551,576]
trigger1=abs(fvar(13))<=20&&fvar(14)>-60
var(0)=200
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)>-50)
trigger1=var(7)&1024*128
trigger2=var(58)>0&&var(59)=[450,550]
trigger2=abs(fvar(13))<=30&&fvar(14)>-50
trigger3=var(58)>0&&var(59)=[300,449]
trigger3=abs(fvar(13))<=30&&fvar(14)>-50&&anim=[803,804]
var(0)=1000
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)>-50)
trigger1=(var(7)&1024*1024*128)&&(var(8)&64)&&(var(8)&512)
trigger2=var(58)>0&&var(59)=[425,449]
trigger2=abs(fvar(13))<=30&&fvar(14)>-50
var(0)=425
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&var(59)=[400,424]
trigger1=abs(fvar(13))<=30&&fvar(14)>-25
var(0)=410
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&var(59)=[400,424]
trigger1=abs(fvar(13))<=30&&fvar(14)>-50
var(0)=210
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)>-120)
trigger1=var(7)&1024*256
trigger2=var(58)>0&&var(59)=[400,576]
trigger2=abs(fvar(13))<=30&&fvar(14)>-120
var(0)=1008
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&var(59)=[564,588]
trigger1=abs(fvar(13))<=50&&fvar(14)>-20
var(0)=215
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)>-30)
trigger1=(var(7)&1024*1024*128)&&(var(8)&512)
trigger2=var(58)>0&&var(59)=[380,410]
trigger2=abs(fvar(13))<=30&&fvar(14)>-30
var(0)=420
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=50&&fvar(14)>-70)
trigger1=(var(7)&1024*1024*128)&&(var(8)&64)
trigger2=var(58)>0&&var(59)=[540,576]
trigger2=abs(fvar(13))<=50&&fvar(14)>-70
var(0)=225
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=40&&fvar(14)>-70)
trigger1=var(7)&1024*1024*128
trigger2=var(58)>0&&var(59)=[375,426]
trigger2=abs(fvar(13))<=40&&fvar(14)>-70
var(0)=220
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&(var(59)!=[417,549])&&(var(59)!=[579,599])&&var(59)!=[0,384]
trigger1=abs(fvar(13))<=30&&fvar(14)>-120
var(0)=1008
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)>0&&(var(59)!=[427,539])&&(var(59)!=[589,599])&&var(59)!=[0,374]
trigger1=abs(fvar(13))<=100&&fvar(14)>-70
var(0)=1007
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||fvar(14)>-70
trigger1=var(7)&1024*4
trigger2=var(58)>0&&var(59)=[350,400]
trigger2=fvar(14)>-70
var(0)=1010
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||fvar(14)>-70
trigger1=(var(7)&1024*1024*4)&&(var(8)&512)
trigger2=var(58)>0&&(var(59)!=[426,599])&&var(59)!=[0,324]
trigger2=fvar(14)>-70
var(0)=803
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)=0||fvar(14)=[-100,100]
trigger1=var(7)&1024*2
trigger2=var(58)>0&&var(59)=[450,500]
trigger2=statetype=A
trigger2=fvar(14)=[-100,100]
trigger3=var(58)>0&&var(59)=[500,550]
trigger3=statetype!=A
trigger3=fvar(14)>-100
var(0)=1002
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)=0||fvar(14)=[-100,100]
trigger1=var(7)&1024*64
trigger2=var(58)>0&&var(59)=[550,599]
trigger2=fvar(14)=[-100,100]
var(0)=1006
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0
trigger1=var(7)&1024*8
var(0)=1007
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=20&&abs(fvar(14))<=30)
trigger1=(var(7)&1024*1024*4)&&(var(8)&(64|128))
var(0)=801
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0
trigger1=var(7)&1024*1024*4
var(0)=800
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=20&&fvar(14)=[-20,60])
trigger1=var(7)&1024*1024*32
var(0)=600
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)=[-30,70])
trigger1=var(7)&1024*1024*64
var(0)=610
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=40&&fvar(14)=[-40,80])
trigger1=(var(7)&1024*1024*128)&&(var(8)&512)
var(0)=625
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype=A
trigger1=var(58)=0||(abs(fvar(13))<=60&&fvar(14)=[-30,70])
trigger1=var(7)&1024*1024*128
var(0)=620
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=20&&fvar(14)>-20)
trigger1=(var(7)&1024*1024*32)&&(var(8)&512)
var(0)=400
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=50&&fvar(14)>-30)
trigger1=(var(7)&1024*1024*64)&&(var(8)&512)
var(0)=410
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
triggerall=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=50&&fvar(14)>-60)
trigger1=(var(7)&1024*1024*64)&&(var(8)&64)
var(0)=215
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=20&&fvar(14)>-50)
trigger1=var(7)&1024*1024*32
var(0)=200
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)=2
trigger1=statetype!=A
trigger1=var(58)=0||(abs(fvar(13))<=30&&fvar(14)>-50)
trigger1=var(7)&1024*1024*64
var(0)=210
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=var(7)&1024*1024
trigger1=ctrl
trigger1=anim!=100&&anim!=110
var(0)=100+10*(statetype=A)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=var(7)&1024*1024*2
trigger1=ctrl
trigger1=anim!=105&&anim!=115
var(0)=105+10*(statetype=A)
ignorehitpause=1

[state ]
type=varset
trigger1=!ishelper
trigger1=var(15):=var(15)-(anim!=40)||1
trigger1=var(8)&512
trigger1=statetype=S
var(15)=10
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=var(8)&256
trigger1=(var(8)&512)=0
trigger1=(statetype=A&&sysfvar(2)>0&&pos y>-150)||(statetype!=A)
trigger1=ctrl
trigger1=var(20):=anim
var(0)=40
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=var(8)&512
trigger1=statetype=S
trigger1=ctrl
trigger1=anim!=[130,131]
trigger1=anim!=[140,141]
trigger1=anim!=[150,151]
var(0)=10
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=(var(8)&512)=0
trigger1=var(8)&(64|128)
trigger1=statetype!=A
trigger1=ctrl
trigger1=anim!=[20,23]
trigger1=anim!=100
trigger1=anim!=[130,131]
trigger1=anim!=[140,141]
trigger1=anim!=[150,151]
var(0)=20
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)=2
trigger1=var(58)>=0
trigger1=palno%6=1
trigger1=var(8)&128
trigger1=ctrl
trigger1=inguarddist
trigger1=anim=1||(anim=[5,6])||(anim=[10,12])||(anim=[20,23])||anim=40||anim=52||anim=[41,43]
var(0)=120
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)<3
triggerall=roundstate=2
triggerall=gethitvar(damage)>0
triggerall=gethitvar(damage)<lifemax*0.1||palno%6=1
trigger1=anim=[130,132]
trigger2=anim=[140,142]
trigger3=anim=[150,155]
var(0)=150
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)<3
trigger1=roundstate=2
trigger1=gethitvar(damage)>0
trigger1=gethitvar(damage)<lifemax*0.1||palno%6=1
trigger1=anim!=[2000,3999]
trigger1=statetype=L
var(0)=5080
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)<3
trigger1=roundstate=2
trigger1=gethitvar(damage)>0
trigger1=gethitvar(damage)<lifemax*0.1||palno%6=1
trigger1=anim!=[2000,3999]
trigger1=gethitvar(groundtype)=3
var(0)=5070
ignorehitpause=1

[state ]
type=varset
trigger1=var(0)<3
trigger1=roundstate=2
trigger1=gethitvar(damage)>0
trigger1=gethitvar(damage)<lifemax*0.1||palno%6=1
trigger1=anim!=[2000,3999]
var(0)=5000+20*(statetype=C)
ignorehitpause=1

[state ]
type=varset
triggerall=var(0)<3
triggerall=alive
triggerall=anim>4999&&sysvar(2)=[5100,5101]
trigger1=var(58)=0||random%2
trigger1=var(8)&8
trigger2=var(58)>0&&var(59)>900
var(0)=700
ignorehitpause=1

[state ]
type=varset
trigger1=roundstate=2
trigger1=alive
trigger1=var(58)=0
trigger1=anim!=[3000,3002]
trigger1=var(7)&1024*1024*256
var(0)=3000+(pos y<0)
ignorehitpause=1

[state ]
type=varset
trigger1=roundstate=4
trigger1=!time
trigger1=stateno=170||stateno=175||stateno=180
trigger1=anim!=170&&anim!=175&&anim!=[181,183]
var(0)=stateno
ignorehitpause=1

[state ]
type=varset
triggerall=anim=[20,23]
trigger1=var(0)=200||var(0)=210||var(0)=215||var(0)=220||var(0)=225||var(0)=400||var(0)=410||var(0)=420||var(0)=425
trigger2=var(0)=1000||var(0)=1002||var(0)=1010
sysfvar(1)=0
ignorehitpause=1

[state ]
type=changeanim
trigger1=var(0)>2
value=var(0)
ignorehitpause=1

[state ]
type=varset
triggerall=var(1):=1
triggerall=animelem=1
trigger1=anim=200||anim=210||anim=215||anim=220||(anim=[225,226])||anim=400||anim=410||anim=420
trigger2=(anim=[425,426])||anim=600||anim=610||anim=620||anim=625||(anim=[700,701])||(anim=[800,803])
trigger3=anim=1000||anim=1002||(anim=[1006,1008])||(anim=[1010,1011])||anim=1013||anim=2003
var(1)=2
ignorehitpause=1

[state ]
type=turn
trigger1=var(1)=2
trigger1=sysvar(3)*(enemynear(!enemynear,alive&&numenemy>1&&enemynear(numenemy>1),alive),pos x- pos x)<0
ignorehitpause=1

[state ]
type=selfstate
trigger1=!alive
trigger1=anim!=[5000,5170]
value=5050
ignorehitpause=1

[state ]
type=selfstate
trigger1=anim=1||(anim=[5,6])||(anim=[10,12])||(anim=[20,23])||anim=40||anim=52||(anim=[100,101])||(anim=[105,106])||(anim=[110,111])||anim=115||anim=120||(anim=[130,132])||(anim=[150,151])||(anim=[153,155])||anim=170||anim=175
trigger2=(anim=[180,183])||anim=190||anim=200||anim=210||anim=215||anim=220||(anim=[225,226])||anim=400||anim=410||anim=420||(anim=[425,426])||anim=600||anim=610||anim=620||anim=625||(anim=[700,701])||(anim=[800,807])
trigger3=(anim=[1000,1015])||(anim=[2000,2004])||(anim=[3000,3008])
trigger4=var(0)=5000||var(0)=5020||var(0)=5070||var(0)=5080||anim=5150
value=anim-(anim=1||anim=151)-10*(var(0)=5020)+20*(var(0)=5000&&statetype=A)
ignorehitpause=1

[state ]
type=selfstate
trigger1=anim=[41,43]
value=50
ignorehitpause=1

[state ]
type=selfstate
trigger1=(anim=[140,142])||anim=152
value=140+10*(anim=152)
ignorehitpause=1

[state ]
type=selfstate
trigger1=sysvar(2)=[5000,5201]
trigger1=anim=[5000,5201]
trigger1=anim!=5150
value=sysvar(2)
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=50*(pos y<0)
ctrl=1
ignorehitpause=0

[statedef 42106]
movetype=I

[state ]
type=changestate
trigger1=!ishelper
value=66666
ignorehitpause=1

[state ]
type=turn
trigger1=facing*root,sysvar(3)<0
ignorehitpause=1

[state ]
type=changeanim
trigger1=1
value=root,anim
elem=root,animelemno(0)
ignorehitpause=1

[state ]
type=angleset
trigger1=anim!=1011
value=0
ignorehitpause=1

[state ]
type=angleset
trigger1=anim=1011
trigger1=animelem=1
value=-80
ignorehitpause=1

[state ]
type=angleadd
trigger1=anim=1011
trigger1=!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
value=-6.5
ignorehitpause=1

[state ]
type=angledraw
trigger1=anim=[1003,1004]
trigger1=root,animelem=2,>0
trigger2=anim=3000
trigger2=root,animelem=9,>0
trigger3=anim=3001
trigger3=root,animelem=10,>0
scale=1-root,sysvar(0)*0.03,1-root,sysvar(0)*0.03
ignorehitpause=1

[state ]
type=angledraw
trigger1=anim=1005
trigger1=root,animelem=7,<0
scale=root,sysvar(0)*0.05,root,sysvar(0)*0.05
ignorehitpause=1

[state ]
type=angledraw
trigger1=anim=1011
ignorehitpause=1

[state ]
type=varset
trigger1=anim=3001
trigger1=root,animelem=10,>=0
trigger2=anim=[1003,1004]
trigger2=root,animelem=2,>=0
trigger3=anim=3000
trigger3=root,animelem=9,>=0
var(5)=gametime
ignorehitpause=1

[state ]
type=nothitby
trigger1=1
value=SCA
time=-1
ignorehitpause=1

[state ]
type=hitoverride
trigger1=!ishelper
time=-1
attr=SCA,AA,AT,AP
slot=gametime%8
stateno=15150
ignorehitpause=1

[state ]
type=palfx
trigger1=root,palno%6!=[2,5]
time=-1
add=25,25,25
ignorehitpause=1

[state ]
type=palfx
trigger1=root,palno%6=[2,4]
time=-1
add=-50,-50,50
ignorehitpause=1

[state ]
type=palfx
trigger1=root,palno%6=5
time=-1
add=50,-50,-50
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=add
ignorehitpause=1

[state ]
type=offset
trigger1=1
x=root,sysfvar(3)+root,sysfvar(1)*(root,hitpausetime<1)*(root,sysvar(4)=[42*gametime+106,42*gametime+107])
y=root,sysfvar(4)+root,sysfvar(2)*(root,hitpausetime<1)*(root,sysvar(4)=[42*gametime+106,42*gametime+107])-50*(anim=1011)+21000000
ignorehitpause=1

[state ]
type=offset
trigger1=var(5)=gametime
y=root,sysfvar(4)+root,sysfvar(2)*(root,hitpausetime<1)*(root,sysvar(4)=[42*gametime+106,42*gametime+107])+21000050*(1-root,sysvar(0)*0.03)-50
ignorehitpause=1

[state ]
type=offset
trigger1=anim=1005
trigger1=root,animelem=7,<0
y=root,sysfvar(4)+root,sysfvar(2)*(root,hitpausetime<1)*(root,sysvar(4)=[42*gametime+106,42*gametime+107])+21000050*root,sysvar(0)*0.05-50
ignorehitpause=1

[state ]
type=explod
trigger1=anim=190
trigger1=root,animelem=10&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=191
id=191
sprpriority=-1
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=0

[state ]
type=explod
trigger1=anim=215
trigger1=root,animelem=3&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=216
id=215
sprpriority=4
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
ignorehitpause=1

[state ]
type=explod
trigger1=anim=220
trigger1=root,animelem=3&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=221
id=220
sprpriority=2
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
ignorehitpause=1

[state ]
type=explod
trigger1=anim=420
trigger1=root,animelem=3&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=421
id=421
sprpriority=2
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
ignorehitpause=1

[state ]
type=explod
trigger1=anim=600
trigger1=!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger1=root,animelem=3||root,animelem=5
anim=601
id=600
sprpriority=2
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
ignorehitpause=1

[state ]
type=explod
trigger1=anim=620
trigger1=root,animelem=3&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=621
id=621
sprpriority=2
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
trans=add
ignorehitpause=1

[state ]
type=removeexplod
trigger1=numexplod(216)
trigger1=anim!=215
id=216
ignorehitpause=1

[state ]
type=removeexplod
trigger1=numexplod(221)
trigger1=anim!=220
id=221
ignorehitpause=1

[state ]
type=removeexplod
trigger1=numexplod(421)
trigger1=anim!=420
id=421
ignorehitpause=1

[state ]
type=removeexplod
trigger1=numexplod(621)
trigger1=anim!=620
id=621
ignorehitpause=1

[state ]
type=explod
trigger1=anim=1000||anim=[800,802]
trigger1=root,animelem=4&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=798
id=798
sprpriority=-1
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
ignorehitpause=1

[state ]
type=explod
trigger1=anim=1000||anim=[800,802]
trigger1=animelem=5&&!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
anim=799
id=799
sprpriority=-1
postype=p1
pos=0,-21000000
bindtime=-1
scale=0.5,0.5
under=0
ignorehitpause=1

[state ]
type=assertspecial
triggerall=root,hitpausetime
trigger1=enemy,alive
trigger2=numenemy>1
trigger2=enemy(1),alive
flag=timerfreeze
ignorehitpause=1

[state ]
type=assertspecial
trigger1=root,numexplod(2500)
trigger2=root,numexplod(2501)
trigger3=root,numexplod(9009)
flag=nobg
ignorehitpause=1

[state ]
type=assertspecial
trigger1=root,anim=2003
trigger1=root,animelem=4,<0
flag=nobardisplay
flag2=nomusic
ignorehitpause=1

[state ]
type=null
trigger1=numtarget
trigger1=var(6):=1
trigger1=!target,ishelper&&target,alive
trigger1=var(6):=2
trigger1=target,id!=enemy,id&&numenemy>1
trigger1=var(6):=3
ignorehitpause=1

[state ]
type=targetdrop
trigger1=numtarget
trigger1=var(6)=1
ignorehitpause=1

[state ]
type=reversaldef
trigger1=numtarget
reversal.attr=C,HP
priority=1,miss
pausetime=0,2
numhits=0
p2stateno=1000044
ignorehitpause=1

[state ]
type=reversaldef
trigger1=!numtarget
trigger1=root,palno%6=0
reversal.attr=SCA,AA,AT,AP
priority=7,hit
pausetime=0,0
numhits=0
ignorehitpause=1

[state ]
type=targetfacing
trigger1=numtarget
trigger1=enemy(var(6)-2),stateno>0
trigger1=(target,pos x-pos x)*facing>0
value=1
ignorehitpause=1

[state ]
type=targetvelset
trigger1=numtarget
trigger1=enemy(var(6)-2),stateno=50
y=abs(enemy(var(6)-2),vel y)+1
ignorehitpause=1

[state ]
type=hitadd
trigger1=numtarget
value=-999
ignorehitpause=1

[state ]
type=targetlifeadd
trigger1=numtarget
trigger1=roundstate>2
value=-999999999
absolute=1
ignorehitpause=1

[state ]
type=helper
triggerall=numhelper(42107)<2
trigger1=roundstate!=2
trigger2=gametime%42=0
trigger3=numenemy=1&&!enemy,alive&&roundstate=2&&var(39)<2
trigger4=numenemy>1
trigger4=!enemy,alive&&!enemy(1),alive&&roundstate=2&&var(39)<2
postype=p1
pos=0,0
id=42107
stateno=15150
name="1"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=varadd
trigger1=var(39)
var(39)=1
ignorehitpause=1

[state ]
type=superpause
trigger1=numenemy=1&&!enemy,alive&&roundstate=2&&var(39)<2&&numhelper(42107)
trigger1=var(39):=var(39)+1
trigger2=numenemy>1
trigger2=!enemy,alive&&!enemy(1),alive&&roundstate=2&&var(39)<2&&numhelper(42107)
trigger2=var(39):=var(39)+1
time=2000000000
movetime=2000000000
anim=-1
sound=s-1
darken=0
p2defmul=1
unhittable=0
ignorehitpause=1

[state ]
type=varadd
triggerall=roundstate>2
trigger1=numhelper(3005)
trigger1=helper(3005),sysvar(2)
trigger2=numtarget
var(40)=1
ignorehitpause=1

[state ]
type=varset
trigger1=numhelper(3005)
trigger1=!helper(3005),sysvar(2)
trigger1=!numtarget
trigger2=!numhelper(3005)
trigger2=!numtarget
var(40)=0
ignorehitpause=1

[state ]
type=helper
trigger1=numhelper(35)
trigger1=helper(35),sysfvar(0)
trigger1=!numhelper(42108)
postype=p1
pos=0,0
id=42108
stateno=15150
name="2"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=helper
trigger1=root,anim=2003
trigger1=!numhelper(421082)
postype=p1
pos=0,0
id=421082
stateno=15150
name="3"
helpertype=player
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=varadd
trigger1=roundstate=2
trigger1=enemynear,stateno=15150&&enemynear,alive&&!p2life
var(16)=1
ignorehitpause=1

[state ]
type=varset
triggerall=var(17):=0||1
triggerall=var(16)
trigger1=command="x"
trigger2=command="y"
trigger3=command="z"
trigger4=command="a"
trigger5=command="b"
trigger6=command="hold_c"
trigger7=command="holdfwd"
trigger8=command="holdback"
trigger9=command="holdup"
trigger10=command="holddown"
var(17)=1
ignorehitpause=1

[state ]
type=varset
trigger1=var(17)
var(16)=0
ignorehitpause=1

[state ]
type=varset
triggerall=!var(57)
trigger1=command="AI_0"
trigger2=command="AI_1"
trigger3=command="AI_2"
trigger4=command="AI_3"
trigger5=command="AI_4"
trigger6=command="AI_5"
trigger7=command="AI_6"
trigger8=command="AI_7"
trigger9=command="AI_8"
trigger10=command="AI_9"
trigger11=command="AI_10"
trigger12=command="AI_11"
trigger13=command="AI_12"
trigger14=command="AI_13"
trigger15=command="AI_14"
trigger16=command="AI_15"
trigger17=command="AI_16"
trigger18=command="AI_17"
trigger19=command="AI_18"
trigger20=command="AI_19"
trigger21=command="AI_20"
trigger22=command="AI_21"
trigger23=command="AI_22"
trigger24=command="AI_23"
trigger25=command="AI_24"
trigger26=command="AI_25"
trigger27=command="AI_26"
trigger28=command="AI_27"
trigger29=command="AI_28"
trigger30=command="AI_29"
trigger31=command="AI_30"
trigger32=command="AI_31"
trigger33=command="AI_32"
trigger34=command="AI_33"
trigger35=command="AI_34"
trigger36=command="AI_35"
trigger37=command="AI_36"
trigger38=command="AI_37"
trigger39=command="AI_38"
trigger40=command="AI_39"
trigger41=command="AI_40"
trigger42=command="AI_41"
trigger43=command="AI_42"
trigger44=command="AI_43"
trigger45=command="AI_44"
trigger46=command="AI_45"
trigger47=command="AI_46"
trigger48=command="AI_47"
trigger49=command="AI_48"
trigger50=command="AI_49"
trigger51=command="AI_50"
trigger52=command="AI_1"
trigger53=command="AI_2"
trigger54=command="AI_3"
trigger55=command="AI_4"
trigger56=command="AI_5"
trigger57=command="AI_6"
trigger58=command="AI_7"
trigger59=command="AI_8"
trigger60=command="AI_9"
trigger61=command="a"
trigger62=command="b"
trigger63=command="c"
trigger64=command="x"
trigger65=command="y"
trigger66=command="z"
trigger67=command="start"
trigger68=command="holdfwd"
trigger69=command="holdback"
trigger70=command="holdup"
trigger71=command="holddown"
trigger72=var(16)>999&&sysfvar(1)>0.5&&!p2life
trigger73=root,var(58)&&!var(46)
var(57)=1
ignorehitpause=1

[state ]
type=varset
trigger1=!var(8)
var(8)=1+(root,var(42)>0)+(root,var(42)>42106)
ignorehitpause=1

[state ]
type=varadd
triggerall=roundstate<3
triggerall=var(1):=var(1)+(root,palno%6!=1)+(root,palno%6=0)||1
trigger1=root,movehit=2
trigger2=root,anim!=[2000,3999]
trigger2=root,animelem=1,=1
trigger3=power>powermax*var(1)*0.0002
var(1)=42
ignorehitpause=1

[state ]
type=varset
triggerall=roundstate=2&&var(11)
trigger1=var(10):=var(10)+1
trigger1=var(11)>enemy,life||!enemy,alive
trigger1=0.1*(var(11)-enemy,life)/(0.1*enemy,lifemax)<0.1||!enemy,alive
trigger1=var(10):=0
trigger2=numenemy>1
trigger2=var(12):=var(12)+1
trigger2=var(13)>enemy(1),life||!enemy(1),alive
trigger2=0.1*(var(13)-enemy(1),life)/(0.1*enemy(1),lifemax)<0.1||!enemy(1),alive
var(12)=0
ignorehitpause=1

[state ]
type=varset
triggerall=roundstate=2&&var(11)
triggerall=var(9):=var(9)+2+(1+(numenemy=1))*((var(10)>200)+(var(10)>600))+(var(12)>200)+(var(12)>600)
trigger1=var(11)>enemy,life&&enemy,alive
trigger1=0.1*(var(11)-enemy,life)/(0.1*enemy,lifemax)<0.1
trigger1=var(9):=var(9)-(1+(numenemy=1))*floor(0.5*(var(11)-enemy,life)/(0.0001*enemy,lifemax))&&0
trigger2=numenemy>1
trigger2=var(13)>enemy(1),life&&enemy(1),alive
trigger2=0.1*(var(13)-enemy(1),life)/(0.1*enemy(1),lifemax)<0.1
var(9)=var(9)-floor(0.5*(var(11)-enemy(1),life)/(0.0001*enemy(1),lifemax))
ignorehitpause=1

[state ]
type=varset
triggerall=var(10)>4||!var(11)||0.1*(var(11)-enemy,life)/(0.1*enemy,lifemax)=(0,0.1)
trigger1=var(11)>enemy,life
trigger2=!var(11)&&enemy,life
trigger3=!enemy,life
var(11)=enemy,life-!enemy,life
ignorehitpause=1

[state ]
type=varset
triggerall=numenemy>1
triggerall=var(12)>4||!var(13)||0.1*(var(13)-enemy(1),life)/(0.1*enemy(1),lifemax)=(0,0.1)
trigger1=var(13)>enemy(1),life
trigger2=!var(13)&&enemy(1),life
trigger3=!enemy(1),life
var(13)=enemy(1),life-!enemy(1),life
ignorehitpause=1

[state ]
type=null
triggerall=root,animelem=1
triggerall=!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger1=root,anim=[3000,3001]
trigger1=var(1):=var(1)-4000
trigger2=root,anim=2000||root,anim=2002
trigger2=var(1):=var(1)-500
trigger3=root,anim=2001||root,anim=[3007,3008]
trigger3=var(1):=var(1)-1000
trigger4=root,anim=2003||root,anim=[3005,3006]
trigger4=var(1):=var(1)-3000
trigger5=root,anim=2004
trigger5=var(1):=var(1)-2500
trigger6=root,anim=[3003,3004]
trigger6=var(1):=var(1)-1500
ignorehitpause=1

[state ]
type=varset
trigger1=!var(46)
var(1)=root,var(57)
ignorehitpause=1

[state ]
type=varset
trigger1=var(1)!=[0,5000]
var(1)=5000*(var(1)>0)
ignorehitpause=1

[state ]
type=powerset
trigger1=!numpartner
value=ceil(powermax*var(1)*0.0002)
ignorehitpause=1

[state ]
type=powerset
trigger1=numpartner
value=powermax
ignorehitpause=1

[state ]
type=playsnd
trigger1=!root,alive&&!var(2)
value=12,gametime%2
ignorehitpause=1

[state ]
type=playsnd
trigger1=!root,alive&&!var(2)
value=12,gametime%2
ignorehitpause=1

[state ]
type=varset
trigger1=!root,alive
var(2)=1
ignorehitpause=1

[state ]
type=varset
trigger1=!var(46)
trigger1=var(22):=root,var(48)||1
trigger1=var(23):=root,var(49)||1
trigger1=fvar(23):=root,fvar(36)||1
trigger1=fvar(24):=root,fvar(37)||1
trigger1=fvar(25):=root,fvar(38)||1
fvar(26)=root,fvar(39)
ignorehitpause=1

[state ]
type=varadd
triggerall=fvar(21)
trigger1=var(21)<2
trigger1=var(20)%100<60
trigger1=fvar(22):=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)-fvar(21)||1
trigger2=var(20)%100<60
trigger2=var(21)>1
trigger2=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)+fvar(21))<0.05
trigger3=var(21)<2
trigger3=var(20)%100>59
trigger3=fvar(22):=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)-fvar(21)||1
trigger4=var(20)%100>59
trigger4=var(21)>1
trigger4=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)+fvar(21))<0.05
var(21)=1+!var(21)
ignorehitpause=1

[state ]
type=varadd
triggerall=var(21)>1&&var(20)
trigger1=root,sysvar(4)!=[42*gametime+106,42*gametime+107]
trigger2=root,anim=[2000,2003]
var(20)=-1
ignorehitpause=1

[state ]
type=varset
triggerall=var(21)>1
trigger1=root,sysvar(4)!=[42*gametime+106,42*gametime+107]
trigger2=root,anim=[2000,2003]
fvar(21)=0
ignorehitpause=1

[state ]
type=varset
triggerall=var(21)>1
trigger1=root,sysvar(4)!=[42*gametime+106,42*gametime+107]
trigger2=root,anim=[2000,2003]
var(21)=1
ignorehitpause=1

[state ]
type=null
triggerall=fvar(21)&&var(21)>1&&fvar(22)
trigger1=var(20)%100<60
trigger1=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)+fvar(21))<0.05
trigger1=fvar(21):=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)||1
trigger2=var(20)%100<60
trigger2=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)+fvar(21))>=0.05
trigger2=var(21):=1
trigger2=fvar(21):=0||1
trigger2=fvar(22):=0
trigger3=var(20)%100>59
trigger3=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)+fvar(21))<0.05
trigger3=fvar(21):=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)||1
trigger4=var(20)%100>59
trigger4=abs(fvar(22)-enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)+fvar(21))>=0.05
trigger4=var(21):=1
trigger4=fvar(21):=0||1
trigger4=fvar(22):=0
ignorehitpause=1

[state ]
type=null
trigger1=fvar(21)&&var(21)>1&&!fvar(22)
trigger1=var(21):=1
trigger1=fvar(21):=0
ignorehitpause=1

[state ]
type=null
trigger1=var(21)>10
trigger1=var(24+var(37)%6):=(100+var(20)%100)*(1-2*(var(20)%200>99&&numenemy>1))||1
trigger1=fvar(var(37)%6):=0.1*floor(10*fvar(22)+0.05)*(var(20)%100>59)+floor(fvar(22)+0.05)*(var(20)%100<60)||1
trigger1=fvar(6+var(37)%6):=0.1*(floor(10*fvar(21)+0.05)-floor(10*fvar(22)+0.05)*gametime)*(var(20)%100>59)+(floor(10*fvar(21)+0.05)-floor(10*fvar(22)+0.05)*gametime)*(var(20)%100<60)||1
trigger1=var(37):=var(37)+1
trigger1=var(21):=1
trigger1=fvar(21):=0
ignorehitpause=1

[state ]
type=null
triggerall=roundstate=2
trigger1=var(38)%142<106
trigger1=var(24+floor(var(38)*0.05+var(38)%2)%6)
trigger1=var(22+var(38)%2):=var(24+floor(var(38)*0.05+var(38)%2)%6)||1
trigger1=fvar(23+2*(var(38)%2)):=fvar(floor(var(38)*0.05+var(38)%2)%6)||1
trigger1=fvar(24+2*(var(38)%2)):=fvar(6+floor(var(38)*0.05+var(38)%2)%6)||1
trigger1=var(38):=var(38)+1
trigger2=var(38)
trigger2=var(38):=var(38)+1
ignorehitpause=1

[state ]
type=varset
triggerall=var(21)<2
triggerall=root,sysvar(4)=[42*gametime+106,42*gametime+107]
triggerall=root,anim!=[2000,2003]
triggerall=var(20)%100<60
trigger1=var(20):=var(20)+1||1
trigger1=var(20)%100<60
trigger1=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger2=var(20):=var(20)+1||1
trigger2=var(20)%100<60
trigger2=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger3=var(20):=var(20)+1||1
trigger3=var(20)%100<60
trigger3=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger4=var(20):=var(20)+1||1
trigger4=var(20)%100<60
trigger4=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger5=var(20):=var(20)+1||1
trigger5=var(20)%100<60
trigger5=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger6=var(20):=var(20)+1||1
trigger6=var(20)%100<60
trigger6=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger7=var(20):=var(20)+1||1
trigger7=var(20)%100<60
trigger7=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger8=var(20):=var(20)+1||1
trigger8=var(20)%100<60
trigger8=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger9=var(20):=var(20)+1||1
trigger9=var(20)%100<60
trigger9=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
trigger10=var(20):=var(20)+1||1
trigger10=var(20)%100<60
trigger10=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
fvar(21)=enemy(var(20)%200>99&&numenemy>1),var(var(20)%100)
ignorehitpause=1

[state ]
type=varset
triggerall=var(21)<2
triggerall=root,sysvar(4)=[42*gametime+106,42*gametime+107]
triggerall=root,anim!=[2000,2003]
triggerall=var(20)%100>59
trigger1=var(20):=var(20)+1||1
trigger1=var(20)%100>59
trigger1=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger2=var(20):=var(20)+1||1
trigger2=var(20)%100>59
trigger2=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger3=var(20):=var(20)+1||1
trigger3=var(20)%100>59
trigger3=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger4=var(20):=var(20)+1||1
trigger4=var(20)%100>59
trigger4=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger5=var(20):=var(20)+1||1
trigger5=var(20)%100>59
trigger5=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger6=var(20):=var(20)+1||1
trigger6=var(20)%100>59
trigger6=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger7=var(20):=var(20)+1||1
trigger7=var(20)%100>59
trigger7=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger8=var(20):=var(20)+1||1
trigger8=var(20)%100>59
trigger8=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger9=var(20):=var(20)+1||1
trigger9=var(20)%100>59
trigger9=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
trigger10=var(20):=var(20)+1||1
trigger10=var(20)%100>59
trigger10=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
fvar(21)=enemy(var(20)%200>99&&numenemy>1),fvar(var(20)%100-60)
ignorehitpause=1

[state ]
type=assertspecial
trigger1=roundstate=4
trigger1=var(3):=var(3)+1
trigger1=root,anim!=170&&root,anim!=175&&root,anim!=[180,183]
trigger1=var(3)<99
flag=roundnotover
ignorehitpause=1

[state ]
type=null
trigger1=!var(46)
trigger1=var(48):=1
trigger1=var(50):=root,var(50)*(root,var(50)>0)||1
trigger1=var(51):=root,var(51)*(root,var(51)>0)||1
trigger1=var(52):=root,var(52)*(root,var(52)>0)||1
trigger1=var(53):=root,var(53)*(root,var(53)>0)||1
trigger1=var(54):=root,var(54)*(root,var(54)>0)||1
trigger1=var(46):=1
ignorehitpause=1

[state ]
type=null
trigger1=!var(47)
trigger1=var(55):=root,var(55)*(root,var(55)>0)||1
trigger1=var(56):=root,var(56)*(root,var(56)>0)||1
trigger1=var(47):=1
ignorehitpause=1

[state ]
type=null
triggerall=root,var(30)=42*gametime+106&&root,var(31)>0
triggerall=root,var(31)!=var(50)&&root,var(31)!=var(51)&&root,var(31)!=var(52)&&root,var(31)!=var(53)&&root,var(31)!=var(54)
trigger1=var(46)%6=1
trigger1=var(50):=root,var(31)||1
trigger1=var(46):=var(46)+1||1
trigger2=var(46)%6=2
trigger2=var(51):=root,var(31)||1
trigger2=var(46):=var(46)+1||1
trigger3=var(46)%6=3
trigger3=var(52):=root,var(31)||1
trigger3=var(46):=var(46)+1||1
trigger4=var(46)%6=4
trigger4=var(53):=root,var(31)||1
trigger4=var(46):=var(46)+1||1
trigger5=var(46)%6=0
trigger5=var(54):=root,var(31)||1
trigger5=var(46):=var(46)+1||1
ignorehitpause=1

[state ]
type=null
triggerall=numhelper(42107)
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1
trigger1=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger1=var(48):=var(48)+1&&0
trigger2=playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger2=playerid(helper(42107),id-var(48)%(root,id+1)),teamside!=teamside
trigger2=var(49):=helper(42107),id-var(48)%(root,id+1)
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger3=!playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger3=var(48):=var(48)+1
trigger4=playeridexist(helper(42107),id-var(48)%(root,id+1))
trigger4=playerid(helper(42107),id-var(48)%(root,id+1)),teamside!=teamside
trigger4=var(49):=helper(42107),id-var(48)%(root,id+1)
ignorehitpause=1

[state ]
type=null
trigger1=var(49)>0
trigger1=playeridexist(var(49))
trigger1=var(54)!=playerid(var(49)),stateno
trigger1=playerid(var(49)),movecontact&&playerid(var(49)),stateno
trigger1=var(54):=playerid(var(49)),stateno||1
ignorehitpause=1

[state ]
type=null
triggerall=var(49)>0
triggerall=playeridexist(var(49))
triggerall=var(55)!=playerid(var(49)),anim&&var(56)!=playerid(var(49)),anim
triggerall=playerid(var(49)),movecontact&&playerid(var(49)),anim
trigger1=var(47)%2=1
trigger1=var(55):=playerid(var(49)),anim||1
trigger1=var(47):=var(47)+1||1
trigger2=var(47)%2=0
trigger2=var(56):=playerid(var(49)),anim||1
trigger2=var(47):=var(47)+1||1
ignorehitpause=1

[state ]
type=null
triggerall=var(55)!=enemynear,anim&&var(56)!=enemynear,anim
triggerall=enemynear,movecontact&&enemynear,anim
trigger1=var(47)%2=1
trigger1=var(55):=enemynear,anim||1
trigger1=var(47):=var(47)+1||1
trigger2=var(47)%2=0
trigger2=var(56):=enemynear,anim||1
trigger2=var(47):=var(47)+1||1
ignorehitpause=1
[state ]
type=varadd
trigger1=root,sysfvar(0)<0
sysfvar(0)=-0.001
ignorehitpause=1

[state ]
type=varadd
trigger1=root,sysfvar(0)>=0.1
trigger1=root,palno%6=1
trigger1=root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger1=!root,hitpausetime
trigger1=root,anim>4999
sysfvar(0)=0.1*(1.1-root,sysfvar(0))
ignorehitpause=1

[state ]
type=varadd
trigger1=root,sysfvar(0)>0
trigger1=root,sysfvar(0)<0.1
trigger1=root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger1=!root,hitpausetime
trigger1=root,anim>4999
sysfvar(0)=root,sysfvar(0)
ignorehitpause=1

[state ]
type=varset
triggerall=sysfvar(1)>0.75
triggerall=root,palno%6!=[1,4]
trigger1=enemy,life>enemy,lifemax*0.5
trigger2=numenemy>1
trigger2=enemy(1),life=enemy(1),lifemax*0.5
sysfvar(1)=0.65
ignorehitpause=1

[state ]
type=varset
triggerall=sysfvar(1)>0.5
triggerall=root,palno%6!=[1,4]
trigger1=enemy,life>enemy,lifemax*0.75
trigger2=numenemy>1
trigger2=enemy(1),life=enemy(1),lifemax*0.75
sysfvar(1)=0.4
ignorehitpause=1

[state ]
type=varset
triggerall=var(4):=var(4)+1
trigger1=var(4)>150
trigger2=root,palno%6=[1,4]
trigger2=var(4)>90
trigger3=roundstate<2
var(4)=0
ignorehitpause=1

[state ]
type=varset
trigger1=!var(4)
trigger1=sysfvar(0)<1
trigger1=sysfvar(0)-sysfvar(1)<0.05*(4-(root,palno%6=0))
trigger2=sysfvar(0)<sysfvar(1)
sysfvar(1)=sysfvar(0)
ignorehitpause=1

[state ]
type=varset
trigger1=sysfvar(0)<1
trigger1=root,palno%6=[1,2]
sysfvar(1)=sysfvar(0)
ignorehitpause=1

[state ]
type=varset
trigger1=root,palno%6!=[1,2]
trigger1=sysfvar(0)-sysfvar(1)>=0.05*(4-(root,palno%6=0))
sysfvar(0)=sysfvar(1)
ignorehitpause=1

[state ]
type=varset
trigger1=sysfvar(1)!=[0,1]
trigger2=root,palno%6!=[1,2]
trigger2=roundstate<3
trigger2=enemy,life=enemy,lifemax
trigger3=root,palno%6!=[1,2]
trigger3=roundstate<3
trigger3=numenemy>1
trigger3=enemy(1),life=enemy(1),lifemax
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
trigger1=sysfvar(0)!=[0,1]
sysfvar(0)=(sysfvar(0)>1)
ignorehitpause=1

[state ]
type=varset
trigger1=roundstate=2
trigger1=var(57)||root,palno>6
trigger1=var(18):=var(18)+(anim!=[3000,3002])
trigger1=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)>4
var(18)=0
ignorehitpause=1

[state ]
type=varset
trigger1=roundstate=2
trigger1=root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger1=var(15):=var(15)+1
trigger1=var(14)!=numhelper||numhelper=2
var(15)=0
ignorehitpause=1

[state ]
type=varset
trigger1=var(14)!=numhelper
var(14)=numhelper
ignorehitpause=1

[state ]
type=varset
triggerall=var(0):=var(0)-(gametime%60=0)||1
trigger1=var(0)<0
trigger1=var(0):=0
trigger2=root,anim=2002||root,anim=1012||root,anim=[1014,1015]
trigger2=root,animelem=1
trigger2=!root,hitpausetime&&root,sysvar(4)=[42*gametime+106,42*gametime+107]
trigger2=numhelper(10151)+numhelper(10152)+numhelper(10153)+numhelper(10154)+numhelper(1014)+numhelper(10121)+numhelper(10122)+numhelper(10123)+numhelper(10124)=0
trigger3=var(15)%50=49&&var(0)<25
trigger4=var(18)%50=49&&var(18)>300&&var(0)<12
var(0)=2*var(0)+2
ignorehitpause=1

[state ]
type=explod
trigger1=roundstate>1
trigger1=!numexplod(6001)
anim=8006
id=6001
pos=35+250*(teamside=2),223
postype=left
sprpriority=98
facing=1-2*(teamside=2)
bindtime=-1
ownpal=1
ontop=1
removetime=-1
pausemovetime=999999999
supermovetime=999999999
scale=0.52,0.7
ignorehitpause=1

[state ]
type=explod
trigger1=roundstate>1
trigger1=!numexplod(6002)
anim=8007
id=6002
pos=35+250*(teamside=2),225
postype=left
sprpriority=100
facing=1-2*(teamside=2)
vfacing=-1
bindtime=-1
ownpal=1
ontop=1
removetime=-1
pausemovetime=999999999
supermovetime=999999999
scale=0.52,0.7
ignorehitpause=1

[state ]
type=explod
trigger1=roundstate>1
trigger1=!numexplod(6003)
anim=8004
id=6003
pos=10+299*(teamside=2),213
postype=left
sprpriority=98
facing=1-2*(teamside=2)
bindtime=-1
ownpal=0
ontop=1
removetime=-1
pausemovetime=999999999
supermovetime=999999999
scale=0.95,0.95
ignorehitpause=1

[state ]
type=explod
trigger1=roundstate>1
trigger1=!numexplod(6000)
anim=8005
id=6000
pos=320*(teamside=2),224
postype=left
sprpriority=99
facing=1-2*(teamside=2)
bindtime=-1
ownpal=1
ontop=1
removetime=-1
pausemovetime=999999999
supermovetime=999999999
scale=0.5,0.5
ignorehitpause=1

[state ]
type=modifyexplod
trigger1=numexplod(6001)
id=6001
scale=0.52*(1-sysfvar(0)),0.7
ignorehitpause=1

[state ]
type=modifyexplod
trigger1=numexplod(6002)
id=6002
scale=0.000104*var(1),0.7
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 42107]
movetype=I

[state ]
type=changestate
trigger1=!ishelper
value=66666
ignorehitpause=1

[state ]
type=varset
trigger1=helper(42106),var(39)=1
trigger2=helper(42106),var(40)=[1,10]
trigger3=roundstate=4&&(helper(42106),var(40)||helper(42106),var(3)>222)
trigger4=root,anim=2003
trigger4=root,animelem=3,>=0&&root,animelem=4,<0
sysvar(2)=1
ignorehitpause=1

[state ]
type=varadd
trigger1=helper(42106),var(40)=[1,10]
trigger2=roundstate=4&&(helper(42106),var(40)||helper(42106),var(3)>222)
trigger3=root,anim=2003
trigger3=root,animelem=3,>=0&&root,animelem=4,<0
sysvar(2)=1
ignorehitpause=1

[state ]
type=superpause
trigger1=sysvar(1)||sysvar(2)
time=sysvar(2)
movetime=sysvar(2)
anim=-1
pos=0,0
sound=-1
darken=0
p2defmul=1
unhittable=0
ignorehitpause=1

[state ]
type=pause
trigger1=sysvar(1)
time=0
movetime=0
ignorehitpause=1

[state ]
type=destroyself
trigger1=sysvar(1)
trigger1=numhelper(42107)>1||roundstate<3
trigger2=numhelper(35)
trigger2=!helper(35),sysfvar(0)
trigger2=roundstate<3
trigger2=sysvar(2)
ignorehitpause=1
[state ]
type=varset
trigger1=1
sysvar(1)=1
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1

[statedef 42108]
type=U
movetype=I
physics=N

[state ]
type=changestate
trigger1=!ishelper
value=66666
ctrl=1
ignorehitpause=1

[state ]
type=changeanim
trigger1=anim!=8997
value=8997
ignorehitpause=1

[state ]
type=varset
triggerall=var(1):=var(1)+1||1
trigger1=ishelper(42108)
trigger1=numhelper(35)
trigger1=helper(35),sysfvar(0)
trigger2=ishelper(421082)
trigger2=root,anim=2003
var(1)=0
ignorehitpause=1

[state ]
type=posset
trigger1=1
x=root,pos x
y=root,pos y
ignorehitpause=1

[state ]
type=offset
trigger1=1
y=200000+799999*(roundstate>2)+1799999*((var(1)>30||enemynear,time%106=42)&&roundstate=2)-root,pos y
ignorehitpause=1

[state ]
type=varset
trigger1=var(2):=(var(2)-1)*(var(1)=0&&roundstate=2)||1
trigger1=enemynear,projcontactime(421062)=1
trigger1=var(2)<0
var(2)=30
ignorehitpause=1

[state ]
type=nothitby
trigger1=1
value=SCA
time=1
ignorehitpause=1

[state ]
type=hitby
triggerall=ishelper
triggerall=var(2)<1
trigger1=ishelper(42108)
trigger1=numhelper(35)
trigger1=!helper(35),sysfvar(0)
trigger2=numhelper(35)
trigger2=helper(35),sysfvar(0)
trigger2=helper(35),anim!=8001
trigger2=helper(35),anim!=8002||helper(35),animelem=4,>0
trigger3=ishelper(421082)
trigger3=root,anim!=2003
trigger4=ishelper(421082)
trigger4=root,anim=2003
trigger4=root,animelem=2,>=0
value=C,HP
time=1
ignorehitpause=1

[state ]
type=destroyself
trigger1=var(1)>120
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=15150
ignorehitpause=1


[statedef 15150]
statetype=U
movetype=U
physics=N
ctrl=0
hitdefpersist=(name="Naraku No Yuki")

[state ]
type=selfstate
trigger1=ishelper
trigger1=name="Naraku No Yuki"&&sysvar(0)!=42*gametime+106
value=10000
ignorehitpause=1

[state ]
type=statetypeset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive
statetype=L
physics=N
ignorehitpause=1

[state ]
type=changeanim
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive
trigger1=anim!=5150
value=5150
ignorehitpause=1

[state ]
type=posset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive
y=0
ignorehitpause=1

[state ]
type=lifeset
trigger1=name!="Naraku No Yuki"
trigger1=!ishelper
value=0
ignorehitpause=1

[state ]
type=powerset
trigger1=name!="Naraku No Yuki"
value=(power>0)
ignorehitpause=1

[state ]
type=velset
trigger1=name!="Naraku No Yuki"
trigger2=!ishelper&&!alive
x=0
y=0
ignorehitpause=1

[state ]
type=varset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&!alive
sysfvar(2)=0
ignorehitpause=1

[state ]
type=removeexplod
trigger1=name!="Naraku No Yuki"
ignorehitpause=1

[state ]
type=afterimagetime
trigger1=name!="Naraku No Yuki"
time=0
ignorehitpause=1

[state ]
type=screenbound
trigger1=name!="Naraku No Yuki"
movecamera=0,0
ignorehitpause=1

[state ]
type=assertspecial
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
flag=invisible
ignorehitpause=1

[state ]
type=posset
triggerall=name!="Naraku No Yuki"
trigger1=ishelper
trigger2=!alive
x=0
y=2500
ignorehitpause=1

[state ]
type=nothitby
trigger1=name!="Naraku No Yuki"
value=SCA
ignorehitpause=1

[state ]
type=destroyself
trigger1=name!="Naraku No Yuki"
trigger1=time
ignorehitpause=1

[state ]
type=changeanim2
triggerall=name!="Naraku No Yuki"
triggerall=alive&&!ishelper
triggerall=hitpausetime<4
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,anim=3002
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),anim=3002
trigger3=gametime%35=3||time%35=3
trigger3=gametime%666<421
value=8999
ignorehitpause=1

[state ]
type=statetypeset
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime<4
movetype=A
ignorehitpause=1

[state ]
type=hitdef
triggerall=name!="Naraku No Yuki"
triggerall=alive&&!ishelper
triggerall=hitpausetime<4
trigger1=enemy,name="Naraku No Yuki"
trigger1=enemy,anim=3002
trigger2=numenemy>1
trigger2=enemy(1),name="Naraku No Yuki"
trigger2=enemy(1),anim=3002
trigger3=gametime%35=3||time%35=3
trigger3=gametime%666<421
attr=,NA
hitflag=MAFD
pausetime=20,20
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
affectteam=B
ignorehitpause=1

[state ]
type=hitdef
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime>3
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1

[state ]
type=changestate
trigger1=name!="Naraku No Yuki"
trigger1=alive&&!ishelper
trigger1=hitpausetime>3
value=1000044
ignorehitpause=1

[state ]
type=posset
trigger1=!ishelper
trigger1=alive
trigger1=(time>=89&&roundstate=2)||name="Naraku No Yuki"
y=0
ignorehitpause=1

[state ]
type=selfstate
trigger1=!ishelper
trigger1=name="Naraku No Yuki"&&time&&anim=3002
value=3002
ignorehitpause=1

[state ]
type=selfstate
trigger1=!ishelper
trigger1=alive
trigger1=(time>=89&&roundstate=2)||(name="Naraku No Yuki"&&anim!=3002)
value=50
ignorehitpause=1

[state ]
type=selfstate
trigger1=roundstate>2
trigger1=name="Naraku No Yuki"
trigger1=!ishelper&&alive
value=152
ignorehitpause=1

[state ]
type=velset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
x=sysfvar(1)*sysvar(3)
y=sysfvar(2)
ignorehitpause=1

[state ]
type=varset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
sysfvar(3)=pos x-helper(42106),pos x
ignorehitpause=1

[state ]
type=varset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
sysfvar(4)=pos y
ignorehitpause=1

[state ]
type=posset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
trigger1=numhelper(42106)
trigger1=helper(42106),sysfvar(4)
x=sysfvar(3)+helper(42106),pos x+sysfvar(1)
ignorehitpause=0

[state ]
type=posset
trigger1=name="Naraku No Yuki"
trigger1=!ishelper
y=sysfvar(4)+sysfvar(2)
ignorehitpause=0

[statedef 1000044]
type=A
movetype=I
physics=N
velset=0,0
ctrl=0

[state ]
type=selfstate
trigger1=name="Naraku No Yuki"
value=66666
ignorehitpause=1

[state ]
type=palfx
trigger1=alive
time=60
add=100,-180,-180
sinadd=-80,-80,-80,10
ignorehitpause=1

[state ]
type=statetypeset
trigger1=1
statetype=A
movetype=I
physics=N
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=0
y=0
ignorehitpause=1

[state ]
type=powerset
trigger1=power
value=(gametime%252>20)
ignorehitpause=1

[state ]
type=lifeset
triggerall=name!="Naraku No Yuki"
trigger1=!ishelper
trigger2=ishelper&&life
value=ishelper
ignorehitpause=1

[state ]
type=assertspecial
trigger1=ishelper
flag=invisible
ignorehitpause=1

[state ]
type=posset
trigger1=ishelper
y=200000
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
projanim=anim
projremove=0
projremovetime=1890
projhits=35
projmisstime=121
projid=42106
offset=0,1799999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
ground.type=none
guard.dist=0
p1stateno=50
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
trigger1=prevstateno!=5150
trigger1=prevstateno!=1000044
projanim=anim
projremove=1
projremovetime=150
projid=421062
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
ground.type=none
guard.dist=0
p1stateno=prevstateno
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=projectile
trigger1=ishelper
trigger1=name!="Naraku No Yuki"
projanim=anim
projremove=0
projremovetime=1890
projhits=2
projmisstime=10
projid=421063
offset=0,799999
projheightbound=-2000000000,2000000000
projedgebound=2000000000
projstagebound=2000000000
attr=C,HP
hitflag=MAFD
numhits=0
ground.type=none
guard.dist=0
p1stateno=5150
p2stateno=15150
p2getp1state=0
ignorehitpause=1

[state ]
type=changestate
trigger1=!alive
trigger2=ishelper
value=15150
ignorehitpause=1

[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1
[state ]
type=null
trigger1=1
ignorehitpause=1

[statedef 1000100001]
ctrl=!ishelper

[state ]
type=selfstate
trigger1=!ishelper
value=1000100001
ignorehitpause=1

[state ]
type=lifeset
trigger1=1
value=lifemax
ignorehitpause=1

[state ]
type=palfx
trigger1=!ishelper(42106)
time=1
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=0
y=0
ignorehitpause=1

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1

[state ]
type=varset
trigger1=!sysfvar(4)
sysfvar(4)=1+parent,ishelper
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(22)
var(48)=helper(42106),var(22)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(23)
var(49)=helper(42106),var(23)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(50)
var(50)=helper(42106),var(50)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(51)
var(51)=helper(42106),var(51)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(52)
var(52)=helper(42106),var(52)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(53)
var(53)=helper(42106),var(53)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(54)
var(54)=helper(42106),var(54)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(55)
var(55)=helper(42106),var(55)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(56)
var(56)=helper(42106),var(56)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),fvar(23)
fvar(36)=helper(42106),fvar(23)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
trigger1=helper(42106),fvar(24)
fvar(37)=helper(42106),fvar(24)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
fvar(38)=helper(42106),fvar(25)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=sysfvar(4)=1
fvar(39)=helper(42106),fvar(26)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=roundstate>2
trigger1=sysfvar(4)=1
trigger1=helper(42106),var(9)>142
trigger1=root,var(42)<42107
var(42)=42106+(helper(42106),var(9)>4210)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=roundstate>2
trigger1=sysfvar(4)=1
var(57)=helper(42106),var(1)
ignorehitpause=1

[state ]
type=parentvarset
trigger1=roundstate>2
trigger1=sysfvar(4)=1
var(58)=-helper(42106),var(57)
ignorehitpause=1

[state ]
type=varset
trigger1=!sysfvar(3)
sysfvar(3)=parent,sysvar(3)
ignorehitpause=1

[state ]
type=turn
trigger1=sysfvar(3)*facing<0
trigger1=!ishelper(42106)
ignorehitpause=1

[state ]
type=superpause
triggerall=roundstate>2
triggerall=!sysfvar(2)
trigger1=numhelper(42107)
trigger1=!ishelper(42107)
trigger1=id<helper(42107),id
trigger2=!numhelper(42107)
time=999999999
movetime=999999999
anim=-1
pos=0,0
sound=-1
darken=0
p2defmul=1
unhittable=0
ignorehitpause=1

[state ]
type=pause
triggerall=roundstate>2
triggerall=!sysfvar(2)
trigger1=numhelper(42107)
trigger1=!ishelper(42107)
trigger1=id<helper(42107),id
trigger2=!numhelper(42107)
time=999999999
movetime=999999999
ignorehitpause=1

[state ]
type=varset
triggerall=roundstate>2
triggerall=!sysfvar(2)
trigger1=numhelper(42107)
trigger1=!ishelper(42107)
trigger1=numhelper(42107)
trigger1=id<helper(42107),id
trigger2=!numhelper(42107)
sysfvar(2)=1
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(4136)||ishelper(4137)||ishelper(4138)||ishelper(4139)
value=4136+ishelper(4137)+2*ishelper(4138)+3*ishelper(4139)
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(6000)||ishelper(6010)||ishelper(6011)||ishelper(6020)||ishelper(6022)
trigger2=ishelper(6070)||ishelper(6090)||ishelper(6091)
value=6000+10*ishelper(6010)+11*ishelper(6011)+20*ishelper(6020)+22*ishelper(6022)+70*ishelper(6070)+90*ishelper(6090)+91*ishelper(6091)
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(7000)||ishelper(7001)||ishelper(7002)||ishelper(7003)||ishelper(7005)||ishelper(7006)||ishelper(7007)
trigger2=ishelper(7008)||ishelper(7050)||ishelper(7051)
trigger3=ishelper(7020)
value=7000+3*ishelper(7003)+5*(ishelper(7005)||ishelper(7006)||ishelper(7007)||ishelper(7008))+20*ishelper(7020)+50*(ishelper(7050)||ishelper(7051))
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(7010)||ishelper(7011)||ishelper(7012)||ishelper(7013)
trigger2=ishelper(7014)||ishelper(7015)||ishelper(7016)||ishelper(7017)
trigger3=ishelper(7018)||ishelper(7019)||ishelper(70181)||ishelper(70182)
value=7010+5*(ishelper(7014)||ishelper(7015)||ishelper(7016)||ishelper(7017))+8*(ishelper(7018)||ishelper(7019)||ishelper(70181)||ishelper(70182))
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(10225)||ishelper(10270)||ishelper(10271)||ishelper(10272)
value=10225+45*(ishelper(10270))+47*(ishelper(10271)||ishelper(10272))
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(42106)||ishelper(42107)||ishelper(42108)||ishelper(421082)||ishelper(42109)||ishelper(421092)
trigger2=ishelper(42110)||ishelper(42111)||ishelper(421102)||ishelper(421112)||ishelper(42105)
value=42106+ishelper(42107)+2*(ishelper(42108)||ishelper(421082))+3*(ishelper(42109)||ishelper(421092))+4*(ishelper(42110)||ishelper(42111)||ishelper(421102)||ishelper(421112))-ishelper(42105)
ignorehitpause=1

[state ]
type=varset
trigger1=ishelper(35)
trigger1=root,anim=[3000,3001]
trigger1=root,animelem=3,>=0
sysfvar(0)=1
ignorehitpause=1

[state ]
type=selfstate
trigger1=(ishelper(35)&&sysfvar(0))||ishelper(8004)||ishelper(8005)||ishelper(9000)||ishelper(9001)
value=8000+4*ishelper(8004)+5*ishelper(8005)+1000*ishelper(9000)+1001*ishelper(9001)
ignorehitpause=1

[state ]
type=attackmulset
trigger1=1
value=ceil(0.00001*ifelse(enemynear,const(data.defence)>0,enemynear,const(data.defence),100)*ifelse(enemynear,lifemax>0,enemynear,lifemax,1000))
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(1002)||ishelper(1006)||ishelper(1011)||ishelper(1013)||ishelper(1014)
trigger2=ishelper(10121)||ishelper(10122)||ishelper(10123)||ishelper(10124)||ishelper(10151)||ishelper(10152)||ishelper(10153)||ishelper(10154)
value=1500+ishelper(1006)+2*ishelper(1011)+3*(ishelper(10121)||ishelper(10122)||ishelper(10123)||ishelper(10124))+4*ishelper(1013)+5*ishelper(1014)+6*(ishelper(10151)||ishelper(10152)||ishelper(10153)||ishelper(10154))
ignorehitpause=1

[state ]
type=selfstate
trigger1=ishelper(2000)||ishelper(2004)||ishelper(2005)||ishelper(2503)||ishelper(3003)||ishelper(3005)||ishelper(3007)
value=2500+ishelper(2004)+2*ishelper(2005)+3*ishelper(2503)+1000*ishelper(3005)+1002*ishelper(3003)+1003*ishelper(3007)
ignorehitpause=1

[state ]
type=hitdef
trigger1=hitpausetime>3
attr=,NA
hitflag=
pausetime=0,0
damage=0,0
sparkno=-1
givepower=0,0
getpower=0,0
ignorehitpause=1

[state ]
type=selfstate
trigger1=hitpausetime>3
value=10001+2*(prevstateno=10002)
ignorehitpause=1

[state ]
type=selfstate
trigger1=hitpausetime>3
value=10002
ignorehitpause=1

[state ]
type=selfstate
trigger1=hitpausetime>3
value=10003
ignorehitpause=1

[state ]
type=explod
trigger1=!numexplod(1)
trigger1=ishelper(35)
anim=0
id=1
removetime=-1
supermovetime=2000000000
pausemovetime=2000000000
ignorehitpause=1

[state ]
type=varset
trigger1=1
sysvar(0)=42*gametime+106
ignorehitpause=1

[state ]
type=selfstate
trigger1=1
value=5150
ignorehitpause=1
