;
;STLqB

[statedef 51505150];aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
[state ];aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
type=varset;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
trigger1=1;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa





;RtBOB

sysvar(1)=(0);ftHgl:0B

;ẼJbR̒0~3̐ƁA
;̉]xlɉĕω܂B
;0ԒxA3ԑłB
;ՓxLunaticƂȂƁAɌē˂ނłJłB
;
;Easy    :0
;Normal  :1
;Hard    :2
;Lunatic :3





ignorehitpause=1;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa





;----------   RtBO܂ŁBȉA@iMȁjB




































































































;
;Xe[gB

;
;triggerall=1

;AItOZbgB
[state ]
type=varset
triggerall=1
trigger1=command="ai01"
trigger2=command="ai02"
trigger3=command="ai03"
trigger4=command="ai04"
trigger5=command="ai05"
trigger6=command="ai06"
trigger7=command="ai07"
trigger8=command="ai08"
trigger9=command="ai09"
trigger10=command="ai10"
trigger11=command="ai11"
trigger12=command="ai12"
trigger13=command="ai13"
trigger14=command="ai14"
trigger15=command="ai15"
trigger16=command="ai16"
trigger17=command="ai17"
trigger18=command="ai18"
trigger19=command="ai19"
trigger20=command="ai20"
trigger21=command="ai21"
trigger22=command="ai22"
trigger23=command="ai23"
trigger24=command="ai24"
trigger25=command="ai25"
trigger26=command="ai26"
trigger27=command="ai27"
trigger28=command="ai28"
trigger29=command="ai29"
trigger30=command="ai30"
trigger31=command="ai31"
trigger32=command="ai32"
trigger33=command="ai33"
trigger34=command="ai34"
trigger35=command="ai35"
trigger36=command="ai36"
trigger37=command="ai37"
trigger38=command="ai38"
trigger39=command="ai39"
trigger40=command="ai40"
trigger41=command="ai41"
trigger42=command="ai42"
trigger43=command="ai43"
trigger44=command="ai44"
trigger45=command="ai45"
trigger46=command="ai46"
trigger47=command="ai47"
trigger48=command="ai48"
trigger49=command="ai49"
trigger50=command="ai50"
trigger51=0;fobOpB
sysfvar(2)=1
ignorehitpause=1


;
;triggerall=sysvar(2)=0

;]ϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysvar(1)=0
trigger1=1
sysvar(4)=-4*(gametime%360)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysvar(1)=1
trigger1=1
sysvar(4)=-7*(gametime%360)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysvar(1)=2
trigger1=1
sysvar(4)=-13*(gametime%360)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysvar(1)=3
trigger1=1
sysvar(4)=-17*(gametime%360)
ignorehitpause=1



;AsϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=0
trigger1=1
sysvar(3)=0
ignorehitpause=1

;󋵕ϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command="a"
sysvar(2)=1
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)=1
triggerall=roundstate=2
triggerall=ctrl
triggerall=1||fvar(0):=facing*(enemynear,screenpos x+enemynear,const(size.mid.pos.x)-screenpos x)
triggerall=1||fvar(1):=enemynear,screenpos y+enemynear,const(size.mid.pos.y)-(screenpos y-40)
trigger1=fvar(0)=0&&fvar(1)=0
trigger2=fvar(0)!=0||fvar(1)!=0
trigger2=1||fvar(2):=(-1+2*(fvar(1)>=0))*(180*acos(fvar(0)/((fvar(0)**2+fvar(1)**2)**0.5))/pi)
trigger2=abs(floor(720+fvar(2)-(-(sysvar(4)%360)+90))%360)<=4
sysvar(2)=1
ignorehitpause=1



;rWAZbgB
[state ]
type=afterimage
triggerall=sysvar(2)=0
trigger1=1
time=0
ignorehitpause=1
[state ]
type=angledraw
triggerall=sysvar(2)=0
trigger1=1
value=sysvar(4)
ignorehitpause=1



;xۑϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=0
trigger1=roundstate!=2
trigger2=ctrl=0
sysfvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
trigger1=roundstate!=2
trigger2=ctrl=0
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command="holdback"
sysfvar(0)=-3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command="holdfwd"
sysfvar(0)=3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command!="holdback"
trigger1=command!="holdfwd"
sysfvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command="holddown"
sysfvar(1)=3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command="holdup"
sysfvar(1)=-3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)!=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=command!="holddown"
trigger1=command!="holdup"
sysfvar(1)=0
ignorehitpause=1

