[Statedef 200]
type=S
movetype=A
physics=N
ctrl=0
juggle=1
anim=200
poweradd=20
velset=0,0
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PlaySnd
trigger1=animelem=1
value=0,0
[State ]
type=PlaySnd
trigger1=!time
trigger1=random>=499
value=100,65
channel=0
[State ]
type=HitDef
trigger1=!time
attr=S,NA
damage=35,5
animtype=medium
ground.type=low
guardflag=M
hitflag=MAF
priority=3, Hit
pausetime=7,6
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-73
hitsound=s5,0
guardsound=S10,0
ground.slidetime=11
ground.hittime=11
guard.velocity=-2
ground.velocity=-3
air.velocity=-2,-5
airguard.velocity=-4,-3
getpower=35,29
givepower=11,6
guard.cornerpush.veloff=-3.5
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=-3.5
air.fall=1
fall.recovertime=20
yaccel=.45
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 210]
type=S
movetype=A
physics=N
anim=210
ctrl=0
juggle=1
velset=0,0
poweradd=20
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PosAdd
trigger1=animelem=1
trigger1=p2dist X>0
x=-1
[State ]
type=PosAdd
trigger1=animelem=2
trigger1=p2dist X>0
x=-6
[State ]
type=PosAdd
trigger1=animelem=4
trigger1=p2dist X>0
x=15
[State ]
type=PosAdd
trigger1=animelem=7
trigger1=p2dist X>0
x=-8
[State ]
type=PlaySnd
trigger1=animelem=3
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=4
trigger1=random>=499
value=100,65+(random%3)
channel=0
[State ]
type=Explod
trigger1=animelem=4
anim=10030
pos=22,-54
postype=p1
ownpal=1
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=S,NA
damage=50,4
animtype=hard
ground.type=low
guardflag=M
hitflag=MAFD
priority=3,Hit
pausetime=9,12
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-53
hitsound=s5,6
guardsound=s10,0
ground.slidetime=14
ground.hittime=14
guard.velocity=-5
ground.velocity=-5
air.velocity=-2,-7
down.velocity=-4.1,-2
airguard.velocity=-4,-3
getpower=68,64
givepower=19,12
ground.cornerpush.veloff=-9
air.cornerpush.veloff=0
down.cornerpush.veloff=0
air.fall=1
fall.recovertime=10
yaccel=.54
[State ]
type=EnvShake
trigger1=movehit
trigger1=p2movetype=H
time=10
ampl=3
freq=60
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 220]
type=S
movetype=A
physics=N
ctrl=0
juggle=1
anim=220
velset=0,0
[State ]
type=PosAdd
trigger1=animelem=2
x=5
[State ]
type=PlaySnd
trigger1=animelem=5
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=5
trigger1=random>=499
value=100,1
channel=0
[State ]
type=PlaySnd
trigger1=animelem=5
trigger1=random<=498
value=100,68
channel=0
[State ]
type=PosAdd
trigger1=animelem=5
x=12
[State ]
type=PosAdd
trigger1=!animtime
x=5
[State ]
type=Explod
trigger1=animelem=6
anim=10031
pos=55,-50
postype=p1
ownpal=1
bindtime=1
scale=.9,1.0
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=S,NA
damage=85,8
animtype=hard
ground.type=high
guardflag=M
hitflag=MAFD
priority=3,Hit
pausetime=10,16
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-10,-73
hitsound=s5,6
guardsound=s10,0
ground.slidetime=16
ground.hittime=16
guard.velocity=-4
ground.velocity=-4
air.velocity=-4,-3
down.velocity=-4.4,-2
airguard.velocity=-4,-3
getpower=81,71
givepower=35, 29
ground.cornerpush.veloff=-6
air.cornerpush.veloff=0
down.cornerpush.veloff=0
air.fall=1
yaccel=.56
fall.recovertime=20
[State ]
type=EnvShake
trigger1=movehit
time=8
ampl=4
freq=90
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 230]
type=S
movetype=A
physics=N
ctrl=0
anim=230
juggle=1
poweradd=25
velset=0,0
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=2
x=5
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=3
x=10
[State ]
type=PosAdd
trigger1=anim=230
trigger1=p2bodydist X!=[-5,5]
trigger1=animelem=6
x=31
[State ]
type=PosAdd
trigger1=anim=230
trigger1=p2bodydist X=[-5,5]
trigger1=animelem=6
x=0
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=9
trigger1=p2bodydist X!=[-5,5]
x=20
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=9
trigger1=p2bodydist X=[-5,5]
x=10
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=10
x=8
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=11
x=13
[State ]
type=PosAdd
trigger1=anim=230
trigger1=animelem=12
x=12
[State ]
type=PlaySnd
trigger1=animelem=6
trigger1=random>=499
value=100,1
channel=0
[State ]
type=PlaySnd
trigger1=animelem=6
trigger1=random<=498
value=100,68
channel=0
[State ]
type=PlaySnd
trigger1=animelem=6
value=0,0
[State ]
type=Explod
trigger1=animelem=6
anim=10030
pos=1,-30
postype=p1
ownpal=1
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=Enemy,statetype!=A
trigger1=Enemy,statetype!=L
value=0
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=S,NA
damage=85,9
animtype=light
ground.type=low
guardflag=L
hitflag=MAFD
priority=3, Hit
pausetime=6,14
guard.pausetime=10,10
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-45
hitsound=s5,6
guardsound=s10,0
ground.slidetime=17
ground.hittime=17
guard.velocity=-5.4
ground.velocity=7.9
air.velocity=-.7,-8
down.velocity=-4,-2
airguard.velocity=-4,-3
getpower=65,59
givepower=30, 24
guard.cornerpush.veloff=-9.5
ground.cornerpush.veloff=0
air.cornerpush.veloff=0
air.fall=1
yaccel=.54
fall.recovertime=25
[State ]
type=ChangeAnim
trigger1=(!movehit||(movehit&&EnemyNear,statetype=A))
trigger1=animelemtime(8)=5
trigger2=movehit
trigger2=animelemtime(8)=5
trigger2=Enemy,statetype!=S
trigger2=Enemy,statetype!=C
value=231
persistent=0
ignorehitpause=1
[State ]
type=PosAdd
trigger1=(!movehit||(movehit&&EnemyNear,statetype=A))
trigger1=animelemtime(8)=5
x=-49
ignorehitpause=1
[State ]
type=PosAdd
trigger1=anim=231
trigger1=animelem=1
x=-49
[State ]
type=PosAdd
trigger1=anim=231
trigger1=animelem=4
x=-10
[State ]
type=PosAdd
trigger1=anim=231
trigger1=animelem=5
x=-15
[State ]
type=PosAdd
trigger1=anim=231
trigger1=!Animtime
trigger1=Enemy,statetype!=L
x=4
[State ]
type=EnvShake
trigger1=movehit
time=8
ampl=4
freq=100
persistent=0
ignorehitpause=1
[State ]
type=Turn
trigger1=!animtime
trigger1=anim=230
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 400]
type=C
movetype=A
physics=N
ctrl=0
anim=400
poweradd=20
velset=0,0
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PlaySnd
trigger1=animelem=1
value=0,0
[State ]
type=PlaySnd
trigger1=!time
trigger1=random>=499
value=100,65
channel=0
[State ]
type=HitDef
trigger1=!Time
attr=C,NA
damage=30,3
animtype=light
ground.type=low
guardflag=L
hitflag=MAFD
priority=3,Hit
pausetime=6,10
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-10
hitsound=s5,2
guardsound=s10,0
ground.slidetime=6
ground.hittime=6
guard.velocity=-3.6
ground.velocity=-3.6
down.velocity=-4,-2
down.bounce=1
air.velocity=-2.3
airguard.velocity=-4,-3
getpower=35,29
givepower=11,6
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=-5.5
down.cornerpush.veloff=0
air.fall=1
fall.recovertime=20
yaccel=.66
[State ]
type=ChangeState
trigger1=!animtime
value=11
ctrl=1

