;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥
;劔侕僊乕儊儖儌乕僪丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖捠忢懪寕丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖棫偪A楢1~4抜栚丅
;劔侖棫偪6A寭棫偪A楢5抜栚丅
;劔侖孅傒A寭棫偪A楢1抜栚丅
;劔侖嬻拞A楢1~3抜栚丅

[statedef 7200]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7210]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7220]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7230]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7240]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7400]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7600]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7610]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1
[statedef 7620]
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=changestate
trigger1=1
value=12000
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖捠忢幩寕丅

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

[statedef 7300]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;儖乕僾張棟丅
[state ]
type=changestate
triggerall=var(50)=stateno
triggerall=1||var(20):=0
trigger1=animelemtime(1)=0
value=7301
persistent=256
ignorehitpause=1
[state ]
type=null
triggerall=var(50)!=stateno
trigger1=1||var(50):=stateno
ignorehitpause=1



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



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s3100,0
freqmul=1.25
volume=255
channel=11
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=13015
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
shadow=0,0,0
sprpriority=22
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=40,-55
postype=p1
random=0,0
bindtime=1
vel=3*cos(var(58)),3*sin(var(58))
accel=-0.3,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=var(50)
anim=13030
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
shadow=0,0,0
sprpriority=23
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=40,-55
postype=p1
random=0,0
bindtime=1
vel=3*cos(var(58)),3*sin(var(58))
accel=-0.2,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

[statedef 7301]
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=null
trigger1=var(20)=0
trigger1=1||fvar(0):=const(size.mid.pos.x)+120
trigger1=1||fvar(1):=const(size.mid.pos.y)
trigger2=var(20)=1||var(20)=2||var(20)=3
trigger2=1||fvar(0):=const(size.mid.pos.x)+120+80*cos(pi*(15+120*(var(20)-1))/180)
trigger2=1||fvar(1):=const(size.mid.pos.y)+80*sin(pi*(15+120*(var(20)-1))/180)
ignorehitpause=1



;媽栺僟償傿僨偺惎丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=10110+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
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(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10120+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
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(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10130+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-90
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10140+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8*0.8,(2-var(57))*0.5*0.8*0.8
shadow=0,0,0
sprpriority=24
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=1
projid=var(50)
projanim=40150+var(20)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(fvar(0)),floor(fvar(1))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=35+8+5*var(20)
projhits=1
projmisstime=1
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=
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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=changestate
triggerall=1||var(50):=stateno
trigger1=1||var(20):=var(20)+1
value=ifelse((var(20)=[1,4-1]),stateno,7300)
persistent=256
ignorehitpause=1


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

[statedef 7310]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;儖乕僾張棟丅
[state ]
type=changestate
triggerall=var(50)=stateno
triggerall=1||var(20):=0
triggerall=1||fvar(0):=15||fvar(1):=-120
triggerall=1||fvar(2):=-facing*pos x-160+160||fvar(3):=-screenpos y+30
triggerall=1||fvar(4):=-facing*pos x-160+10||fvar(5):=-pos y
triggerall=1||fvar(6):=-30||fvar(7):=0
triggerall=1||fvar(8):=-facing*pos x-160+160||fvar(9):=-screenpos y+30
triggerall=1||fvar(10):=-facing*pos x-160+10+120||fvar(11):=-pos y
triggerall=1||fvar(12):=30||fvar(13):=0
triggerall=1||fvar(14):=-facing*pos x-160+160||fvar(15):=-screenpos y+30
triggerall=1||fvar(16):=-facing*pos x-160+10+240||fvar(17):=-pos y
trigger1=animelemtime(1)=0
value=7311
persistent=256
ignorehitpause=1
[state ]
type=null
triggerall=var(50)!=stateno
trigger1=1||var(50):=stateno
ignorehitpause=1



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



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



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0+4&&animelemtime(1)<=0+5
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
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
id=var(50)
anim=14120
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-79
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=14121
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=-78
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=10193
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-71
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=10203
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=43
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=42
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+120),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10063
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=42
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+120),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10064
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+240),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10065
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=42
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+240),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=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

[statedef 7311]
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=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*var(20)*var(20)*((4*fvar(0)-8*fvar(2)+4*fvar(4))/(60*60))+var(20)*((-3*fvar(0)+4*fvar(2)-fvar(4))/60)+fvar(0)
trigger1=1||fvar(19):=0.5*var(20)*var(20)*((4*fvar(1)-8*fvar(3)+4*fvar(5))/(60*60))+var(20)*((-3*fvar(1)+4*fvar(3)-fvar(5))/60)+fvar(1)
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(6)-8*fvar(8)+4*fvar(10))/(70*70))+(var(20)-10)*((-3*fvar(6)+4*fvar(8)-fvar(10))/70)+fvar(6)
trigger1=1||fvar(19):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(7)-8*fvar(9)+4*fvar(11))/(70*70))+(var(20)-10)*((-3*fvar(7)+4*fvar(9)-fvar(11))/70)+fvar(7)
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(12)-8*fvar(14)+4*fvar(16))/(80*80))+(var(20)-20)*((-3*fvar(12)+4*fvar(14)-fvar(16))/80)+fvar(12)
trigger1=1||fvar(19):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(13)-8*fvar(15)+4*fvar(17))/(80*80))+(var(20)-20)*((-3*fvar(13)+4*fvar(15)-fvar(17))/80)+fvar(13)
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=s,np
hitflag=hlafdp
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
triggerall=var(20)=[0,2]
trigger1=1
projid=var(50)
projanim=40160+var(20)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=(var(20)=0)*floor(fvar(4))+(var(20)=1)*floor(fvar(10))+(var(20)=2)*floor(fvar(16)),(var(20)=0)*floor(fvar(5))+(var(20)=1)*floor(fvar(11))+(var(20)=2)*floor(fvar(17))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20+(var(20)=0)*60+(var(20)=1)*80+(var(20)=2)*100
projhits=1
projmisstime=1
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=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,5
guard.pausetime=0,5
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=-4,-4
air.velocity=-4,-4
;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=changestate
triggerall=1||var(50):=stateno
trigger1=1||var(20):=var(20)+1
value=ifelse((var(20)=[1,100-1]),stateno,7310)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖孅傒B丅

