[Statedef 2000]
type=S
movetype=A
physics=N
velset=0,0
ctrl=0
anim=2000
sprpriority=2
[State ]
type=SuperPause
trigger1=!time
anim=-1
poweradd=-1000
movetime=30
time=30
darken=0
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=!Time
value=30000,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,1
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,2
volume=255
[State ]
type=PlaySnd
triggerall=!Ishelper
trigger1=!Time
value=2000,0
channel=0
volume=255
[State ]
type=NotHitBy
trigger1=time<=30
value=SCA
[State ]
type=AssertSpecial
trigger1=Time<=30
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=!Time
anim=30000
sprpriority=100
postype=p1
pos=-12,-50
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30001
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30002
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8053
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
scale=.5,.5
pausemovetime=30
supermovetime=30
[State ]
type=Statetypeset
trigger1=animelem=4
statetype=A
movetype=A
physics=N
[State ]
type=Veladd
trigger1=animelemtime(2)<=3
x=-.08
[State ]
type=VelSet
trigger1=animelem=4
x=6
y=-8
[State ]
type=Veladd
trigger1=animelemtime(4)>=0
y=.7
[State ]
type=PlaySnd
trigger1=animelem=4
value=10000,4
volume=255
[State ]
type=Explod
trigger1=animelem=4
anim=10007
sprpriority=20
postype=p1
pos=60,0
bindtime=1
supermove=0
ownpal=1
ontop=1
scale=.5,.5
trans=add
[State ]
type=HitDef
trigger1=animelem=4
attr=S,SA
damage=40,9
animtype=medium
guardflag=MAF
hitflag=MAF
priority=6,Hit
pausetime=15,15
sparkno=s20000
guard.sparkno=s21000
sparkxy=-30,-50
hitsound=s1,4
guardsound=s1,6
ground.type=High
ground.slidetime=30
ground.hittime=31
ground.velocity=-1,0
air.type=High
air.velocity=-1,-2
air.hittime=32
fall=0
envshake.time=15
envshake.ampl=-6
envshake.freq=92
envshake.phase=92
[State ]
type=Removeexplod
trigger1=animelem=5
id=8053
ignorehitpause=1
[State ]
type=ChangeState
triggerall=animelemtime(3)>=0
trigger1=Vel Y>0&&Pos Y>=0
value=2001
[Statedef 2001]
type=S
movetype=A
physics=N
velset=7,0
anim=1001
ctrl=0
sprpriority=2
[State ]
type=varset
trigger1=!Ishelper&&enemy,GethitVar(hitcount)>=6
var(15)=45
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!Time
value=2000,100+random%2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
trigger2=Time=30
value=10000,10
volume=255
[State ]
type=Helper
trigger1=1
name="eko"
pos=-30-random%50,-5-random%60
postype=p1
stateno=1003
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=Explod
trigger1=!(Time%7)
anim=10025
sprpriority=20
postype=p1
pos=45,-33
bindtime=-1
ownpal=1
scale=.25,.25
trans=add
ignorehitpause=1
[State ]
type=Explod
trigger1=!(Time%7)
anim=10026
sprpriority=10
postype=p1
pos=10,7
bindtime=1
ownpal=1
scale=.4,.4
trans=add
ignorehitpause=1
[State ]
type=Hitdef
triggerall=Time<=48
trigger1=!(Time%6)
attr=S,SA
damage=23,2
animtype=hard
guardflag=MA
pausetime=6,7
sparkxy=-10,-45
sparkno=s20000
guard.sparkno=s21000
hitsound=s1,1
guardsound=s1,6
ground.type=Low
ground.slidetime=20
ground.hittime=21
ground.velocity=-3,-1
air.animtype=Back
air.velocity=-3,-1
air.fall=1
fall=1
envshake.time=7
envshake.ampl=7
[State ]
type=Hitdef
trigger1=Time=54
attr=S,SA
damage=50,10
animtype=hard
guardflag=MA
pausetime=2,16
sparkxy=-10,-45
sparkno=s20000
guard.sparkno=s21000
hitsound=s1,4
guardsound=s1,6
ground.type=Low
ground.slidetime=20
ground.hittime=21
ground.velocity=-3.7,-3
air.animtype=Back
air.velocity=-3.7,-3
p2stateno=2050
envshake.time=15
envshake.ampl=-14
[State ]
type=pause
trigger1=Time>=54&&movehit=1
time=15
persistent=0
ignorehitpause=1
[State ]
type=BGPalFX
trigger1=Time>=54&&movehit=1
time=15
add=255,0,0
mul=255,0,0
invertall=0
color=0
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=Time>=60
value=2002
[Statedef 2002]
type=S
movetype=A
physics=S
anim=2001
sprpriority=2
[State ]
type=Playsnd
trigger1=!Time
value=2,4
[State ]
type=ChangeState
trigger1=!Animtime
value=0
ctrl=1

[Statedef 2050]
type=A
movetype=H
physics=N
velset=0,0
[State ]
type=Turn
trigger1=Time<3&&facing=enemy,facing
[State ]
type=Turn
Trigger1=frontedgedist<=0
value=1
[State ]
type=Velset
trigger1=time=1
x=-13
y=0
[State ]
type=PlayerPush
trigger1=1
value=0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=ScreenBound
trigger1=1
movecamera=1,0
[State ]
type=ChangeAnim2
Trigger1=!Time
value=5030
[State ]
type=Changestate
trigger1=backedgedist<=0
trigger2=frontedgedist<=0
value=2051
[Statedef 2051]
type=A
movetype=H
physics=N
velset=2.2,-6.2
[State ]
type=PalFX
trigger1=!time
time=1
add=0,0,0
[State ]
type=EnvShake
trigger1=!Time
time=15
freq=110
ampl=10
[State ]
type=ChangeAnim2
trigger1=!Time
value=2050
[State ]
type=VelAdd
trigger1=time>3
y=.5
x=.05
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=SelfState
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=5100

[Statedef 2100]
type=S
movetype=A
physics=N
velset=0,0
ctrl=0
anim=2100
sprpriority=2
[State ]
type=SuperPause
trigger1=!time
anim=-1
poweradd=-1000
movetime=30
time=30
darken=0
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=!Time
value=30000,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,1
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=2100,100
channel=0
volume=255
[State ]
type=NotHitBy
trigger1=time<=30
value=SCA
[State ]
type=AssertSpecial
trigger1=Time<=30
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=!Time
anim=30000
sprpriority=100
postype=p1
pos=22,-75
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30001
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30002
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8054
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
removetime=-1
scale=.5,.5
pausemovetime=30
supermovetime=30
[State ]
type=Posadd
trigger1=animelem=18
y=40
[State ]
type=AfterImage
trigger1=animelem=18
time=-1

