;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥
;劔侕僐儌儞僗僥乕僩孮丅

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

[statedef 0]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
triggerall=floor(sysfvar(4))%3=0
trigger1=anim!=0&&anim!=5
trigger2=anim=5&&animtime=0
value=0
ignorehitpause=1
[state ]
type=changeanim
triggerall=floor(sysfvar(4))%3=1
trigger1=anim!=1&&anim!=5
trigger2=anim=5&&animtime=0
value=1
ignorehitpause=1
[state ]
type=changeanim
triggerall=floor(sysfvar(4))%3=2
trigger1=anim!=2&&anim!=5
trigger2=anim=5&&animtime=0
value=2
ignorehitpause=1
[state ]
type=changeanim
trigger1=floor(facing*(enemynear,screenpos x-screenpos x))<0
value=5
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=turn
trigger1=floor(facing*(enemynear,screenpos x-screenpos x))<0
ignorehitpause=1
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僕儍儞僾丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖奐巒乮抧懳嬻乯丅

[statedef 40]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=40
value=40
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
value=s40,0
freqmul=1.1
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
value=s40,0
freqmul=0.9
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s40,0
freqmul=0.8
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s40,0
freqmul=0.8
volume=255
channel=-1
ignorehitpause=1



;僕儍儞僾偲偐丅
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14220
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-1.5
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14221
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-1.5
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14220
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.9,(2-var(57))*0.5*0.9
shadow=0,0,0
sprpriority=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-1.8
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14221
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-1.8
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14220
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-2.1
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14221
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,-2.1
accel=0,0
ignorehitpause=1