[statedef 7500]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;儖乕僾張棟丅
[state ]
type=changestate
triggerall=var(50)=stateno
triggerall=1||var(20):=0
trigger1=animelemtime(1)=0
value=7501
persistent=256
ignorehitpause=1
[state ]
type=null
triggerall=var(50)!=stateno
trigger1=1||var(50):=stateno
ignorehitpause=1



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



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s3100,0
freqmul=1.25
volume=255
channel=11
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=13060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
shadow=0,0,0
sprpriority=22
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-15,-15
postype=p1
random=0,0
bindtime=1
vel=3*cos(var(58)),3*sin(var(58))
accel=0.3*cos(-75*pi/180),0.3*sin(-75*pi/180)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=var(50)
anim=13045
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
shadow=0,0,0
sprpriority=23
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-15,-15
postype=p1
random=0,0
bindtime=1
vel=3*cos(var(58)),3*sin(var(58))
accel=0.2*cos(-75*pi/180),0.2*sin(-75*pi/180)
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

[statedef 7501]
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=null
trigger1=var(20)=0
trigger1=1||fvar(0):=70||fvar(1):=0
trigger2=var(20)=1
trigger2=1||fvar(0):=70||fvar(1):=-160
trigger3=var(20)=2
trigger3=1||fvar(0):=150||fvar(1):=-120
trigger4=var(20)=3
trigger4=1||fvar(0):=150||fvar(1):=-40
ignorehitpause=1



;媽栺僟償傿僨偺惎丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=10115+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
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(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10125+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
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(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10135+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-90
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=1
id=var(50)
anim=10145+var(20)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8*0.8,(2-var(57))*0.5*0.8*0.8
shadow=0,0,0
sprpriority=24
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=1
projid=var(50)
projanim=40150+var(20)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(fvar(0)),floor(fvar(1))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=35+8+5*var(20)
projhits=1
projmisstime=1
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=c,np
hitflag=hlafdp
guardflag=
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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=changestate
triggerall=1||var(50):=stateno
trigger1=1||var(20):=var(20)+1
value=ifelse((var(20)=[1,4-1]),stateno,7500)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖孅傒C丅

[statedef 7510]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;儖乕僾張棟丅
[state ]
type=changestate
triggerall=var(50)=stateno
triggerall=1||var(20):=0
triggerall=1||fvar(0):=0||fvar(1):=-120
triggerall=1||fvar(2):=-facing*pos x-160+160||fvar(3):=-screenpos y+30
triggerall=1||fvar(4):=-facing*pos x-160+10+60||fvar(5):=-pos y
triggerall=1||fvar(6):=30||fvar(7):=-60
triggerall=1||fvar(8):=-facing*pos x-160+160||fvar(9):=-screenpos y+30
triggerall=1||fvar(10):=-facing*pos x-160+10+180||fvar(11):=-pos y
triggerall=1||fvar(12):=60||fvar(13):=0
triggerall=1||fvar(14):=-facing*pos x-160+160||fvar(15):=-screenpos y+30
triggerall=1||fvar(16):=-facing*pos x-160+10+300||fvar(17):=-pos y
trigger1=animelemtime(5-1)=0
value=7511
persistent=256
ignorehitpause=1
[state ]
type=null
triggerall=var(50)!=stateno
trigger1=1||var(50):=stateno
ignorehitpause=1



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



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



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(5)>=0&&animelemtime(5)<=1
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(5-1)>=0&&animelemtime(5-1)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(5-1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
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(5-1)=0
id=var(50)
anim=14120
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-69
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,-120
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=14121
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=-68
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,-120
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;寱寔丅
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10013
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=120
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-40,-150
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10043
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=121
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-40,-150
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;枲仌媽栺僟償傿僨偺惎丅
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110140
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=52
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110141
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=53
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10070
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-61
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10080
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10090
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=56
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10100
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=54
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10105
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.7,(2-var(57))*0.5*0.7
shadow=0,0,0
sprpriority=55
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+60),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110142
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=52
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110143
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=53
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10071
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-61
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10081
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10091
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=56
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10101
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=54
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10106
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.7,(2-var(57))*0.5*0.7
shadow=0,0,0
sprpriority=55
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+180),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110144
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=52
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=110145
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=53
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10072
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-61
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10082
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10092
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=56
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10102
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=54
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(5-1)=0
id=var(50)
anim=10107
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.7,(2-var(57))*0.5*0.7
shadow=0,0,0
sprpriority=55
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+300),-40
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=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

[statedef 7511]
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=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*var(20)*var(20)*((4*fvar(0)-8*fvar(2)+4*fvar(4))/(60*60))+var(20)*((-3*fvar(0)+4*fvar(2)-fvar(4))/60)+fvar(0)
trigger1=1||fvar(19):=0.5*var(20)*var(20)*((4*fvar(1)-8*fvar(3)+4*fvar(5))/(60*60))+var(20)*((-3*fvar(1)+4*fvar(3)-fvar(5))/60)+fvar(1)
projid=var(50)
projanim=40000
projremanim=13147
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=50
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13102
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=51
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(6)-8*fvar(8)+4*fvar(10))/(70*70))+(var(20)-10)*((-3*fvar(6)+4*fvar(8)-fvar(10))/70)+fvar(6)
trigger1=1||fvar(19):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(7)-8*fvar(9)+4*fvar(11))/(70*70))+(var(20)-10)*((-3*fvar(7)+4*fvar(9)-fvar(11))/70)+fvar(7)
projid=var(50)
projanim=40000
projremanim=13147
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=50
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13102
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=51
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(12)-8*fvar(14)+4*fvar(16))/(80*80))+(var(20)-20)*((-3*fvar(12)+4*fvar(14)-fvar(16))/80)+fvar(12)
trigger1=1||fvar(19):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(13)-8*fvar(15)+4*fvar(17))/(80*80))+(var(20)-20)*((-3*fvar(13)+4*fvar(15)-fvar(17))/80)+fvar(13)
projid=var(50)
projanim=40000
projremanim=13147
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=50
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13102
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=51
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=c,np
hitflag=hlafdp
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
triggerall=var(20)=[0,5]
trigger1=1
projid=var(50)
projanim=40170+(var(20)<=2)*var(20)+(var(20)>=3)*(10+var(20)-3)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=(var(20)%3=0)*floor(fvar(4))+(var(20)%3=1)*floor(fvar(10))+(var(20)%3=2)*floor(fvar(16)),(var(20)%3=0)*floor(fvar(5))+(var(20)%3=1)*floor(fvar(11))+(var(20)%3=2)*floor(fvar(17))-40*(var(20)>=3)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=10+(var(20)=0)*70+(var(20)=1)*80+(var(20)=2)*90+(var(20)=3)*250+(var(20)=4)*270+(var(20)=5)*290
projhits=1
projmisstime=1
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=c,np
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,5
guard.pausetime=0,5
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=(var(20)>=3)
air.fall=(var(20)>=3)
ground.velocity=-4,-4
air.velocity=-4,-4
;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=changestate
triggerall=1||var(50):=stateno
trigger1=1||var(20):=var(20)+1
value=ifelse((var(20)=[1,100-1]),stateno,7510)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖嬻拞B丅