[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)>240
trigger2=random<125
sysfvar(0)=-3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<80
trigger2=random<143
sysfvar(0)=3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=screenpos y<60+40
trigger2=random<125
sysfvar(1)=3
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=0
triggerall=sysfvar(2)=1
triggerall=roundstate=2
triggerall=ctrl
trigger1=screenpos y>180+40
trigger2=random<143
sysfvar(1)=-3
ignorehitpause=1



;WݒB
[state ]
type=velset
triggerall=sysvar(2)=0
trigger1=1
x=sysfvar(0)
y=sysfvar(1)
ignorehitpause=1

[state ]
type=posadd
triggerall=sysvar(2)=0
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<0
x=-ifelse(facing=1,screenpos x,320-screenpos x)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=0
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)>320
x=-(ifelse(facing=1,screenpos x,320-screenpos x)-320)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=0
trigger1=screenpos y<0+40
y=-(screenpos y-40)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=0
trigger1=screenpos y>240+40
y=-(screenpos y-240-40)
ignorehitpause=1

[state ]
type=posset
triggerall=sysvar(2)=0
trigger1=pos y>0
y=0
ignorehitpause=1


;
;triggerall=sysvar(2)=1

;AsϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=1
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<0
trigger2=ifelse(facing=1,screenpos x,320-screenpos x)>320
trigger3=screenpos y<0+40
trigger4=screenpos y>240+40
trigger5=projcontacttime(1)=0
sysvar(3)=0
ignorehitpause=1

;󋵕ϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=1
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<0
trigger2=ifelse(facing=1,screenpos x,320-screenpos x)>320
trigger3=screenpos y<0+40
trigger4=screenpos y>240+40
sysvar(2)=2
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=1
trigger1=projcontacttime(1)=0
sysvar(2)=3
ignorehitpause=1



;ʐݒB
[state ]
type=screenbound
triggerall=sysvar(2)=1
trigger1=1
value=0
movecamera=1,1
ignorehitpause=1



;rWAZbgB
[state ]
type=afterimage
triggerall=sysvar(2)=1
trigger1=sysvar(3)=0
time=-1
length=20
ignorehitpause=1
[state ]
type=angledraw
triggerall=sysvar(2)=1
trigger1=1
value=sysvar(4)
ignorehitpause=1



;xۑϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=1
triggerall=sysvar(3)=0
trigger1=1
sysfvar(0)=12*cos(pi*(-sysvar(4)+90)/180)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=1
triggerall=sysvar(3)=0
trigger1=1
sysfvar(1)=12*sin(pi*(-sysvar(4)+90)/180)
ignorehitpause=1



;WݒB
[state ]
type=velset
triggerall=sysvar(2)=1
trigger1=1
x=sysfvar(0)
y=sysfvar(1)
ignorehitpause=1
[state ]
type=playerpush
triggerall=sysvar(2)=1
trigger1=1
value=0
ignorehitpause=1



;U{́B
[state ]
type=projectile
triggerall=sysvar(2)=1
trigger1=1
projanim=1
projid=1
projremove=1
projremovetime=1
offset=2*ceil(vel x),-40+2*ceil(vel y)
attr=a,ha
hitflag=mpfdp
damage=160
numhits=gametime%2
sparkno=-1
ground.velocity=-1*vel x,-1*vel y
air.velocity=-1*vel x,-1*vel y
fall=1
ignorehitpause=1



;AsϐZbgB
[state ]
type=varadd
triggerall=sysvar(2)=1
trigger1=1
sysvar(3)=1
ignorehitpause=1


;
;triggerall=sysvar(2)=2

;󋵕ϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=2
trigger1=sysvar(3)>=16
sysvar(2)=0
ignorehitpause=1



;B
[state ]
type=playsnd
triggerall=sysvar(2)=2
trigger1=sysvar(3)=0
value=f7,2
ignorehitpause=1



;rWAZbgB
[state ]
type=angledraw
triggerall=sysvar(2)=2
trigger1=1
value=random
ignorehitpause=1



;xۑϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=2
triggerall=sysvar(3)=0
trigger1=1
sysfvar(0)=-0.5*sysfvar(0)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=2
triggerall=sysvar(3)=0
trigger1=1
sysfvar(1)=-0.5*sysfvar(1)
ignorehitpause=1

[state ]
type=varset
triggerall=sysvar(2)=2
triggerall=sysvar(3)=0
trigger1=pos y>0
trigger1=vel y>0.0625*(-pos y)
sysfvar(1)=0.0625*(-pos y)
ignorehitpause=1



;WݒB
[state ]
type=velset
triggerall=sysvar(2)=2
trigger1=1
x=sysfvar(0)
y=sysfvar(1)
ignorehitpause=1

[state ]
type=posadd
triggerall=sysvar(2)=2
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<0
x=-ifelse(facing=1,screenpos x,320-screenpos x)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=2
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)>320
x=-(ifelse(facing=1,screenpos x,320-screenpos x)-320)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=2
trigger1=screenpos y<0+40
y=-(screenpos y-40)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=2
trigger1=screenpos y>240+40
y=-(screenpos y-240-40)
ignorehitpause=1



