
[Begin Action 3500]
210, 6, 0, 0, 20
210, 7, 0, 0, 2
210, 8, 0, 0, 1
Clsn1: 3
 Clsn1[0] =  66,-78,203,-48
 Clsn1[1] = 121,-97,272,-67
 Clsn1[2] = 242,-118,395,-88
210, 8, 0, 0, 1
210, 9, 0, 0, 42
210, 10, 0, 0, 4
210, 11, 0, 0, 4

[Begin Action 3503]
210, 9, 0, 0, 70
210, 10, 0, 0, 4
210, 11, 0, 0, 4
3020, 0, 0, 0, 3
3020, 1, 0, 0, 3
3020, 2, 0, 0, 3
3020, 3, 0, 0, 3
3020, 4, 0, 0, 3
3020, 5, 0, 0, 3
3020, 6, 0, 0, 3
3020, 7, 0, 0, 3
3020, 5, 0, 0, 3
3020, 6, 0, 0, 3
3020, 7, 0, 0, 3
3020, 8, 0, 0, 3
3020, 9, 0, 0, 3
3020, 10, 0, 0, 799



[statedef 3500]
type=s
movetype=a
physics=s
ctrl=0
sprpriority=5

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

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


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;挻昁墘弌
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s100,12
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s100,12
volume=255
ignorehitpause=1



;億乕僘丅
[state ]
type=superpause
trigger1=animelemtime(1)=0
anim=-1
darken=0
poweradd=ifelse(floor(0.5*floor(sysvar(2)/1000000))<1,-1000+1000*floor(0.5*floor(sysvar(2)/1000000)),0)
movetime=60
time=60
ignorehitpause=1



;僇僢僠儏乕僀儞両両両
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
anim=30000
trans=addalpha
alpha=256,0
scale=0.5,0.5
pos=-50+1*animelemtime(1),0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-6
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=30000
trans=addalpha
alpha=256*cos((pi/2/20)*(animelemtime(1)-10)),256*sin((pi/2/20)*(animelemtime(1)-10))
scale=0.5,0.5
pos=-50+1*animelemtime(1),0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-6
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;偦偺屻
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(2)>=0&&animelemtime(2)<=29
trigger1=animelemtime(2)%2=0
value=s100,15
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(2)>=0&&animelemtime(2)<=29
trigger1=animelemtime(2)%2=0
value=s10000,14
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(2)>=30&&animtime<=-1
trigger1=animelemtime(2)%8=6
value=s10000,15
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(2)>=30&&animtime<=-1
trigger1=animelemtime(2)%8=2
value=s10000,15
channel=4
ignorehitpause=1



;夋柺怓儗僀儎乕丄壓丅
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(5)<=19
flag=nobardisplay
flag2=nofg
flag3=globalnoshadow
ignorehitpause=1

;夋柺怓儗僀儎乕丄壓丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(5)<=19
anim=11000
trans=addalpha
alpha=0,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5)>=20&&animelemtime(5)<=49
anim=11000
trans=addalpha
alpha=0,256*sin((pi/2/30)*(animelemtime(5)-20))
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1

;夋柺怓儗僀儎乕丄忋丅
[state ]
type=explod
trigger1=animelemtime(2)>=0&&animelemtime(2)<=24
trigger1=animelemtime(2)%6=0
anim=11000
trans=addalpha
alpha=256,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1

;夋柺梙傜偟丅
[state ]
type=envshake
trigger1=animelemtime(2)>=0&&animelemtime(2)<=29
time=2
freq=180
ampl=1*ifelse(animelemtime(1)%2=0,1,-1)
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(2)>=50&&animtime<=-1
time=2
freq=180
ampl=4*ifelse(animelemtime(1)%2=0,1,-1)
phase=90
ignorehitpause=1