[statedef 7700]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=a
ignorehitpause=1
[state ]
type=sprpriority
trigger1=1
value=32
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)%14=0
value=s1000,0
freqmul=0.7
volume=0
channel=11
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)%14=0
value=s3100,1
freqmul=1.0
volume=255
channel=12
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)%14=7
value=s3100,1
freqmul=1.0
volume=255
channel=13
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)%14=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=29
time=2
freq=180
ampl=floor(5*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=30&&animelemtime(1)<=44
time=2
freq=180
ampl=floor((5-5*sin((pi/2/15)*(animelemtime(1)-30)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=statetypeset
triggerall=pos y>=-1
trigger1=1
statetype=s
ignorehitpause=1
[state ]
type=velset
triggerall=statetype=a
trigger1=animelemtime(1)=0
x=0.2*vel x+0.8-1.6*var(1)
y=0.2*vel y-0.8+1.6*var(3)
ignorehitpause=1
[state ]
type=velset
triggerall=statetype=s
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=statetype=s
trigger1=1
y=-1
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
ignorehitpause=1



;媽栺僟償傿僨偺惎丅
[state ]
type=explod
trigger1=animelemtime(1)%14=0
id=var(50)
anim=10134
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-81
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(const(size.mid.pos.x)+80*cos(var(58)**2)*cos(var(58))),floor(const(size.mid.pos.y)+80*cos(var(58)**2)*sin(var(58)))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)%14=0
id=var(50)
anim=10144
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8*0.8,(2-var(57))*0.5*0.8*0.8
shadow=0,0,0
sprpriority=30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(const(size.mid.pos.x)+80*cos(var(58)**2)*cos(var(58))),floor(const(size.mid.pos.y)+80*cos(var(58)**2)*sin(var(58)))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)%14=7
id=var(50)
anim=10139
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-80
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(const(size.mid.pos.x)+80*cos(var(58)**2)*cos(var(58))),floor(const(size.mid.pos.y)+80*cos(var(58)**2)*sin(var(58)))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)%14=7
id=var(50)
anim=10149
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8*0.8,(2-var(57))*0.5*0.8*0.8
shadow=0,0,0
sprpriority=31
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(const(size.mid.pos.x)+80*cos(var(58)**2)*cos(var(58))),floor(const(size.mid.pos.y)+80*cos(var(58)**2)*sin(var(58)))
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
trigger1=animelemtime(1)%7=0
projid=var(50)
projanim=40190
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(const(size.mid.pos.x)+80*cos(var(58)**2)*cos(var(58))),floor(const(size.mid.pos.y)+80*cos(var(58)**2)*sin(var(58)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
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=a,np
hitflag=hlafdp
guardflag=
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=10,1
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖嬻拞C丅

[statedef 7710]
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
triggerall=var(50)=stateno
trigger1=anim!=var(50)
value=var(50)
ignorehitpause=1



;儖乕僾張棟丅
[state ]
type=changestate
triggerall=var(50)=stateno
triggerall=1||var(20):=0
triggerall=1||fvar(0):=const(size.mid.pos.x)||fvar(1):=const(size.mid.pos.y)
triggerall=1||fvar(2):=const(size.mid.pos.x)+100*cos(0*pi/180)||fvar(3):=const(size.mid.pos.y)+100*sin(0*pi/180)
triggerall=1||fvar(4):=-facing*pos x-160+10||fvar(5):=-pos y
triggerall=1||fvar(6):=const(size.mid.pos.x)||fvar(7):=const(size.mid.pos.y)
triggerall=1||fvar(8):=const(size.mid.pos.x)+100*cos(300*pi/180)||fvar(9):=const(size.mid.pos.y)+100*sin(300*pi/180)
triggerall=1||fvar(10):=-facing*pos x-160+10+120||fvar(11):=-pos y
triggerall=1||fvar(12):=const(size.mid.pos.x)||fvar(13):=const(size.mid.pos.y)
triggerall=1||fvar(14):=const(size.mid.pos.x)+100*cos(240*pi/180)||fvar(15):=const(size.mid.pos.y)+100*sin(240*pi/180)
triggerall=1||fvar(16):=-facing*pos x-160+10+240||fvar(17):=-pos y
trigger1=animelemtime(1)=0
value=7711
persistent=256
ignorehitpause=1
[state ]
type=null
triggerall=var(50)!=stateno
trigger1=1||var(50):=stateno
ignorehitpause=1



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



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



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0+4&&animelemtime(1)<=0+5
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=statetypeset
triggerall=pos y>=-1
trigger1=1
statetype=s
ignorehitpause=1
[state ]
type=velset
triggerall=statetype=a
trigger1=animelemtime(1)=0
x=0.2*vel x+0.8-1.6*var(1)
y=0.2*vel y-0.8+1.6*var(3)
ignorehitpause=1
[state ]
type=velset
triggerall=statetype=s
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=statetype=s
trigger1=1
y=-1
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
ignorehitpause=1



;挻昁僄僼僃僋僩丅
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14120
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.8,(2-var(57))*0.5*0.8
shadow=0,0,0
sprpriority=-79
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
trigger1=animelemtime(1)=0
id=var(50)
anim=14121
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.4,(2-var(57))*0.5*0.4
shadow=0,0,0
sprpriority=-78
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
trigger1=animelemtime(1)=0
id=var(50)
anim=110060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=110061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=43
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=110062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+120),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=110063
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=43
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+120),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=110064
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-70
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+240),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=110065
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.6,(2-var(57))*0.5*0.6
shadow=0,0,0
sprpriority=43
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(-facing*pos x-160+10+240),floor(-pos y)
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=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