length=10
palcontrast=150,150,150
paladd=25,10,10
palmul=.65,.65,.75
timegap=1
framegap=1
trans=add
[State ]
type=PlaySnd
triggerall=animelemtime(18)>=0
trigger1=!(Time%10)
value=10000,19
volume=255
[State ]
type=Explod
triggerall=animelemtime(18)>=0
trigger1=!(Time%7)
anim=10027
sprpriority=10
postype=p1
pos=5,-80
bindtime=-1
ownpal=1
scale=.4,.4
trans=add
ignorehitpause=1
[State ]
type=Explod
triggerall=animelemtime(18)>=0
trigger1=!(Time%7)
anim=10027
sprpriority=10
postype=p1
pos=5,-80
bindtime=-1
ownpal=1
facing=-1
vfacing=-1
scale=.4,.4
trans=add
ignorehitpause=1
[State ]
type=Explod
triggerall=animelemtime(18)>=0
trigger1=!(Time%15)
anim=10028
sprpriority=20
postype=p1
pos=5,-80
bindtime=-1
ownpal=1
scale=.25,.25
trans=add
ignorehitpause=1
[State ]
type=Explod
triggerall=animelemtime(18)>=0
trigger1=!(Time%6)
anim=10029
sprpriority=60
postype=p1
pos=30,-10
bindtime=1
ownpal=1
scale=.85,.85
trans=add1
ignorehitpause=1
[State ]
type=Explod
triggerall=animelemtime(18)>=0
trigger1=!(Time%6)
anim=10029
sprpriority=60
postype=p1
pos=-30,-10
facing=-1
bindtime=1
ownpal=1
scale=.85,.85
trans=add1
ignorehitpause=1
[State ]
type=HitDef
triggerall=Time<=165
trigger1=!(Time%5)
attr=S,HA
animtype=Hard
damage=20,1
guardflag=MA
hitflag=MAF
pausetime=0,10
sparkno=s20050
sparkxy=-30,-60
hitsound=s1,8
guard.sparkno=s21000
guardsound=s1,6
ground.type=high
ground.slidetime=17
ground.hittime=17
ground.velocity=0
air.velocity=-4,-3.2
air.fall=1
fall.recover=0
[State ]
type=Targetstate
trigger1=Time=167&&movehit
value=2150
[State ]
type=PlaySnd
trigger1=Time=167
value=1,4
volume=255
[State ]
type=PlaySnd
trigger1=Time=167
value=10000,20
volume=255
[State ]
type=Allpalfx
trigger1=Time=167
add=255,255,255
time=3
invertall=0
[State ]
type=EnvShake
trigger1=Time=167
time=10
freq=120
ampl=-20
phase=130
[State ]
type=Explod
trigger1=Time=167
anim=10030
postype=p1
pos=0,-15
bindtime=1
ownpal=1
ontop=1
sprpriority=60
[State ]
type=ChangeState
trigger1=Time>=170
value=2101
[Statedef 2101]
type=S
movetype=A
physics=N
velset=0,0
anim=2101
ctrl=0
sprpriority=2
[State ]
type=Removeexplod
trigger1=!Time
id=8053
[State ]
type=Explod
trigger1=!Time
anim=8055
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
scale=.5,.5
[State ]
type=VelSet
trigger1=animelem=4
x=7
y=-10
[State ]
type=Statetypeset
trigger1=animelem=10
statetype=A
movetype=A
physics=A
[State ]
type=veladd
trigger1=animelemtime(11)>=0
y=.3

[Statedef 2150]
type=A
movetype=H
physics=N
velset=0,0
[State ]
type=Lifeadd
trigger1=!Time
value=-40
kill=1
[State ]
type=velset
trigger1=animelem=2
x=-2.6
y=-15
[State ]
type=veladd
trigger1=animelemtime(2)>=0
y=.6
[State ]
type=ChangeAnim2
trigger1=!Time
value=2150
[State ]
type=Selfstate
triggerall=animelemtime(2)>=0
trigger1=vel y>0&&pos y>=0
value=5100

[Statedef 2200]
type=S
movetype=A
physics=S
ctrl=0
anim=2200
sprpriority=2
[State ]
type=SuperPause
trigger1=animelem=4
anim=-1
poweradd=-1000
movetime=30
time=30
darken=0
[State ]
type=Envshake
trigger1=animelem=4
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=animelem=4
value=30000,0
volume=255
[State ]
type=PlaySnd
trigger1=animelem=4
value=30000,1
volume=255
[State ]
type=PlaySnd
trigger1=animelem=4
value=30000,2
volume=255
[State ]
type=PlaySnd
trigger1=animelem=4
value=2200,0+random%2
channel=0
volume=255
[State ]
type=NotHitBy
trigger1=animelem=4
value=SCA
time=30
[State ]
type=AssertSpecial
trigger1=animelemtime(4)>=0&&animelemtime(5)<=0
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=animelem=4
anim=30000
sprpriority=100
postype=p1
pos=10,-68
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=animelem=4
anim=30001
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=animelem=4
anim=30002
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8057
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
removetime=83
scale=.5,.5
pausemovetime=30
supermovetime=30
[State ]
type=Projectile
trigger1=Time=49
projanim=10031
projscale=.4,.4
projremove=0
projremovetime=-1
projpriority=5
attr=S,SP
offset=0,-70
damage=30,10
velocity=12,0
animtype=Hard
hitflag=MAFP
sparkxy=70,0
guardflag=MA
sparkno=s20000
guard.sparkno=s21000
hitsound=s1,4
guardsound=s1,6
pausetime=0,2
ground.type=high
ground.slidetime=17
ground.hittime=17
guard.hittime=17
ground.velocity=0,-10
air.velocity=0,-10
air.fall=1
kill=0
p1stateno=2210
p2stateno=2250
fall.recover=0
projshadow=50,50,50
[State ]
type=Helper
trigger1=Time=49
name="eko"
pos=0,-70
postype=p1
stateno=2201
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=ChangeState
Trigger1=!AnimTime
value=0
ctrl=1
[Statedef 2201]
type=S
movetype=A
physics=N
anim=60000
sprpriority=5
ctrl=0
velset=12,0
[State ]
type=Explod
trigger1=1
anim=10017
sprpriority=-2
postype=p1
pos=5,0
bindtime=1
ownpal=1
vel=-2,-1+random%4
scale=.1,.1
[State ]
type=Destroyself
trigger1=FrontEdgeDist<=-100
[Statedef 2202]
type=A
movetype=A
physics=N
velset=0,1
anim=10032
[State ]
type=VelAdd
trigger1=1
y=.8
[State ]
type=AngleDraw
trigger1=1
scale=.5,.5
[State ]
type=Sprpriority
trigger1=1
value=2147483647
[State ]
type=HitDef
trigger1=!Time
attr=A,HA
animtype=Hard
damage=150
guardflag=
hitflag=MAF
pausetime=0,10
sparkno=-1
sparkxy=-30,-60
hitsound=s1,4
guard.sparkno=s21000
guardsound=-1
ground.type=high
ground.slidetime=17
ground.hittime=17
ground.velocity=0,8
air.velocity=0,8
air.fall=1
fall.recover=0
p2stateno=2251
[State ]
type=Changestate
trigger1=Vel Y>0&&Pos Y>=-14
value=2203
[Statedef 2203]
type=A
movetype=I
physics=N
velset=0,0
anim=10032
[State ]
type=Sprpriority
trigger1=1
value=2147483647
[State ]
type=AngleDraw
trigger1=1
scale=.5,.5
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-40
freq=150
phase=95
[State ]
type=AllPalFX
trigger1=!Time
time=5
add=255,255,255
mul=255,255,255
invertall=0
color=0
[State ]
type=PlaySnd
trigger1=!Time
value=1,4
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=10000,21
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=10000,22
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=10000,20
volume=255
[State ]
type=Explod
trigger1=!Time
anim=10030
postype=p1
pos=0,0
bindtime=1
ownpal=1
ontop=1
sprpriority=60
[State ]
type=Trans
trigger1=Time>=50
trans=addalpha
alpha=256-((time-50)*5),256
[State ]
type=Destroyself
trigger1=Time>=100
[Statedef 2210]
type=S
movetype=A
physics=N
velset=0,0
anim=2210
ctrl=0
sprpriority=2
[State ]
type=Removeexplod
trigger1=!Time
id=8053
[State ]
type=Allpalfx
trigger1=!Time
add=255,255,255
mul=255,255,255
time=5
invertall=0
[State ]
type=Screenbound
trigger1=1
value=0
movecamera=0,0
[State ]
type=PosSet
trigger1=!Time
x=-110*facing
y=0
[State ]
type=PlaySnd
trigger1=Time=40
value=1000,1
volume=255
[State ]
type=PlaySnd
trigger1=Time=50
value=10000,23
volume=255
[State ]
type=Helper
trigger1=Time=60
stateno=2202
name="nakau"
pos=0,-500
helpertype=normal
postype=p2
ownpal=1
keyctrl=0
[State ]
type=Changestate
trigger1=Time>=95
value=2211
[Statedef 2211]
type=S
movetype=A
physics=N
velset=0,0
anim=2211
ctrl=0
sprpriority=2
[State ]
type=Changestate
trigger1=!Animtime
value=0
ctrl=1
[Statedef 2250]
type=A
movetype=H
physics=N
velset=0,0
[State ]
type=ChangeAnim2
trigger1=!Time
value=2250
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=velset
trigger1=1
x=0
y=0
[State ]
type=Posset
trigger1=1
x=0
y=0
[State ]
type=HitBy
trigger1=1
value=A,HA
[State ]
type=SelfState
trigger1=time>=500
value=5100
[Statedef 2251]
type=A
movetype=H
physics=N
velset=0,0
[State ]
type=ChangeAnim2
trigger1=!Time
value=2251
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=SelfState
trigger1=time>=100
value=5120
[Statedef 2300]
type=S
movetype=A
physics=S
velset=0,0
ctrl=0
anim=2300
sprpriority=2
[State ]
type=SuperPause
trigger1=!time
anim=-1
poweradd=-1000
movetime=30
time=30
darken=0
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=!Time
value=30000,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,1
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30000,2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=2300,0
channel=0
volume=255
[State ]
type=PlaySnd
trigger1=AnimElem=4
value=0,1
[State ]
type=NotHitBy
trigger1=time<=30
value=SCA
[State ]
type=AssertSpecial
trigger1=Time<=30
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=!Time
anim=30000
sprpriority=100
postype=p1
pos=15,-35
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30001
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30002
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8060
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
scale=.5,.5
pausemovetime=30
supermovetime=30
[State ]
type=Helper
trigger1=animelem=4
name="eko"
id=2300
pos=30,-50
postype=p1
stateno=2301
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
[State ]
type=ChangeState
trigger1=!Animtime
value=0
ctrl=1