[Statedef 410]
type=C
movetype=A
physics=N
ctrl=0
anim=410
poweradd=23
velset=0,0
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PosAdd
trigger1=animelem=2
x=5
[State ]
type=PosAdd
trigger1=animelem=3
x=10
[State ]
type=PosAdd
trigger1=animelem=5
x=6
[State ]
type=PosAdd
trigger1=animelem=8
x=-10
[State ]
type=PosAdd
trigger1=animelem=9
x=-9
[State ]
type=PosAdd
trigger1=animelem=10
x=-2
[State ]
type=PlaySnd
trigger1=animelem=4
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=5
trigger1=random>=499
value=100,65+(random%2)
channel=0
[State ]
type=Explod
trigger1=animelem=5
anim=10033
pos=25,-24
postype=p1
ownpal=1
bindtime=1
scale=1.0,.8
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=C,NA
damage=55,6
animtype=hard
ground.type=low
guardflag=L
hitflag=MAFD
priority=3,Hit
pausetime=10,15
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-25
hitsound=s5,6
guardsound=s10,0
ground.slidetime=16
ground.hittime=16
guard.velocity=-5
ground.velocity=-5
air.velocity=-4,-5
down.velocity=-4,-2
down.bounce=1
airguard.velocity=-3,-4
getpower=68,64
givepower=19, 12
ground.cornerpush.veloff=-9
air.cornerpush.veloff=0
down.cornerpush.veloff=0
air.fall=1
fall.recovertime=25
yaccel=.60
[State ]
type=EnvShake
trigger1=movehit
time=8
ampl=3
freq=70
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!animtime
value=11
ctrl=1