;_[WϐZbgB
[state ]
type=varadd
triggerall=sysvar(2)=2
trigger1=sysvar(3)=0
sysvar(0)=70
ignorehitpause=1



;AsϐZbgB
[state ]
type=varadd
triggerall=sysvar(2)=2
trigger1=1
sysvar(3)=1
ignorehitpause=1


;
;triggerall=sysvar(2)=3

;󋵕ϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=3
trigger1=sysvar(3)>=8
sysvar(2)=0
ignorehitpause=1



;B
[state ]
type=playsnd
triggerall=sysvar(2)=3
trigger1=sysvar(3)=0
value=f7,2
ignorehitpause=1



;rWAZbgB
[state ]
type=angledraw
triggerall=sysvar(2)=3
trigger1=1
value=random
ignorehitpause=1



;xۑϐZbgB
[state ]
type=varset
triggerall=sysvar(2)=3
triggerall=sysvar(3)=0
trigger1=1
sysfvar(0)=-0.5*sysfvar(0)
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(2)=3
triggerall=sysvar(3)=0
trigger1=1
sysfvar(1)=-0.5*sysfvar(1)
ignorehitpause=1

[state ]
type=varset
triggerall=sysvar(2)=3
triggerall=sysvar(3)=0
trigger1=pos y>0
trigger1=vel y>0.125*(-pos y)
sysfvar(1)=0.125*(-pos y)
ignorehitpause=1



;WݒB
[state ]
type=velset
triggerall=sysvar(2)=3
trigger1=1
x=sysfvar(0)
y=sysfvar(1)
ignorehitpause=1

[state ]
type=posadd
triggerall=sysvar(2)=3
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)<0
x=-ifelse(facing=1,screenpos x,320-screenpos x)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=3
trigger1=ifelse(facing=1,screenpos x,320-screenpos x)>320
x=-(ifelse(facing=1,screenpos x,320-screenpos x)-320)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=3
trigger1=screenpos y<0+40
y=-(screenpos y-40)
ignorehitpause=1
[state ]
type=posadd
triggerall=sysvar(2)=3
trigger1=screenpos y>240+40
y=-(screenpos y-240-40)
ignorehitpause=1



;AsϐZbgB
[state ]
type=varadd
triggerall=sysvar(2)=3
trigger1=1
sysvar(3)=1
ignorehitpause=1