[Statedef 2301]
type=A
movetype=A
physics=N
anim=2301
sprpriority=5
ctrl=0
velset=5.3+random%2,-6
[State ]
type=Trans
trigger1=1
trans=addalpha
alpha=210,50
ignorehitpause=1
[State ]
type=veladd
trigger1=1
y=.6
[State ]
type=AngleDraw
trigger1=1
scale=1,1
[State ]
type=AngleAdd
trigger1=1
value=-10
[State ]
type=Changestate
trigger1=vel y>0&&pos y>=-5
value=2302
[Statedef 2302]
type=S
movetype=A
physics=N
anim=2301
sprpriority=5
ctrl=0
velset=0,0
[State ]
type=Helper
trigger1=Time=20
name="eko"
pos=0,3
postype=p1
stateno=2303
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.4
size.yscale=.4
[State ]
type=Posset
trigger1=1
y=0
[State ]
type=Trans
trigger1=Time<60
trans=addalpha
alpha=210,50
ignorehitpause=1
[State ]
type=Trans
trigger1=Time>=60
trans=addalpha
alpha=256-(Time-60)*6,256-(Time-60)*6
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
ignorehitpause=1
[State ]
type=AngleAdd
trigger1=1
value=0
[State ]
type=Angleset
trigger1=1
value=0
[State ]
type=AngleDraw
trigger1=Time<60
scale=1.2,.55
ignorehitpause=1
[State ]
type=AngleDraw
trigger1=Time>=60
scale=1.2-(Time-60)*.025,.55-(Time-60)*.01
ignorehitpause=1
[State ]
type=Destroyself
trigger1=Time>=80
[Statedef 2303]
type=S
movetype=A
physics=S
velset=0,0
anim=10033
ctrl=0
sprpriority=10
[State ]
type=AfterImage

trigger1=!Time
time=-1

length=8
palbright=0,0,0
palcontrast=250,250,250
paladd=10,25,10
palmul=.65,.75,.65
framegap=1
trans=add
[State ]
type=Targetbind
trigger1=!Time&&enemy,stateno=[5000,5050]
pos=0,0
[State ]
type=AssertSpecial
trigger1=Ishelper
flag=noshadow
[State ]
type=Posset
trigger1=1
y=0
[State ]
type=PlaySnd
trigger1=!Time
value=10000,25
volume=255
freqmul=1.3+((random%2)*.1)
[State ]
type=PlaySnd
trigger1=!Time
value=10000,26
volume=255
[State ]
type=PlaySnd
trigger1=animelem=7
value=10000,24
volume=255
freqmul=1.3+((random%2)*.1)
[State ]
type=PlaySnd
trigger1=movehit
value=10000,17
volume=255
persistent=0
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=S,SA
sprpriority=10
damage=130,15
animtype=Hard
guardflag=MA
hitflag=MAF
priority=4,Hit
pausetime=0,0
sparkno=s20050
guard.sparkno=s21000
sparkxy=-25,-70
hitsound=s1,8
guardsound=s1,6
ground.type=low
ground.slidetime=50
ground.hittime=50
ground.velocity=0,-18
air.velocity=0,-18
p2stateno=2350
fall=1
air.fall=1
fall.recover=0
envshake.time=30
envshake.ampl=-14
envshake.freq=92
envshake.phase=92
[State ]
type=Pause
trigger1=movehit
time=20
persistent=0
ignorehitpause=1
[State ]
type=BGPalFX
trigger1=movehit
time=20
add=255,0,0
mul=255,0,0
invertall=0
color=0
persistent=0
ignorehitpause=1
[State ]
type=Destroyself
trigger1=!Animtime

[Statedef 2350]
type=A
movetype=H
physics=N
velset=0,0
sprpriority=1
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=Assertspecial
trigger1=time<=25
flag=invisible
[State ]
type=Assertspecial
trigger1=1
flag=noshadow
[State ]
type=Screenbound
trigger1=1
value=1
movecamera=1
[State ]
type=Changeanim
trigger1=!time
value=5050
[State ]
type=velset
trigger1=!time
x=-2
y=-60
[State ]
type=veladd
trigger1=1
y=1.4
[State ]
type=Envshake
trigger1=vel y>0&&pos y>=0
time=10
ampl=-5
freq=95
phase=95
[State ]
type=Selfstate
trigger1=vel y>0&&pos y>=0
value=5100

