[begin action 4100]
6310,0,0,0,2
6310,1,0,0,2
6310,2,0,0,2
6310,3,0,0,2
6310,4,0,0,2
6310,5,0,0,4
6310,6,0,0,4
6310,7,0,0,4
6310,8,0,0,3
6310,9,0,0,3
6310,10,0,0,3
6310,11,0,0,2
6310,12,0,0,2
4100,0,0,0,2
4100,1,0,0,5
4100,2,0,0,120
4100,1,0,0,4
4100,0,0,0,4
4100,3,0,0,4
4100,4,0,0,4
4100,5,0,0,4
4100,6,0,0,7
4100,7,0,0,300
4100,8,0,0,7
4100,9,0,0,7
4100,10,0,0,7
4100,11,0,0,7

[begin action 4200]
6310,0,0,0,2
6310,1,0,0,2
6310,2,0,0,2
6310,3,0,0,2
6310,4,0,0,2
6310,5,0,0,4
6310,6,0,0,4
6310,7,0,0,4
6310,8,0,0,3
6310,9,0,0,3
6310,10,0,0,3
6310,11,0,0,2
6310,12,0,0,2
0,0,0,0,4
115,0,0,0,4
115,1,0,0,4
115,2,0,0,4
115,3,0,0,4
115,4,0,0,4
115,5,0,0,4
115,4,0,0,3
-1,0,0,0,249
20,0,0,0,7
20,1,0,0,7
20,2,0,0,7
20,3,0,0,7
20,4,0,0,7
20,5,0,0,7
20,6,0,0,7
20,7,0,0,7
20,0,0,0,7
20,1,0,0,7




;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖Fz丅

[statedef 4100]
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=sprpriority
trigger1=1
value=101
ignorehitpause=1



;挻昁墘弌丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s4000,0
freqmul=0.8
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s4000,1
freqmul=0.8
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=[0,32]
value=s4000,0
freqmul=0.1+0.9*sin((pi/2/33)*animelemtime(1))
volume=255
channel=23
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=[0,32]
value=s4000,1
freqmul=0.1+0.9*sin((pi/2/33)*animelemtime(1))
volume=255
channel=24
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=32
id=0
anim=14000
trans=addalpha
alpha=floor(256*sin((pi/2/13)*(animelemtime(1)-20))),0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=33&&animelemtime(1)<=59
id=0
anim=14000
trans=addalpha
alpha=floor(256*cos((pi/2/27)*(animelemtime(1)-33))),floor(256*sin((pi/2/27)*(animelemtime(1)-33)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
time=2
freq=180
ampl=floor((240-240*sin((pi/2/10)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14130
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-6
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=poweradd
trigger1=animelemtime(1)=0
value=-3000
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=33
value=s4100,0
freqmul=0.6
volume=255
channel=25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=33
value=s4100,0
freqmul=0.6
volume=255
channel=26
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=0
value=s2000,0
freqmul=1.0
volume=255
channel=27
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=0
value=s2000,1
freqmul=1.0
volume=255
channel=28
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=0
value=s2100,0
freqmul=1.0
volume=255
channel=29
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=0
value=s2100,0
freqmul=1.0
volume=255
channel=30
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[20,79]
value=s4000,0
freqmul=0.3+1.2*cos((pi/2/60)*(animelemtime(23)-20))
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[20,79]
value=s4000,1
freqmul=0.3+1.2*cos((pi/2/60)*(animelemtime(23)-20))
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=80
value=s4100,1
freqmul=0.4
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=80
value=s4100,2
freqmul=1.0
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=80
value=s4100,0
freqmul=0.75
volume=255
channel=23
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=80
value=s4100,0
freqmul=0.75
volume=255
channel=24
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[85,279]
trigger1=animelemtime(23)%5=0
value=s6300,2
freqmul=1.0
volume=255
channel=25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[85,279]
trigger1=animelemtime(23)%5=0
value=s4100,2
freqmul=1.0
volume=255
channel=26
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[85,279]
trigger1=animelemtime(23)%5=0
value=s4100,3
freqmul=0.6
volume=255
channel=27
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(23)=[85,279]
trigger1=animelemtime(23)%5=0
value=s4100,3
freqmul=0.4
volume=255
channel=28
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=33&&animelemtime(1)<=59
id=0
anim=14000
trans=addalpha
alpha=0,floor(128+128*cos((pi/2/27)*(animelemtime(1)-33)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=60&&animelemtime(23)<=239
id=0
anim=14000
trans=addalpha
alpha=0,128
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)>=240&&animelemtime(23)<=299
id=0
anim=14000
trans=addalpha
alpha=0,floor(128*cos((pi/2/60)*(animelemtime(23)-240)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)>=300&&animelemtime(23)<=319
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*(animelemtime(23)-300)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(23)=[0,79]
trigger1=animelemtime(23)%floor(2+5*cos((pi/2/80)*animelemtime(23)))=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=[85,279]
trigger1=animelemtime(23)%5=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(15)=[-3,0]
trigger1=(animelemtime(15)+3)%2=0
trigger2=animelemtime(15)=[2,4]
trigger3=animelemtime(23)=[-3,-1]
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=2147483647
ontop=1
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=bgpalfx
trigger1=animelemtime(1)>=33&&animelemtime(23)<=299
add=floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33))),floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33))),floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33)))
invertall=1
time=2
ignorehitpause=1

