;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖儗儀儖2丅

;儀乕僩儌乕僪旐僟儊乕僕娗棟曄悢僙僢僩丅
[state ]
type=varset
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(53)=0
trigger1=1
sysfvar(4)=(3*7*2*4*1001)*floor(floor(sysfvar(4))/(3*7*2*4*1001))+floor(sysfvar(4))%(3*7*2*4)+(3*7*2*4)*floor(1000*life/lifemax)
ignorehitpause=1

;撢巰懳嶔丅
[state ]
type=assertspecial
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(53)=[1,5]
trigger1=floor((floor(sysfvar(4))%(3*7*2*4*1001))/(3*7*2*4))>300
flag=noko
ignorehitpause=1



;僗僥敳偗娗棟曄悢僙僢僩丅
[state ]
type=varset
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=0
trigger1=var(53)=[3,5]
trigger1=floor((floor(sysfvar(4))%(3*7*2*4*1001))/(3*7*2*4))-floor(1000*life/lifemax)>300
var(55)=2
ignorehitpause=1

;僟儊乕僕僇僢僩晅懷墘弌丅
[state ]
type=playsnd
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
value=s40000,1
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
value=s40000,2
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=explod
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
id=0
anim=14240
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(45))*0.5,(2-var(45))*0.5
shadow=0,0,0
sprpriority=-7
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
id=0
anim=14250
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(45))*0.5,(2-var(45))*0.5
shadow=0,0,0
sprpriority=-6
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

;僟儊乕僕忋尷抣摓払帪丄柍揋敪惗丅
[state ]
type=nothitby
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
value=sca
time=120
ignorehitpause=1
[state ]
type=nothitby
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
value2=sca
time=120
ignorehitpause=1

;僟儊乕僕忋尷抣摓払帪丄僟儊乕僕僇僢僩丅
[state ]
type=lifeset
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
value=floor(1000*(floor((floor(sysfvar(4))%(3*7*2*4*1001))/(3*7*2*4))-300)/lifemax)
ignorehitpause=1

;僟儊乕僕忋尷抣摓払帪丄僗僥敳偗丅
[state ]
type=varset
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7))/3)=[1,6]
triggerall=var(55)=2
trigger1=1
var(50)=52*(statetype=s||statetype=c||statetype=l)+50*(statetype=a)
ignorehitpause=1