[Statedef 3000]
type=S
movetype=A
physics=N
velset=0,0
ctrl=0
anim=2000
sprpriority=2
[State ]
type=SuperPause
trigger1=!Time
anim=-1
poweradd=-2000
movetime=30
time=30
darken=0
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=!Time
value=30001,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30001,1
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30001,2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=3000,100
channel=0
volume=255
[State ]
type=NotHitBy
trigger1=time<=30
value=SCA
[State ]
type=Helper
trigger1=!Time
stateno=30000
name="cutin"
id=30000
pos=160,0
helpertype=normal
postype=back
ownpal=1
keyctrl=0
supermovetime=2147483647
pausemovetime=2147483647
[State ]
type=AssertSpecial
trigger1=Time<=30
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=!Time
anim=30010
sprpriority=100
postype=p1
pos=-12,-50
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30011
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30012
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8053
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
scale=.5,.5
pausemovetime=30
supermovetime=30
[State ]
type=Statetypeset
trigger1=animelem=4
statetype=A
movetype=A
physics=N
[State ]
type=Veladd
trigger1=animelemtime(2)<=3
x=-.09
[State ]
type=VelSet
trigger1=animelem=4
x=7.5
y=-9.6
[State ]
type=Veladd
trigger1=animelemtime(4)>=0
y=.7
[State ]
type=PlaySnd
trigger1=animelem=4
value=10000,4
volume=255
[State ]
type=Explod
trigger1=animelem=4
anim=10007
sprpriority=20
postype=p1
pos=60,0
bindtime=1
supermove=0
ownpal=1
ontop=1
scale=.5,.5
trans=add
[State ]
type=HitDef
trigger1=animelem=4
attr=S,SA
damage=40,9
animtype=medium
guardflag=MAF
hitflag=MAF
priority=6,Hit
pausetime=15,15
sparkno=s20000
guard.sparkno=s21000
sparkxy=-30,-50
hitsound=s1,4
guardsound=s1,6
ground.type=High
ground.slidetime=30
ground.hittime=31
ground.velocity=-1,0
air.type=High
air.velocity=-1,-4
air.hittime=32
fall=0
envshake.time=15
envshake.ampl=-6
envshake.freq=92
envshake.phase=92
[State ]
type=Removeexplod
trigger1=animelem=5
id=8053
ignorehitpause=1
[State ]
type=varset
trigger1=!Ishelper&&enemy,GethitVar(hitcount)>=3
var(15)=60
ignorehitpause=1
[State ]
type=ChangeState
triggerall=animelemtime(3)>=0
trigger1=Vel Y>0&&Pos Y>=0
value=3001
[Statedef 3001]
type=S
movetype=A
physics=N
velset=12,0
anim=1001
ctrl=0
sprpriority=2
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
[State ]
type=PlaySnd
trigger1=!Time
value=2000,100+random%2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
trigger2=Time=30
value=10000,10
volume=255
[State ]
type=Helper
trigger1=1
name="eko"
pos=-30-random%50,-5-random%60
postype=p1
stateno=1003
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=Explod
trigger1=!(Time%7)
anim=10025
sprpriority=20
postype=p1
pos=45,-33
bindtime=-1
ownpal=1
scale=.25,.25
trans=add
ignorehitpause=1
[State ]
type=Explod
trigger1=!(Time%7)
anim=10026
sprpriority=10
postype=p1
pos=10,7
bindtime=1
ownpal=1
scale=.4,.4
trans=add
ignorehitpause=1
[State ]
type=Hitdef
trigger1=!Time
attr=S,SA
damage=300,20
animtype=hard
guardflag=MA
pausetime=2,16
sparkxy=-10,-45
sparkno=s20000
guard.sparkno=s21000
hitsound=s1,4
guardsound=s1,6
ground.type=Low
ground.slidetime=20
ground.hittime=21
ground.velocity=-3.7,-3
air.animtype=Back
air.velocity=-3.7,-3
p2stateno=3050
envshake.time=15
envshake.ampl=-14
[State ]
type=Hitdef
triggerall=moveguarded
trigger1=!(Time%6)
attr=S,SA
damage=37,4
animtype=hard
guardflag=MA
pausetime=6,7
sparkxy=-10,-45
sparkno=s20000
guard.sparkno=s21000
hitsound=s1,1
guardsound=s1,6
ground.type=Low
ground.slidetime=20
ground.hittime=21
ground.velocity=-3,-1
air.animtype=Back
air.velocity=-3,-1
air.fall=1
fall=1
envshake.time=7
envshake.ampl=7
[State ]
type=pause
trigger1=movehit
time=15
persistent=0
ignorehitpause=1
[State ]
type=BGPalFX
trigger1=movehit
time=15
add=255,0,0
mul=255,0,0
invertall=0
color=0
persistent=0
ignorehitpause=1
[State ]
type=Changestate
triggerall=!(screenpos x<360&&screenpos x>0)
trigger1=Time>=60
value=3002
[State ]
type=Changestate
triggerall=(screenpos x<360&&screenpos x>0)
trigger1=Time>=60
value=3003
ctrl=1
[Statedef 3002]
type=S
movetype=A
physics=S
anim=100
sprpriority=2
[State ]
type=PlaySnd
trigger1=!Time
value=3000,1
volume=255
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=Turn
trigger1=!Time
[State ]
type=VelSet
trigger1=animelemtime(3)>=0
x=const(velocity.run.fwd.x)
[State ]
type=AssertSpecial
trigger1=1
flag=NoWalk
flag2=NoAutoTurn
[State ]
type=Playsnd
trigger1=animelemtime(3)>=0&&!(Time%7)
value=2,3
[State ]
type=ChangeState
trigger1=(screenpos x<360&&screenpos x>0)
value=3003
[Statedef 3003]
type=S
movetype=A
physics=S
anim=2001
sprpriority=2
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
[State ]
type=Playsnd
trigger1=!Time
value=2,4
[State ]
type=ChangeState
trigger1=!Animtime
value=0
ctrl=1


[Statedef 3050]
type=A
movetype=H
physics=N
velset=-4,0
ctrl=0
sprpriority=-1
[State ]
type=ChangeAnim2
trigger1=!Time
value=5010
[State ]
type=ChangeAnim2
trigger1=Time=3
value=3050
[State ]
type=VelAdd
trigger1=Time<20
y=-.5
[State ]
type=VelAdd
trigger1=Time>=20
y=.4
[State ]
type=AngleDraw
trigger1=Pos y<0&&anim=3050
value=Time*26
[State ]
type=offset
trigger1=anim=3050
y=const(size.mid.pos.y)
[State ]
type=Destroyself
trigger1=Ishelper
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=SelfState
trigger1=pos y>=0&&Vel y>0
value=5100