;偛偛偛乕偭偲埮偐傜嵔弌傞墘弌揑側丅
[state ]
type=explod
trigger1=animelemtime(2)=0
trigger2=animelemtime(2)=5
trigger3=animelemtime(2)=10
trigger4=animelemtime(2)=15
trigger5=animelemtime(2)=20
trigger6=animelemtime(2)=25
anim=10310
scale=0.1,0.4
pos=74,-49
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(2)>=0&&animelemtime(2)<=29
anim=ifelse(sysvar(3)%18>=0&&sysvar(3)%18<=9,10190+sysvar(3)%18,70190-10+sysvar(3)%18)
scale=0.3,0.7
pos=74,-49
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



;旘傃摴嬶峴偔偤僑儖傽両
[state ]
type=varset
trigger1=animelemtime(2)>=0&&animtime<=-1
trigger1=prevstateno!=3501
var(8)=0
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(2)>=0&&animtime<=-1
trigger1=prevstateno!=3501
var(9)=1
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(2)>=0&&animtime<=-1
trigger1=prevstateno!=3501
var(13)=1
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(2)>=0&&animtime<=-1
trigger1=prevstateno!=3501
var(0)=0
ignorehitpause=1
[state ]
type=changestate
trigger1=animelemtime(2)>=0&&animtime<=-1
trigger1=prevstateno!=3501
value=3501
ignorehitpause=1



;峌寕杮懱偵側傝傑偡丅
[state ]
type=hitdef
trigger1=animelemtime(4)=0
attr=s,ha
hitflag=mafd
affectteam=e
animtype=hard
air.animtype=back
fall.animtype=back
priority=2,hit
damage=0,0
getpower=0,0
givepower=0,5
pausetime=0,0
guard.pausetime=0,0
ground.type=high
air.type=high
ground.slidetime=0
guard.slidetime=0
ground.hittime=0
air.hittime=0
guard.ctrltime=0
airguard.ctrltime=0
ground.velocity=0
guard.velocity=0
air.velocity=0,0
airguard.velocity=0,0
fall=1
air.fall=1
kill=0
guard.kill=0
fall.kill=0
p2facing=1
ignorehitpause=1



;傑偢偼僞乕僎僢僩忣曬傪惔嶼丅
[state ]
type=targetdrop
triggerall=numtarget>0
trigger1=animelemtime(1)=0
ignorehitpause=1
[state ]
type=targetstate
triggerall=numtarget>0
trigger1=1
value=3504
ignorehitpause=1
[state ]
type=changestate
triggerall=numtarget>0
trigger1=1
value=3503
ignorehitpause=1



;婣娨丄偡傞丅
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 3501]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(0)<=-1
trigger2=var(0)>=var(9)*var(13)
value=3500
ignorehitpause=1



;var(0).........儖乕僾梡曄悢丅
;var(1).........嵔儀僋僩儖丅
;var(2).........嵔傾僯儊乮儀僋僩儖埶懚乯丅
;var(3).........嵔摨巑偺娫妘丅
;var(4).........嵔偺敪惗嵗昗X丅
;var(5).........嵔偺敪惗嵗昗Y丅
;var(6).........嵔摨巑偺娫妘偼丄嵔偺幩弌懍搙偺壗攞丠
;var(7).........嵔偺敪惗懍搙偼丄嵔摨巑偺娫妘偺壗攞丠
;var(8).........僟僽儖儖乕僾梡曄悢丅
;var(9).........嵔杮悢丅
;var(10).........嵔巆懚僼儗乕儉悢丅
;var(11).........嵔徚柵僗僷儞丅
;var(12).........嵔徚柵帣傾僯儊敪惗僗僷儞丅
;var(13).........嵔幚峴僗僷儞丅
;var(14).........嵔幚峴憤崌娗棟丅