[state ]
type=envshake
trigger1=animelemtime(16)>=0&&animelemtime(23)<=-1
time=2
freq=180
ampl=floor(5*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(23)>=0&&animelemtime(23)<=19
time=2
freq=180
ampl=floor((45-42*sin((pi/2/20)*animelemtime(23)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(23)>=20&&animelemtime(23)<=79
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(23)>=80&&animelemtime(23)<=89
time=2
freq=180
ampl=floor((120-110*sin((pi/2/10)*(animelemtime(23)-80)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(23)>=90&&animelemtime(23)<=279
time=2
freq=180
ampl=floor(10*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(23)>=280&&animelemtime(23)<=319
time=2
freq=180
ampl=floor((15-15*sin((pi/2/40)*(animelemtime(23)-280)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(23)<=299
flag=nobardisplay
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(16)=0
id=var(50)
anim=10170
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-9
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=16*7
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(16)=0
id=var(50)
anim=10180
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-8
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=16*7
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(16)=16*7
id=var(50)
anim=10171
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-9
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(16)=16*7
id=var(50)
anim=10181
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-8
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(23)=-5
id=var(50)
anim=10190
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=102
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=-5
id=var(50)
anim=10200
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=103
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(23)=15
id=var(50)
anim=10191
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=102
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=30*9
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=15
id=var(50)
anim=10201
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=103
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=30*9
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(23)=15+30*9
id=var(50)
anim=10192
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=102
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=15+30*9
id=var(50)
anim=10202
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=103
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=15,-120
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(23)=80
id=var(50)
anim=10210
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-7
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=floor(enemynear,screenpos x),240
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=80
id=var(50)
anim=10220
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-6
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=floor(enemynear,screenpos x),240
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(23)=80
id=var(50)
anim=10220
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=100
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=floor(enemynear,screenpos x),240
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=animelemtime(23)=[80,279]
trigger1=animelemtime(23)%5=0
projid=var(50)
projanim=40310
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(facing*enemynear,screenpos x),floor(pos y-screenpos y+240)
postype=left
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=5
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
id=var(50)
chainid=-1
nochainid=-1
attr=s,ha
hitflag=hlafdp
guardflag=
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=12,1
fall.damage=0
getpower=0,0
givepower=0,10
kill=1
guard.kill=1
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,3
guard.pausetime=0,3
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=1
ground.velocity=0,-2
air.velocity=0,-2
;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=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=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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖Bz丅

[statedef 4200]
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=s4000,0
freqmul=0.8
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s4000,1
freqmul=0.8
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=[0,32]
value=s4000,0
freqmul=0.1+0.9*sin((pi/2/33)*animelemtime(1))
volume=255
channel=23
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=[0,32]
value=s4000,1
freqmul=0.1+0.9*sin((pi/2/33)*animelemtime(1))
volume=255
channel=24
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=32
id=0
anim=14000
trans=addalpha
alpha=floor(256*sin((pi/2/13)*(animelemtime(1)-20))),0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=33&&animelemtime(1)<=59
id=0
anim=14000
trans=addalpha
alpha=floor(256*cos((pi/2/27)*(animelemtime(1)-33))),floor(256*sin((pi/2/27)*(animelemtime(1)-33)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
time=2
freq=180
ampl=floor((240-240*sin((pi/2/10)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14130
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-6
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=poweradd
trigger1=animelemtime(1)=0
value=-2000
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(15)=0
value=s40,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1

[state ]
type=playsnd
trigger1=animelemtime(22)=[0,199]
trigger1=animelemtime(22)%10=0
value=s4200,0
freqmul=1.0+0.2*cos(random)
volume=255
channel=25+floor((animelemtime(22)%20)/10)
ignorehitpause=1

[state ]
type=playsnd
trigger1=(animelemtime(22)-39)=[0,199]
trigger1=(animelemtime(22)-39)%10=0
value=s4100,2
freqmul=1.0+0.2*cos(var(59)**2)
volume=255
channel=27+floor(((animelemtime(22)-39)%20)/10)
ignorehitpause=1
[state ]
type=playsnd
trigger1=(animelemtime(22)-39)=[0,199]
trigger1=(animelemtime(22)-39)%10=0
value=s4100,2
freqmul=1.0+0.2*cos(var(59)**2)
volume=255
channel=29+floor(((animelemtime(22)-39)%20)/10)
ignorehitpause=1
[state ]
type=playsnd
trigger1=(animelemtime(22)-39)=[0,199]
trigger1=(animelemtime(22)-39)%10=0
value=s4200,1
freqmul=1.0+0.2*cos(var(59))
volume=255
channel=21
ignorehitpause=1

[state ]
type=playsnd
trigger1=(animelemtime(22)-39)=190
value=s4200,2
freqmul=0.9
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=(animelemtime(22)-39)=190
value=s4200,2
freqmul=0.9
volume=255
channel=23
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=33&&animelemtime(1)<=59
id=0
anim=14000
trans=addalpha
alpha=0,floor(128+128*cos((pi/2/27)*(animelemtime(1)-33)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=60&&(animelemtime(22)-39)<=199
id=0
anim=14000
trans=addalpha
alpha=0,128
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=(animelemtime(22)-39)>=200&&(animelemtime(22)-39)<=259
id=0
anim=14000
trans=addalpha
alpha=0,floor(128*cos((pi/2/60)*(animelemtime(22)-39-200)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=(animelemtime(22)-39)>=260&&(animelemtime(22)-39)<=279
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*(animelemtime(22)-39-260)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=(animelemtime(22)-39)=[0,199]
trigger1=(animelemtime(22)-39)%10=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=2147483647
ontop=1
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=bgpalfx
trigger1=animelemtime(1)>=33&&(animelemtime(22)-39)<=259
add=floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33))),floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33))),floor(-100+100*sin((2*pi/60)*(animelemtime(1)-33)))
invertall=1
time=2
ignorehitpause=1

[state ]
type=envshake
trigger1=(animelemtime(22)-39)=[0,189]
time=2
freq=180
ampl=floor(10*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=(animelemtime(22)-39)=[190,249]
time=2
freq=180
ampl=floor((20-20*sin((pi/2/60)*(animelemtime(22)-39-190)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&(animelemtime(22)-39)<=259
flag=nobardisplay
ignorehitpause=1

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



;嵗昗愝掕丅
[state ]
type=velset
trigger1=animelemtime(15)=[0,26]
x=-18
ignorehitpause=1
[state ]
type=posset
trigger1=animelemtime(15)>=27&&animelemtime(23)<=-1
x=-facing*280
ignorehitpause=1
[state ]
type=posset
trigger1=animelemtime(23)>=0&&animtime<=-1
x=-facing*(280-3*animelemtime(23))
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(22)=[0,199]
trigger1=animelemtime(22)%10=0
id=var(50)
anim=10150
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=6
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=-117*facing+(var(59)%320),floor(-301+screenpos y+pos y-20+((var(59)**2)%41))
postype=left
random=0,0
bindtime=1
vel=facing*9*0.3333,9
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(22)=[0,199]
trigger1=animelemtime(22)%10=0
id=var(50)
anim=10151
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5*0.5,0.5*0.5
shadow=0,0,0
sprpriority=7
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=-117*facing+(var(59)%320),floor(-301+screenpos y+pos y-20+((var(59)**2)%41))
postype=left
random=0,0
bindtime=1
vel=facing*9*0.3333,9
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(22)=[0,199]
trigger1=animelemtime(22)%10=0
id=var(50)
anim=10164
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=8
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=var(59)%320,floor(screenpos y+pos y-20+((var(59)**2)%41))
postype=left
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(22)=[0,199]
trigger1=animelemtime(22)%10=0
id=var(50)
anim=10165
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=0.5*0.8,0.5*0.8
shadow=0,0,0
sprpriority=9
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
removetime=-2
removeongethit=0
pos=var(59)%320,floor(screenpos y+pos y-20+((var(59)**2)%41))
postype=left
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=animelemtime(22)=[0,199]
trigger1=animelemtime(22)%10=0
projid=var(50)
projanim=40320
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=facing*(var(59)%320),floor(-20+((var(59)**2)%41))
postype=left
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=44+10
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(52)
supermovetime=2147483647*var(52)
id=var(50)
chainid=-1
nochainid=-1
attr=s,ha
hitflag=hlafdp
guardflag=hla
affectteam=b
priority=2147483647,h
hitonce=0
numhits=1
damage=40,4
fall.damage=0
getpower=0,0
givepower=0,10
kill=1
guard.kill=1
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,3
guard.pausetime=0,3
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=1
ground.velocity=0,-2
air.velocity=0,-2
;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