[Statedef 3100]
type=S
movetype=A
physics=S
velset=0,0
anim=3100
ctrl=0
sprpriority=2
[State ]
type=SuperPause
trigger1=!Time
anim=-1
poweradd=-2000
movetime=40
time=40
darken=0
[State ]
type=Envshake
trigger1=!Time
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=!Time
value=30001,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30001,1
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=30001,2
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=3100,100
channel=0
volume=255
[State ]
type=PlaySnd
trigger1=animelem=7
value=3100,0
volume=255
[State ]
type=NotHitBy
trigger1=time<=40
value=SCA
[State ]
type=Helper
trigger1=!Time
stateno=30000
name="cutin"
id=30000
pos=160,0
helpertype=normal
postype=back
ownpal=1
keyctrl=0
supermovetime=2147483647
pausemovetime=2147483647
[State ]
type=AssertSpecial
trigger1=Time<=30
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=Explod
trigger1=!Time
anim=30010
sprpriority=100
postype=p1
pos=7,-30
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30011
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=30012
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=!Time
anim=8061
id=8053
sprpriority=5
postype=p1
pos=0,0
bindtime=-1
ownpal=1
scale=.5,.5
ignorehitpause=0
pausemovetime=40
supermovetime=40
[State ]
type=PlaySnd
trigger1=animelem=4
value=10000,27
volume=255
[State ]
type=Hitdef
trigger1=!Time
attr=S,SA
damage=80,15
animtype=hard
guardflag=MA
pausetime=2,7
sparkxy=-10,-45
sparkno=-1
guard.sparkno=-1
hitsound=s1,4
guardsound=s1,6
ground.type=High
ground.slidetime=40
ground.hittime=41
ground.velocity=-1,-8
air.animtype=Back
air.velocity=-1,-8
p1stateno=3110
p2stateno=3150
kill=0
envshake.time=10
envshake.ampl=-7
[State ]
type=Explod
trigger1=moveguarded
anim=21000
sprpriority=3
postype=p2
pos=0,-60
bindtime=1
ownpal=1
trans=add
persistent=0
[State ]
type=ChangeState
trigger1=!Animtime
value=0
ctrl=1

[Statedef 3110]
type=S
movetype=A
physics=S
velset=0,0
anim=3110
ctrl=0
sprpriority=2
[State ]
type=Explod
trigger1=!Time
anim=20000
sprpriority=3
postype=p2
pos=0,-60
bindtime=1
ownpal=1
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Removeexplod
trigger1=!Time
id=8053
[State ]
type=pause
trigger1=!Time
time=15
[State ]
type=BGpalfx
trigger1=Time=15
add=0,0,0
sinadd=-150,-150,-150,160
time=80
invertall=0
[State ]
type=BGpalfx
trigger1=Time>=30&&Time<156
add=-125,-125,-125
time=1
invertall=0
[State ]
type=BGpalfx
trigger1=Time=156
add=-125,-125,-125
sinadd=125,125,125,208
time=50
invertall=0
[State ]
type=ScreenBound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=Helper
trigger1=Time=15
name="hanabi"
pos=-20,-100
postype=p1
stateno=3120
helpertype=normal
keyctrl=0
ownpal=1
[State ]
type=Helper
trigger1=Time=25
name="hanabi"
pos=37,-104
postype=p1
stateno=3120
helpertype=normal
keyctrl=0
ownpal=1
[State ]
type=Helper
trigger1=Time=35
name="hanabi"
pos=2,-80
postype=p1
stateno=3121
helpertype=normal
keyctrl=0
ownpal=1
[State ]
type=Changestate
trigger1=!Animtime
value=0
ctrl=1

[Statedef 3120]
type=S
movetype=A
physics=N
anim=10034
sprpriority=5
ctrl=0
velset=0,-3.5
[State ]
type=Playsnd
trigger1=!Time
value=10000,28
volume=255
[State ]
type=velset
trigger1=1
x=sin(Time*.22)
[State ]
type=Trans
trigger1=1
trans=add
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
[State ]
type=AngleDraw
trigger1=1
scale=.5,.5
[State ]
type=AngleAdd
trigger1=1
value=-20
[State ]
type=Explod
trigger1=1
anim=10035
sprpriority=3
postype=p1
pos=0,0
bindtime=1
ownpal=1
scale=.07,.07
trans=add
[State ]
type=Explod
trigger1=1
anim=10035
sprpriority=3
postype=p1
pos=0,0
bindtime=1
ownpal=1
scale=.09,.09
trans=add
[State ]
type=Hitdef
trigger1=!Time
attr=S,SP
damage=60,10
animtype=hard
guardflag=MA
pausetime=0,6
sparkxy=-10,-45
sparkno=-1
guard.sparkno=s21000
hitsound=s10000,31
guardsound=s1,6
ground.type=high
ground.slidetime=20
ground.hittime=21
ground.velocity=0,-5
air.animtype=back
air.velocity=0,-5
p1stateno=3122
p2stateno=3151
kill=0
envshake.time=10
envshake.ampl=-7
[State ]
type=Destroyself
trigger1=Time>=70
[Statedef 3121]
type=S
movetype=A
physics=N
anim=10034
sprpriority=5
ctrl=0
velset=0,-3.5
[State ]
type=Playsnd
trigger1=!Time
value=10000,28
volume=255
[State ]
type=velset
trigger1=1
x=sin(Time*.22)
[State ]
type=Trans
trigger1=1
trans=add
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
[State ]
type=AngleDraw
trigger1=1
scale=.5,.5
[State ]
type=AngleAdd
trigger1=1
value=-20
[State ]
type=Explod
trigger1=1
anim=10035
sprpriority=3
postype=p1
pos=0,0
bindtime=1
ownpal=1
scale=.07,.07
trans=add
[State ]
type=Explod
trigger1=1
anim=10035
sprpriority=3
postype=p1
pos=0,0
bindtime=1
ownpal=1
scale=.09,.09
trans=add
[State ]
type=Hitdef
trigger1=!Time
attr=S,SP
damage=150,15
animtype=hard
guardflag=MA
pausetime=0,6
sparkxy=-10,-45
sparkno=-1
guard.sparkno=s21000
hitsound=s10000,31
guardsound=s1,6
ground.type=high
ground.slidetime=20
ground.hittime=21
ground.velocity=0,-5
air.animtype=back
air.velocity=0,-5
p1stateno=3122+random%2
p2stateno=2150
envshake.time=10
envshake.ampl=-7
[State ]
type=Destroyself
trigger1=Time>=70