[statedef 7711]
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=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*var(20)*var(20)*((4*fvar(0)-8*fvar(2)+4*fvar(4))/(60*60))+var(20)*((-3*fvar(0)+4*fvar(2)-fvar(4))/60)+fvar(0)
trigger1=1||fvar(19):=0.5*var(20)*var(20)*((4*fvar(1)-8*fvar(3)+4*fvar(5))/(60*60))+var(20)*((-3*fvar(1)+4*fvar(3)-fvar(5))/60)+fvar(1)
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[0,59]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(6)-8*fvar(8)+4*fvar(10))/(70*70))+(var(20)-10)*((-3*fvar(6)+4*fvar(8)-fvar(10))/70)+fvar(6)
trigger1=1||fvar(19):=0.5*(var(20)-10)*(var(20)-10)*((4*fvar(7)-8*fvar(9)+4*fvar(11))/(70*70))+(var(20)-10)*((-3*fvar(7)+4*fvar(9)-fvar(11))/70)+fvar(7)
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[10,79]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1

[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1||fvar(18):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(12)-8*fvar(14)+4*fvar(16))/(80*80))+(var(20)-20)*((-3*fvar(12)+4*fvar(14)-fvar(16))/80)+fvar(12)
trigger1=1||fvar(19):=0.5*(var(20)-20)*(var(20)-20)*((4*fvar(13)-8*fvar(15)+4*fvar(17))/(80*80))+(var(20)-20)*((-3*fvar(13)+4*fvar(15)-fvar(17))/80)+fvar(13)
projid=var(50)
projanim=40000
projremanim=13122
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
projsprpriority=40
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1
[state ]
type=projectile
triggerall=var(20)=[20,99]
triggerall=var(20)%2=0
trigger1=1
projid=var(50)
projanim=40000
projremanim=13127
projhitanim=-1
projcancelanim=-1
projscale=(2-var(57))*0.5*0.3,(2-var(57))*0.5*0.3
projsprpriority=41
projshadow=0,0,0
offset=floor(fvar(18)),floor(fvar(19))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=0
projremovetime=var(20)
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
attr=a,np
hitflag=hlafdp
ignorehitpause=1



;峌寕杮懱丅
[state ]
type=projectile
triggerall=var(20)=[0,2]
trigger1=1
projid=var(50)
projanim=40160+var(20)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=(var(20)=0)*floor(fvar(4))+(var(20)=1)*floor(fvar(10))+(var(20)=2)*floor(fvar(16)),(var(20)=0)*floor(fvar(5))+(var(20)=1)*floor(fvar(11))+(var(20)=2)*floor(fvar(17))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20+(var(20)=0)*60+(var(20)=1)*80+(var(20)=2)*100
projhits=1
projmisstime=1
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=a,np
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,5
guard.pausetime=0,5
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=-4,-4
air.velocity=-4,-4
;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=changestate
triggerall=1||var(50):=stateno
trigger1=1||var(20):=var(20)+1
value=ifelse((var(20)=[1,100-1]),stateno,7710)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖昁嶦媄丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖236幩丅
;劔侖623幩丅

[statedef 8000]
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=changestate
trigger1=1
value=12100
persistent=256
ignorehitpause=1
[statedef 8001]
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=changestate
trigger1=1
value=12100
persistent=256
ignorehitpause=1
[statedef 8100]
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=changestate
trigger1=1
value=12100
persistent=256
ignorehitpause=1
[statedef 8101]
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=changestate
trigger1=1
value=12100
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖214幩丅
;劔侖22幩丅

[statedef 8200]
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=changestate
trigger1=1
value=12200
persistent=256
ignorehitpause=1
[statedef 8201]
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=changestate
trigger1=1
value=12200
persistent=256
ignorehitpause=1
[statedef 8300]
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=changestate
trigger1=1
value=12200
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖挻昁嶦媄丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖z丅