;旘傃弌偡嵔僷儔儊乕僞乮婎姴晹乯丅
[state ]
type=varset
trigger1=1
var(1)=36-1
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(4)=floor(74-320)
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(5)=floor(-49-300*sin(-pi*10/180))
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮楢摦晹乯丅
[state ]
type=varset
triggerall=var(1)%36>=0&&var(1)%36<=9
trigger1=1
var(2)=10400+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=10&&var(1)%36<=19
trigger1=1
var(2)=70400-10+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=20&&var(1)%36<=29
trigger1=1
var(2)=80400-20+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=30&&var(1)%36<=35
trigger1=1
var(2)=90400-30+var(1)%36
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮掕悢晹乯丅
[state ]
type=varset
trigger1=1
var(3)=15
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(6)=2
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(7)=2
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(10)=30
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(11)=1
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(12)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)=0
var(14)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)!=0
var(14)=0
ignorehitpause=1



[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=(animelemtime(2)-var(0))%(var(6)*2)=0
anim=var(2)+0
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=(animelemtime(2)-var(0))%(var(6)*2)=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=(animelemtime(2)-var(0))%(var(6)*2)=var(6)
anim=var(2)+10
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=(animelemtime(2)-var(0))%(var(6)*2)=var(6)
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=var(10)&&(animelemtime(2)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(2)-var(0))-var(10))%(var(11)*var(12))=0
anim=10312
scale=0.1,0.1
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(2)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(2)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483643
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(2)-var(0))>=var(10)&&(animelemtime(2)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(2)-var(0))-var(10))%(var(11)*var(12))=0
anim=10033
scale=0.6,0.6
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(2)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(2)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483644
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



[state ]
type=changestate
triggerall=var(14)=1
triggerall=var(8)=0
triggerall=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8))<=500
value=3502
ignorehitpause=1
[state ]
type=varset
triggerall=var(14)=1
triggerall=var(8)!=0
triggerall=(animelemtime(2)-var(0))>=0&&(animelemtime(2)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8))<=500
var(8)=0
ignorehitpause=1



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(0)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(0)>=1&&var(0)<=var(9)*var(13)
value=stateno
persistent=256
ignorehitpause=1

[statedef 3502]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(8)<=-1
trigger2=var(8)>=var(7)
value=3501
ignorehitpause=1



;嵔偑抂偭偙傑偱撏偔傑偱丅
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=0
trigger2=var(7)%2=1
trigger2=(animelemtime(2)-var(0))%2=0
trigger2=var(8)%2=0
trigger3=var(7)%2=1
trigger3=(animelemtime(2)-var(0))%2=1
trigger3=var(8)%2=1
anim=var(2)+10
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))+var(8)
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=0
trigger2=var(7)%2=1
trigger2=(animelemtime(2)-var(0))%2=0
trigger2=var(8)%2=0
trigger3=var(7)%2=1
trigger3=(animelemtime(2)-var(0))%2=1
trigger3=var(8)%2=1
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=1
trigger2=var(7)%2=1
trigger2=(animelemtime(2)-var(0))%2=0
trigger2=var(8)%2=1
trigger3=var(7)%2=1
trigger3=(animelemtime(2)-var(0))%2=1
trigger3=var(8)%2=0
anim=var(2)+0
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))+var(8)
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=1
trigger2=var(7)%2=1
trigger2=(animelemtime(2)-var(0))%2=0
trigger2=var(8)%2=1
trigger3=var(7)%2=1
trigger3=(animelemtime(2)-var(0))%2=1
trigger3=var(8)%2=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(2)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(2)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(8)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(8)>=1&&var(8)<=var(7)
value=stateno
persistent=256
ignorehitpause=1

[statedef 3503]
type=s
movetype=a
physics=s
ctrl=0
sprpriority=5

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

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



