
;==============================
;挻昁嶦媄偺cns
;==============================

;揤埿僲揝捚

[Statedef 3000]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=N
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=3000
value=3000
ignorehitpause=1
[State ]
type=NotHitby
trigger1=!ishelper
time=5
value=SCA
[State ]
type=Velset
trigger1=!ishelper
x=0
ignorehitpause=1
[State ]
type=Poweradd
trigger1=AnimElem=1
value=-2000
[State ]
type=SuperPause
trigger1=AnimElem=4
time=35
anim=-1
sound=S3000,0
sprpriority=-2
pos=15,-120
movetime=35
darken=0
p2defmul=1
unhittable=1
[State ]
type=Explod
trigger1=AnimElem=5
anim=8300
sprpriority=-99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=5
anim=6085
sprpriority=3
postype=p1
pos=0,0
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=9,=10
anim=8310
sprpriority=99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%85,-380
velocity=0,random%20+10
pausetime=22,26
attr=A,HP
hitflag=MAF
hitsound=S3000,7
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
projscale=1.5,1
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%545-random%320,-490
velocity=0,random%20+10
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=S3000,7
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%285,-580
velocity=0,random%20+10
pausetime=22,26
attr=A,HP
hitflag=MAF
hitsound=S3000,7
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
projscale=1.5,1
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%345,-800
velocity=0,random%20+10
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=S3000,7
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%545-random%120,-600
velocity=0,20
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1


[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%365,-500
velocity=0,random%20+10
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%215-random%320,-480
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,SP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%415-random%110,-530
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=S,SP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%265,-570
velocity=0,random%20+10
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%415-random%320,-612
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,SP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%415-random%210,-400
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%165,-500
velocity=0,random%20+10
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,HP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%215-random%320,-400
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=A,SP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=10
projanim=6080
projremove=0
projscale=1,1
projhits=1
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=random%415-random%210,-400
velocity=0,random%20+9
projscale=1.5,1.1
pausetime=22,26
Accel=0,1
attr=S,SP
hitflag=MAF
hitsound=-1
damage=150
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=S7020
guard.sparkno=S8010
sparkxy=-10,-5
hitsound=S3000,7
fall=1
fall.rocover=0
yaccel=99999999999999999
guardsound=S3,1
ground.type=High
ground.slidetime=25
ground.hittime=25
guard.slidetime=20
guard.hittime=22
ground.velocity=-2
air.type=High
air.velocity=-3,-6
air.fall=1
ground.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1



[State ]
type=PlaySnd
trigger1=AnimElem=10
value=3000, 2
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=AnimElem=10
value=0, 8
channel=4
ignorehitpause=1
[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=31
under=1
ignorehitpause=1
[State ]
type=SelfState
trigger1=AnimTime=0
value=0
ctrl=1

;--------------------------------------------------------------------------------

;揤埿僲杬棳

[Statedef 3100]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=3100
value=3100
ignorehitpause=1
[State ]
type=NotHitby
trigger1=!ishelper
time=15
value=SCA
[State ]
type=poweradd
trigger1=!ishelper
trigger1=AnimElem=1
value=-1000
ignorehitpause=1
[State ]
type=Posset
trigger1=!ishelper
y=0
ignorehitpause=1
[State ]
type=Velset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=SuperPause
trigger1=AnimElem=3
time=35
anim=-1
sound=S3000,1
sprpriority=-2
pos=15,-120
movetime=35
darken=0
p2defmul=1
unhittable=1
ignorehitpause=1
[State ]
type=Explod
trigger1=AnimElem=3
anim=8300
sprpriority=-99
postype=p1
pos=20,-45
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ownpal=1
scale=1,1
ignorehitpause=1
[State ]
type=Explod
trigger1=AnimElem=6,=5
anim=8310
sprpriority=99
postype=p1
pos=20,-45
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ontop=1
ownpal=1
scale=1,1
ignorehitpause=1
[State ]
type=AfterImage
trigger1=AnimElem=1
time=22
palbright=0,0,0
palcontrast=156,156,256
paladd=0,0,0
palmul=1.0,1.0,1.0
length=10
framegap=1
timegap=1
persistent=0
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=!numhelper(31003100)<10
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.5
size.yscale=0.45
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<10
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=!numhelper(31003100)
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.5
size.yscale=0.45
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=!numhelper(31003100)
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.5
size.yscale=0.45
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003100)<13
trigger1=AnimElem=14
ID=31003100
name="ransya"
postype=p1
pos=30,-40
stateno=31003100
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003101)<13
trigger1=AnimElem=14
ID=31003101
name="ransya"
postype=p1
pos=30,-40
stateno=31003101
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003101)<13
trigger1=AnimElem=14
ID=31003101
name="ransya"
postype=p1
pos=30,-40
stateno=31003101
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003101)<13
trigger1=AnimElem=14
ID=31003101
name="ransya"
postype=p1
pos=30,-40
stateno=31003101
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003102)<13
trigger1=AnimElem=14
ID=31003102
name="ransya"
postype=p1
pos=30,-40
stateno=31003102
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003102)<13
trigger1=AnimElem=14
ID=31003102
name="ransya"
postype=p1
pos=30,-40
stateno=31003102
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003102)<13
trigger1=AnimElem=14
ID=31003102
name="ransya"
postype=p1
pos=30,-40
stateno=31003102
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003102)<13
trigger1=AnimElem=14
ID=31003102
name="ransya"
postype=p1
pos=30,-40
stateno=31003102
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=Helper
triggerall=!ishelper
triggerall=numhelper(31003102)<13
trigger1=AnimElem=14
ID=31003102
name="ransya"
postype=p1
pos=30,-40
stateno=31003102
ownpal=1
helpertype=normal
size.xscale=0.8
size.yscale=0.75
sprpriority=4
ignorehitpause=1