[statedef 7100]
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=s3000,0
freqmul=1.0
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,0
freqmul=0.8
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,1
freqmul=1.0
volume=255
channel=23
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*animelemtime(1)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=400
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=4
time=2
freq=180
ampl=floor(40*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=5&&animelemtime(1)<=79
time=2
freq=180
ampl=floor((7-7*sin((pi/2/80)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14140
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=401
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,2
freqmul=0.8
volume=255
channel=24
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,2
freqmul=0.6
volume=255
channel=25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
trigger2=animelemtime(1)=10
trigger3=animelemtime(1)=20
trigger4=animelemtime(1)=30
value=s8000,2
freqmul=1.3
volume=128
channel=26
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
trigger2=animelemtime(1)=10
trigger3=animelemtime(1)=20
trigger4=animelemtime(1)=30
value=s4200,1
freqmul=1.5
volume=255
channel=27
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=60
value=s7240,0
freqmul=1.0
volume=255
channel=28
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=90
value=s7100,3
freqmul=1.3
volume=255
channel=29
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=90
value=s7100,4
freqmul=1.2
volume=255
channel=30
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=90
value=s7100,4
freqmul=1.0
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=90
value=s7100,4
freqmul=0.8
volume=255
channel=22
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=299
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(54)
supermovetime=2147483647*var(54)
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)>=80&&animelemtime(1)<=89
id=0
anim=14000
trans=addalpha
alpha=floor(256*sin((pi/2/10)*(animelemtime(1)-80))),floor(256*cos((pi/2/10)*(animelemtime(1)-80)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=62
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=240&&animelemtime(1)<=299
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*cos((pi/2/60)*(animelemtime(1)-240)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=402
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=300&&animelemtime(1)<=339
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/40)*(animelemtime(1)-300)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=402
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=90&&animelemtime(1)<=299
time=2
freq=180
ampl=floor(6*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=300&&animelemtime(1)<=339
time=2
freq=180
ampl=floor((6-6*sin((pi/2/40)*(animelemtime(1)-300)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

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



;價僕儏傾儖僙僢僩丅
[state ]
type=trans
trigger1=animelemtime(1)>=30&&animelemtime(1)<=49
trans=addalpha
alpha=floor(256*cos((pi/2/20)*(animelemtime(1)-30))),floor(256*sin((pi/2/20)*(animelemtime(1)-30)))
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(1)=10
id=var(50)
anim=10193
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=10
id=var(50)
anim=10203
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=300
id=var(50)
anim=10194
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=300
id=var(50)
anim=10204
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=15000
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1.0,1.0
shadow=0,0,0
sprpriority=-31
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=90
id=var(50)
anim=15001
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1.0,1.0
shadow=0,0,0
sprpriority=61
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=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=projectile
trigger1=animelemtime(1)>=90&&animelemtime(1)<=299
trigger1=animelemtime(1)%5=0
projid=var(50)
projanim=40030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=0,0
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
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,hp
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=12,0
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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


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

[statedef 9100]
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=s3000,0
freqmul=1.0
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,0
freqmul=0.8
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,1
freqmul=1.0
volume=255
channel=23
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*animelemtime(1)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=400
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=4
time=2
freq=180
ampl=floor(40*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=5&&animelemtime(1)<=79
time=2
freq=180
ampl=floor((7-7*sin((pi/2/80)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14140
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=401
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s9100,0
freqmul=1.5
volume=255
channel=24
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s9100,1
freqmul=1.0
volume=255
channel=25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
trigger2=animelemtime(1)=80
trigger3=animelemtime(1)=160
trigger4=animelemtime(1)=240
value=s3100,0
freqmul=1.2
volume=255
channel=26
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
trigger2=animelemtime(1)=80
trigger3=animelemtime(1)=160
trigger4=animelemtime(1)=240
value=s9100,2
freqmul=1.3
volume=255
channel=27
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=160
value=s9100,3
freqmul=0.7
volume=255
channel=28
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=160
value=s7100,0
freqmul=0.8
volume=255
channel=29
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=240
value=s9100,3
freqmul=0.6
volume=255
channel=28
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=240
value=s7100,0
freqmul=0.8
volume=255
channel=29
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=240
value=s7100,0
freqmul=0.6
volume=255
channel=30
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=159
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(54)
supermovetime=2147483647*var(54)
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)>=160&&animelemtime(1)<=399
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=240&&animelemtime(1)<=399
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*cos((pi/2/160)*(animelemtime(1)-240)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=402
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=400&&animelemtime(1)<=439
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/40)*(animelemtime(1)-400)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=402
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)>=5&&animelemtime(1)<=159
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=160&&animelemtime(1)<=399
time=2
freq=180
ampl=floor(7*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=80&&animelemtime(1)<=89
time=2
freq=180
ampl=floor((20-17*sin((pi/2/10)*(animelemtime(1)-80)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=160&&animelemtime(1)<=169
time=2
freq=180
ampl=floor((30-23*sin((pi/2/10)*(animelemtime(1)-160)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=240&&animelemtime(1)<=249
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-240)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=400&&animelemtime(1)<=439
time=2
freq=180
ampl=floor((7-7*sin((pi/2/40)*(animelemtime(1)-400)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

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



;價僕儏傾儖僙僢僩丅
[state ]
type=trans
trigger1=animelemtime(1)>=30&&animelemtime(1)<=49
trans=addalpha
alpha=floor(256*cos((pi/2/20)*(animelemtime(1)-30))),floor(256*sin((pi/2/20)*(animelemtime(1)-30)))
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(1)=10
id=var(50)
anim=10193
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=10
id=var(50)
anim=10203
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=400
id=var(50)
anim=10194
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=400
id=var(50)
anim=10204
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=15010
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1.0,1.0
shadow=0,0,0
sprpriority=61
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=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=projectile
triggerall=animelemtime(1)%4=0
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
trigger2=animelemtime(1)>=80&&animelemtime(1)<=99
trigger3=animelemtime(1)>=160&&animelemtime(1)<=179
trigger4=animelemtime(1)>=240&&animelemtime(1)<=399
projid=var(50)
projanim=40030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=0,0
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
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,hp
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=20,0
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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


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

[statedef 9200]
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=s3000,0
freqmul=1.0
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,0
freqmul=0.8
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s7100,1
freqmul=1.0
volume=255
channel=23
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*animelemtime(1)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=400
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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)<=4
time=2
freq=180
ampl=floor(40*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=5&&animelemtime(1)<=79
time=2
freq=180
ampl=floor((7-7*sin((pi/2/80)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14140
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=401
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s9200,0
freqmul=1.05
volume=255
channel=24
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s9200,0
freqmul=1.05
volume=255
channel=25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=30
trigger2=animelemtime(1)=40
trigger3=animelemtime(1)=50
trigger4=animelemtime(1)=60
trigger5=animelemtime(1)=70
value=s3100,0
freqmul=0.8
volume=255
channel=26
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=30
trigger2=animelemtime(1)=40
trigger3=animelemtime(1)=50
trigger4=animelemtime(1)=60
trigger5=animelemtime(1)=70
value=s8000,0
freqmul=0.8
volume=255
channel=27
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=100
value=s9200,1
freqmul=0.6
volume=255
channel=28
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=180
trigger2=animelemtime(1)=200
trigger3=animelemtime(1)=220
trigger4=animelemtime(1)=240
trigger5=animelemtime(1)=260
value=s9200,2
freqmul=0.8
volume=255
channel=29
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=180
trigger2=animelemtime(1)=200
trigger3=animelemtime(1)=220
trigger4=animelemtime(1)=240
trigger5=animelemtime(1)=260
value=s7100,0
freqmul=0.8
volume=255
channel=30
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=340
value=s9200,3
freqmul=1.2
volume=255
channel=21
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=340
value=s9200,3
freqmul=1.4
volume=255
channel=22
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=340
value=s9200,4
freqmul=1.0
volume=255
channel=23
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=340
value=s9200,5
freqmul=1.0
volume=255
channel=24
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=359
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(54)
supermovetime=2147483647*var(54)
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)>=5&&animelemtime(1)<=179
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=180&&animelemtime(1)<=399
time=2
freq=180
ampl=floor(7*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=180&&animelemtime(1)<=189
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-180)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=200&&animelemtime(1)<=209
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-200)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=220&&animelemtime(1)<=229
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-220)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=240&&animelemtime(1)<=259
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-240)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=260&&animelemtime(1)<=269
time=2
freq=180
ampl=floor((40-33*sin((pi/2/10)*(animelemtime(1)-260)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=400&&animelemtime(1)<=439
time=2
freq=180
ampl=floor((7-7*sin((pi/2/40)*(animelemtime(1)-400)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

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



;價僕儏傾儖僙僢僩丅
[state ]
type=trans
trigger1=animelemtime(1)>=30&&animelemtime(1)<=49
trans=addalpha
alpha=floor(256*cos((pi/2/20)*(animelemtime(1)-30))),floor(256*sin((pi/2/20)*(animelemtime(1)-30)))
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(1)=10
id=var(50)
anim=10193
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=10
id=var(50)
anim=10203
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=360
id=var(50)
anim=10195
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-30
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=360
id=var(50)
anim=10205
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(1)=0
id=var(50)
anim=15020
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1.0,1.0
shadow=0,0,0
sprpriority=402
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=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=projectile
trigger1=animelemtime(1)>=180&&animelemtime(1)<=279
trigger1=animelemtime(1)%4=0
projid=var(50)
projanim=40030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=0,0
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
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,hp
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=30,0
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=-4,-4
air.velocity=-4,-4
;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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖廤栺僗僥乕僩丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖捠忢懪寕棫偪A楢1~4抜栚丅
;劔侖捠忢懪寕棫偪6A寭棫偪A楢5抜栚丅
;劔侖捠忢懪寕孅傒A寭棫偪A楢1抜栚丅
;劔侖捠忢懪寕嬻拞A楢1~3抜栚丅

[statedef 12000]
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=null
triggerall=1||var(20):=2
trigger1=var(50)=7200
trigger1=1||var(20):=4
trigger2=var(50)=7210
trigger2=1||var(20):=2
trigger3=var(50)=7220
trigger3=1||var(20):=3
trigger4=var(50)=7230
trigger4=1||var(20):=4
trigger5=var(50)=7240
trigger5=1||var(20):=6
trigger6=var(50)=7400
trigger6=1||var(20):=5
trigger7=var(50)=7600
trigger7=1||var(20):=3
trigger8=var(50)=7610
trigger8=1||var(20):=4
trigger9=var(50)=7620
trigger9=1||var(20):=6
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖婎杮愝掕乮媡弴張棟乯丅

;偦傟埲奜丅
[state ]
type=sprpriority
trigger1=1
value=110
ignorehitpause=1

;僆僾僔儑儞崁栚丅
[state ]
type=statetypeset
triggerall=var(50)=7200||var(50)=7210||var(50)=7220||var(50)=7230||var(50)=7240
trigger1=1
statetype=s
movetype=a
ignorehitpause=1
[state ]
type=statetypeset
triggerall=var(50)=7400
trigger1=1
statetype=c
movetype=a
ignorehitpause=1
[state ]
type=statetypeset
triggerall=var(50)=7600||var(50)=7610||var(50)=7620
trigger1=1
statetype=a
movetype=a
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖壒嬁丅

;偦傟埲奜丅
[state ]
type=playsnd
trigger1=animelemtime(var(20)-1)=0
value=s1000,0
freqmul=1.0
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20)-1)=0
value=s1000,1
freqmul=1.0
volume=255
channel=2
ignorehitpause=1

;僆僾僔儑儞崁栚丅
[state ]
type=playsnd
triggerall=var(50)=7240||var(50)=7620
trigger1=animelemtime(1)=0
value=s7240,0
freqmul=0.8
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
triggerall=var(50)=7240||var(50)=7620
trigger1=animelemtime(1)=0
value=s7240,0
freqmul=1.25
volume=255
channel=4
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖夋柺愝掕丅

;偦傟埲奜丅
[state ]
type=explod
trigger1=animelemtime(var(20))>=0&&animelemtime(var(20))<=1
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(var(20)-1)>=0&&animelemtime(var(20)-1)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(var(20)-1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖嵗昗愝掕丅

;偦傟埲奜丅
[state ]
type=posadd
triggerall=ifelse(facing=1,320-screenpos x,screenpos x)<160
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
x=0.2*(ifelse(facing=1,320-screenpos x,screenpos x)-160)
ignorehitpause=1



;僆僾僔儑儞崁栚丅
[state ]
type=velset
triggerall=animelemtime(var(20)-1)=0
triggerall=floor(facing*(enemynear,screenpos x-screenpos x))>=100
trigger1=var(50)=7200
trigger1=1||fvar(0):=7
trigger2=var(50)=7210
trigger2=1||fvar(0):=15
trigger3=var(50)=7220
trigger3=1||fvar(0):=5
trigger4=var(50)=7230
trigger4=1||fvar(0):=20
trigger5=var(50)=7240
trigger5=1||fvar(0):=15
trigger6=var(50)=7400
trigger6=1||fvar(0):=0
x=fvar(0)*0.003125*floor(facing*(enemynear,screenpos x-screenpos x)-100)
ignorehitpause=1
[state ]
type=statetypeset
triggerall=var(50)=7600||var(50)=7610||var(50)=7620
trigger1=pos y>=-1
statetype=s
ignorehitpause=1
[state ]
type=velset
triggerall=var(50)=7600||var(50)=7610||var(50)=7620
triggerall=statetype=a
trigger1=animelemtime(1)=0
x=0.2*vel x+0.8-1.6*var(1)
y=0.2*vel y-0.8+1.6*var(3)
ignorehitpause=1
[state ]
type=velset
triggerall=var(50)=7600||var(50)=7610||var(50)=7620
triggerall=statetype=s
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=var(50)=7600||var(50)=7610||var(50)=7620
triggerall=statetype=s
trigger1=1
y=-1
ignorehitpause=1
[state ]
type=velset
triggerall=statetype=s
triggerall=floor(facing*(enemynear,screenpos x-screenpos x))>=100
trigger1=var(50)=7600
trigger1=1||fvar(0):=5
trigger2=var(50)=7610
trigger2=1||fvar(0):=20
trigger3=var(50)=7620
trigger3=1||fvar(0):=15
x=fvar(0)*0.003125*floor(facing*(enemynear,screenpos x-screenpos x)-100)
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖暔棟墘嶼丅

;僆僾僔儑儞崁栚丅
[state ]
type=velset
trigger1=var(50)=7200||var(50)=7210||var(50)=7220||var(50)=7230||var(50)=7240||var(50)=7400
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=velset
trigger1=var(50)=7600||var(50)=7610||var(50)=7620
x=vel x*((statetype=s)*const(movement.stand.friction)+(statetype=c||statetype=l)*const(movement.crouch.friction)+(statetype=a))
y=vel y
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖僄僼僃僋僩幩弌嵗昗曐懚梡椪帪曄悢僙僢僩丅

;僆僾僔儑儞崁栚丅
[state ]
type=null
trigger1=var(50)=7200
trigger1=1||var(21):=10023||fvar(2):=-80||fvar(3):=-40
trigger2=var(50)=7210
trigger2=1||var(21):=10000||fvar(2):=50||fvar(3):=0
trigger3=var(50)=7220
trigger3=1||var(21):=10023||fvar(2):=-80||fvar(3):=-60
trigger4=var(50)=7230
trigger4=1||var(21):=10020||fvar(2):=-60||fvar(3):=-80
trigger5=var(50)=7240
trigger5=1||var(21):=10000||fvar(2):=60||fvar(3):=0
trigger6=var(50)=7400
trigger6=1||var(21):=10013||fvar(2):=-40||fvar(3):=-150
trigger7=var(50)=7600
trigger7=1||var(21):=10023||fvar(2):=-80||fvar(3):=-60
trigger8=var(50)=7610
trigger8=1||var(21):=10020||fvar(2):=-60||fvar(3):=-80
trigger9=var(50)=7620
trigger9=1||var(21):=10000||fvar(2):=60||fvar(3):=0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖寱寔丅

;偦傟埲奜丅
[state ]
type=explod
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=var(21)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=109
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(2)),floor(fvar(3))
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=var(21)+30
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=120
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(2)),floor(fvar(3))
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖峌寕杮懱丅

;僆僾僔儑儞崁栚丅
[state ]
type=null
trigger1=var(50)=7200
trigger1=1||fvar(4):=1||fvar(5):=-6||fvar(6):=1||fvar(7):=6
trigger2=var(50)=7210
trigger2=1||fvar(4):=-1||fvar(5):=-6||fvar(6):=-3||fvar(7):=30
trigger3=var(50)=7220
trigger3=1||fvar(4):=-1||fvar(5):=-6||fvar(6):=-1||fvar(7):=-4
trigger4=var(50)=7230
trigger4=1||fvar(4):=-1||fvar(5):=-6||fvar(6):=-1||fvar(7):=-6
trigger5=var(50)=7240
trigger5=1||fvar(4):=-30||fvar(5):=-6||fvar(6):=-30||fvar(7):=-6
trigger6=var(50)=7400
trigger6=1||fvar(4):=1||fvar(5):=-6||fvar(6):=1||fvar(7):=-6
trigger7=var(50)=7600
trigger7=1||fvar(4):=-1||fvar(5):=-6||fvar(6):=-1||fvar(7):=-4
trigger8=var(50)=7610
trigger8=1||fvar(4):=-1||fvar(5):=-6||fvar(6):=-1||fvar(7):=-6
trigger9=var(50)=7620
trigger9=1||fvar(4):=-30||fvar(5):=-6||fvar(6):=-30||fvar(7):=-6
ignorehitpause=1

;偦傟埲奜丅
[state ]
type=projectile
triggerall=statetype=s
trigger1=animelemtime(var(20))=0
projid=var(50)
projanim=var(21)+30090
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(fvar(2)),floor(fvar(3))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
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,na
hitflag=hlafdp
guardflag=hl
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=fvar(4),fvar(5)
air.velocity=fvar(6),fvar(7)
;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
triggerall=statetype=c||statetype=l
trigger1=animelemtime(var(20))=0
projid=var(50)
projanim=var(21)+30090
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(fvar(2)),floor(fvar(3))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
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=c,na
hitflag=hlafdp
guardflag=l
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=fvar(4),fvar(5)
air.velocity=fvar(6),fvar(7)
;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
triggerall=statetype=a
trigger1=animelemtime(var(20))=0
projid=var(50)
projanim=var(21)+30090
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(fvar(2)),floor(fvar(3))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
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=a,na
hitflag=hlafdp
guardflag=a
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=fvar(4),fvar(5)
air.velocity=fvar(6),fvar(7)
;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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖昁嶦媄236幩丅
;劔侖昁嶦媄623幩丅

[statedef 12100]
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=null
triggerall=1||var(20):=2
trigger1=var(50)=8000
trigger1=1||var(20):=7
trigger2=var(50)=8001
trigger2=1||var(20):=3
trigger3=var(50)=8100
trigger3=1||var(20):=8
trigger4=var(50)=8101
trigger4=1||var(20):=6
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖婎杮愝掕乮媡弴張棟乯丅

[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=a
ignorehitpause=1
[state ]
type=sprpriority
trigger1=1
value=110
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖壒嬁丅

[state ]
type=playsnd
triggerall=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)=0
value=s1000,0
freqmul=1.0
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
triggerall=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)=0
value=s8000,0
freqmul=0.75
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))=0
value=s8000,1
freqmul=0.6
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))=0
value=s8000,2
freqmul=1.3
volume=255
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))=0
value=s8000,3
freqmul=1.5
volume=255
channel=5
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖夋柺愝掕丅

[state ]
type=explod
triggerall=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)>=0+4&&animelemtime(1)<=0+5
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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
triggerall=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)>=0&&animelemtime(1)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(var(20))>=0&&animelemtime(var(20))<=1
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(var(20)-1)>=0&&animelemtime(var(20)-1)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(var(20)-1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖嵗昗愝掕丅

[state ]
type=posadd
triggerall=var(50)=8100||var(50)=8101
triggerall=ifelse(facing=1,320-screenpos x,screenpos x)<210
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
x=0.2*(ifelse(facing=1,320-screenpos x,screenpos x)-210)
ignorehitpause=1

[state ]
type=velset
triggerall=animelemtime(var(20)-1)=0
triggerall=floor(facing*(enemynear,screenpos x-screenpos x))>=0
trigger1=1
x=30*0.003125*floor(facing*(enemynear,screenpos x-screenpos x)-100)
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
triggerall=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)=0
id=var(50)
anim=14121
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-59
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=var(50)=8000||var(50)=8100
trigger1=animelemtime(1)=0
id=var(50)
anim=14120
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
shadow=0,0,0
sprpriority=-58
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=null
trigger1=var(50)=8000||var(50)=8001
trigger1=1||var(21):=11210
trigger1=1||fvar(0):=160-160*facing||fvar(1):=screenpos y-40
trigger2=var(50)=8100||var(50)=8101
trigger2=1||var(21):=10211
trigger2=1||fvar(0):=screenpos x+120*facing||fvar(1):=240
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=var(21)
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=108
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=var(21)+10
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=109
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=var(21)+10
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=120
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖峌寕杮懱丅

[state ]
type=null
trigger1=var(50)=8000||var(50)=8001
trigger1=1||var(22):=40200||fvar(2):=-1||fvar(3):=-6||fvar(4):=-1||fvar(5):=6
trigger2=var(50)=8100||var(50)=8101
trigger2=1||var(22):=40210||fvar(2):=-5||fvar(3):=20||fvar(4):=-5||fvar(5):=20
ignorehitpause=1
[state ]
type=projectile
trigger1=animelemtime(var(20))=0
projid=var(50)
projanim=var(22)
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(facing*fvar(0)),floor(fvar(1)-pos y-screenpos y)
postype=left
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
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,sa
hitflag=hlafdp
guardflag=
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=120,12
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=fvar(2),fvar(3)
air.velocity=fvar(4),fvar(5)
;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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖昁嶦媄214幩丅
;劔侖昁嶦媄22幩丅

[statedef 12200]
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=null
triggerall=1||var(20):=2
trigger1=var(50)=8200
trigger1=1||var(20):=8
trigger2=var(50)=8201
trigger2=1||var(20):=4
trigger3=var(50)=8300
trigger3=1||var(20):=13
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖婎杮愝掕乮媡弴張棟乯丅

[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=a
ignorehitpause=1
[state ]
type=sprpriority
trigger1=1
value=110
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖壒嬁丅

[state ]
type=playsnd
triggerall=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)=0
value=s1000,0
freqmul=1.0
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
triggerall=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)=0
value=s8000,0
freqmul=0.75
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
value=s8000,1
freqmul=0.6
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
value=s8000,2
freqmul=1.3
volume=255
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
value=s8000,3
freqmul=1.5
volume=255
channel=5
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖夋柺愝掕丅

[state ]
type=explod
triggerall=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)>=0+4&&animelemtime(1)<=0+5
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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
triggerall=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)>=0&&animelemtime(1)<=14
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(var(20))>=-5&&animelemtime(var(20))<=14
trigger1=(animelemtime(var(20))+5)%10=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
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(var(20)-1)>=-5&&animelemtime(var(20)-1)<=14
time=2
freq=180
ampl=floor(10*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(var(20)-1)>=15&&animelemtime(var(20)-1)<=29
time=2
freq=180
ampl=floor((20-20*sin((pi/2/15)*(animelemtime(var(20)-1)-15)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
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
triggerall=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)=0
id=var(50)
anim=14121
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-49
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=var(50)=8200||var(50)=8300
trigger1=animelemtime(1)=0
id=var(50)
anim=14120
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.5,(2-var(57))*0.5*0.5
shadow=0,0,0
sprpriority=-48
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=var(50)=8200||var(50)=8201
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=10023
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=120
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-80,-60
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=var(50)=8200||var(50)=8201
trigger1=animelemtime(var(20)-1)=0
id=var(50)
anim=10053
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=121
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=-80,-60
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖忩壔偺墛丅

[state ]
type=null
trigger1=var(50)=8200||var(50)=8201
trigger1=1||var(21):=10162
trigger1=1||fvar(0):=160+facing*(160-20*(animelemtime(var(20))+10))||fvar(1):=0
trigger2=var(50)=8300
trigger2=1||var(21):=10160
trigger2=1||fvar(0):=screenpos x+10*facing*(animelemtime(var(20))+10)*cos((2*pi/8)*(animelemtime(var(20))+10))||fvar(1):=screenpos y-pos y
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
id=var(50)
anim=var(21)
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(57))*0.5,(2-var(57))*0.5
shadow=0,0,0
sprpriority=-40
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=left
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
id=var(50)
anim=var(21)+1
;trans=addalpha
;alpha=256,256
facing=facing
vfacing=1
scale=(2-var(57))*0.5*0.7,(2-var(57))*0.5*0.7
shadow=0,0,0
sprpriority=122
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(fvar(0)),floor(fvar(1))
postype=left
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥劥
;劔侖峌寕杮懱丅

[state ]
type=null
trigger1=var(50)=8200||var(50)=8201
trigger1=1||fvar(2):=-5||fvar(3):=20||fvar(4):=-5||fvar(5):=20
trigger2=var(50)=8300
trigger2=1||fvar(2):=-15||fvar(3):=-3||fvar(4):=-15||fvar(5):=-3
ignorehitpause=1
[state ]
type=projectile
trigger1=animelemtime(var(20))>=-10&&animelemtime(var(20))<=9
trigger1=(animelemtime(var(20))+10)%4=0
projid=var(50)
projanim=40220
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(facing*fvar(0)),floor(fvar(1)-pos y-screenpos y)
postype=left
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=18
projhits=1
projmisstime=1
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,sa
hitflag=hlafdp
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=60,6
fall.damage=0
getpower=0,0
givepower=0,5
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,10
guard.pausetime=0,10
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=fvar(2),fvar(3)
air.velocity=fvar(4),fvar(5)
;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