[Statedef 3122]
type=S
movetype=A
physics=N
anim=60000
sprpriority=0
ctrl=0
velset=0,0
[State ]
type=Playsnd
trigger1=!Time
value=10000,29+random%2
volume=255
[State ]
type=Velset
trigger1=1
x=0
y=0
[State ]
type=varrandom
trigger1=1
v=1
range=10036,10040
[State ]
type=varadd
trigger1=Time>=1&&Time<25
fvar(2)=.07
[State ]
type=varadd
trigger1=Time>=25
fvar(2)=.01
[State ]
type=varadd
trigger1=Time>=2&&Time<26
fvar(3)=.07
[State ]
type=varadd
trigger1=Time>=26
fvar(3)=.01
[State ]
type=varadd
trigger1=Time>=4&&Time<28
fvar(4)=.08
[State ]
type=varadd
trigger1=Time>=28
fvar(4)=.02
[State ]
type=Explod
trigger1=Time=1
anim=var(1)
id=3122
sprpriority=20
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(2),fvar(2)
id=3122
[State ]
type=Explod
trigger1=Time=2
anim=var(1)
id=31220
sprpriority=20
postype=p1
pos=0,0
facing=-1
bindtime=1
ownpal=1
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(3),fvar(3)
id=31220
[State ]
type=Explod
trigger1=Time=4
anim=var(1)+5
id=31221
sprpriority=20
postype=p1
pos=0,0
facing=-1
bindtime=1
ownpal=1
random=60,60
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(4),fvar(4)
id=31221
[State ]
type=Explod
trigger1=Time<=7
anim=10048
pos=0,0
postype=p1
sprpriority=60
bindtime=1
random=100,100
ownpal=1
scale=.8,.8
supermove=1
[State ]
type=Destroyself
trigger1=Time>=40
[Statedef 3123]
type=S
movetype=A
physics=N
anim=60000
sprpriority=0
ctrl=0
velset=0,0
[State ]
type=Playsnd
trigger1=!Time
value=10000,29+random%2
volume=255
[State ]
type=Playsnd
trigger1=!Time
value=3100,102
volume=255
[State ]
type=Velset
trigger1=1
x=0
y=0
[State ]
type=varrandom
trigger1=1
v=1
range=10036,10040
[State ]
type=varadd
trigger1=Time<25
fvar(2)=.05
[State ]
type=varadd
trigger1=Time>=25
fvar(2)=.03
[State ]
type=varadd
trigger1=Time>=2&&Time<26
fvar(3)=.06
[State ]
type=varadd
trigger1=Time>=26
fvar(3)=.02
[State ]
type=varadd
trigger1=Time>=4&&Time<28
fvar(4)=.07
[State ]
type=varadd
trigger1=Time>=28
fvar(4)=.03
[State ]
type=Explod
trigger1=!Time
anim=10046
id=3123
sprpriority=30
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=40
[State ]
type=Explod
trigger1=!Time
anim=10047
id=3123
sprpriority=20
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(2),fvar(2)
id=3123
[State ]
type=Explod
trigger1=Time=1
anim=var(1)
id=3122
sprpriority=20
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(2),fvar(2)
id=3122
[State ]
type=Explod
trigger1=Time=2
anim=var(1)
id=31220
sprpriority=20
postype=p1
pos=0,0
facing=-1
bindtime=1
ownpal=1
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(3),fvar(3)
id=31220
[State ]
type=Explod
trigger1=Time=4
anim=var(1)+5
id=31221
sprpriority=20
postype=p1
pos=0,0
facing=-1
bindtime=1
ownpal=1
random=60,60
removetime=40
[State ]
type=Modifyexplod
trigger1=1
scale=fvar(4),fvar(4)
id=31221
[State ]
type=Explod
trigger1=Time<=7
anim=10048
pos=0,0
postype=p1
sprpriority=60
bindtime=1
random=70,70
ownpal=1
scale=.8,.8
supermove=1
[State ]
type=Destroyself
trigger1=Time>=40

[Statedef 3150]
type=A
movetype=H
physics=N
velset=0,0
[State ]
type=Destroyself
trigger1=1
[State ]
type=ChangeAnim2
trigger1=!Time
value=3150
[State ]
type=VelSet
trigger1=Time=2
x=1
y=-7.7+(statetype=A&&movetype!=H)*3
[State ]
type=Velmul
trigger1=abs(p2dist x)<5
x=.8
[State ]
type=PosFreeze
trigger1=Time=1
value=1
[State ]
type=Veladd
trigger1=Time>=20
y=.3
[State ]
type=SelfState
triggerall=Time>=20
trigger1=Vel Y>0&&Pos Y>=0
value=5100
[Statedef 3151]
type=A
movetype=H
physics=N
velset=0,0
sprpriority=1
[State ]
type=Destroyself
trigger1=1
[State ]
type=PalFX
trigger1=!Time
time=70
add=40,-70,-200
sinadd=40,30,0,10
invertall=1
color=0
[State ]
type=Screenbound
trigger1=1
value=1
movecamera=1
[State ]
type=Changeanim2
trigger1=!time
value=3151
[State ]
type=Selfstate
trigger1=Time>=400
value=5050
[Statedef 3152]
type=A
movetype=H
physics=N
velset=0,0
sprpriority=1
[State ]
type=Destroyself
trigger1=1
[State ]
type=PalFX
trigger1=!Time
time=70
add=40,-70,-200
sinadd=40,30,0,10
invertall=1
color=0
[State ]
type=Screenbound
trigger1=1
value=1
movecamera=1
[State ]
type=Changeanim2
trigger1=!time
value=3152
[State ]
type=Selfstate
trigger1=Time>=400
value=5050