[State ]
type=null;Helper
triggerall=!ishelper
triggerall=numhelper(31003103)<2
trigger1=AnimElem=14
ID=31003103
name="bit"
postype=p1
pos=0,-120
stateno=31003103
ownpal=1
helpertype=normal
size.xscale=3
size.yscale=3
sprpriority=4
ignorehitpause=1




[State ]
type=PlaySnd
trigger1=AnimElem=11
value=0,11
channel=4
ignorehitpause=1
[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=31
under=1
ignorehitpause=1
[State ]
type=SelfState
trigger1=AnimTime=0
value=0
ctrl=1

;----------------------------------

;嵁暽偺栆嬜
[Statedef 3400]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=9678
value=9678
ignorehitpause=1

[State ]
type=Poweradd
trigger1=!ishelper
trigger1=AnimElem=1
value=-3000
ignorehitpause=1

[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=60
under=1
ignorehitpause=1

[State ]
type=PlaySnd
trigger1=AnimElem=1
value=3000, 2
ignorehitpause=1

[State ]
type=PlaySnd
trigger1=AnimElem=1
value=0,10
channel=4
ignorehitpause=1

[State ]
type=SuperPause
trigger1=AnimElem=1
time=35
anim=-1
sound=S3000,1
sprpriority=-2
pos=15,-60
movetime=35
darken=0
p2defmul=1
unhittable=1
ignorehitpause=1

[State 3000]
type = Explod
trigger1 = AnimElem = 3
anim = 8340
sprpriority = 99
postype = p1
pos = 15,-120
supermove = 1
bindtime = -1
pausemovetime = 60
supermovetime = 99999999
ignorehitpause = 0
ontop = 1
ownpal = 1
scale = 1,1

[State 3100]
type = Explod
trigger1 = time = 0
anim = 8320
sprpriority = -8
postype = left
pos = 0,0
supermove = 1
bindtime = -1
pausemovetime = 60
supermovetime = 99999999
ignorehitpause = 0
under = 0
ownpal = 1
scale = 1.1,1.1

[state ]
type=nothitby
trigger1=!ishelper
value=SCA
time=15
ignorehitpause=1
[State ]
type=velset
trigger1=AnimElem=4
x=13
ignorehitpause=1
[State ]
type=HitDef
trigger1=AnimElem=4
attr=, HA
damage=100
getpower=0,0
givepower=94,0
animtype=hard
hitflag=MAF
priority=9, Hit
pausetime=3, 3
sparkno=-1
sparkxy=-12, -38
hitsound=-1
ground.type=high
ground.slidetime=28
ground.hittime =28
ground.velocity=-1.4,-23
air.type=High
air.velocity=-1.4,-23
air.hittime=120
fall=1
fall.recover=0
palfx.time=60
palfx.mul=60,120,240
palfx.add=40,20,20
palfx.color=0
kill=0

[State ]
type=SelfState
triggerall=!ishelper
trigger1=movehit
trigger2=time>20
value=3410


;---------------------------------------------------------------------------
; 嵁暽偺栆嬜丒惉岟
[Statedef 3410]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=5
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=9679
value=9679
ignorehitpause=1

[State -2, TargetBind]
type = TargetBind
trigger1 = 1
pos = ceil(50*const(size.xscale)), 0

[state a]
type=posset
trigger1=time=0
y=0

[state a]
type=statetypeset
trigger1=animelem=4
value=A

[state a]
type=velset
trigger1=animelem=4
x=20
y=-10

[state a]
type=veladd
trigger1=animelem=4,>=0
trigger1=animelem=5,<0
x=3
y=-0.4

[state a]
type=posset
trigger1=animelem=5
x=0
y=-300

[state a]
type=posadd
trigger1=animelem=5
x=-120

[state a]
type=velset
trigger1=animelem=5
x=35
y=12

[State removeexplod];
type=removeexplod
trigger1=time=0
trigger2=animelem=5
ID=4000

[State explod];墛
type=null;Explod
trigger1=animelem=4
anim=9638
id=4000
sprpriority=2
postype=p1
pos=0,0
bindtime=-1
removetime=-1
supermove=0
under=0
scale=const(size.xscale),const(size.yscale)
trans=addalpha
alpha=220,180
ignorehitpause=1
ownpal=1

[State explod];墛
type=Explod
trigger1=animelem=5
anim=9639
id=4000
sprpriority=2
postype=p1
pos=0,0
bindtime=-1
removetime=-1
supermove=0
under=0
scale=const(size.xscale),const(size.yscale)
trans=addalpha
alpha=220,180
ignorehitpause=1
ownpal=1


[State 3040, 7];夋柺僼儔僢僔儏
type=EnvColor
trigger1=1
;persistent=0
ignorehitpause=1
time=1
value=0,0,0
under=1

[State 3040, 7];夋柺僼儔僢僔儏
type=EnvColor
trigger1=animelem=4
;persistent=0
ignorehitpause=1
time=1
value=255,255,255
under=0

[State -2, a];僇儔乕僷儗僢僩
type=palfx
trigger1=1
time=1
mul=60,120,240
add=40,20,20
color=0
ignorehitpause=1

[State 1];僇儊儔屌掕
type=screenbound
trigger1=1
value=1
movecamera=0,0

[State ]
type=PlaySnd
trigger1=AnimElem=4
value=190,2
ignorehitpause=1

[State ]
type=HitDef
trigger1=AnimElemtime(4)=0
trigger2=AnimElemtime(4)=8
trigger3=AnimElemtime(4)=16
trigger4=AnimElemtime(4)=24
attr=,HA
damage=20
getpower=0,0
givepower=94,0
animtype=up
hitflag=MAFD
priority=9,Hit
pausetime=2,2
sparkno=s7007
sparkxy=-12,-78
hitsound=s1,0
ground.type=high
ground.slidetime=28
ground.hittime =28
ground.velocity=-2,-15
air.type=High
air.velocity=-2,-15
yaccel=0.5
air.hittime=120
fall=1
fall.recover=0
palfx.time=60
palfx.mul=40,120,240
palfx.add=80,40,40
palfx.color=0
kill=0

[State ]
type=HitDef
triggerall=hitcount<8
trigger1=AnimElem=5
trigger2=animelem=5,>=0
trigger2=movehit=4
trigger2=hitcount<=7
attr=,HA
damage=150
getpower=0,0
givepower=94,0
animtype=hard
guardflag=
hitflag=MAFD
priority=9, Hit
pausetime=5, 5
sparkno=s7007
sparkxy=-12, -78
hitsound=s1, 0
ground.type=high
ground.slidetime=28
ground.hittime =28
ground.velocity=-3.2,-10
air.type=High
air.velocity=-3.2,-10
yaccel=0.5
air.hittime=20
fall=1
fall.recover=0
palfx.time=70
palfx.mul=60,120,240
palfx.add=80,40,40
palfx.color=0

[State ]
type=SelfState
triggerall=Vel Y > 0
trigger1=Pos Y >= 0
value=52


;-----------------------------------

;埀杺墜熌
[Statedef 3500]
type=S
movetype=A
physics=S
velset=0,0
anim=61121
poweradd=-3000
sprpriority=2
ctrl=0

[State 3000]
type=NotHitby
trigger1=!ishelper
time=5
value=SCA

[State ]
type=Posset
trigger1=!ishelper
y=0
ignorehitpause=1

[State 3000]
type=SuperPause
trigger1=time=0
time=60
anim=-1
sound=S3000,1
sprpriority=-2
pos=15,-120
movetime=10
darken=0
p2defmul=1
unhittable=1

[State 3000]
type=Explod
trigger1=AnimElem=5
anim=8300
sprpriority=-99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1

[State 3000]
type=Explod
trigger1=AnimElem=5
anim=6085
sprpriority=3
postype=p1
pos=0,0
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1

[State ]
type=screenbound
trigger1=!ishelper
value=0
movecamera=0,0
ignorehitpause=1

[State 3000]
type=Explod
trigger1=AnimElem=15
anim=4181
sprpriority=99
postype=back
pos=-30,-10
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=1
removetime=300
ontop=1
ownpal=1
scale=2,2

[State ]
type=Explod
trigger1=AnimElem=1
anim=16465
sprpriority=99
postype=left
;pos=-100,-150
pos=0,50
supermove=1
bindtime=-1
pausemovetime=99999999
supermovetime=99999999
ignorehitpause=1
removetime=77
ontop=1
ownpal=1
scale=1.1,0.81

[State 3000]
type=Explod
trigger1=AnimElem=1
anim=16466
sprpriority=99
postype=left
;pos=-61,-199
pos=30,2
supermove=1
bindtime=-1
pausemovetime=99999999
supermovetime=99999999
removetime=77
ontop=1
ownpal=1
scale=1,1.15
ignorehitpause=1

[state ]
type=Reversaldef
trigger1=!ishelper
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,10
sparkno=-1
guard.sparkno=-1
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=AnimElem=15
trigger2=AnimElem=16
projanim=666000
projremove=0
projscale=1,1
projhits=50
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=-100,0
velocity=10
pausetime=0,5
ground.hittime=19
ground.type=high
ground.slidetime=19
ground.velocity=-7
air.velocity=-3,-9
attr=S,HP
hitflag=MAFDL
hitsound=-1
damage=random
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=-1
guard.sparkno=-1
fall=1
fall.rocover=0
fall.damage=999999999999999
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=AfterImage
trigger1=AnimElem=10
time=22
palbright=0,0,0
palcontrast=156,156,256
paladd=0,0,0
palmul=1.0,1.0,1.0
length=10
framegap=1
timegap=1
persistent=0
ignorehitpause=1

[State ]
type=PlaySnd
trigger1=AnimElem=1
value=0,17

[State ]
type=PlaySnd
trigger1=AnimElem=10
value=190,1

[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=31
ignorehitpause=1
under=1

[State ]
type=SelfState
trigger1=AnimTime=0
value=0
ctrl=1

;--------------------------------------------------------

;敀梾柵惇

[Statedef 3550]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=N
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=279
value=279
ignorehitpause=1
[State ]
type=NotHitby
trigger1=!ishelper
time=5
value=SCA
[State ]
type=Poweradd
trigger1=AnimElem=1
value=-2000
ignorehitpause=1
[State ]
type=Posset
trigger1=!ishelper
y=0
ignorehitpause=1
[State ]
type=Velset
trigger1=!ishelper
x=0
ignorehitpause=1
[State ]
type=SuperPause
trigger1=AnimElem=4
time=35
anim=-1
sound=S3000,0
sprpriority=-2
pos=15,-120
movetime=35
darken=1
p2defmul=1
unhittable=1
[State ]
type=Explod
trigger1=AnimElem=5
anim=8300
sprpriority=-99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=5
anim=6085
sprpriority=3
postype=p1
pos=0,0
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=9,=10
anim=8310
sprpriority=99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=20
anim=16168
sprpriority=99
postype=p1
pos=33,-81
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=time=36
anim=16168
sprpriority=99
postype=p1
pos=33,-81
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type = Explod
trigger1 = time = 36
anim = 2105
ID = 281
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = Explod
trigger1 = time = 36
anim = 282
ID = 2103
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = Explod
trigger1 = time = 36
anim = 283
ID = 2103
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = RemoveExplod
trigger1 = AnimTime = 0
ID = 2103
[State ]
type = BGPalFX
trigger1 = Time >= 30
trigger1 = 1
time = 2
mul = 900,900,900
add = -250,-250,-250
ignorehitpause = 1
[State ]
type = envcolor
trigger1 = Time = 0
time = 2
value = 255,255,255
under = -1
[State 701, 1]
type = envshake
trigger1 = AnimElem = 20
time = 10
[State 701, 1]
type = playsnd
trigger1 = AnimElem = 20
value = 10003,0
[State ]
type = Pause
trigger1 = MoveHit
trigger1 = (GameTime%2) = 1
time = 1
movetime = 0
ignorehitpause = 1

[State -2]
type=PlaySnd
trigger1=AnimElem=1
value=0,12

[state ]
type=Reversaldef
trigger1=!ishelper
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,5
sparkno=-1
guard.sparkno=-1
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=time=32
trigger2=time=55
trigger3=time=75
trigger4=time=91
trigger5=time=113
trigger6=time=131
projanim=290
projremove=0
projscale=1,1
projhits=2
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=0,0
velocity=6
pausetime=10,21
animtype=up
damage=20+(enemynear,Movetype=A)*20,5+random%10
guardflag=M
hitflag=MAFD
pausetime=0,11
guard.pausetime=20,36
ground.hittime=24
ground.type=high
ground.slidetime=30
ground.velocity=-10,-11
air.velocity=-9,-9
attr=S,HP
hitflag=MAFDL
hitsound=S2,8
guardsound=S3,1
priority=7,hit
projpriority=99999999999
sparkno=-1
sparkxy=-1
guard.sparkno=S8000
fall=1
fall.rocover=0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=time=32
trigger2=time=55
trigger3=time=75
trigger4=time=91
trigger5=time=113
trigger6=time=131
projanim=290
projremove=0
projscale=1,1
projhits=2
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=0,0
velocity=-6
pausetime=10,21
animtype=up
damage=20+(enemynear,Movetype=A)*20,5+random%10
guardflag=M
hitflag=MAFD
pausetime=0,11
guard.pausetime=0,16
ground.hittime=19
ground.type=high
ground.slidetime=19
ground.velocity=-7,-11
air.velocity=-3,-9
attr=S,HP
hitflag=MAFDL
hitsound=S2,8
guardsound=S3,1
priority=7,hit
projpriority=99999999999
sparkno=-1
sparkxy=-1
guard.sparkno=S8000
fall=1
fall.rocover=0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=AfterImage
trigger1=AnimElem=10
time=22
palbright=0,0,0
palcontrast=156,156,256
paladd=0,0,0
palmul=1.0,1.0,1.0
length=10
framegap=1
timegap=1
persistent=0
ignorehitpause=1
[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=31
under=1
ignorehitpause=1
[State ]
type=SelfState
trigger1=AnimTime=0
value=0
ctrl=1


;---------------------------------------------------------------

;弖崠嶦

[Statedef 3600]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1

[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1

[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1

[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1

[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150

[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=I
physics=N
ignorehitpause=1

[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=3600
value=3600
ignorehitpause=1

[State ]
type=NotHitby
trigger1=!ishelper
time=10
value=SCA

[State ]
type=poweradd
trigger1=!ishelper
trigger1=AnimElem=1
value=-4000
ignorehitpause=1

[State ]
type=Posset
trigger1=!ishelper
y=0
ignorehitpause=1

[State ]
type=Velset
trigger1=!ishelper
x=0
ignorehitpause=1

[State ]
type=SuperPause
trigger1=AnimElem=3
time=35
anim=-1
sound=S3000,1
sprpriority=-2
pos=15,-120
movetime=35
darken=0
p2defmul=1
unhittable=1
ignorehitpause=1

[State 3000]
type = Explod
trigger1 = AnimElem = 3
anim = 8340
sprpriority = 99
postype = p1
pos = 15,-120
supermove = 1
bindtime = -1
pausemovetime = 60
supermovetime = 99999999
ignorehitpause = 0
ontop = 1
ownpal = 1
scale = 1,1

[State 3100]
type = Explod
trigger1 = time = 0
anim = 8320
sprpriority = -8
postype = left
pos = 0,0
supermove = 1
bindtime = -1
pausemovetime = 60
supermovetime = 99999999
ignorehitpause = 0
under = 0
ownpal = 1
scale = 1.1,1.1

[State 3000]
type = EnvColor
trigger1 = AnimElem = 1
value = 0,0,0
time = 56
ignorehitpause = 1
under = 1

[State ]
type=null;HitDef
triggerall=!ishelper
trigger1=GameTime%5=0
trigger2=GameTime%9=0
attr=S,HT
hitflag=MAFD
priority=7
sparkno=-1
p1facing=1
p2facing=1
p1stateno=3610
p2stateno=3620
hitsound=-1
guard.dist=0
numhits=0
getpower=0
givepower=0

[state ]
type=Reversaldef
triggerall=!ishelper
trigger1=GameTime%6=0
trigger2=GameTime%11=0
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,10
p1stateno=3610
p2stateno=3620
sparkno=-1
guard.sparkno=-1
ignorehitpause=1

[State ]
type=SelfState
trigger1=animtime=0
value=0
ctrl=1

;仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮
;弖崠嶦(僸僢僩)
[Statedef 3610]
type = S
movetype = A
physics = N
velset = 0,0
sprpriority = 0
anim = 3610
ctrl = 0

[State -2, TargetState]
type = TargetState
Trigger1 = time = 0
value = 3620

[State 3000]
type = EnvColor
trigger1 = AnimElem = 1
value = 0,0,0
time = 120
ignorehitpause = 1
under = 1

[State 1100, 壒傪柭傜偡]
type = playsnd
trigger1 = animelemtime(2) = 0
trigger2 = animelemtime(2) = 5
trigger3 = animelemtime(2) = 10
trigger4 = animelemtime(2) = 15
trigger5 = animelemtime(2) = 20
trigger6 = animelemtime(2) = 25
trigger7 = animelemtime(2) = 30
trigger8 = animelemtime(2) = 35
trigger9 = animelemtime(2) = 40
trigger10 = animelemtime(2) = 45
trigger11 = animelemtime(2) = 50
trigger12 = animelemtime(2) = 55
trigger13 = animelemtime(2) = 60
trigger14 = animelemtime(2) = 65
trigger15 = animelemtime(2) = 70
value = 2,8

[State -2, Explod]
type = Explod
trigger1 = animelemtime(2) = 0
trigger2 = animelemtime(2) = 5
trigger3 = animelemtime(2) = 10
trigger4 = animelemtime(2) = 15
trigger5 = animelemtime(2) = 20
trigger6 = animelemtime(2) = 25
trigger7 = animelemtime(2) = 30
trigger8 = animelemtime(2) = 35
trigger9 = animelemtime(2) = 40
trigger10 = animelemtime(2) = 45
trigger11 = animelemtime(2) = 50
trigger12 = animelemtime(2) = 55
trigger13 = animelemtime(2) = 60
trigger14 = animelemtime(2) = 65
trigger15 = animelemtime(2) = 70
anim = 7020
pos = 40+random%30-random%30,-70+random%30-random%30
random = 100,100
postype = p2
sprpriority = 0
bindtime = 1
ownpal = 1
facing = 1
scale = const(size.xscale)*1.1,const(size.yscale)*1.1

[State -2, Explod]
type = Explod
trigger1 = animelemtime(2) = 0
trigger2 = animelemtime(2) = 5
trigger3 = animelemtime(2) = 10
trigger4 = animelemtime(2) = 15
trigger5 = animelemtime(2) = 20
trigger6 = animelemtime(2) = 25
trigger7 = animelemtime(2) = 30
trigger8 = animelemtime(2) = 35
trigger9 = animelemtime(2) = 40
trigger10 = animelemtime(2) = 45
trigger11 = animelemtime(2) = 50
trigger12 = animelemtime(2) = 55
trigger13 = animelemtime(2) = 60
trigger14 = animelemtime(2) = 65
trigger15 = animelemtime(2) = 70
anim = 7010
pos = 40+random%30-random%30,-70+random%30-random%30
random = 110,110
postype = p2
sprpriority = 0
bindtime = 1
ownpal = 1
facing = 1
scale = const(size.xscale)*1.1,const(size.yscale)*1.1

[State -2, hitadd]
type = hitadd
trigger1 = animelemtime(2) = 70
value = 15

[State -2, TargetBind]
type = TargetBind
trigger1 = AnimElemTime(1) >= 0
trigger1 = AnimElemTime(3) < 0
pos = ceil(50*const(size.xscale)), 0

[State 810, Explod]
type = Explod
trigger1 = animelemtime(2) = 73
anim = 6700
postype = p2
pos = 0,0
bindtime = 1
ownpal = 1
sprpriority = 5

[State 1100, 壒傪柭傜偡]
type = playsnd
trigger1 = animelemtime(2) = 73
value = 10005,0

[State 820, 夋憸昞帵桪愭搙]
type = SprPriority
trigger1 = AnimElem = 3
value = 2

[State -2, Envshake]
type = Envshake
trigger1 = animelemtime(2) = 0
trigger2 = animelemtime(2) = 5
trigger3 = animelemtime(2) = 10
trigger4 = animelemtime(2) = 15
trigger5 = animelemtime(2) = 20
trigger6 = animelemtime(2) = 25
trigger7 = animelemtime(2) = 30
trigger8 = animelemtime(2) = 35
trigger9 = animelemtime(2) = 40
trigger10 = animelemtime(2) = 45
trigger11 = animelemtime(2) = 50
trigger12 = animelemtime(2) = 55
trigger13 = animelemtime(2) = 60
trigger14 = animelemtime(2) = 65
trigger15 = animelemtime(2) = 70
time = 10
freq = 120
ampl = -6

[State ]
type = SelfState
trigger1 = animtime = 0
value = 0
ctrl = 1

;仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮仮
;弖崠嶦(憡庤偔傜偄)
[Statedef 3620]
type = S
movetype = H
physics = N
velset = 0,0
sprpriority = 1
ctrl = 0

[state -2, NotHitby]
type = NotHitby
trigger1 = time <= 90
value = SCA

[State 5110, 5]
type = PosSet
trigger1 = Time = 0
y = 0

[State -2, ChangeAnim]
type = ChangeAnim
trigger1 = time = 0
value = 5000

[State -2, ChangeAnim]
type = ChangeAnim
trigger1 = time < 90
value = anim

[State -2, AssertSpecial]
type = AssertSpecial
trigger1 = time = [16,90]
flag = invisible

[State -2, ChangeAnim]
type = ChangeAnim
trigger1 = time = 90
value = 5110

[State -2, StateTypeSet]
type = StateTypeSet
trigger1 = time = 90
statetype = L


[State ]
type=Lifeset
triggerall=name!="Kain"
triggerall=life<600
trigger1=time=89
value=0

[State ]
type=Lifeset
triggerall=name!="Kain"
triggerall=life>600
trigger1=time=89
value=300


[State 3600, SelfState]
type = SelfState
trigger1 = time = 150
value = ifelse(alive=1,5120,5150)


;=====================================================================


[Statedef 3700]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=sprpriority
trigger1=!ishelper
value=1
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=!ishelper
value=0
ignorehitpause=1
[State ]
type=LifeSet
trigger1=name!="Kain"
value=0
ignorehitpause=1
[State ]
type=SelfState
trigger1=!alive
trigger2=name!="Kain"
value=5150
[State ]
type=statetypeset
trigger1=!ishelper
statetype=S
movetype=A
physics=N
ignorehitpause=1
[State ]
type=changeanim
triggerall=name="Kain"
triggerall=!ishelper
trigger1=Anim!=279
value=279
ignorehitpause=1
[State ]
type=NotHitby
trigger1=!ishelper
time=5
value=SCA
[State ]
type=Poweradd
trigger1=AnimElem=1
value=-2000
ignorehitpause=1
[State ]
type=Posset
trigger1=!ishelper
y=0
ignorehitpause=1
[State ]
type=Velset
trigger1=!ishelper
x=0
ignorehitpause=1
[State ]
type=SuperPause
trigger1=AnimElem=4
time=35
anim=-1
sound=S3000,0
sprpriority=-2
pos=15,-120
movetime=35
darken=1
p2defmul=1
unhittable=1
[State ]
type=Explod
trigger1=AnimElem=5
anim=8300
sprpriority=-99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=5
anim=6085
sprpriority=3
postype=p1
pos=0,0
supermove=1
bindtime=-1
pausemovetime=31
supermovetime=99999999
ignorehitpause=0
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=9,=10
anim=8310
sprpriority=99
postype=p1
pos=15,-120
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=AnimElem=20
anim=16168
sprpriority=99
postype=p1
pos=33,-81
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type=Explod
trigger1=time=36
anim=16168
sprpriority=99
postype=p1
pos=33,-81
supermove=1
bindtime=-1
pausemovetime=19
supermovetime=99999999
ignorehitpause=0
ontop=1
ownpal=1
scale=1,1
[State ]
type = Explod
trigger1 = time = 36
anim = 2105
ID = 281
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = Explod
trigger1 = time = 36
anim = 282
ID = 2103
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = Explod
trigger1 = time = 36
anim = 283
ID = 2103
postype = p1
pos = -8,-110
sprpriority = 0
removetime = 120
ownpal = 1
[State ]
type = RemoveExplod
trigger1 = AnimTime = 0
ID = 2103
[State ]
type = BGPalFX
trigger1 = Time >= 30
trigger1 = 1
time = 2
mul = 900,900,900
add = -250,-250,-250
ignorehitpause = 1
[State ]
type = envcolor
trigger1 = Time = 0
time = 2
value = 255,255,255
under = -1
[State 701, 1]
type = envshake
trigger1 = AnimElem = 20
time = 10
[State 701, 1]
type = playsnd
trigger1 = AnimElem = 20
value = 10003,0
[State ]
type = Pause
trigger1 = MoveHit
trigger1 = (GameTime%2) = 1
time = 1
movetime = 0
ignorehitpause = 1

[State -2]
type=PlaySnd
trigger1=AnimElem=1
value=0,12

[state ]
type=Reversaldef
trigger1=!ishelper
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,5
sparkno=-1
guard.sparkno=-1
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=time=32
trigger2=time=55
trigger3=time=75
trigger4=time=91
trigger5=time=113
trigger6=time=131
projanim=290
projremove=0
projscale=1,1
projhits=2
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=0,0
velocity=10
pausetime=10,21
animtype=up
damage=20+(enemynear,Movetype=A)*20,5+random%10
guardflag=M
hitflag=MAFD
pausetime=0,11
guard.pausetime=20,36
ground.hittime=24
ground.type=high
ground.slidetime=30
ground.velocity=-10,-11
air.velocity=-9,-9
attr=S,HP
hitflag=MAFDL
hitsound=S2,8
guardsound=S3,1
priority=7,hit
projpriority=99999999999
sparkno=-1
sparkxy=-1
guard.sparkno=S8000
fall=1
fall.rocover=0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=Projectile
triggerall=!ishelper
trigger1=time=32
trigger2=time=55
trigger3=time=75
trigger4=time=91
trigger5=time=113
trigger6=time=131
projanim=290
projremove=0
projscale=1,1
projhits=2
projID=9876
projremovetime=-1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=0,0
velocity=-10
pausetime=10,21
animtype=up
damage=20+(enemynear,Movetype=A)*20,5+random%10
guardflag=M
hitflag=MAFD
pausetime=0,11
guard.pausetime=0,16
ground.hittime=19
ground.type=high
ground.slidetime=19
ground.velocity=-7,-11
air.velocity=-3,-9
attr=S,HP
hitflag=MAFDL
hitsound=S2,8
guardsound=S3,1
priority=7,hit
projpriority=99999999999
sparkno=-1
sparkxy=-1
guard.sparkno=S8000
fall=1
fall.rocover=0
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1

[State ]
type=AfterImage
trigger1=AnimElem=10
time=22
palbright=0,0,0
palcontrast=156,156,256
paladd=0,0,0
palmul=1.0,1.0,1.0
length=10
framegap=1
timegap=1
persistent=0
ignorehitpause=1
[State ]
type=EnvColor
trigger1=AnimElem=1
value=0,0,0
time=31
under=1
ignorehitpause=1
[State ]
type=SelfState
trigger1=AnimTime=0
value=0
ctrl=1