;
;SXe[gB

[statedef 5150]

;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=random
ignorehitpause=1



;ʐݒB
[state ]
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1



;WݒB
[state ]
type=velset
trigger1=1
x=2*sysfvar(0)
y=2*sysfvar(1)
ignorehitpause=1



;󋵕ϐZbgB
[state ]
type=varset
trigger1=1
sysvar(2)=0
ignorehitpause=1

;AsϐZbgB
[state ]
type=varset
trigger1=1
sysvar(3)=0
ignorehitpause=1


;
;-2Xe[gB

[statedef -2]

;{ݒB
[state ]
type=changeanim
trigger1=1
value=0
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=s
movetype=i
physics=n
ignorehitpause=1



;B
[state ]
type=playsnd
trigger1=gametime%80=0
value=s0,0
freqmul=0.5+0.001*random
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=gametime%80=0
value=s0,0
freqmul=0.5+0.001*random
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=gametime%80=0
value=s0,0
freqmul=0.5+0.001*random
volume=255
ignorehitpause=1



;ZbgB
[state ]
type=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value2=sca
ignorehitpause=1



;WݒB
[state ]
type=offset
triggerall=1
trigger1=1
y=-40
ignorehitpause=1



;CtݒB
[state ]
type=lifeset
trigger1=1
value=lifemax-sysvar(0)
ignorehitpause=1



;Xe[gڍsB
[state ]
type=assertspecial
trigger1=1
flag=noautoturn
flag2=nowalk
ignorehitpause=1
[state ]
type=assertspecial
trigger1=1
flag=nostandguard
flag2=nocrouchguard
flag3=noairguard
ignorehitpause=1



;Xe[gیB
[state ]
type=selfstate
trigger1=1
value=5150+alive*51500000
ignorehitpause=1


;
;-1Xe[gB

[statedef -1]
[state ]
type=null
trigger1=1
ignorehitpause=1


;
;̑Xe[gQB

[statedef 0]
[state ]
type=null
trigger1=1
[statedef 10]
[state ]
type=null
trigger1=1
[statedef 40]
[state ]
type=null
trigger1=1
[statedef 180]
[state ]
type=null
trigger1=1
[statedef 170]
[state ]
type=null
trigger1=1
[statedef 175]
[state ]
type=null
trigger1=1
[statedef 5030]
[state ]
type=null
trigger1=1
[statedef 5900]
[state ]
type=null
trigger1=1



;
;CMDLqB

;
;AItOR}hB

[command]
name="ai01"
command=F,F,F
time=0
[command]
name="ai02"
command=F,F,F
time=0
[command]
name="ai03"
command=F,F,F
time=0
[command]
name="ai04"
command=F,F,F
time=0
[command]
name="ai05"
command=F,F,F
time=0
[command]
name="ai06"
command=F,F,F
time=0
[command]
name="ai07"
command=F,F,F
time=0
[command]
name="ai08"
command=F,F,F
time=0
[command]
name="ai09"
command=F,F,F
time=0
[command]
name="ai10"
command=F,F,F
time=0
[command]
name="ai11"
command=F,F,F
time=0
[command]
name="ai12"
command=F,F,F
time=0
[command]
name="ai13"
command=F,F,F
time=0
[command]
name="ai14"
command=F,F,F
time=0
[command]
name="ai15"
command=F,F,F
time=0
[command]
name="ai16"
command=F,F,F
time=0
[command]
name="ai17"
command=F,F,F
time=0
[command]
name="ai18"
command=F,F,F
time=0
[command]
name="ai19"
command=F,F,F
time=0
[command]
name="ai20"
command=F,F,F
time=0
[command]
name="ai21"
command=F,F,F
time=0
[command]
name="ai22"
command=F,F,F
time=0
[command]
name="ai23"
command=F,F,F
time=0
[command]
name="ai24"
command=F,F,F
time=0
[command]
name="ai25"
command=F,F,F
time=0
[command]
name="ai26"
command=F,F,F
time=0
[command]
name="ai27"
command=F,F,F
time=0
[command]
name="ai28"
command=F,F,F
time=0
[command]
name="ai29"
command=F,F,F
time=0
[command]
name="ai30"
command=F,F,F
time=0
[command]
name="ai31"
command=F,F,F
time=0
[command]
name="ai32"
command=F,F,F
time=0
[command]
name="ai33"
command=F,F,F
time=0
[command]
name="ai34"
command=F,F,F
time=0
[command]
name="ai35"
command=F,F,F
time=0
[command]
name="ai36"
command=F,F,F
time=0
[command]
name="ai37"
command=F,F,F
time=0
[command]
name="ai38"
command=F,F,F
time=0
[command]
name="ai39"
command=F,F,F
time=0
[command]
name="ai40"
command=F,F,F
time=0
[command]
name="ai41"
command=F,F,F
time=0
[command]
name="ai42"
command=F,F,F
time=0
[command]
name="ai43"
command=F,F,F
time=0
[command]
name="ai44"
command=F,F,F
time=0
[command]
name="ai45"
command=F,F,F
time=0
[command]
name="ai46"
command=F,F,F
time=0
[command]
name="ai47"
command=F,F,F
time=0
[command]
name="ai48"
command=F,F,F
time=0
[command]
name="ai49"
command=F,F,F
time=0
[command]
name="ai50"
command=F,F,F
time=0


;
;̑R}hB

;LbNB
[command]
name="a"
command=a
time=1

;OړB
[command]
name="holdfwd"
command=/$F
time=1

;ړB
[command]
name="holdback"
command=/$B
time=1

;ړB
[command]
name="holdup"
command=/$U
time=1

;ړB
[command]
name="holddown"
command=/$D
time=1



;
;CNSLqB

[data]
life=1000
attack=100
defence=100
fall.defence_up=0
liedown.time=0
airjuggle=10000
sparkno=-1
guard.sparkno=-1
ko.echo=0
volume=0
intpersistindex=60
floatpersistindex=40
[size]
xscale=1
yscale=1
ground.back=10
ground.front=10
air.back=10
air.front=10
height=30
attack.dist=10000
proj.attack.dist=10000
proj.doscale=0
head.pos=0,0
mid.pos=0,0
shadowoffset=0
draw.offset=0,0
[velocity]
walk.fwd=0
walk.back=0
run.fwd=0
run.back=0
jump.neu=0
jump.back=0
jump.fwd=0
runjump.back=0
runjump.fwd=0
airjump.neu=0
airjump.back=0
airjump.fwd=0
[movement]
airjump.num=0
airjump.height=0
yaccel=0
stand.friction=0
crouch.friction=0