[Statedef 6000]
type=S
movetype=A
physics=N
velset=0,0
anim=4000
ctrl=0
poweradd=-3000
sprpriority=2
[State ]
type=SuperPause
trigger1=Time=100
anim=-1
movetime=30
time=30
darken=0
[State ]
type=Helper
trigger1=Time=100
stateno=31000
name="cutin"
id=31000
pos=160,0
helpertype=normal
postype=back
ownpal=1
keyctrl=0
supermovetime=2147483647
pausemovetime=2147483647
[State ]
type=Playsnd
trigger1=animelem=3
value=10000,5
volume=100
loop=1
channel=2
[State ]
type=Stopsnd
trigger1=Time=100
channel=2
[State ]
type=EnvShake
triggerall=Time>=6&&Time<=99
trigger1=!(Time%5)
time=5
ampl=-5
freq=95
phase=95
[State ]
type=Envshake
trigger1=Time=100
time=20
ampl=-5
freq=95
phase=95
[State ]
type=PlaySnd
trigger1=Time=100
value=30002,0
volume=255
[State ]
type=PlaySnd
trigger1=Time=100
value=30002,1
volume=255
[State ]
type=PlaySnd
trigger1=Time=100
value=30002,2
volume=255
[State ]
type=PlaySnd
trigger1=Time=100
value=4000,100
channel=0
volume=255
[State ]
type=AssertSpecial
trigger1=Time=[100,140]
flag=NoFG
flag2=NOBG
ignorehitpause=1
[State ]
type=NotHitBy
trigger1=1
value=SCA
[State ]
type=Explod
trigger1=Time=100
anim=30020
sprpriority=100
postype=p1
pos=-30,-80
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=Time=100
anim=30021
sprpriority=200
postype=p1
pos=-30,-80
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=Time=100
anim=30022
sprpriority=-5000
postype=back
pos=0,0
bindtime=1
ownpal=1
scale=.5,.5
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=Time=100
anim=30023
sprpriority=50
postype=back
pos=0,0
bindtime=-1
supermove=1
ownpal=1
ontop=1
scale=.5,.5
trans=add
pausemovetime=30
supermovetime=30
[State ]
type=Playsnd
trigger1=Time=140
value=10000,32
volume=255
[State ]
type=Changestate
trigger1=Time>=150
value=6001
[Statedef 6001]
type=S
movetype=A
physics=N
velset=0,0
anim=4001
ctrl=0
sprpriority=2
[State ]
type=PlaySnd
trigger1=!Time
value=1,4
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=10000,20
volume=255
[State ]
type=Allpalfx
trigger1=!Time
add=255,255,255
time=3
invertall=0
[State ]
type=EnvShake
trigger1=!Time
time=10
freq=120
ampl=-20
phase=130
[State ]
type=Explod
trigger1=!Time
anim=10030
postype=p1
pos=0,0
bindtime=1
ownpal=1
sprpriority=10
[State ]
type=Explod
trigger1=!Time
anim=10049
postype=p1
pos=0,10
bindtime=1
ownpal=1
scale=1.2,1.2
sprpriority=-5
[State ]
type=EnvShake
triggerall=Time>=10
trigger1=!(Time%5)
time=5
ampl=-5
freq=95
phase=95
[State ]
type=Explod
trigger1=Time<=30
anim=10050
sprpriority=20
postype=p1
pos=-60+random%120,5-random%10
vel=-2.4,2
scale=.25,.25
ownpal=1
trans=add
accel=-.5-(random%2)*.1,-.2-(random%4)*.1
[State ]
type=Explod
trigger1=Time<=30
anim=10050
sprpriority=20
postype=p1
pos=-60+random%120,5-random%10
vel=2.4,2
scale=.25,.25
ownpal=1
trans=add
accel=.5+(random%2)*.1,-.2-(random%4)*.1
[State ]
type=Explod
trigger1=Time<=30
anim=10051
sprpriority=15
postype=p1
pos=-60+random%120,5-random%10
vel=-1.6,1
ownpal=1
trans=add
accel=-.5-(random%2)*.1,-.1-(random%4)*.1
[State ]
type=Explod
trigger1=Time<=30
anim=10051
sprpriority=15
postype=p1
pos=-60+random%120,5-random%10
vel=1.6,1
ownpal=1
trans=add
accel=.5+(random%2)*.1,-.1-(random%4)*.1
[State ]
type=AngleDraw
trigger1=Time<30
scale=1.0+Time*.065,1.0+Time*.065
[State ]
type=AngleDraw
trigger1=Time>=30
scale=3.0,3.0
[State ]
type=Changestate
trigger1=Time>=65
value=6002
[Statedef 6002]
type=S
movetype=A
physics=N
velset=0,0
anim=4002
ctrl=0
sprpriority=2
[State ]
type=PlaySnd
trigger1=!Time
value=4001,100
volume=255
[State ]
type=AngleDraw
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=Varset
triggerall=!Ishelper
trigger1=!Time
var(5)=260
[State ]
type=Varset
triggerall=!Ishelper
trigger1=var(5)!=0
var(6)=1
[State ]
type=Changestate
trigger1=!Animtime
value=6010
[Statedef 6010]
type=S
movetype=A
physics=N
velset=0,0
ctrl=0
sprpriority=2
[State ]
type=AngleDraw
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=ChangeAnim
trigger1=Anim!=1&&Anim!=5
trigger2=Anim=5&&!AnimTime
value=1
[State ]
type=Turn
trigger1=(enemy,pos x-pos x)*facing<0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=ChangeState
value=6011
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="holdfwd"||command="holdback"
[State ]
type=ChangeState
value=6020
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="x"
[State ]
type=ChangeState
value=6021
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="y"
[State ]
type=ChangeState
value=6022
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="b"
[State ]
type=ChangeState
value=6023
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="a"
[State ]
type=ChangeState
value=6024
triggerall=!Ishelper
triggerall=statetype!=A
trigger1=command="c"
[State ]
type=Changestate
trigger1=!enemy,alive
trigger2=!enemy,life
trigger3=!var(5)
value=6040
[Statedef 6011]
type=S
physics=S
sprpriority=0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=Playsnd
trigger1=animelem=6||animelem=14
value=10000,36
volume=255
[State ]
type=EnvShake
trigger1=animelem=6||animelem=14
time=5
freq=120
ampl=-10
phase=110
[State ]
type=VelSet
trigger1=command="holdfwd"
x=.8
[State ]
type=VelSet
trigger1=command="holdback"
x=-.8
[State ]
type=ChangeAnim
triggerall=vel x>0
trigger1=Anim!=4005&&Anim!=5
trigger2=Anim=5&&!AnimTime
value=4005
[State ]
type=ChangeAnim
triggerall=vel x<0
trigger1=Anim!=4006&&Anim!=5
trigger2=Anim=5&&!AnimTime
trigger3=Anim!=4006&&Anim!=5
trigger4=Anim=5&&!AnimTime
value=4006
[State ]
type=Changestate
triggerall=anim=4005
trigger1=command!="holdfwd"
value=6010
[State ]
type=Changestate
triggerall=anim=4006
trigger1=command!="holdback"
value=6010
[Statedef 6012]
type=S
physics=S
sprpriority=0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=Playsnd
trigger1=animelem=6||animelem=14
value=10000,36
volume=255
[State ]
type=EnvShake
trigger1=animelem=6||animelem=14
time=5
freq=120
ampl=-10
phase=110
[State ]
type=ChangeAnim
triggerall=var(30)=1
trigger1=!Time
value=4005
[State ]
type=VelSet
triggerall=var(30)=1
trigger1=anim=4005
x=.8
[State ]
type=Changestate
triggerall=var(30)=1
trigger1=P2bodydist X<0
trigger2=FrontEdgeBodyDist<15
trigger3=P2bodydist X<=15
trigger4=Time>=300
value=6010
[Statedef 6020]
type=S
movetype=A
physics=S
ctrl=0
velset=0,0
anim=4010
sprpriority=2
[State ]
type=Helper
trigger1=!Time
name="Hitdef"
pos=0,0
postype=p1
stateno=60200
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
triggerall=!var(30)
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=AngleDraw
triggerall=var(30)
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=animelem=3
value=0,4
[State ]
type=PlaySnd
trigger1=animelem=3
value=4002,100
volume=255
[State ]
type=Explod
trigger1=animelem=3
anim=10052
sprpriority=20
postype=p1
pos=90,-150
bindtime=1
supermove=0
ownpal=1
scale=.5,.5
trans=add
[State ]
type=ChangeState
trigger1=!AnimTime
value=6010

[Statedef 60200]
type=S
movetype=A
physics=N
anim=4010
sprpriority=5
ctrl=0
velset=0,0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
flag2=invisible
[State ]
type=Hitdef
trigger1=!Time
attr=,HA
hitflag=MAF
guardflag=
animtype=diagup
air.animtype=diagup
fall.animtype=diagup
ground.type=high
air.type=high
damage=150
givepower=120
pausetime=0,5
sparkno=s20000
guard.sparkno=-1
hitsound=s1,4
guardsound=-1
sparkxy=-10,-50
ground.hittime=20
ground.slidetime=20
guard.hittime=20
air.hittime=25
guard.ctrltime=20
airguard.ctrltime=20
ground.velocity=-3,-10
guard.velocity=-4
air.velocity=-3,-10
airguard.velocity=-2,-6
fall=1
air.fall=1
p2stateno=60201
envshake.time=10
envshake.ampl=-10
[State ]
type=Destroyself
trigger1=!Animtime
[Statedef 60201]
type=A
movetype=H
physics=N
velset=0,0
ctrl=0
sprpriority=-1
[State ]
type=velset
trigger1=animelem=2
x=-2.6
y=-15
[State ]
type=veladd
trigger1=animelemtime(2)>=0
y=.75
[State ]
type=ChangeAnim2
trigger1=!Time
value=4007
[State ]
type=Selfstate
triggerall=animelemtime(2)>=0
trigger1=vel y>0&&pos y>=0
value=5100

[Statedef 6021]
type=S
movetype=A
physics=S
ctrl=0
velset=0,0
anim=4011
sprpriority=2
[State ]
type=Helper
trigger1=!Time
name="Hitdef"
pos=0,0
postype=p1
stateno=60210
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
triggerall=!var(30)
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=AngleDraw
triggerall=var(30)
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!Time
value=0,4
[State ]
type=PlaySnd
trigger1=!Time
value=4002,101
volume=255
[State ]
type=Explod
trigger1=animelem=6
anim=10053
sprpriority=20
postype=p1
pos=100,-110
bindtime=1
supermove=0
ownpal=1
scale=.5,.5
trans=add
[State ]
type=PlaySnd
trigger1=Time=30
value=1,4
volume=255
[State ]
type=PlaySnd
trigger1=Time=30
value=10000,20
volume=255
[State ]
type=Allpalfx
trigger1=Time=30
add=255,255,255
time=3
invertall=0
[State ]
type=EnvShake
trigger1=Time=30
time=10
freq=120
ampl=-20
phase=130
[State ]
type=Explod
trigger1=Time=30
anim=10030
sprpriority=20
postype=p1
pos=125,5
bindtime=1
ownpal=1
[State ]
type=Explod
trigger1=Time=30
anim=10049
sprpriority=-5
postype=p1
pos=125,7
bindtime=1
ownpal=1
scale=1.2,1.2
[State ]
type=Explod
trigger1=Time=30
anim=10054
sprpriority=30
postype=p1
pos=125,5
bindtime=1
ownpal=1
scale=.7,.7
[State ]
type=ChangeState
trigger1=!AnimTime
value=6010