[Statedef 420]
type=C
movetype=A
physics=N
ctrl=0
anim=420
poweradd=20
velset=0,0
[State ]
type=Turn
trigger1=!time
trigger1=p2dist X<=0
[State ]
type=PosAdd
trigger1=animelem=2
x=11
[State ]
type=PosAdd
trigger1=animelem=3
x=10
[State ]
type=PosAdd
trigger1=animelem=4
x=10
[State ]
type=PosAdd
trigger1=animelem=5
x=2
[State ]
type=PosAdd
trigger1=animelem=6
x=2
[State ]
type=PosAdd
trigger1=animelem=7
x=10
[State ]
type=PosAdd
triggerall=animelem=8
trigger1=p2bodydist X>=15
x=31
[State ]
type=PosAdd
trigger1=animelem=8
trigger1=p2bodydist X=[-15,15]
x=0
[State ]
type=PosAdd
trigger1=animelem=9
x=26
[State ]
type=PosAdd
trigger1=animelem=10
x=1
[State ]
type=PlaySnd
trigger1=animelem=8
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=9
trigger1=random>=499
value=100,65+(random%2)
[State ]
type=PlaySnd
trigger1=animelem=9
trigger1=random<=498
value=100,68+(random%2)
[State ]
type=Explod
trigger1=animelem=9
anim=10034
pos=-15,-24
postype=p1
ownpal=1
bindtime=1
scale=.8,.8
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=C,NA
damage=90,9
animtype=hard
ground.type=low
guardflag=L
hitflag=MAFD
priority=3,Hit
pausetime=12,16
guard.pausetime=12,7
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-15,-25
hitsound=s5,6
guardsound=s10,0
ground.slidetime=17
ground.hittime=17
guard.velocity=-9.5
ground.velocity=0,-4.7
air.velocity=-4,-6
down.velocity=-4,-2
down.bounce=1
airguard.velocity=-4,-3
getpower=81,71
givepower=35,29
guard.cornerpush.veloff=-16.5
ground.cornerpush.veloff=-5.5
air.cornerpush.veloff=-4.5
fall=1
fall.recovertime=30
yaccel=.75
[State ]
type=EnvShake
trigger1=movehit
time=8
ampl=4
freq=100
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!animtime
value=11
ctrl=1

[Statedef 430]
type=C
movetype=A
physics=N
anim=430
ctrl=0
velset=0,0
poweradd=20
[State ]
type=PosAdd
trigger1=!time
x=4
[State ]
type=PosAdd
trigger1=animelem=7
x=-3
[State ]
type=PosAdd
trigger1=!animtime
x=-1
[State ]
type=PlaySnd
trigger1=animelem=2
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random>=499
value=100,65+(random%2)
channel=0
[State ]
type=Explod
trigger1=animelem=3
anim=13088
pos=28,-39
postype=p1
ownpal=1
scale=1.25,1.0
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=C,NA
damage=60,9
animtype=hard
ground.type=low
guardflag=L
hitflag=MAFD
priority=3,Hit
pausetime=10,15
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-25
hitsound=s5,6
guardsound=s10,0
ground.slidetime=14
ground.hittime=14
guard.velocity=-5.1
ground.velocity=-9
air.velocity=-3,-8
down.velocity=-4,-2
down.bounce=1
airguard.velocity=-4,-3
getpower=68,64
givepower=19,12
ground.cornerpush.veloff=-12
air.cornerpush.veloff=0
air.fall=1
fall.recovertime=26
yaccel=.60
[State ]
type=EnvShake
trigger1=movehit
time=8
ampl=3
freq=90
persistent=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!animtime
value=11
ctrl=1