;壒嬁DEATH丅
[state ]
type=playsnd
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
trigger1=animelemtime(1)%2=0
value=s100,15
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
trigger1=animelemtime(1)%2=0
value=s10000,14
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)>=40&&animelemtime(1)<=59
trigger1=animelemtime(1)%8=0
value=s10000,15
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)>=40&&animelemtime(1)<=59
trigger1=animelemtime(1)%8=4
value=s10000,15
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=80
trigger2=animelemtime(5)=90
value=s10000,16
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)>=0&&animelemtime(9)<=99
trigger1=animelemtime(9)%5=0
value=s10000,12
freqmul=1+0.08*cos(sysvar(3))
channel=5
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)>=0&&animelemtime(9)<=99
trigger1=animelemtime(9)%5=0
value=s300,1
freqmul=1+0.08*cos(sysvar(3))
channel=6
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)>=0&&animelemtime(9)<=99
trigger1=animelemtime(9)%5=0
value=s100,27
freqmul=1+0.08*cos(sysvar(3))
channel=7
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)=100
value=s10000,5
freqmul=0.8
volume=-200
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)=100
value=s10000,4
freqmul=0.8
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(9)=100
value=s10000,7
volume=255
ignorehitpause=1



;夋柺惈幙
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(9)<=99
flag=nobardisplay
flag2=nofg
flag3=globalnoshadow
ignorehitpause=1

;夋柺怓儗僀儎乕丄壓丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(5)<=-1
anim=11000
trans=addalpha
alpha=0,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5)>=0&&animelemtime(5)<=49
anim=11000
trans=addalpha
alpha=256*sin((pi/2/50)*animelemtime(5)),0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5)>=50&&animelemtime(9)<=99
anim=11000
trans=addalpha
alpha=256,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(9)>=100&&animelemtime(9)<=129
anim=11000
trans=addalpha
alpha=256*cos((pi/2/50)*(animelemtime(9)-100)),256*sin((pi/2/50)*(animelemtime(9)-100))
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=-2147483647
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1

;夋柺怓儗僀儎乕丄忋丅
[state ]
type=explod
trigger1=animelemtime(2)>=0&&animelemtime(2)<=24
trigger1=animelemtime(2)%4=0
anim=11000
trans=addalpha
alpha=256,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5)>=50&&animelemtime(5)<=99
trigger1=animelemtime(5)%4=2
anim=11000
trans=addalpha
alpha=0,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5)>=100&&animelemtime(5)<=139
trigger1=animelemtime(5)%2=0
anim=11000
trans=addalpha
alpha=0,0
scale=1,1
pos=0,0
postype=back
vel=0,0
accel=0,0
removetime=-2
sprpriority=2147483647
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1

;夋柺梙傟丅
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=49
time=2
freq=180
ampl=2*ifelse(animelemtime(1)%2=0,1,-1)
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(5)>=0&&animelemtime(5)<=99
time=2
freq=180
ampl=(random%11)*ifelse(animelemtime(1)%2=0,1,-1)
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(5)>=100&&animelemtime(5)<=199
time=2
freq=180
ampl=8*ifelse(animelemtime(1)%2=0,1,-1)
ampl=150*(1-sin((pi/2/100)*(animelemtime(5)-100)))*ifelse(animelemtime(1)%2=0,1,-1)
phase=90
ignorehitpause=1



;夋柺抂敾掕丅
[state ]
type=null;width
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
value=150*sin((pi/2/10)*animelemtime(1)),0
ignorehitpause=1
[state ]
type=null;width
trigger1=animelemtime(1)>=10&&animelemtime(1)<=184
value=150,0
ignorehitpause=1



;側傫偐巼敀偺抏
[state ]
type=null;explod
trigger1=animelemtime(1)>=70&&animelemtime(1)<=184
anim=10060
scale=0.123*0.6,0.123*0.6
pos=150,-98
vel=0,0
accel=0,0
removetime=-2
sprpriority=-12
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