;僗僥乕僩堏峴惂屼丅
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
triggerall=animtime=-1
trigger1=1
y=const(velocity.jump.y)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)!=1
x=const(velocity.jump.neu.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
triggerall=animtime=-1
trigger1=var(0)=1
trigger1=vel x<const(velocity.jump.fwd.x)
x=const(velocity.jump.fwd.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)=1
trigger1=vel x>const(velocity.jump.back.x)
x=const(velocity.jump.back.x)
ignorehitpause=1

[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
triggerall=animtime=-1
trigger1=1
y=1.1*const(velocity.jump.y)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)!=1
x=1.5*const(velocity.jump.neu.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
triggerall=animtime=-1
trigger1=var(0)=1
trigger1=vel x<1.5*const(velocity.jump.fwd.x)
x=1.5*const(velocity.jump.fwd.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)=1
trigger1=vel x>1.5*const(velocity.jump.back.x)
x=1.5*const(velocity.jump.back.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
triggerall=animtime=-1
trigger1=1
y=1.65*const(velocity.jump.y)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)!=1
x=4.5*const(velocity.jump.neu.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
triggerall=animtime=-1
trigger1=var(0)=1
trigger1=vel x<4.5*const(velocity.jump.fwd.x)
x=4.5*const(velocity.jump.fwd.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)=1
trigger1=vel x>4.5*const(velocity.jump.back.x)
x=4.5*const(velocity.jump.back.x)
ignorehitpause=1

[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
triggerall=animtime=-1
trigger1=1
y=1.2*const(velocity.jump.y)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)!=1
x=2*const(velocity.jump.neu.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
triggerall=animtime=-1
trigger1=var(0)=1
trigger1=vel x<2*const(velocity.jump.fwd.x)
x=2*const(velocity.jump.fwd.x)
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
triggerall=animtime=-1
trigger1=var(0)!=1&&var(1)=1
trigger1=vel x>2*const(velocity.jump.back.x)
x=2*const(velocity.jump.back.x)
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖廔椆丅

[statedef 52]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=47
value=47
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



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



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僟僢僔儏丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僯儏乕僩儔儖丅

[statedef 100]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=100
value=100
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
value=s9200,3
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
value=s40,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,1
freqmul=1.0
volume=0
channel=-1
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
trigger1=1
x=const(velocity.run.fwd.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
trigger1=1
x=2*const(velocity.run.fwd.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
trigger1=1
x=6*const(velocity.run.fwd.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
trigger1=1
x=3*const(velocity.run.fwd.x)
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;僕儍儞僾偲偐丅
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.5,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.5,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.9,(2-var(57))*0.5*0.9
shadow=0,0,0
sprpriority=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.8,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.8,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-2.1,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-2.1,0
accel=0,0
ignorehitpause=1



;慡恎偐傜僷乕僥傿僋儖丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=13001
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.2,(2-var(57))*0.5*0.2
shadow=0,0,0
sprpriority=-18
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)+50*cos(random)*cos(var(58))),floor(const(size.mid.pos.y)+50*sin(random)*cos(var(58)))
postype=p1
random=0,0
bindtime=1
vel=3*cos(random)*cos(var(58))-0.5*vel x,3*cos(random)*sin(var(58))-0.5*vel y
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖廔椆丅

[statedef 101]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=101
value=101
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僶僋僗僥丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僯儏乕僩儔儖丅

[statedef 105]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=105
value=105
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
value=s9200,3
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
value=s40,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,1
freqmul=1.0
volume=0
channel=-1
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
trigger1=1
x=const(velocity.run.back.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
trigger1=1
x=2*const(velocity.run.back.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
trigger1=1
x=6*const(velocity.run.back.x)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
trigger1=1
x=3*const(velocity.run.back.x)
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;僕儍儞僾偲偐丅
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.5,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.5,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.9,(2-var(57))*0.5*0.9
shadow=0,0,0
sprpriority=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.8,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.8,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=2.1,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=2.1,0
accel=0,0
ignorehitpause=1



;慡恎偐傜僷乕僥傿僋儖丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=13001
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.2,(2-var(57))*0.5*0.2
shadow=0,0,0
sprpriority=-18
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)+50*cos(random)*cos(var(58))),floor(const(size.mid.pos.y)+50*sin(random)*cos(var(58)))
postype=p1
random=0,0
bindtime=1
vel=3*cos(random)*cos(var(58))-0.5*vel x,3*cos(random)*sin(var(58))-0.5*vel y
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖廔椆丅

[statedef 106]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=106
value=106
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖嬻拞僟僢僔儏丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僯儏乕僩儔儖丅

[statedef 110]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=110
value=110
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
value=s9200,3
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
value=s40,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,1
freqmul=1.0
volume=0
channel=-1
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
x=const(velocity.run.fwd.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
trigger1=animelemtime(1)=0
x=2*const(velocity.run.fwd.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
trigger1=animelemtime(1)=0
x=6*const(velocity.run.fwd.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
x=3*const(velocity.run.fwd.x)
y=-4
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=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.5,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.5,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.9,(2-var(57))*0.5*0.9
shadow=0,0,0
sprpriority=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.8,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-1.8,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14230
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-2.1,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14231
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)+90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=-2.1,0
accel=0,0
ignorehitpause=1



;慡恎偐傜僷乕僥傿僋儖丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=13001
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.2,(2-var(57))*0.5*0.2
shadow=0,0,0
sprpriority=-18
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)+50*cos(random)*cos(var(58))),floor(const(size.mid.pos.y)+50*sin(random)*cos(var(58)))
postype=p1
random=0,0
bindtime=1
vel=3*cos(random)*cos(var(58))-0.5*vel x,3*cos(random)*sin(var(58))-0.5*vel y
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖廔椆丅

[statedef 111]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=111
value=111
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖嬻拞僶僋僗僥丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僯儏乕僩儔儖丅

[statedef 115]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=115
value=115
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
value=s9200,3
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
value=s40,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
value=s100,1
freqmul=1.0
volume=0
channel=-1
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
x=const(velocity.run.back.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
trigger1=animelemtime(1)=0
x=2*const(velocity.run.back.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
trigger1=animelemtime(1)=0
x=6*const(velocity.run.back.x)
y=-4
ignorehitpause=1
[state ]
type=velset
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
x=3*const(velocity.run.back.x)
y=-4
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=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.5,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=0
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-50,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.5,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.9,(2-var(57))*0.5*0.9
shadow=0,0,0
sprpriority=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.8,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=1
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-70,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=1.8,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14232
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=2.1,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
triggerall=floor(sysfvar(4))%3=2
trigger1=animelemtime(1)=0
id=var(50)
anim=14233
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x)-90,const(size.mid.pos.y)
postype=p1
random=0,0
bindtime=1
vel=2.1,0
accel=0,0
ignorehitpause=1



;慡恎偐傜僷乕僥傿僋儖丅
[state ]
type=explod
trigger1=1
id=var(50)
anim=13001
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.2,(2-var(57))*0.5*0.2
shadow=0,0,0
sprpriority=-18
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)+50*cos(random)*cos(var(58))),floor(const(size.mid.pos.y)+50*sin(random)*cos(var(58)))
postype=p1
random=0,0
bindtime=1
vel=3*cos(random)*cos(var(58))-0.5*vel x,3*cos(random)*sin(var(58))-0.5*vel y
accel=0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖廔椆丅

[statedef 116]
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
triggerall=!ishelper&&floor((sysvar(3)%floor(2.0**7))/floor(2.0**6))=0
triggerall=var(53)=6
trigger1=1||var(50):=stateno
ignorehitpause=1

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=anim!=116
value=116
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=a
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=playerpush
trigger1=1
value=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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僀儞僩儘丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僀儞僩儘暘婒抧揰丅

[statedef 190]
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=varset
triggerall=floor(sysfvar(4))%3=0
trigger1=1||var(50):=191
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=1
trigger1=1||var(50):=192
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=2
trigger1=1||var(50):=193
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=changestate
trigger1=1
value=var(50)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖傾儖僼儌乕僪僀儞僩儘丅

[statedef 191]
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=anim!=191
trigger1=1
value=191
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)>=0&&animelemtime(1)<=49
value=s3100,0
freqmul=1+cos((pi/2/60)*animelemtime(1))
volume=255
channel=animelemtime(1)%2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=45
value=s310,0
freqmul=0.5
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=45
value=s310,0
freqmul=0.5
volume=255
channel=4
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=bgpalfx
trigger1=animelemtime(1)>=50&&animelemtime(1)<=59
invertall=1
time=2
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=49
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=50&&animelemtime(1)<=89
time=2
freq=180
ampl=floor((20-20*sin((pi/2/40)*(animelemtime(1)-50)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=assertspecial
trigger1=1
flag=intro
ignorehitpause=1



;價僕儏傾儖僙僢僩丅
[state ]
type=assertspecial
trigger1=animelemtime(1)>=50&&animelemtime(1)<=59
flag=noshadow
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;庤尦偐傜堨傟傞岝丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=59
id=var(50)
anim=13005
;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=16
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)<=59
id=var(50)
anim=13040
;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=17
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=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=54
trigger1=animelemtime(1)%5=0
id=var(50)
anim=14260
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.3*(1-cos((pi/2/60)*animelemtime(1))),(2-var(57))*0.5*0.9*(1-cos((pi/2/60)*animelemtime(1)))
shadow=0,0,0
sprpriority=18
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(20+4*animelemtime(1)-0.11*animelemtime(1)*animelemtime(1)),-55
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=-0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=54
trigger1=animelemtime(1)%5=0
id=var(50)
anim=14261
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.24*(1-cos((pi/2/60)*animelemtime(1))),(2-var(57))*0.5*0.72*(1-cos((pi/2/60)*animelemtime(1)))
shadow=0,0,0
sprpriority=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=floor(20+4*animelemtime(1)-0.11*animelemtime(1)*animelemtime(1)),-55
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 192]
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=anim!=192
trigger1=1
value=192
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1
[state ]
type=sprpriority
trigger1=1
value=110
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s4100,0
freqmul=0.6
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s4100,0
freqmul=0.6
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(10)=0
value=s1000,0
freqmul=1.0
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(10)=0
value=s1000,1
freqmul=1.0
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(10)=0
value=s3100,0
freqmul=1.0
volume=255
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(10)=0
value=s3100,0
freqmul=1.0
volume=255
channel=5
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(10)<=-1
id=0
anim=14000
trans=addalpha
alpha=0,64
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(10)>=0&&animelemtime(10)<=39
id=0
anim=14000
trans=addalpha
alpha=0,floor(64+192*sin((pi/2/40)*animelemtime(10)))
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(10)<=9
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(10)>=0&&animelemtime(10)<=39
time=2
freq=180
ampl=floor((20-20*sin((pi/2/40)*animelemtime(10)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

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



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10170
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=10180
;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=-18
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(10)=-5
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=120
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(10)=-5
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=121
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=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 193]
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=anim!=193
trigger1=1
value=193
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=60
value=s9200,2
freqmul=0.8
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=60
value=s9200,2
freqmul=1.2
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=60
value=s9200,2
freqmul=0.6
volume=255
channel=4
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=59
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)>=60&&animelemtime(1)<=79
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*sin((pi/2/20)*(animelemtime(1)-60)))
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)>=60&&animelemtime(1)<=79
time=2
freq=180
ampl=floor((240-225*sin((pi/2/20)*(animelemtime(1)-60)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=80&&animelemtime(1)<=99
time=2
freq=180
ampl=floor((15-15*sin((pi/2/20)*(animelemtime(1)-80)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

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



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



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;働儖價儉偺夞傞寱丅
[state ]
type=explod
trigger1=animelemtime(1)=60-3
id=var(50)
anim=10211
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=60-3
id=var(50)
anim=10222
;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=-18
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,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 180]
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=varset
triggerall=floor(sysfvar(4))%3=0
trigger1=1||var(50):=181
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=0
trigger1=1||var(50):=182
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=1
triggerall=floor((floor(sysfvar(4))%(3*7*2))/(3*7))=1
trigger1=1||var(50):=183
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=2
trigger1=1||var(50):=184
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=changestate
trigger1=1
value=var(50)
persistent=256
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖傾儖僼儌乕僪彑棙億乕僘丅

[statedef 181]
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=anim!=181
trigger1=1
value=181
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s3100,0
freqmul=0.6
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s3100,0
freqmul=0.6
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=35
value=s9200,3
freqmul=1.2
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=35
value=s9200,3
freqmul=1.4
volume=255
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=35
value=s9200,4
freqmul=1.0
volume=255
channel=5
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=35
value=s9200,5
freqmul=1.0
volume=255
channel=6
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=30&&animelemtime(1)<=39
id=0
anim=14000
trans=addalpha
alpha=floor(256*sin((pi/2/10)*(animelemtime(1)-30))),floor(256*cos((pi/2/10)*(animelemtime(1)-30)))
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)>=40&&animelemtime(1)<=99
id=0
anim=14000
trans=addalpha
alpha=floor(256*cos((pi/2/60)*(animelemtime(1)-40))),floor(256*sin((pi/2/60)*(animelemtime(1)-40)))
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)>=30&&animelemtime(1)<=129
time=2
freq=180
ampl=floor((5-5*sin((pi/2/100)*(animelemtime(1)-30)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(1)<=159
flag=roundnotover
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=turn
triggerall=ifelse(facing=1,screenpos x,320-screenpos x)>160
trigger1=animelemtime(1)=0
ignorehitpause=1

[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
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+(statetype=a)*const(movement.yaccel)
ignorehitpause=1



;僗乕僷乕揤恖丅
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=30010
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1,1
shadow=-1,-1,-1
sprpriority=1
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=const(velocity.walk.fwd.x),0
accel=0,0
ignorehitpause=1
[state ]
type=modifyexplod
triggerall=numexplod(var(50))>0
trigger1=animelemtime(1)>=0&&animelemtime(1)<=49
id=var(50)
trans=addalpha
alpha=floor(256*cos((pi/2/50)*animelemtime(1))),floor(256*sin((pi/2/50)*animelemtime(1)))
ignorehitpause=1

;尪塭丅
[state ]
type=explod
trigger1=animelemtime(1)=30
id=var(50)+1
anim=30020
;trans=addalpha
;alpha=256,256
facing=-1
vfacing=1
scale=1,1
shadow=-1,-1,-1
sprpriority=1
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-1
removeongethit=0
pos=floor(50*const(velocity.walk.fwd.x)),0
postype=p1
random=0,0
bindtime=1
vel=-const(velocity.walk.fwd.x),0
accel=0,0
ignorehitpause=1
[state ]
type=modifyexplod
triggerall=numexplod(var(50)+1)>0
trigger1=animelemtime(1)>=30&&animelemtime(1)<=59
id=var(50)+1
trans=addalpha
alpha=floor(256*sin((pi/2/30)*(animelemtime(1)-30))),floor(256*cos((pi/2/30)*(animelemtime(1)-30)))
ignorehitpause=1
[state ]
type=modifyexplod
triggerall=numexplod(var(50)+1)>0
trigger1=animelemtime(1)=60
id=var(50)+1
trans=addalpha
alpha=256,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖儀乕僩儌乕僪彑棙億乕僘丅

[statedef 182]
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=anim!=182
trigger1=1
value=182
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=-1
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(4)<=179
flag=roundnotover
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

[statedef 183]
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=anim!=183
trigger1=1
value=183
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s3100,0
freqmul=1.0
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s1000,0
freqmul=1.0
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s40000,2
freqmul=1.0
volume=255
channel=3
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=-1
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=19
time=2
freq=180
ampl=floor((40-40*sin((pi/2/20)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(4)<=179
flag=roundnotover
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=14261
;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=-19
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=14260
;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=-18
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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僊乕儊儖儌乕僪彑棙億乕僘丅

[statedef 184]
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=anim!=184
trigger1=1
value=184
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s184,0
freqmul=0.7
volume=255
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s184,0
freqmul=0.7
volume=255
channel=2
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s184,1
freqmul=0.9
volume=255
channel=3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s184,1
freqmul=0.7
volume=255
channel=4
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
id=0
anim=14000
trans=addalpha
alpha=0,floor(256*cos((pi/2/10)*animelemtime(1)))
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)>=10&&animelemtime(1)<=19
id=0
anim=14000
trans=addalpha
alpha=0,floor(128*sin((pi/2/10)*(animelemtime(1)-10)))
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)>=10&&animelemtime(1)<=129
id=0
anim=14000
trans=addalpha
alpha=0,128
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(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)>=0&&animelemtime(1)<=129
trigger1=animelemtime(1)%floor(1+10*cos((pi/2/130)*animelemtime(1)))=0
id=0
anim=14000
trans=addalpha
alpha=256,0
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(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=bgpalfx
trigger1=animelemtime(1)>=10&&animelemtime(1)<=129
invertall=1
time=2
ignorehitpause=1

[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=79
time=2
freq=180
ampl=floor(3*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)>=80&&animelemtime(1)<=129
time=2
freq=180
ampl=floor((30-27*cos((pi/2/50)*(animelemtime(1)-80)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1

[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(1)<=129
flag=nobardisplay
ignorehitpause=1
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(1)<=130+80-1
flag=roundnotover
ignorehitpause=1

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



;嵗昗愝掕丅
[state ]
type=turn
triggerall=ifelse(facing=1,screenpos x,320-screenpos x)<60
trigger1=animelemtime(1)=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=null
trigger1=1||fvar(0):=0.1
ignorehitpause=1

;搢傟崬傒揤恖丅
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=30030
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=1,1
shadow=-1,-1,-1
sprpriority=1
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,fvar(0)
accel=0,0
ignorehitpause=1

;傑僼僅乕仾恮丅
[state ]
type=explod
trigger1=animelemtime(1)=70
id=var(50)
anim=14262
;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=18
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),floor(const(size.mid.pos.y)+70*fvar(0))
postype=p1
random=0,0
bindtime=1
vel=0,fvar(0)
accel=-0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=70
id=var(50)
anim=14263
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=(2-var(57))*0.5*0.7*0.8,(2-var(57))*0.5*0.7*0.8
shadow=0,0,0
sprpriority=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),floor(const(size.mid.pos.y)+70*fvar(0))
postype=p1
random=0,0
bindtime=1
vel=0,fvar(0)
accel=-0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=110
id=var(50)
anim=14260
;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=16
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),floor(const(size.mid.pos.y)+110*fvar(0))
postype=p1
random=0,0
bindtime=1
vel=0,fvar(0)
accel=-0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=110
id=var(50)
anim=14261
;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=17
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=const(size.mid.pos.x),floor(const(size.mid.pos.y)+110*fvar(0))
postype=p1
random=0,0
bindtime=1
vel=0,fvar(0)
accel=-0,0
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖攕杒 or 僪儘乕墘弌丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖攕杒墘弌丅

[statedef 170]
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=anim!=170
trigger1=1
value=170
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=-1
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(31)<=-1
flag=roundnotover
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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖僪儘乕墘弌丅

[statedef 175]
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=anim!=175
trigger1=1
value=175
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=1
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=1
y=-1
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(31)<=-1
flag=roundnotover
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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥
;劔侕偦偺懠僗僥乕僩孮丅

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖儕僓儗僋僔儑儞丅

[statedef 30000]
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=a
movetype=a
ignorehitpause=1



;棊壓僼儗乕儉悢曐懚曄悢僙僢僩丅
[state ]
type=null
trigger1=1||var(20):=36
trigger1=1||var(21):=24
ignorehitpause=1

;壒嬁丅
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s40000,1
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s40000,1
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=var(20)
value=s52,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=var(20)+var(21)
value=s52,0
freqmul=1.0
volume=255
channel=-1
ignorehitpause=1



;夋柺愝掕丅
[state ]
type=envshake
trigger1=animelemtime(1)>=0&&animelemtime(1)<=9
time=2
freq=180
ampl=floor((240-240*sin((pi/2/10)*animelemtime(1)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)-var(20)>=0&&animelemtime(1)-var(20)<=var(21)-1
time=2
freq=180
ampl=floor((3-3*sin((pi/2/var(21))*(animelemtime(1)-var(20))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animtime+30>=0&&animtime+30<=29
time=2
freq=180
ampl=floor((10-10*cos((pi/2/30)*(animtime+30)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1
[state ]
type=envshake
trigger1=animtime+10>=0&&animtime+10<=9
time=2
freq=180
ampl=floor((240-240*cos((pi/2/10)*(animtime+10)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=velset
trigger1=animelemtime(1)=0
x=-4
y=-0.5*0.35*var(20)+(-pos y/var(20))
ignorehitpause=1
[state ]
type=veladd
trigger1=animelemtime(1)>=0&&animelemtime(1)<=var(20)-1
y=0.35
ignorehitpause=1
[state ]
type=posset
trigger1=animelemtime(1)=var(20)
y=20
ignorehitpause=1
[state ]
type=velset
trigger1=animelemtime(1)=var(20)
x=-2
y=-0.5*0.4*var(21)+((-pos y+0.2*const(size.height))/var(21))
ignorehitpause=1
[state ]
type=veladd
trigger1=animelemtime(1)>=var(20)&&animelemtime(1)<=var(20)+var(21)-1
y=0.4
ignorehitpause=1
[state ]
type=statetypeset
triggerall=animelemtime(1)>=var(20)+var(21)
trigger1=1
statetype=s
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=14260
;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=-19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0
id=var(50)
anim=14261
;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=19
ontop=0
ownpal=1
supermove=0
pausemovetime=2147483647*var(54)
supermovetime=2147483647*var(54)
removetime=-2
removeongethit=0
pos=6,-52
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=1



;僗僥乕僩斣崋曐懚曄悢僙僢僩丅
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=1
triggerall=animtime=-1
trigger1=1||var(50):=4200
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1
[state ]
type=varset
triggerall=floor(sysfvar(4))%3=2
triggerall=animtime=-1
trigger1=1||var(50):=7100
trigger1=ishelper(103000)
sysvar(0)=var(50)
ignorehitpause=1



;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥
;劔侕AI僼儔僌敾掕僿儖僷乕愱梡僗僥乕僩丅

[statedef 90000]
type=u
movetype=u
hitdefpersist=1
movehitpersist=1

;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僼傿儖僞乕丅

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


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖偦偺屻丅

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=1
value=40000
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
movetype=i
ignorehitpause=1
[state ]
type=ctrlset
trigger1=1
value=1
ignorehitpause=1



;峴摦弴惍棟梡movetype僙僢僩丅
[state ]
type=statetypeset
trigger1=1
movetype=a
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=bindtoroot
trigger1=1
pos=0,-root,pos y-1
facing=1
time=-1
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僔僗僥儉婰弎丅

;僨僶僢僌婰弎丅
[state ]
type=displaytoclipboard
triggerall=1
trigger1=1
text="Human=%d,  AI=%d,  Check01=%d,  Check02=%d"
params=floor(sysfvar(4))%2,floor((floor(sysfvar(4))%(2*3))/2),floor((floor(sysfvar(4))%(2*3*2))/(2*3)),floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))
ignorehitpause=1



;僼儔僌岆擣杊巭梡戞1曄悢僙僢僩丅
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=1
trigger1=1
sysfvar(4)=(2*3*2)*floor(floor(sysfvar(4))/(2*3*2))+floor(sysfvar(4))%(2*3)+(2*3)*(command="aihelper02a"||command="aihelper02b")
ignorehitpause=1



;恖憖嶌僼儔僌僙僢僩丅
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=2
triggerall=floor(sysfvar(4))%2=0
trigger1=command="aihelper00"
trigger1=command="aihelper01"
trigger2=roundstate=[0,1]
trigger2=command="aihelper00"
trigger3=roundstate=[0,1]
trigger3=command="aihelper01"
trigger4=roundstate=[0,1]
trigger4=command="aihelper02a"
trigger5=roundstate=[0,1]
trigger5=command="aihelper02b"
sysfvar(4)=2*(floor(sysfvar(4))/2)+1
ignorehitpause=1



;AI僼儔僌僙僢僩丅
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=2
triggerall=floor(sysfvar(4))%2=0
trigger1=floor((floor(sysfvar(4))%(2*3))/2)=0
trigger1=command="aihelper02a"
trigger2=floor((floor(sysfvar(4))%(2*3))/2)=1
sysfvar(4)=(2*3)*floor(floor(sysfvar(4))/(2*3))+floor(sysfvar(4))%2+2*2
ignorehitpause=1
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=2
triggerall=floor(sysfvar(4))%2=0
trigger1=floor((floor(sysfvar(4))%(2*3))/2)=0
trigger1=command="aihelper02b"
sysfvar(4)=(2*3)*floor(floor(sysfvar(4))/(2*3))+floor(sysfvar(4))%2+2*1
ignorehitpause=1
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=2
triggerall=floor(sysfvar(4))%2=1
trigger1=1
sysfvar(4)=(2*3)*floor(floor(sysfvar(4))/(2*3))+floor(sysfvar(4))%2+2*0
ignorehitpause=1



;僼儔僌岆擣杊巭梡戞2曄悢僙僢僩丅
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=1
trigger1=floor((floor(sysfvar(4))%(2*3*2))/(2*3))=0
sysfvar(4)=(2*3*2*3)*floor(floor(sysfvar(4))/(2*3*2*3))+floor(sysfvar(4))%(2*3*2)+(2*3*2)*2
ignorehitpause=1
[state ]
type=varset
triggerall=floor((floor(sysfvar(4))%(2*3*2*3))/(2*3*2))=0
trigger1=1
sysfvar(4)=(2*3*2*3)*floor(floor(sysfvar(4))/(2*3*2*3))+floor(sysfvar(4))%(2*3*2)+(2*3*2)*1
ignorehitpause=1


;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥
;劔侖僞乕儞僄儞僪丅

[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1