[Statedef 600]
type=A
movetype=A
physics=A
ctrl=0
anim=600
poweradd=20
[State ]
type=PlaySnd
trigger1=animelem=1
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=2
trigger1=random>=499
value=100,65
channel=0
[State ]
type=Explod
trigger1=animelem=3
anim=10035
pos=14,-71
postype=p1
ownpal=1
bindtime=1
scale=1.0,.8
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=A,NA
damage=40,4
animtype=light
ground.type=high
guardflag=MA
hitflag=MAF
priority=3,Hit
pausetime=6,12
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-8,-53
hitsound=s5,6
guardsound=s10,0
ground.slidetime=11
ground.hittime=11
guard.velocity=-4.6
ground.velocity=-4.6
air.velocity=-1.7,-4.1
airguard.velocity=-4,-3
getpower=35,29
givepower=11,6
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=0
air.fall=1
fall.recovertime=30
yaccel=.54

[Statedef 610]
type=A
movetype=A
physics=A
ctrl=0
anim=610
poweradd=20
[State ]
type=PlaySnd
trigger1=animelem=2
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=3
value=100,1
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random>=499
value=100,65+(random%3)
channel=0
[State ]
type=Explod
trigger1=animelem=3
anim=10036
pos=12,-73
postype=p1
ownpal=1
bindtime=1
scale=1.0,1.1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=A,NA
damage=55,7
animtype=medium
ground.type=high
guardflag=HA
hitflag=MAF
priority=3,Hit
pausetime=10,16
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-73
hitsound=s5,6
guardsound=s10,0
ground.slidetime=14
ground.hittime=14
guard.velocity=-4.6
ground.velocity=-4.6
air.velocity=-1,-6
airguard.velocity=-4,-3
getpower=68,64
givepower=19,12
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=0
air.fall=1
fall.recovertime=25
yaccel=.54
[State ]
type=EnvShake
trigger1=movehit
trigger1=p2movetype=H
time=6
ampl=3
freq=120
persistent=0
ignorehitpause=1

[Statedef 620]
type=A
movetype=A
physics=A
ctrl=0
anim=620
poweradd=24
[State ]
type=PlaySnd
trigger1=animelem=2
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random>=499
value=100,1
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random<=498
value=100,65+(random%3)
[State ]
type=Explod
trigger1=animelem=3
anim=10037
pos=31,-73
postype=p1
ownpal=1
bindtime=1
scale=1.0,1.1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=!Time
attr=A,NA
damage=85,8
animtype=medium
ground.type=high
guardflag=HA
hitflag=MAF
priority=3,Hit
pausetime=5,10
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-73
hitsound=s5,6
guardsound=s10,0
ground.slidetime=17
ground.hittime=17
guard.velocity=-4.6
ground.velocity=-4.6
air.velocity=-1,-7
airguard.velocity=-4,-3
getpower=81,71
givepower=35, 29
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=0
air.fall=1
fall.recovertime=25
yaccel=.54
[State ]
type=EnvShake
trigger1=movehit
trigger1=p2movetype=H
time=8
ampl=3
freq=120
persistent=0
ignorehitpause=1