;僞乕僎僢僩傪屌掕丄偟傑偡丅
[state ]
type=targetlifeadd
triggerall=numtarget>0
trigger1=animelemtime(1)=185
value=-86
kill=1
ignorehitpause=1
[state ]
type=targetstate
triggerall=numtarget>0
trigger1=animelemtime(1)>=0&&animelemtime(9)<=100
value=3504
ignorehitpause=1
[state ]
type=null;targetbind
triggerall=numtarget>0
trigger1=animelemtime(1)=0
pos=facing*(target,screenpos x-screenpos x),target,const(size.mid.pos.y)+(target,screenpos y-screenpos y)
time=1
ignorehitpause=1
[state ]
type=targetbind
triggerall=numtarget>0
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
pos=facing*(target,screenpos x-screenpos x)+0.1*(160*cos(-pi*10/180)-(target,screenpos x-screenpos x)),(target,screenpos y-screenpos y)+0.1*(160*sin(-pi*10/180)-(target,screenpos y-screenpos y))
time=1
ignorehitpause=1
[state ]
type=targetbind
triggerall=numtarget>0
trigger1=animelemtime(1)>=20&&animelemtime(9)<=99
pos=160*cos(-pi*10/180),160*sin(-pi*10/180)
time=1
ignorehitpause=1
[state ]
type=targetbind
triggerall=numtarget>0
trigger1=animelemtime(9)=100
pos=160*cos(-pi*10/180),160*sin(-pi*10/180)-target,const(size.mid.pos.y)
ignorehitpause=1



;旘傃摴嬶偺侾丅
[state ]
type=varset
trigger1=animelemtime(1)>=0&&animelemtime(9)<=-1
trigger1=prevstateno!=3505
var(8)=0
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(1)>=0&&animelemtime(9)<=-1
trigger1=prevstateno!=3505
var(9)=1
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(1)>=0&&animelemtime(9)<=-1
trigger1=prevstateno!=3505
var(13)=1
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(1)>=0&&animelemtime(9)<=-1
trigger1=prevstateno!=3505
var(0)=0
ignorehitpause=1
[state ]
type=changestate
trigger1=animelemtime(1)>=0&&animelemtime(9)<=-1
trigger1=prevstateno!=3505
value=3505
ignorehitpause=1



;旘傃摴嬶偺俀丅
[state ]
type=varset
trigger1=animelemtime(9)>=0&&animtime<=-1
trigger1=prevstateno!=3507
var(8)=0
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(9)>=0&&animtime<=-1
trigger1=prevstateno!=3507
var(9)=9
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(9)>=0&&animtime<=-1
trigger1=prevstateno!=3507
var(13)=1
ignorehitpause=1
[state ]
type=varset
trigger1=animelemtime(9)>=0&&animtime<=-1
trigger1=prevstateno!=3507
var(0)=0
ignorehitpause=1
[state ]
type=changestate
trigger1=animelemtime(9)>=0&&animtime<=-1
trigger1=prevstateno!=3507
value=3507
ignorehitpause=1



;搳偘幐攕丄捠忢僗僥乕僩傊堏峴偡傞丅
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 3504]
type=a
movetype=h
physics=n

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256006.0&&enemy(0),sysfvar(0)!=0.0
trigger1=enemy(0),palno>=7&&enemy(0),palno<=12
trigger1=enemy(0),sysvar(2)=floor(2.0**1)*floor(enemy(0),sysvar(2)/floor(2.0**1))+enemy(0),sysvar(2)%floor(2.0**0)+floor(2.0**0)
trigger2=enemy(1),sysfvar(0)=256006.0&&enemy(1),sysfvar(0)!=0.0
trigger2=enemy(1),palno>=7&&enemy(1),palno<=12
trigger2=enemy(1),sysvar(2)=floor(2.0**1)*floor(enemy(1),sysvar(2)/floor(2.0**1))+enemy(1),sysvar(2)%floor(2.0**0)+floor(2.0**0)
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim2
trigger1=time=0
value=802
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value2=sca
ignorehitpause=1
[state ]
type=screenbound
trigger1=1
value=1
movecamera=1,0
ignorehitpause=1
[state ]
type=velset
trigger1=1
x=0
y=0
ignorehitpause=1
[state ]
type=null;changestate
trigger1=time>0
value=803
ignorehitpause=1