[Statedef 60210]
type=S
movetype=A
physics=N
anim=4011
sprpriority=5
ctrl=0
velset=0,0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
flag2=invisible
[State ]
type=Hitdef
trigger1=!Time
attr=,HA
hitflag=MA
guardflag=
animtype=diagup
air.animtype=diagup
fall.animtype=diagup
ground.type=high
air.type=high
damage=150
givepower=120
pausetime=0,5
sparkno=s20000
guard.sparkno=-1
hitsound=s1,4
guardsound=-1
sparkxy=-10,-50
ground.hittime=20
ground.slidetime=20
guard.hittime=20
air.hittime=25
guard.ctrltime=20
airguard.ctrltime=20
ground.velocity=-1,10
guard.velocity=-2
air.velocity=-1,10
airguard.velocity=.6,6
fall=1
air.fall=1
p2stateno=60211
envshake.time=10
envshake.ampl=-10
[State ]
type=Destroyself
trigger1=!Animtime
[Statedef 60211]
type=A
movetype=H
physics=N
velset=0,0
ctrl=0
sprpriority=-1
[State ]
type=Destroyself
trigger1=1
[State ]
type=velset
trigger1=animelem=2
x=-.5
y=9
[State ]
type=veladd
trigger1=animelemtime(2)>=0
y=.75
[State ]
type=ChangeAnim2
trigger1=!Time
value=4030
[State ]
type=Changestate
triggerall=animelemtime(2)>=0
trigger1=vel y>0&&pos y>=0
value=60212
[Statedef 60212]
type=A
movetype=H
physics=N
velset=0,0
ctrl=0
sprpriority=-1
[State ]
type=ChangeAnim2
trigger1=!Time
value=4031
[State ]
type=Posset
trigger1=1
y=0
[State ]
type=Changestate
trigger1=!Animtime
value=60213
[Statedef 60213]
type=A
movetype=H
physics=N
velset=0,0
ctrl=0
sprpriority=-1
[State ]
type=velset
trigger1=!Time
y=-10
[State ]
type=veladd
trigger1=1
y=.6
[State ]
type=ChangeAnim2
trigger1=!Time
value=4032
[State ]
type=Selfstate
triggerall=animelemtime(2)>=0
trigger1=vel y>0&&pos y>=0
value=5100

[Statedef 6022]
type=S
movetype=A
physics=S
ctrl=0
velset=0,0
anim=4012
sprpriority=2
[State ]
type=Helper
trigger1=!Time
name="Hitdef"
pos=0,0
postype=p1
stateno=60220
helpertype=normal
keyctrl=0
ownpal=1
size.xscale=.5
size.yscale=.5
ignorehitpause=1
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
triggerall=!var(30)
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=AngleDraw
triggerall=var(30)
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=animelem=4
value=4002,102
volume=255
[State ]
type=PlaySnd
trigger1=animelem=4
value=0,4
[State ]
type=PlaySnd
trigger1=animelem=4
value=1,4
volume=255
[State ]
type=PlaySnd
trigger1=animelem=4
value=10000,33
volume=255
[State ]
type=Allpalfx
trigger1=animelem=4
add=255,255,255
time=3
invertall=0
[State ]
type=EnvShake
trigger1=animelem=4
time=10
freq=120
ampl=-20
phase=130
[State ]
type=Explod
trigger1=animelem=4
anim=10054
sprpriority=30
postype=p1
pos=100,5
bindtime=1
ownpal=1
scale=.7,.7
[State ]
type=Explod
trigger1=animelem=4
anim=10049
sprpriority=-5
postype=p1
pos=100,7
bindtime=1
ownpal=1
scale=1.2,1.2
[State ]
type=ChangeState
trigger1=!AnimTime
value=6010
[Statedef 60220]
type=S
movetype=A
physics=N
anim=4012
sprpriority=5
ctrl=0
velset=0,0
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AssertSpecial
trigger1=1
flag=noshadow
flag2=invisible
[State ]
type=Hitdef
trigger1=!Time
attr=,HA
hitflag=MFD
guardflag=
animtype=diagup
air.animtype=diagup
fall.animtype=diagup
ground.type=high
air.type=high
damage=150
givepower=120
pausetime=0,5
sparkno=s20000
guard.sparkno=-1
hitsound=s1,4
guardsound=-1
sparkxy=-10,-50
ground.hittime=20
ground.slidetime=20
guard.hittime=20
air.hittime=25
guard.ctrltime=20
airguard.ctrltime=20
ground.velocity=-1,10
guard.velocity=-2
air.velocity=-1,10
airguard.velocity=.6,6
fall=1
air.fall=1
p2stateno=60211
envshake.time=10
envshake.ampl=-10
[State ]
type=Destroyself
trigger1=!Animtime
[Statedef 6023]
type=S
movetype=I
physics=S
ctrl=0
velset=0,0
anim=4013
sprpriority=2
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
triggerall=!var(30)
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=AngleDraw
triggerall=var(30)
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!Time
value=4002,103
volume=255
[State ]
type=PlaySnd
trigger1=animelem=3
value=10000,34
volume=255
persistent=2
[State ]
type=ChangeState
trigger1=Time>=30
value=6010
[Statedef 6024]
type=S
movetype=I
physics=S
ctrl=0
velset=0,0
anim=4014
sprpriority=2
[State ]
type=Nothitby
trigger1=1
value=SCA
[State ]
type=AngleDraw
triggerall=!var(30)
trigger1=Time!=0
scale=3.0,3.0
ignorehitpause=1
[State ]
type=AngleDraw
triggerall=var(30)
trigger1=1
scale=3.0,3.0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!Time
value=3100,102
volume=255
[State ]
type=ChangeState
trigger1=Time>=30
value=6010

[Statedef 6040]
type=S
movetype=A
physics=N
velset=0,0
anim=4040
ctrl=0
sprpriority=2
[State ]
type=Lifeset
trigger1=!Time
value=1
[State ]
type=PlaySnd
trigger1=!Time
value=4003,100
volume=255
[State ]
type=PlaySnd
trigger1=Time=30
value=4003,0
volume=255
[State ]
type=PlaySnd
trigger1=!Time
value=10000,35
volume=255
[State ]
type=AngleDraw
trigger1=Time>=1&&Time<31
scale=3.0-Time*.065,3.0-Time*.065
[State ]
type=AngleDraw
trigger1=Time>=31
scale=1.0,1.0
[State ]
type=Changestate
trigger1=Time>=65
value=6041
[Statedef 6041]
type=S
movetype=A
physics=N
velset=0,0
anim=4041
ctrl=0
sprpriority=2
[State ]
type=Changestate
trigger1=!Animtime
value=0
ctrl=1