[Statedef 630]
type=A
movetype=A
physics=A
ctrl=0
anim=630
poweradd=30
[State ]
type=PlaySnd
trigger1=animelem=2
trigger2=animelem=7
value=0,0
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random>=499
value=100,1
channel=0
[State ]
type=PlaySnd
trigger1=animelem=3
trigger1=random<=498
value=100,65+(random%3)
channel=0
[State ]
type=Explod
trigger1=animelem=3
anim=13087
pos=14,-76
postype=p1
ownpal=1
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=Explod
trigger1=animelem=8
anim=13083
pos=17,-87
postype=p1
ownpal=1
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=HitDef
trigger1=animelem=3
trigger2=animelem=8
attr=A,NA
damage=35,5
animtype=medium
ground.type=high
guardflag=HA
hitflag=MAF
priority=3,Hit
pausetime=10,10
sparkno=s20000+random%6
guard.sparkno=s21000
sparkxy=-5,-73
hitsound=s5,6
guardsound=s10,0
ground.slidetime=16
ground.hittime=16
guard.velocity=-4.6
ground.velocity=-4.6
air.velocity=-1,-4.7
airguard.velocity=-4,-3
getpower=68,64
givepower=19,12
ground.cornerpush.veloff=-3.5
air.cornerpush.veloff=0
air.fall=1
fall.recovertime=15
yaccel=.54
[State ]
type=EnvShake
trigger1=movehit
trigger1=p2movetype=H
time=6
ampl=3
freq=120
persistent=0
ignorehitpause=1

[Statedef 800]
type=S
movetype=A
physics=N
anim=800
ctrl=0
velset=0,0
[State ]
type=HitDef
trigger1=!time
attr=S,NT
hitflag=M-
numhits=-1
priority=2,miss
hitsound=s5,4
sprpriority=-1
sparkno=s22000
sparkxy=-25,-70
p1stateno=801
p2facing=1
p2stateno=803
[State ]
type=PlaySnd
trigger1=animelem=4
trigger1=random>=499
value=100,13
channel=0
[State ]
type=PlaySnd
trigger1=animelem=4
trigger1=random<=498
value=100,14
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 801]
type=S
movetype=A
physics=N
anim=801
velset=0,0
sprpriority=1
[State ]
type=Turn
triggerall=!time
trigger1 = Var(59)<=0
trigger1=command="holdback" ;/////AI/////
trigger2 = Var(59)>0
trigger2 = BackEdgeBodyDist<45
ignorehitpause=1
[State ]
type=PosAdd
trigger1=!time
trigger1=Var(59)<=0
trigger1=frontedgedist<=60
x=ifelse(command="holdfwd",-30,-65) ;/////AI/////
ignorehitpause=1

[State ]
type=PosAdd
trigger1=!time
trigger1=Var(59)>0
trigger1=frontedgedist<=60
x=ifelse(BackEdgeBodyDist>=45,-30,-65) ;/////AI/////
ignorehitpause=1

[State ]
type=TargetBind
trigger1=animelem=1
pos=45,0
[State ]
type=TargetBind
trigger1=animelem=2
pos=-33,0
[State ]
type=TargetBind
trigger1=animelem=3
pos=-41,0
[State ]
type=TargetBind
trigger1=animelem=4
pos=-46,0
[State ]
type=TargetBind
trigger1=animelem=5
pos=-32,-9
[State ]
type=TargetBind
trigger1=animelem=6
pos=-26,-16
[State ]
type=TargetBind
trigger1=animelem=7
pos=48,0
[State ]
type=PlaySnd
trigger1=animelem=7
value=0,1
[State ]
type=VarSet
trigger1=var(0)<=4&&!Time
var(1)=0
[State ]
type=VarSet
trigger1=var(0)>=5&&!Time
var(1)=1
[State ]
type=PlaySnd
trigger1=!var(1)&&animelem=3
value=100,9
[State ]
type=PlaySnd
trigger1=!var(1)&&animelem=17
value=100,10
[State ]
type=PlaySnd
trigger1=var(1)=1&&animelem=3
value=100,11
[State ]
type=PlaySnd
trigger1=var(1)=1&&animelem=17
value=100,12
[State ]
type=PlaySnd
trigger1=animelem=17
value=5,6
[State ]
type=EnvShake
trigger1=animelem=7
time=8
ampl=5
freq=90
[State ]
type=Explod
trigger1=animelem=17
anim=10038
pos=31,-73
postype=p1
ownpal=1
bindtime=1
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=Explod
trigger1=animelem=17,1
anim=10039
pos=69,-57
postype=p1
ownpal=1
bindtime=1
scale=.7,.7
removeongethit=1
sprpriority=2
ignorehitpause=1
[State ]
type=Explod
trigger1=animelem=17
anim=20000+random%6
pos=61,-23
postype=p1
ownpal=1
ontop=1
bindtime=1
sprpriority=2
[State ]
type=PowerAdd
trigger1=animelem=17
value=15
[State ]
type=TargetLifeAdd
trigger1=animelem=17
value=-110
[State ]
type=EnvShake
trigger1=animelemtime(17)=1
time=14
ampl=5
freq=90
[State ]
type=ChangeState
trigger1=!animtime
value=802
[Statedef 802]
type=S
physics=N
velset=-5.5,-4
anim=802
[State ]
type=VelAdd
trigger1=1
y=.65
[State ]
type=ChangeAnim
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=anim
elem=3
persistent=0
[State ]
type=VelSet
trigger1=animelemtime(3)>=0
trigger1=vel y!=0
x=0
y=0
[State ]
type=PosSet
trigger1=animelemtime(3)>=0
trigger1=pos y!=0
y=0
[State ]
type=VelSet
trigger1=animelemtime(3)>=0&&animelemtime(4)<=2
x=-2
[State ]
type=ChangeState
trigger1=!animtime
value=0
ctrl=1