[statedef 3505]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(0)<=-1
trigger2=var(0)>=var(9)*var(13)
value=3503
ignorehitpause=1



;var(0).........儖乕僾梡曄悢丅
;var(1).........嵔儀僋僩儖丅
;var(2).........嵔傾僯儊乮儀僋僩儖埶懚乯丅
;var(3).........嵔摨巑偺娫妘丅
;var(4).........嵔偺敪惗嵗昗X丅
;var(5).........嵔偺敪惗嵗昗Y丅
;var(6).........嵔摨巑偺娫妘偼丄嵔偺幩弌懍搙偺壗攞丠
;var(7).........嵔偺敪惗懍搙偼丄嵔摨巑偺娫妘偺壗攞丠
;var(8).........僟僽儖儖乕僾梡曄悢丅
;var(9).........嵔杮悢丅
;var(10).........嵔巆懚僼儗乕儉悢丅
;var(11).........嵔徚柵僗僷儞丅
;var(12).........嵔徚柵帣傾僯儊敪惗僗僷儞丅
;var(13).........嵔幚峴僗僷儞丅
;var(14).........嵔幚峴憤崌娗棟丅

;旘傃弌偡嵔僷儔儊乕僞乮婎姴晹乯丅
[state ]
type=varset
trigger1=1
var(1)=36-1
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(4)=floor(74-320)
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(5)=floor(-49-300*sin(-pi*10/180))
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮楢摦晹乯丅
[state ]
type=varset
triggerall=var(1)%36>=0&&var(1)%36<=9
trigger1=1
var(2)=10400+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=10&&var(1)%36<=19
trigger1=1
var(2)=70400-10+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=20&&var(1)%36<=29
trigger1=1
var(2)=80400-20+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=30&&var(1)%36<=35
trigger1=1
var(2)=90400-30+var(1)%36
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮掕悢晹乯丅
[state ]
type=varset
trigger1=1
var(3)=15
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(6)=2
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(7)=4
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(10)=40
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(11)=1
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(12)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)=0
var(14)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)!=0
var(14)=0
ignorehitpause=1



[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=(animelemtime(1)-var(0))%(var(6)*2)=0
anim=var(2)+0
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=(animelemtime(1)-var(0))%(var(6)*2)=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=(animelemtime(1)-var(0))%(var(6)*2)=var(6)
anim=var(2)+10
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=(animelemtime(1)-var(0))%(var(6)*2)=var(6)
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=var(10)&&(animelemtime(1)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(1)-var(0))-var(10))%(var(11)*var(12))=0
anim=10312
scale=0.1,0.1
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(1)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(1)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483643
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(1)-var(0))>=var(10)&&(animelemtime(1)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(1)-var(0))-var(10))%(var(11)*var(12))=0
anim=10033
scale=0.6,0.6
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(1)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(1)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483644
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



[state ]
type=changestate
triggerall=var(14)=1
triggerall=var(8)=0
triggerall=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8))<=500
value=3506
ignorehitpause=1
[state ]
type=varset
triggerall=var(14)=1
triggerall=var(8)!=0
triggerall=(animelemtime(1)-var(0))>=0&&(animelemtime(1)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8))<=500
var(8)=0
ignorehitpause=1



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(0)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(0)>=1&&var(0)<=var(9)*var(13)
value=stateno
persistent=256
ignorehitpause=1

[statedef 3506]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(8)<=-1
trigger2=var(8)>=var(7)
value=3505
ignorehitpause=1



