;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥劥
;劔侖棫偪B丅

;儀乕僩儌乕僪棫偪B娗棟曄悢僙僢僩丅
[state ]
type=varadd
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=floor(sysfvar(2))%81=[1,80]
sysfvar(2)=-1
ignorehitpause=1
[state ]
type=varset
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=var(50)=6300||var(50)=6500||var(50)=6700
trigger1=animelemtime(1)=0+1
sysfvar(2)=81*(floor(sysfvar(2))/81)+80
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=10
trigger2=81-floor(sysfvar(2))%81=15
trigger3=81-floor(sysfvar(2))%81=20
trigger4=81-floor(sysfvar(2))%81=25
trigger5=81-floor(sysfvar(2))%81=30
value=s6300,2
freqmul=1.0
volume=255
channel=14
ignorehitpause=1
[state ]
type=playsnd
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=10
value=s6300,3
freqmul=0.8
volume=0
channel=15
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=envshake
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=[10,59]
time=2
freq=180
ampl=floor((3-3*sin((pi/2/50)*(81-10-floor(sysfvar(2))%81)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=[15,64]
time=2
freq=180
ampl=floor((3-3*sin((pi/2/50)*(81-15-floor(sysfvar(2))%81)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=[20,69]
time=2
freq=180
ampl=floor((3-3*sin((pi/2/50)*(81-20-floor(sysfvar(2))%81)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=[25,74]
time=2
freq=180
ampl=floor((3-3*sin((pi/2/50)*(81-25-floor(sysfvar(2))%81)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0||ishelper(103000)
triggerall=floor(sysfvar(4))%3=1
trigger1=81-floor(sysfvar(2))%81=[30,79]
time=2
freq=180
ampl=floor((3-3*sin((pi/2/50)*(81-30-floor(sysfvar(2))%81)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1



[statedef 6300]
type=u
movetype=u
hitdefpersist=1
movehitpersist=1
[state ]
type=changestate
trigger1=!ishelper
trigger1=sysvar(0)%257000!=256007
trigger2=ishelper
trigger2=root,sysvar(0)%257000!=256007
value=1836769491
persistent=256
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;婎杮愝掕乮媡弴張棟乯丅
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=a
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s6300,0
freqmul=1.0
volume=255
channel=11
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s6300,0
freqmul=1.0
volume=255
channel=12
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s6300,1
freqmul=1.0
volume=255
channel=13
ignorehitpause=1



;暔棟墘嶼丅
[state ]
type=velset
trigger1=1
x=vel x*((statetype=s)*const(movement.stand.friction)+(statetype=c||statetype=l)*const(movement.crouch.friction)+(statetype=a))
y=vel y+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;僆僒儗側僗僼傿傾丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=var(50)
anim=13087
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.4,(2-var(45))*0.5*0.4
shadow=0,0,0
sprpriority=20
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)+20*cos(var(58)**2)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)+20*cos(var(58)**2)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=2*cos(random)*cos(var(58)),2*cos(random)*sin(var(58))
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=var(50)
anim=13082
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.2,(2-var(45))*0.5*0.2
shadow=0,0,0
sprpriority=21
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)+20*cos(var(58)**2)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)+20*cos(var(58)**2)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=2*cos(random)*cos(var(58)**3),2*cos(random)*sin(var(58)**3)
accel=0,0
ignorehitpause=1



;懢梲寧丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=0
id=var(50)
anim=10360-10*floor((floor(sysfvar(4))%(3*7*2))/(3*7))
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.3,(2-var(45))*0.5*0.3
shadow=0,0,0
sprpriority=28
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=0
id=var(50)
anim=10361-10*floor((floor(sysfvar(4))%(3*7*2))/(3*7))
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.3*0.8,(2-var(45))*0.5*0.3*0.8
shadow=0,0,0
sprpriority=29
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=3
id=var(50)
anim=10360-10*floor((floor(sysfvar(4))%(3*7*2))/(3*7))
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.3,(2-var(45))*0.5*0.3
shadow=0,0,0
sprpriority=28
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=3
id=var(50)
anim=10361-10*floor((floor(sysfvar(4))%(3*7*2))/(3*7))
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(45))*0.5*0.3*0.8,(2-var(45))*0.5*0.3*0.8
shadow=0,0,0
sprpriority=29
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(40+18*cos(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=0
projid=var(50)
projanim=40230
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(40+18*cos(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)+(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=25
projhits=1
projmisstime=0
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
id=var(50)
chainid=-1
nochainid=-1
attr=s,np
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=20,2
fall.damage=0
getpower=50,25
givepower=0,10
kill=1
guard.kill=0
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=0
pausetime=0,0
guard.pausetime=0,0
ground.hittime=10
air.hittime=20
guard.hittime=10
guard.ctrltime=30
airguard.ctrltime=30
ground.slidetime=0
guard.slidetime=0
fall.recover=0
fall.recovertime=2147483647
fall=1
air.fall=0
ground.velocity=-8,-1
air.velocity=-8,-1
;down.velocity=0,0
;guard.velocity=0
;airguard.velocity=0,0
yaccel=0.35
envshake.time=0
fall.envshake.time=0
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
;sprpriority=1
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=1

[state ]
type=projectile
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger1=animelemtime(1)%6=3
projid=var(50)
projanim=40230
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(40+18*cos(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*cos(0+pi/2)),floor(-55+18*sin(0)*animelemtime(1)-(15*cos(var(58)**2)+15)*sin(0+pi/2))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=25
projhits=1
projmisstime=0
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
id=var(50)
chainid=-1
nochainid=-1
attr=s,np
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=20,2
fall.damage=0
getpower=50,25
givepower=0,10
kill=1
guard.kill=0
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=0
pausetime=0,0
guard.pausetime=0,0
ground.hittime=10
air.hittime=20
guard.hittime=10
guard.ctrltime=30
airguard.ctrltime=30
ground.slidetime=0
guard.slidetime=0
fall.recover=0
fall.recovertime=2147483647
fall=1
air.fall=0
ground.velocity=-8,-1
air.velocity=-8,-1
;down.velocity=0,0
;guard.velocity=0
;airguard.velocity=0,0
yaccel=0.35
envshake.time=0
fall.envshake.time=0
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
;sprpriority=1
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=1



;僗僥乕僩斣崋曐懚曄悢僙僢僩丅
[state ]
type=varset
triggerall=animtime=-1
trigger1=1||var(50):=11*(statetype=c||statetype=l)+50*(statetype=a)
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1