;
;RXe[gB

[statedef 31300]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
triggerall=const(size.ground.front)=31300
triggerall=const(size.ground.back)=0||const(size.ground.back)=2
trigger1=sysvar(0)=0
value=10070
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31300
triggerall=const(size.ground.back)=1||const(size.ground.back)=3
trigger1=sysvar(0)=0
value=110070
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31301
triggerall=const(size.ground.back)=0||const(size.ground.back)=2
trigger1=sysvar(0)=0
value=10071
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31301
triggerall=const(size.ground.back)=1||const(size.ground.back)=3
trigger1=sysvar(0)=0
value=110071
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.back)=0
trigger1=1||fvar(10):=-100
trigger2=const(size.ground.back)=1
trigger2=1||fvar(10):=-135
trigger3=const(size.ground.back)=2
trigger3=1||fvar(10):=-100
trigger4=const(size.ground.back)=3
trigger4=1||fvar(10):=-135
sysfvar(0)=fvar(10)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)>=130
value=2134123982
persistent=256
ignorehitpause=1



;wp[ˏoB
[state ]
type=helper
triggerall=const(size.ground.front)=31301
trigger1=sysvar(0)=0
stateno=5150
id=31300
size.ground.front=31300
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0



;{ݒitjB
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31300
trigger1=1
value=-159
ignorehitpause=0
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31301
trigger1=1
value=60
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
triggerall=const(size.ground.front)=31300
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=explod
triggerall=const(size.ground.front)=31300
trigger1=sysvar(0)=[10,34]
id=0
anim=19000
trans=addalpha
alpha=0,128
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31300
trigger1=sysvar(0)=[35,35+31]
id=0
anim=19000
trans=addalpha
alpha=0,floor(128+128*sin((pi/2/32)*(sysvar(0)-35)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31300
triggerall=1||var(10):=512
trigger1=sysvar(0)=[10-1,39-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31300
triggerall=1||var(10):=floor((256+256)-256*sin((pi/2/32)*(sysvar(0)-(40-1))))
trigger1=sysvar(0)=[40-1,40+31-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
triggerall=const(size.ground.front)=31300
trigger1=sysvar(0)=[10,10+31]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/32)*(sysvar(0)-10)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
triggerall=const(size.ground.front)=31300
trigger1=1
trans=sub
ignorehitpause=1
[state ]
type=trans
triggerall=const(size.ground.front)=31301
trigger1=1
trans=add
ignorehitpause=1

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



;U{́B
[state ]
type=forcefeedback
triggerall=const(size.ground.front)=31300
trigger1=const(size.ground.back)=0
trigger1=1||var(1):=0||var(2):=0||var(3):=6||var(4):=80||var(5):=40||var(6):=12||fvar(0):=-6||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
trigger2=const(size.ground.back)=1
trigger2=1||var(1):=1||var(2):=0||var(3):=6||var(4):=80||var(5):=40||var(6):=0||fvar(0):=-4||fvar(1):=-6||fvar(2):=-4||fvar(3):=-6||fvar(4):=0.35
trigger3=const(size.ground.back)=2
trigger3=1||var(1):=0||var(2):=0||var(3):=6||var(4):=80||var(5):=40||var(6):=12||fvar(0):=-6||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
trigger4=const(size.ground.back)=3
trigger4=1||var(1):=1||var(2):=0||var(3):=6||var(4):=80||var(5):=40||var(6):=0||fvar(0):=-4||fvar(1):=-6||fvar(2):=-4||fvar(3):=-6||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.front)=31300
triggerall=const(size.ground.back)=0||const(size.ground.back)=1
trigger1=sysvar(0)=[10,10+55]
trigger1=(sysvar(0)-10)%8=0
projid=310*(const(size.ground.back)=0)+320*(const(size.ground.back)=1)
projanim=70030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x-120*cos((pi/180)*(sysfvar(0)+90))),floor(vel y-120*sin((pi/180)*(sysfvar(0)+90)))
postype=p1
velocity=120*cos((pi/180)*(sysfvar(0)+90)),120*sin((pi/180)*(sysfvar(0)+90))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=2
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=310*(const(size.ground.back)=0)+320*(const(size.ground.back)=1)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31300
triggerall=const(size.ground.back)=2||const(size.ground.back)=3
trigger1=sysvar(0)=[10,10+55]
trigger1=(sysvar(0)-10)%8=0
projid=710*(const(size.ground.back)=2)+720*(const(size.ground.back)=3)
projanim=70030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x-120*cos((pi/180)*(sysfvar(0)+90))),floor(vel y-120*sin((pi/180)*(sysfvar(0)+90)))
postype=p1
velocity=120*cos((pi/180)*(sysfvar(0)+90)),120*sin((pi/180)*(sysfvar(0)+90))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=2
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=710*(const(size.ground.back)=2)+720*(const(size.ground.back)=3)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1