;嵔偑抂偭偙傑偱撏偔傑偱丅
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=0
trigger2=var(7)%2=1
trigger2=(animelemtime(1)-var(0))%2=0
trigger2=var(8)%2=0
trigger3=var(7)%2=1
trigger3=(animelemtime(1)-var(0))%2=1
trigger3=var(8)%2=1
anim=var(2)+10
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))+var(8)
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=0
trigger2=var(7)%2=1
trigger2=(animelemtime(1)-var(0))%2=0
trigger2=var(8)%2=0
trigger3=var(7)%2=1
trigger3=(animelemtime(1)-var(0))%2=1
trigger3=var(8)%2=1
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=1
trigger2=var(7)%2=1
trigger2=(animelemtime(1)-var(0))%2=0
trigger2=var(8)%2=1
trigger3=var(7)%2=1
trigger3=(animelemtime(1)-var(0))%2=1
trigger3=var(8)%2=0
anim=var(2)+0
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))+var(8)
sprpriority=2147483645
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=1
trigger2=var(7)%2=1
trigger2=(animelemtime(1)-var(0))%2=0
trigger2=var(8)%2=1
trigger3=var(7)%2=1
trigger3=(animelemtime(1)-var(0))%2=1
trigger3=var(8)%2=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(1)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(1)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(8)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(8)>=1&&var(8)<=var(7)
value=stateno
persistent=256
ignorehitpause=1

[statedef 3507]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(0)<=-1
trigger2=var(0)>=var(9)*var(13)
value=3503
ignorehitpause=1



;var(0).........儖乕僾梡曄悢丅
;var(1).........嵔儀僋僩儖丅
;var(2).........嵔傾僯儊乮儀僋僩儖埶懚乯丅
;var(3).........嵔摨巑偺娫妘丅
;var(4).........嵔偺敪惗嵗昗X丅
;var(5).........嵔偺敪惗嵗昗Y丅
;var(6).........嵔摨巑偺娫妘偼丄嵔偺幩弌懍搙偺壗攞丠
;var(7).........嵔偺敪惗懍搙偼丄嵔摨巑偺娫妘偺壗攞丠
;var(8).........僟僽儖儖乕僾梡曄悢丅
;var(9).........嵔杮悢丅
;var(10).........嵔巆懚僼儗乕儉悢丅
;var(11).........嵔徚柵僗僷儞丅
;var(12).........嵔徚柵帣傾僯儊敪惗僗僷儞丅
;var(13).........嵔幚峴僗僷儞丅
;var(14).........嵔幚峴憤崌娗棟丅

;旘傃弌偡嵔僷儔儊乕僞乮婎姴晹乯丅
[state ]
type=varset
trigger1=1
var(1)=36-5-var(0)/var(13)
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(4)=floor(-49+160*cos(-pi*10/180)-200*cos(pi*var(1)/18))
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(5)=floor(-49+160*sin(-pi*10/180)-200*sin(pi*var(1)/18))
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮楢摦晹乯丅
[state ]
type=varset
triggerall=var(1)%36>=0&&var(1)%36<=9
trigger1=1
var(2)=10400+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=10&&var(1)%36<=19
trigger1=1
var(2)=70400-10+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=20&&var(1)%36<=29
trigger1=1
var(2)=80400-20+var(1)%36
ignorehitpause=1
[state ]
type=varset
triggerall=var(1)%36>=30&&var(1)%36<=35
trigger1=1
var(2)=90400-30+var(1)%36
ignorehitpause=1

;旘傃弌偡嵔僷儔儊乕僞乮掕悢晹乯丅
[state ]
type=varset
trigger1=1
var(3)=15
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(6)=2
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(7)=4
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(10)=100
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(11)=1
ignorehitpause=1
[state ]
type=varset
trigger1=1
var(12)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)=0
var(14)=1
ignorehitpause=1
[state ]
type=varset
trigger1=var(0)%var(13)!=0
var(14)=0
ignorehitpause=1