[Statedef 803]
type=S
movetype=H
velset=0,0
ctrl=0
anim=5000
[State ]
type=turn
trigger1=!time
trigger1=facing=enemy,facing
[State ]
type=ChangeAnim
trigger1=1
value=anim
elem=1
[State ]
type=ChangeAnim
trigger1=time=15
value=5110
[State ]
type=ChangeAnim
trigger1=time=50
value=5100
[State ]
type=ChangeAnim
trigger1=anim=5100
value=anim
elem=1
[State ]
type=ChangeAnim
trigger1=time=66
value=5110
[State ]
type=NotHitBy
trigger1=1
value=SCA
[State ]
type=PlayerPush
trigger1=1
value=0
[State ]
type=SelfState
trigger1=!alive
trigger1=time=74
value=5110
[State ]
type=SelfState
trigger1=alive
trigger1=time=95
value=5120

[Statedef 700]
type=S
movetype=I
physics=N
ctrl=0
anim=700
velset=0,0
sprpriority=2
[State ]
type=Envshake
trigger1=animelem=3
time=20
ampl=-5
freq=95
phase=95
[State ]
type=BGPalFX
trigger1=animelem=3
time=5
add=255,255,255
mul=255,255,255
invertall=0
color=0
[State ]
type=PlaySnd
trigger1=animelem=2
value=100,31
channel=0
[State ]
type=PlaySnd
trigger1=animelem=3
value=30,15
volume=255
[State ]
type=PlaySnd
trigger1=animelem=3
value=10000,12
volume=-200
[State ]
type=Projectile
trigger1=AnimElem=3
projanim=10018
projremove=0
projremovetime=34
projsprpriority=10
offset=0,-10
postype=p1
projscale=.8,.8
projshadow=0,0,0
supermovetime=2147483647
afterimage.time=-1
afterimage.length=10
afterimage.palbright=0,0,0
afterimage.paladd=0,0,0
afterimage.palmul=.5,.5,.65
afterimage.palcontrast=30,0,200
afterimage.timegap=1
afterimage.framegap=1
afterimage.trans=add
[State ]
type=Projectile
trigger1=AnimElem=3
projanim=10018
projremove=0
projremovetime=34
projsprpriority=10
offset=0,-10
postype=p1
projscale=-.8,.8
projshadow=0,0,0
supermovetime=2147483647
afterimage.time=-1
afterimage.length=10
afterimage.palbright=0,0,0
afterimage.paladd=0,0,0
afterimage.palmul=.5,.5,.65
afterimage.palcontrast=30,0,200
afterimage.timegap=1
afterimage.framegap=1
afterimage.trans=add
[State ]
type=Explod
trigger1=animelem=3
anim=10019
sprpriority=10
postype=p1
pos=0,-65
bindtime=-1
ownpal=1
scale=.5,.5
trans=add
[State ]
type=Explod
trigger1=animelem=3
anim=10020
sprpriority=1000
postype=p1
pos=0,-50
bindtime=-1
ownpal=1
scale=.7,.7
trans=add
[State ]
type=Varset
triggerall=!Ishelper
trigger1=animelem=3
var(5)=800
[State ]
type=Varset
triggerall=!Ishelper
trigger1=var(5)!=0
var(6)=1
[State ]
type=Changestate
trigger1=!Animtime
value=0
ctrl=1
