
[Statedef -2]
[State ]
type=null;DisplayToClipboard
trigger1=!Ishelper
text="p2dist x=%f,p2dist y=%f"
params=(p2dist x),(p2dist y)
ignorehitpause=1
;-----------------------------------------
[State , kyori]
type = null;AppendToClipboard
trigger1 = !Ishelper
text =  "P2X:%f,P2Y:%f,Vx%f,Vy%f,Py%f \n"
params = P2BodyDist x,P2BodyDist y,vel x,vel y,Pos y
IgnoreHitPause = 1
[State ]
type=null;DisplayToClipboard
trigger1=!Ishelper
text="var(59)=%d,helper99999=%d,BackEdgeBodyDist=%d,movecontact=%d \n"
params=(var(59)),(numhelper(99999)),BackEdgeBodyDist,movecontact
ignorehitpause=1
[State ]
type=null;DisplayToClipboard
trigger1=!Ishelper
trigger1=numhelper(99999)
text="h-var(59)=%d,h-var(58)=%d"
params=(helper(99999),var(59)),(helper(99999),var(58))
ignorehitpause=1
[State ]
type=null;DisplayToClipboard
trigger1=!Ishelper
text="facing=%d,E-facing=%d,F=%d,FrontEdgeBodyDist=%d"
params=facing,(Enemynear,facing),(facing=Enemynear,facing),FrontEdgeBodyDist
ignorehitpause=1
;-----------------------------------------
[State ]
type=Removeexplod
trigger1=anim!=0
id=1
[State ]
type=VarRandom
triggerall=Ishelper
trigger1=time%2
v=0
range=1,10
[State ]
type=VarAdd
triggerall=Ishelper
trigger1=var(3)
var(3)=-1
[State ]
type=Pause
triggerall=Ishelper
trigger1=var(3)&&gametime%2
time=1
movetime=0
[State ]
type=VarSet
triggerall=Ishelper
trigger1=var(3)<=0
trigger1=movetype=H
var(7)=0
[State ]
type=varset
triggerall=!Ishelper
trigger1=palno=12
var(5)=1000
[State ]
type=varadd
trigger1=!Ishelper
trigger1=stateno!=700
trigger1=var(5)!=0&&!(Gametime%2)&&roundstate=2
var(5)=-1
[State ]
type=Poweradd
trigger1=!Ishelper
trigger1=var(5)!=0&&!(Gametime%2)
value=2
ignorehitpause=1
[State ]
type=Nothitby
triggerall=palno=12
trigger1=gethitvar(hitcount)>=15
value=SCA
time=70
[State ]
type=lifeadd
trigger1=!Ishelper
trigger1=palno=12
trigger1=!(GameTime%2)
value=1
ignorehitpause=1
[State ]
type=Helper
triggerall=!IsHelper
triggerall=var(5)!=0
trigger1=!numhelper(1)
stateno=1
name="Aura"
id=1
pos=0,0
helpertype=normal
postype=p1
ownpal=1
keyctrl=0
[State ];AI
type=Helper
triggerall=!Ishelper
triggerall=name="Ryougi Shiki_MA"
triggerall=!var(59)
triggerall=alive
triggerall=!numhelper(99999)
trigger1=roundstate=2
trigger1=ctrl&&stateno=0
trigger1=(PrevStateNo=[190,199])
stateno=99999
name="AI"
id=99999
pos=9999,9999
helpertype=normal
postype=p1
ownpal=0
keyctrl=1
ignorehitpause=1
supermovetime=2147483647
pausemovetime=2147483647
persistent = 0
[State ]
type=VarSet
triggerall=palno!=12
trigger1=enemy,GethitVar(hitcount)>=1
fv=0
value=1.00-(enemy,GethitVar(hitcount)*.130)
ignorehitpause=1
[State ]
type=VarSet
triggerall=palno!=12
trigger1=p2movetype!=H
trigger2=!(enemy,GethitVar(hitcount))
trigger3=enemy,GethitVar(guarded)
fv=0
value=1.00
ignorehitpause=1
[State ]
type=VarSet
triggerall=palno!=12
trigger1=fvar(0)<=0
fv=0
value=ifelse(enemy,gethitvar(hitcount)>20,.1,.2)
ignorehitpause=1
[State ]
type=AttackMulSet
trigger1=palno!=12
value=fvar(0)
ignorehitpause=1
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=!time
triggerall=var(0)=[1,5]
triggerall=alive
trigger1=!(GetHitVar(animtype))
value=110,0+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=!time
triggerall=var(0)=[6,10]
triggerall=alive
trigger1=!(GetHitVar(animtype))
value=110,1+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=!time
triggerall=var(0)=[1,5]
triggerall=alive
trigger1=GetHitVar(animtype)=1
value=110,2+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=!time
triggerall=var(0)=[6,10]
triggerall=alive
trigger1=GetHitVar(animtype)=1
value=110,3+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=time=0
triggerall=var(0)=[1,5]
triggerall=alive
trigger1=GetHitVar(animtype)=2
trigger2=GetHitVar(animtype)=3
trigger3=GetHitVar(animtype)=4
value=110,4+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=time=0
triggerall=var(0)=[6,10]
triggerall=alive
trigger1=GetHitVar(animtype)=2
trigger2=GetHitVar(animtype)=3
trigger3=GetHitVar(animtype)=4
value=110,5+(random%6)
[state ]
type=PlaySnd
triggerall=stateno=5120
triggerall=time=1
trigger1=var(0)=[1,3]
value=100,4
[state ]
type=PlaySnd
triggerall=stateno=5120
triggerall=time=1
trigger1=var(0)=[4,6]
value=100,5
[state ]
type=PlaySnd
triggerall=stateno=5120
triggerall=time=1
trigger1=var(0)=[7,8]
value=100,6
[state ]
type=PlaySnd
triggerall=stateno=5120
triggerall=time=1
trigger1=var(0)=[9,10]
value=100,7
[state ]
type=PlaySnd
triggerall=stateno=150||stateno=152||stateno=154
triggerall=time=1
trigger1=var(0)=1
channel=2
value=100,34
ignorehitpause=1
[state ]
type=PlaySnd
triggerall=stateno=150||stateno=152||stateno=154
triggerall=time=1
trigger1=var(0)=2
channel=2
value=100,35
ignorehitpause=1
[state ]
type=PlaySnd
triggerall=stateno=150||stateno=152||stateno=154
triggerall=time=1
trigger1=var(0)=3
channel=2
value=100,36
ignorehitpause=1
[state ]
type=PlaySnd
triggerall=stateno=150||stateno=152||stateno=154
triggerall=time=1
trigger1=var(0)=4
channel=2
value=100,37
ignorehitpause=1
[State ]
type=Width
triggerall=p2statetype=A && p2movetype=H
trigger1=stateno=1000
edge=35,
[State ]
type=NotHitBy
trigger1=prevstateno=[150,155]
trigger1=stateno!=[150,155]
value=SCA,NT,ST,HT
time=3
ignorehitpause=1
[State ]
type=HitBy
trigger1=prevstateno=[150,155]
trigger1=stateno!=[150,155]
value=SCA,AA,AP
time=3
ignorehitpause=1
[State ]
type=NotHitBy
trigger1=roundstate!=2
value=SCA