[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(9)-var(0))>=0&&(animelemtime(9)-var(0))<=var(10)-1
trigger1=(animelemtime(9)-var(0))%(var(6)*2)=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(9)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(9)-var(0))>=0&&(animelemtime(9)-var(0))<=var(10)-1
trigger1=(animelemtime(9)-var(0))%(var(6)*2)=var(6)
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4),var(5)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(9)-var(0))/var(6)))
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(9)-var(0))>=var(10)&&(animelemtime(9)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(9)-var(0))-var(10))%(var(11)*var(12))=0
anim=10312
scale=0.1,0.1
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(9)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(9)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483643
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
triggerall=var(14)=1
trigger1=(animelemtime(9)-var(0))>=var(10)&&(animelemtime(9)-var(0))<=var(10)+var(11)*(floor(600/var(3))+1)
trigger1=((animelemtime(9)-var(0))-var(10))%(var(11)*var(12))=0
anim=10033
scale=0.6,0.6
pos=var(4)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(9)-var(0))-var(10))+3)*cos(pi*(var(1)%36)/18),var(5)+var(3)*(1.0/var(11))*(1+(1.0/var(6)))*(((animelemtime(9)-var(0))-var(10))+3)*sin(pi*(var(1)%36)/18)
vel=-3*cos(pi*(var(1)%36)/18+(-(sysvar(3)%61)+30)/180.0),-3*sin(pi*(var(1)%36)/18+(-((sysvar(3)**2)%61)+30)/180.0)
accel=0,0
removetime=-2
sprpriority=2147483644
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



[state ]
type=changestate
triggerall=var(14)=1
triggerall=var(8)=0
triggerall=(animelemtime(9)-var(0))>=0&&(animelemtime(9)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8))<=500
value=3508
ignorehitpause=1
[state ]
type=varset
triggerall=var(14)=1
triggerall=var(8)!=0
triggerall=(animelemtime(9)-var(0))>=0&&(animelemtime(9)-var(0))<=var(10)-1
trigger1=var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8))<=500
var(8)=0
ignorehitpause=1



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(0)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(0)>=1&&var(0)<=var(9)*var(13)
value=stateno
persistent=256
ignorehitpause=1

[statedef 3508]

[state ]
type=changestate
triggerall=(sysfvar(0)=256006.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,root,palno>=1&&root,palno<=6||!ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1

[state ]
type=changestate
trigger1=var(8)<=-1
trigger2=var(8)>=var(7)
value=3507
ignorehitpause=1



;嵔偑抂偭偙傑偱撏偔傑偱丅
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=0
trigger2=var(7)%2=1
trigger2=(animelemtime(9)-var(0))%2=0
trigger2=var(8)%2=0
trigger3=var(7)%2=1
trigger3=(animelemtime(9)-var(0))%2=1
trigger3=var(8)%2=1
anim=var(2)+30
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(9)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1
[state ]
type=explod
trigger1=var(7)%2=0
trigger1=var(8)%2=1
trigger2=var(7)%2=1
trigger2=(animelemtime(9)-var(0))%2=0
trigger2=var(8)%2=1
trigger3=var(7)%2=1
trigger3=(animelemtime(9)-var(0))%2=1
trigger3=var(8)%2=0
anim=var(2)+20
scale=0.01*var(3),0.01*var(3)
pos=var(4)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8)+1)*cos(pi*(var(1)%36)/18),var(5)+var(3)*((var(7)+(1.0/var(6)))*(animelemtime(9)-var(0))+var(8)+1)*sin(pi*(var(1)%36)/18)
vel=var(3)*(1.0/var(6))*cos(pi*(var(1)%36)/18),var(3)*(1.0/var(6))*sin(pi*(var(1)%36)/18)
accel=0,0
removetime=(var(6)+var(11))*(floor((var(10)-1)/var(6))-((animelemtime(9)-var(0))/var(6)))+var(8)
sprpriority=2147483646
ontop=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647
ignorehitpause=1



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



;偨偄傓丅
[state ]
type=varadd
trigger1=1
var(8)=1
ignorehitpause=1
[state ]
type=changestate
trigger1=var(8)>=1&&var(8)<=var(7)
value=stateno
persistent=256
ignorehitpause=1
