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

;ヘルパー

;------------------------------------------------------------
;時止め解除ヘルパー
[Statedef 123456]
type=S
movetype=I
physics=S
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=time=0
value=9999
[State ]
type=nothitby
trigger1=ishelper(123456)&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=AssertSpecial
trigger1=ishelper(123456)&&name="Phantom Mizuchi Abyss"
flag=Invisible
ignorehitpause=1
[State ]
type=BindToRoot
trigger1=ishelper(123456)&&name="Phantom Mizuchi Abyss"
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
value=0
movecamera=0,0
[State ]
type=pause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=roundstate<3||(root,var(0)&128)=0
trigger1=numenemy
trigger1=(enemy(0),alive||enemy(numenemy>1),alive)||(root,var(0)&128)=0
time=0
movetime=0
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=roundstate<3||(root,var(0)&128)=0
trigger1=numenemy
trigger1=(enemy(0),alive||enemy(numenemy>1),alive)||(root,var(0)&128)=0
anim=-1
time=0
movetime=0
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=pause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
triggerall=numenemy
triggerall=roundstate=2
trigger1=enemy(0),stateno=512||enemy(0),stateno=513||(enemy(0),stateno=511&&enemy(0),hitpausetime>0)
trigger1=enemy(0),alive=0
trigger2=enemy(numenemy>1),stateno=512||enemy(numenemy>1),stateno=513||(enemy(numenemy>1),stateno=511&&enemy(0),hitpausetime>0)
trigger2=enemy(numenemy>1),alive=0
trigger3=(enemy(0),alive=0&&enemy(numenemy>1),alive=0&&roundstate=2)&&(root,var(0)&128)
trigger4=root,stateno=60201
trigger4=gametime%3!=0
time=2147483648
movetime=2147483648
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
triggerall=numenemy
triggerall=roundstate=2
trigger1=enemy(0),stateno=512||enemy(0),stateno=513||(enemy(0),stateno=511&&enemy(0),hitpausetime>0)
trigger1=enemy(0),alive=0
trigger2=enemy(numenemy>1),stateno=512||enemy(numenemy>1),stateno=513||(enemy(numenemy>1),stateno=511&&enemy(0),hitpausetime>0)
trigger2=enemy(numenemy>1),alive=0
trigger3=(enemy(0),alive=0&&enemy(numenemy>1),alive=0&&roundstate=2)&&(root,var(0)&128)
trigger4=root,stateno=60201
trigger4=gametime%3!=0
anim=-1
time=2147483648
movetime=2147483648
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=1
trigger1=numpartner=0
trigger1=root,var(9)<=((numhelper)+(enemy,numhelper))
trigger2=numenemy=2
trigger2=numpartner=0
trigger2=root,var(9)<=((numhelper)+(enemy(0),numhelper)+(enemy(1),numhelper))
trigger3=numenemy=1
trigger3=numpartner>0
trigger3=root,var(9)<=((numhelper)+(partner,numhelper)+(enemy,numhelper))
trigger4=numenemy=2
trigger4=numpartner>0
trigger4=root,var(9)<=((numhelper)+(partner,numhelper)+(enemy(0),numhelper)+(enemy(1),numhelper))
var(13)=1
[State ]
type=varset
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=1
trigger1=numpartner=0
trigger1=root,var(9)>((numhelper)+(enemy,numhelper))
trigger2=numenemy=2
trigger2=numpartner=0
trigger2=root,var(9)>((numhelper)+(enemy(0),numhelper)+(enemy(1),numhelper))
trigger3=numenemy=1
trigger3=numpartner>0
trigger3=root,var(9)>((numhelper)+(partner,numhelper)+(enemy,numhelper))
trigger4=numenemy=2
trigger4=numpartner>0
trigger4=root,var(9)>((numhelper)+(partner,numhelper)+(enemy(0),numhelper)+(enemy(1),numhelper))
var(13)=2
[State ]
type=pause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=var(13)=1
time=0
movetime=0
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=var(13)=1
anim=-1
time=0
movetime=0
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=pause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
triggerall=numenemy&&(root,var(0)&128)
trigger1=roundstate>2
trigger2=enemy(0),alive=0&&enemy(numenemy>1),alive=0
time=2147483648
movetime=2147483648
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
triggerall=numenemy&&(root,var(0)&128)
trigger1=roundstate>2
trigger2=enemy(0),alive=0&&enemy(numenemy>1),alive=0
anim=-1
time=2147483648
movetime=2147483648
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=pause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=root,stateno=0&&roundstate=1
trigger2=root,var(7)!=0;論外モード
time=2147483648
movetime=2147483648
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
trigger1=root,stateno=0&&roundstate=1
trigger2=root,var(7)!=0
anim=-1
time=2147483648
movetime=2147483648
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=DestroySelf
triggerall=ishelper(123456)&&name="Phantom Mizuchi Abyss"
triggerall=var(13)=2&&!(root,stateno=12345&&root,time<40)
trigger1=var(0)>50
trigger2=numhelper(123456)>2
ignorehitpause=1
;------------------------------------------------------------
;分身
[Statedef 123451]
type=S
movetype=I
physics=S
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=selfstate
triggerall=name="Phantom Mizuchi Abyss"
trigger1=!ishelper(123450)
trigger1=!ishelper(123451)
value=5150
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=1
trigger2=numenemy=2
trigger2=enemynear(0),alive
fvar(0)=abs(pos x-enemynear,pos x)*ifelse(frontedgedist<ifelse((facing=enemynear,facing),(enemynear,frontedgedist),(enemynear,backedgedist)),-1,1)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=2
trigger1=!enemynear(0),alive
fvar(0)=abs(pos x-enemynear(1),pos x)*ifelse(frontedgedist<ifelse((facing=enemynear(1),facing),(enemynear(1),frontedgedist),(enemynear(1),backedgedist)),-1,1)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=1
trigger2=numenemy=2
trigger2=enemynear(0),alive
fvar(1)=(enemynear,pos y)-pos y
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy=2
trigger1=!enemynear(0),alive
fvar(1)=(enemynear(1),pos y)-pos y
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(123451)
trigger1=numhelper(123450)
fvar(2)=abs(pos x-helper(123450),pos x)*ifelse(frontedgedist<ifelse((facing=helper(123450),facing),(helper(123450),frontedgedist),(helper(123450),backedgedist)),-1,1)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(123450)
trigger1=numhelper(123451)
fvar(2)=abs(pos x-helper(123451),pos x)*ifelse(frontedgedist<ifelse((facing=helper(123451),facing),(helper(123451),frontedgedist),(helper(123451),backedgedist)),-1,1)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=ishelper(123450)
fvar(2)=ID
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=ishelper(123451)
fvar(3)=ID
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=assertspecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=[0,50]
trigger1=var(0)%2
trigger2=var(1)=1
flag=invisible
ignorehitpause=1
[State ];分身は攻撃補正を受け付けない
type=attackmulset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=gethitvar(damage)>0
var(3)=gethitvar(damage)
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(3)!=0
var(4)=var(3)
ignorehitpause=1
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(3)>0
;超必殺技中は邪魔しない
trigger1=root,stateno!=[19150,19155]
trigger1=root,stateno!=70000
trigger1=root,stateno!=[10000,10002]
trigger1=root,stateno!=[11000,11002]
trigger1=root,stateno!=[50100,50102]
trigger1=root,stateno!=50300
trigger1=root,stateno!=[50600,50601]
trigger1=root,stateno!=[30050,30052]
trigger1=root,stateno!=[60200,60202]
trigger1=root,stateno!=[30060,30062]
attr=S,SA,SP,ST
animtype=back
damage=var(3)
priority=7
getpower=0,0
guardflag=
projanim=10000
ProjID=123451
Projhitanim=-1
Projremanim=-1
Projcancelanim=-1
offset=0,0
projpriority=999999999
projsprpriority=999999999
projremove=1
projremovetime=1
velocity=0,0
pausetime=0,0
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
guard.pausetime=0,0
ground.type=high
ground.slidetime=20
ground.hittime=20
ground.velocity=-15,16
air.velocity=-15,16
fall=1
fall.revcover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(3)=var(4)
trigger1=var(3):=0||1
var(4)=0
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim!=0
trigger1=anim!=[20,21]
trigger1=anim!=183
value=0
ignorehitpause=1
[State ]
type=VelSet
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=fvar(0)>80
trigger1=abs(fvar(2)>30)
trigger1=anim!=183
x=const(velocity.walk.fwd.x)
ignorehitpause=1
[State ]
type=VelSet
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=abs(fvar(0)<10)
trigger1=abs(fvar(2)>30)
trigger1=anim!=183
x=const(velocity.walk.back.x)
ignorehitpause=1
[State ]
type=VelSet
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=abs(fvar(2)<=30)
triggerall=anim!=183
trigger1=ishelper(123450)&&facing=1
trigger2=ishelper(123451)&&facing=-1
x=const(velocity.walk.fwd.x)
ignorehitpause=1
[State ]
type=ChangeAnim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=vel x>0
trigger1=Anim!=20
trigger1=anim!=183
value=20
[State ]
type=ChangeAnim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=vel x<0
trigger1=Anim!=21
trigger1=anim!=183
value=21
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=vel x=0
trigger1=anim=[20,21]
trigger1=anim!=0
trigger1=anim!=183
value=0
ignorehitpause=1
[State ]
type=posset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
y=0
ignorehitpause=1
[State ]
type=turn
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=fvar(0)<0
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=root,stateno=[181,182]
trigger1=anim!=183
value=183
ignorehitpause=1
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=183
trigger1=animelem=7
value=190,1
ignorehitpause=1
[State ]
type=Explod
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(1)=0
trigger1=anim=183
trigger1=animelem=57
trigger1=var(1):=1||1
trigger2=root,alive=0
trigger2=var(1):=1||1
anim=812
id=812
sprpriority=10
postype=p1
pos=0,0
scale=0.5,2
bindtime=-1
removetime=-2
under=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(1)=1
trigger1=var(2)=0
trigger1=var(2):=1||1
value=190,2
ignorehitpause=1
[State ]
type=velset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(1)=1
x=0
y=0
ignorehitpause=1

;リダイレクト偽装用　ID調査装置
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(15)=0
trigger1=var(5):=var(5)+1||1
trigger1=var(6):=var(6)+1||1
trigger1=var(7):=var(7)+1||1
trigger1=var(8):=var(8)+1||1
trigger1=var(9):=var(9)+1||1
trigger1=var(10):=var(10)+1||1
trigger1=var(11):=var(11)+1||1
trigger1=var(12):=var(12)+1||1
trigger1=var(13):=var(13)+1||1
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(11)<1000
trigger1=var(11):=1000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(12)<10000
trigger1=var(12):=10000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(13)<100000
trigger1=var(13):=100000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(5)<1000000
trigger1=var(5):=1000000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(6)<10000000
trigger1=var(6):=10000000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(7)<100000000
trigger1=var(7):=100000000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(8)<1000000000
trigger1=var(8):=1000000000
ignorehitpause=1
[State ]
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(9)<2000000000
trigger1=var(9):=2000000000
ignorehitpause=1

;ローラー作戦で調査する
[State ];0
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(10))=1
var(15)=var(10)
ignorehitpause=1
[State ];1000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11))=1
var(15)=var(11)
ignorehitpause=1
[State ];10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12))=1
var(15)=var(12)
ignorehitpause=1
[State ];100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13))=1
var(15)=var(13)
ignorehitpause=1
[State ];1000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5))=1
var(15)=var(5)
ignorehitpause=1
[State ];10000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(6))=1
var(15)=var(6)
ignorehitpause=1
[State ];100000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(7))=1
var(15)=var(7)
ignorehitpause=1
[State ];1000000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8))=1
var(15)=var(8)
ignorehitpause=1
[State ];2000000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9))=1
var(15)=var(9)
ignorehitpause=1

[State ];1000+1000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+1000)=1
var(15)=var(11)+1000
ignorehitpause=1
[State ];1000+2000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+2000)=1
var(15)=var(11)+2000
ignorehitpause=1
[State ];1000+3000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+3000)=1
var(15)=var(11)+3000
ignorehitpause=1
[State ];1000+4000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+4000)=1
var(15)=var(11)+4000
ignorehitpause=1
[State ];1000+5000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+5000)=1
var(15)=var(11)+5000
ignorehitpause=1
[State ];1000+6000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+6000)=1
var(15)=var(11)+6000
ignorehitpause=1
[State ];1000+7000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+7000)=1
var(15)=var(11)+7000
ignorehitpause=1
[State ];1000+8000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(11)+8000)=1
var(15)=var(11)+8000
ignorehitpause=1
[State ];10000+5000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+5000)=1
var(15)=var(12)+5000
ignorehitpause=1
[State ];10000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+10000)=1
var(15)=var(12)+10000
ignorehitpause=1
[State ];10000+15000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+15000)=1
var(15)=var(12)+15000
ignorehitpause=1
[State ];10000+20000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+20000)=1
var(15)=var(12)+20000
ignorehitpause=1
[State ];10000+25000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+25000)=1
var(15)=var(12)+25000
ignorehitpause=1
[State ];10000+30000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+30000)=1
var(15)=var(12)+30000
ignorehitpause=1
[State ];10000+35000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+35000)=1
var(15)=var(12)+35000
ignorehitpause=1
[State ];10000+40000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+40000)=1
var(15)=var(12)+40000
ignorehitpause=1
[State ];10000+45000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+45000)=1
var(15)=var(12)+45000
ignorehitpause=1
[State ];10000+50000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+50000)=1
var(15)=var(12)+50000
ignorehitpause=1
[State ];10000+55000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+55000)=1
var(15)=var(12)+55000
ignorehitpause=1
[State ];10000+60000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+60000)=1
var(15)=var(12)+60000
ignorehitpause=1
[State ];10000+65000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+65000)=1
var(15)=var(12)+65000
ignorehitpause=1
[State ];10000+70000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+70000)=1
var(15)=var(12)+70000
ignorehitpause=1
[State ];10000+75000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+75000)=1
var(15)=var(12)+75000
ignorehitpause=1
[State ];10000+80000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+80000)=1
var(15)=var(12)+80000
ignorehitpause=1
[State ];10000+85000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(12)+85000)=1
var(15)=var(12)+85000
ignorehitpause=1
[State ];100000+1000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+1000)=1
var(15)=var(13)+1000
ignorehitpause=1
[State ];100000+5000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+5000)=1
var(15)=var(13)+5000
ignorehitpause=1
[State ];100000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+10000)=1
var(15)=var(13)+10000
ignorehitpause=1
[State ];100000+20000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+20000)=1
var(15)=var(13)+20000
ignorehitpause=1
[State ];100000+30000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+30000)=1
var(15)=var(13)+30000
ignorehitpause=1
[State ];100000+40000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+40000)=1
var(15)=var(13)+40000
ignorehitpause=1
[State ];100000+50000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+50000)=1
var(15)=var(13)+50000
ignorehitpause=1
[State ];100000+60000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+60000)=1
var(15)=var(13)+60000
ignorehitpause=1
[State ];100000+70000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+70000)=1
var(15)=var(13)+70000
ignorehitpause=1
[State ];100000+80000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+80000)=1
var(15)=var(13)+80000
ignorehitpause=1
[State ];100000+90000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(13)+90000)=1
var(15)=var(13)+90000
ignorehitpause=1

[State ];1000000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+10000)=1
var(15)=var(5)+10000
ignorehitpause=1
[State ];1000000+20000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+20000)=1
var(15)=var(5)+20000
ignorehitpause=1
[State ];1000000+30000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+30000)=1
var(15)=var(5)+30000
ignorehitpause=1
[State ];1000000+40000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+40000)=1
var(15)=var(5)+40000
ignorehitpause=1
[State ];1000000+50000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+50000)=1
var(15)=var(5)+50000
ignorehitpause=1
[State ];1000000+60000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+60000)=1
var(15)=var(5)+60000
ignorehitpause=1
[State ];1000000+70000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+70000)=1
var(15)=var(5)+70000
ignorehitpause=1
[State ];1000000+80000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+80000)=1
var(15)=var(5)+80000
ignorehitpause=1
[State ];1000000+90000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+90000)=1
var(15)=var(5)+90000
ignorehitpause=1
[State ];1000000+100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+100000)=1
var(15)=var(5)+100000
ignorehitpause=1
[State ];1000000+110000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+110000)=1
var(15)=var(5)+110000
ignorehitpause=1
[State ];1000000+120000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+120000)=1
var(15)=var(5)+120000
ignorehitpause=1
[State ];1000000+130000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+130000)=1
var(15)=var(5)+130000
ignorehitpause=1
[State ];1000000+140000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+140000)=1
var(15)=var(5)+140000
ignorehitpause=1
[State ];1000000+150000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+150000)=1
var(15)=var(5)+150000
ignorehitpause=1
[State ];1000000+160000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+160000)=1
var(15)=var(5)+160000
ignorehitpause=1
[State ];1000000+170000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+170000)=1
var(15)=var(5)+170000
ignorehitpause=1
[State ];1000000+180000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+180000)=1
var(15)=var(5)+180000
ignorehitpause=1
[State ];1000000+190000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+190000)=1
var(15)=var(5)+190000
ignorehitpause=1
[State ];1000000+200000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(5)+200000)=1
var(15)=var(5)+200000
ignorehitpause=1
;120万までは早期発見を目指す

;大まかに調査
[State ];10000000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(6)+10000)=1
var(15)=var(6)+10000
ignorehitpause=1
[State ];10000000+100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(6)+100000)=1
var(15)=var(6)+100000
ignorehitpause=1
[State ];10000000+1000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(6)+1000000)=1
var(15)=var(6)+1000000
ignorehitpause=1
[State ];100000000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(7)+10000)=1
var(15)=var(7)+10000
ignorehitpause=1
[State ];100000000+100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(7)+100000)=1
var(15)=var(7)+100000
ignorehitpause=1
[State ];100000000+1000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(7)+1000000)=1
var(15)=var(7)+1000000
ignorehitpause=1
[State ];100000000+10000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(7)+10000000)=1
var(15)=var(7)+10000000
ignorehitpause=1
[State ];1000000000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8)+10000)=1
var(15)=var(8)+10000
ignorehitpause=1
[State ];1000000000+100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8)+100000)=1
var(15)=var(8)+100000
ignorehitpause=1
[State ];1000000000+1000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8)+1000000)=1
var(15)=var(8)+1000000
ignorehitpause=1
[State ];1000000000+10000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8)+10000000)=1
var(15)=var(8)+10000000
ignorehitpause=1
[State ];1000000000+100000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(8)+100000000)=1
var(15)=var(8)+100000000
ignorehitpause=1
[State ];2000000000+10000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9)+10000)=1
var(15)=var(9)+10000
ignorehitpause=1
[State ];2000000000+100000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9)+100000)=1
var(15)=var(9)+100000
ignorehitpause=1
[State ];2000000000+1000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9)+1000000)=1
var(15)=var(9)+1000000
ignorehitpause=1
[State ];2000000000+10000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9)+10000000)=1
var(15)=var(9)+10000000
ignorehitpause=1
[State ];2000000000+100000000
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numenemy
trigger1=enemynear,numhelper(var(9)+100000000)=1
var(15)=var(9)+100000000
ignorehitpause=1
;早期発見できますようにｗ

;記録
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(15)!=0
trigger1=var(16)=0
trigger1=var(16):=var(15)
trigger2=var(17)=0
trigger2=var(13)!=var(16)
trigger2=var(17):=var(15)
trigger3=var(18)=0
trigger3=var(15)!=var(16)
trigger3=var(15)!=var(17)
trigger3=var(18):=var(15)
trigger4=var(19)=0
trigger4=var(15)!=var(16)
trigger4=var(15)!=var(17)
trigger4=var(15)!=var(18)
trigger4=var(19):=var(15)
trigger5=var(20)=0
trigger5=var(15)!=var(16)
trigger5=var(15)!=var(17)
trigger5=var(15)!=var(18)
trigger5=var(15)!=var(19)
trigger5=var(20):=var(15)
trigger6=var(21)=0
trigger6=var(15)!=var(16)
trigger6=var(15)!=var(17)
trigger6=var(15)!=var(18)
trigger6=var(15)!=var(19)
trigger6=var(15)!=var(20)
trigger6=var(21):=var(15)
trigger7=var(22)=0
trigger7=var(15)!=var(16)
trigger7=var(15)!=var(17)
trigger7=var(15)!=var(18)
trigger7=var(15)!=var(19)
trigger7=var(15)!=var(20)
trigger7=var(15)!=var(21)
trigger7=var(22):=var(15)
trigger8=var(23)=0
trigger8=var(15)!=var(16)
trigger8=var(15)!=var(17)
trigger8=var(15)!=var(18)
trigger8=var(15)!=var(19)
trigger8=var(15)!=var(20)
trigger8=var(15)!=var(21)
trigger8=var(15)!=var(22)
trigger8=var(23):=var(15)
trigger9=var(24)=0
trigger9=var(15)!=var(16)
trigger9=var(15)!=var(17)
trigger9=var(15)!=var(18)
trigger9=var(15)!=var(19)
trigger9=var(15)!=var(20)
trigger9=var(15)!=var(21)
trigger9=var(15)!=var(22)
trigger9=var(15)!=var(23)
trigger9=var(24):=var(15)
trigger10=var(25)=0
trigger10=var(15)!=var(16)
trigger10=var(15)!=var(17)
trigger10=var(15)!=var(18)
trigger10=var(15)!=var(19)
trigger10=var(15)!=var(20)
trigger10=var(15)!=var(21)
trigger10=var(15)!=var(22)
trigger10=var(15)!=var(23)
trigger10=var(15)!=var(24)
trigger10=var(25):=var(15)
trigger11=var(26)=0
trigger11=var(15)!=var(16)
trigger11=var(15)!=var(17)
trigger11=var(15)!=var(18)
trigger11=var(15)!=var(19)
trigger11=var(15)!=var(20)
trigger11=var(15)!=var(21)
trigger11=var(15)!=var(22)
trigger11=var(15)!=var(23)
trigger11=var(15)!=var(24)
trigger11=var(15)!=var(25)
trigger11=var(26):=var(15)
trigger12=var(27)=0
trigger12=var(15)!=var(16)
trigger12=var(15)!=var(17)
trigger12=var(15)!=var(18)
trigger12=var(15)!=var(19)
trigger12=var(15)!=var(20)
trigger12=var(15)!=var(21)
trigger12=var(15)!=var(22)
trigger12=var(15)!=var(23)
trigger12=var(15)!=var(24)
trigger12=var(15)!=var(25)
trigger12=var(15)!=var(26)
trigger12=var(27):=var(15)
trigger13=var(28)=0
trigger13=var(15)!=var(16)
trigger13=var(15)!=var(17)
trigger13=var(15)!=var(18)
trigger13=var(15)!=var(19)
trigger13=var(15)!=var(20)
trigger13=var(15)!=var(21)
trigger13=var(15)!=var(22)
trigger13=var(15)!=var(23)
trigger13=var(15)!=var(24)
trigger13=var(15)!=var(25)
trigger13=var(15)!=var(26)
trigger13=var(15)!=var(27)
trigger13=var(28):=var(15)
trigger14=var(29)=0
trigger14=var(15)!=var(16)
trigger14=var(15)!=var(17)
trigger14=var(15)!=var(18)
trigger14=var(15)!=var(19)
trigger14=var(15)!=var(20)
trigger14=var(15)!=var(21)
trigger14=var(15)!=var(22)
trigger14=var(15)!=var(23)
trigger14=var(15)!=var(24)
trigger14=var(15)!=var(25)
trigger14=var(15)!=var(26)
trigger14=var(15)!=var(27)
trigger14=var(15)!=var(28)
trigger14=var(29):=var(15)
var(15)=0
ignorehitpause=1

[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(5)=0
trigger1=var(16)<16777217;この値以上だとfvarが狂う
fvar(5)=var(16)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(6)=0
trigger1=var(17)<16777217
fvar(6)=var(17)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(7)=0
trigger1=var(18)<16777217
fvar(7)=var(18)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(8)=0
trigger1=var(19)<16777217
fvar(8)=var(19)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(9)=0
trigger1=var(20)<16777217
fvar(9)=var(20)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(11)=0
trigger1=var(21)<16777217
fvar(11)=var(21)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(12)=0
trigger1=var(22)<16777217
fvar(12)=var(22)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(13)=0
trigger1=var(23)<16777217
fvar(13)=var(23)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(14)=0
trigger1=var(24)<16777217
fvar(14)=var(24)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(15)=0
trigger1=var(25)<16777217
fvar(15)=var(25)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(16)=0
trigger1=var(26)<16777217
fvar(16)=var(26)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(17)=0
trigger1=var(27)<16777217
fvar(17)=var(27)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(18)=0
trigger1=var(28)<16777217
fvar(18)=var(28)
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=root,fvar(19)=0
trigger1=var(29)<16777217
fvar(19)=var(29)
ignorehitpause=1

[state ]
type=DisplayToClipboard
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
text="C:%d,:%d,:%d,:%d,:%d"
params=(var(15)),(var(16)),(var(17)),(var(18)),(var(19))
ignorehitpause=1
[state ]
type=AppendToClipboard
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
text=":%d,:%d,:%d,:%d,:%d"
params=(var(20)),(var(21)),(var(22)),(var(23)),(var(24))
ignorehitpause=1
[state ]
type=AppendToClipboard
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
text="\n:%d,:%d,:%d,:%d,:%d"
params=(var(25)),(var(26)),(var(27)),(var(28)),(var(29))
ignorehitpause=1

[State ]
type=DestroySelf
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(1)=1
trigger1=numexplod(812)=0
ignorehitpause=1
;------------------------------------------------------------
;Hitdef&被弾
[statedef 65535]
type=S
movetype=I
physics=N
movehitpersist=1
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=name="Phantom Mizuchi Abyss"
value=10000+4*(ishelper(65536))
ignorehitpause=1
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1
trigger1=var(1):=id
flag=invisible
flag2=noshadow
ignorehitpause=1
[State ]
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper(65535)
value=SCA
ignorehitpause=1
[State ]
Type=hitdef
trigger1=ishelper(65535)
trigger1=!movehit
Attr=S,NA
Damage=0,0
GetPower=0,0
HitFlag=
GuardFlag=
Priority=7,Hit
PauseTime=0,2
HitSound=-1
sparkno=-1
GuardSound=-1
ignorehitpause=1
[State ]
type=bindtoroot
trigger1=ishelper
pos=0,250+49750*(ishelper(65536))
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)>2
trigger2=hitpausetime>1
ignorehitpause=1
;------------------------------------------------------------
;被弾
[statedef 65536]
type=S
movetype=I
physics=N
movehitpersist=1
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(65537)
trigger1=name="Phantom Mizuchi Abyss"
value=10001
ignorehitpause=1
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1
trigger1=var(1):=id
flag=invisible
flag2=noshadow
ignorehitpause=1
[State ]
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=bindtoroot
trigger1=ishelper
pos=0,0
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=!((root,stateno=50300||root,stateno=19154)&&root,palno<7)
trigger1=var(0)>2
trigger2=hitpausetime>1
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(root,stateno=50300&&root,palno<7)
trigger1=root,numtarget=8
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(root,stateno=19154&&root,palno<7)
trigger1=root,numtarget>5
ignorehitpause=1
;------------------------------------------------------------
;ヘルパー占有(論外モード用)
[StateDef 456789]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=9999
[State ]
type=bindtoroot
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1
pos=0,461349
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
x=0
y=0
ignorehitpause=1
[State ]
type=AssertSpecial
trigger1=1
flag=noko
flag2=intro
flag3=timerfreeze
ignorehitpause=1
;------------------------------------------------------------
;祓え ヘルパー
[Statedef 1065]
type=A
movetype=A
physics=N
velset=6,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1050)
trigger1=anim!=1065
value=1065
ignorehitpause=1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1050)
value=0
movecamera=0,0
[State ]
type=PlayerPush
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1050)
value=0
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1050)
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper(1050)
trigger1=var(0):=var(0)+1||1
flag=noshadow
flag2=invisible
ignorehitpause=1
[State ]
type=Explod
trigger1=animelem=2
anim=1061
id=211
sprpriority=5
postype=p1
velset=0,0
pos=0,0
bindtime=1
ignorehitpause=1
under=0
ownpal=1
trans=sub
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=animtime=0
anim=1063
id=211
sprpriority=5
postype=p1
velset=0,0
pos=0,0
bindtime=1
ignorehitpause=1
under=0
ownpal=1
trans=sub
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
trigger1=AnimElem=2
attr=S,SP
projanim=1062
projremovetime=16
projid=1050
projpriority=99999999
projsprpriority=99999999
projedgebound=220
air.juggle=2
postype=p1
getpower=0,0
offset=0,0
velocity=0
damage=45,10
animtype=hard
hitflag=MAFD
guardflag=M
pausetime=2,2
sparkno=s7002
guard.sparkno=S7012
sparkxy=0,0
hitsound=S222,0
guardsound=S121,0
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-5,0
air.velocity=-4,-5
air.fall=1
fall=0
fall.recover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
trigger1=AnimElem=2
attr=S,SP
projanim=10620
projremovetime=16
projid=1050
projpriority=99999999
projsprpriority=99999999
projedgebound=220
air.juggle=2
postype=p1
getpower=0,0
offset=0,0
velocity=0
damage=0,0
animtype=hard
hitflag=MAFD
guardflag=M
pausetime=2,2
sparkno=s7002
guard.sparkno=S7012
sparkxy=0,0
hitsound=S222,0
guardsound=S121,0
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-5,0
air.velocity=-4,-5
air.fall=1
fall=0
fall.recover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=removeexplod
trigger1=FrontEdgeDist<=-100
trigger2=var(0)=300
id=211
[State ]
type=destroyself
trigger1=FrontEdgeDist<=-100
trigger2=var(0)=300
;------------------------------------------------------------
;執念鏡 ヘルパー
[Statedef 14011]
type=S
movetype=A
physics=S
ctrl=0
velset=0,0
sprpriority=2
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(14011)
trigger1=anim!=14010
value=14010
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=velset
trigger1=var(0)>=10&&(p2bodydist X<0||p2bodydist X>0)
x=ifelse(p2bodydist X<0,-4,4)
[State ]
type=velset
trigger1=var(0)>=10&&(p2bodydist Y<0||p2bodydist Y>0)
y=ifelse(p2bodydist Y<0,-1.0,1.0)
[State ]
type=Projectile
trigger1=ishelper
trigger1=root,palno<7
trigger1=(gametime%2)=0
attr=S,SA
animtype=hard
damage=5,2
priority=7
getpower=10,10
guardflag=MA
projanim=14011
ProjID=14011
Projhitanim=-1
Projremanim=-1
Projcancelanim=-1
offset=0,0
projpriority=999999999
projsprpriority=999999999
projremove=1
projremovetime=5
velocity=0,0
pausetime=0,0
guard.pausetime=7,8
sparkno=-1
sparkxy=-15,-124
hitsound=s11,1
guard.sparkno=-1
guardsound=s11,1
ground.type=high
ground.slidetime=17
ground.hittime =17
ground.velocity=-2,0
air.velocity=-2,-1
fall=1
fall.revcover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
id=1150
nochainID=1150
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
trigger1=ishelper
trigger1=root,palno>6
trigger1=(gametime%2)=0
attr=S,SA
animtype=hard
damage=10,5
priority=7
getpower=10,10
hitflag=MAFDP
guardflag=
projanim=14011
ProjID=14011
Projhitanim=-1
Projremanim=-1
Projcancelanim=-1
offset=0,0
projpriority=999999999
projsprpriority=999999999
projremove=1
projremovetime=5
velocity=0,0
pausetime=0,0
guard.pausetime=7,8
sparkno=-1
sparkxy=-15,-124
hitsound=s11,1
guard.sparkno=-1
guardsound=s11,1
ground.type=high
ground.slidetime=17
ground.hittime =17
ground.velocity=-2,0
air.velocity=-2,-1
fall=1
fall.revcover=0
fall.damage=250+2147483398*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
p2getp1state=0
p2stateno=5110
id=1150
nochainID=1150
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=destroyself
trigger1=var(0)=100
;------------------------------------------------------------
;紋章「切」ヘルパー
[Statedef 50110]
type=S
movetype=A
physics=N
ctrl=0
sprpriority=1
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(50110)
trigger1=anim!=[1205,1206]
value=1205
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=1
movecamera=1
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=var(0)=1
value=801,0
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=var(0)=1
value=1100,1
[State ]
type=VarRandom
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=var(0)=1
v=2
range=0,4
[State ]
type=AngleDraw
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=animelemtime(12)
trigger1=var(0)>=40
scale=1.0,1.0
[State ]
type=AngleAdd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=animelemtime(12)
value=-13
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=0
time=1
add=0,0,0
mul=0,256,256
invertall=1
ignorehitpause=1
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
time=1
add=0,0,0
mul=256,0,256
invertall=1
ignorehitpause=1
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=2
time=1
add=0,0,0
mul=256,256,0
invertall=1
ignorehitpause=1
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=3
time=1
add=0,0,0
mul=256,0,0
invertall=1
ignorehitpause=1
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=4
time=1
add=0,0,0
mul=0,256,0
invertall=1
ignorehitpause=1
[State ]
type=HitOverride
trigger1=ishelper(50110)&&name="Phantom Mizuchi Abyss"
time=-1
attr=SCA,AA,AT,AP
slot=0
stateno=50110
ignorehitpause=1
[State ]
type=hitdef
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=animelemtime(12)
trigger1=var(0)>=40
attr=,NA
damage=ceil(0.005*enemy,const(data.life)),ceil(0.002*enemy,const(data.life))
guardflag=M
hitflag=MAFD
priority=7,Hit
sprpriority=1
pausetime=0,0
sparkno=s7001
guard.sparkno=s7001
animtype=hard
sparkxy=5,-5
getpower=0
givepower=-1
hitsound=s2300,2
guardsound=s120,0
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,-2
airguard.velocity=0,0
air.type=Low
air.velocity=0,-1
air.hittime=5
fall=1
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
[State ]
type=veladd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=animelemtime(12)
trigger1=var(0)>=40
x=.1
[State ]
type=posfreeze
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=movecontact=1
value=1
[State ]
type=changeanim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205
trigger1=var(0)>=100
value=1206
[State ]
type=turn
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1206
trigger1=var(0)=100
[State ]
type=velset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1205&&var(0)<40
trigger2=anim=1206
x=0
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=1206
trigger1=var(0)>=113
trigger2=HitPauseTime>50
ignorehitpause=1
;------------------------------------------------------------
;紋章「斬」ヘルパー
[Statedef 50116]
type=A
movetype=A
physics=N
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(50116)
trigger1=anim!=50115
trigger1=anim!=[50119,50120]
trigger1=anim!=1206
value=50115
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=VarRandom
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=1
trigger1=var(2)!=[1,5]
v=2
range=1,5
[State ]
type=PalFX
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
time=1
add=0,0,0
mul=0,256,256
invertall=1
[State ]
type=PalFX
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=2
time=1
add=0,0,0
mul=256,0,256
invertall=1
[State ]
type=PalFX
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=3
time=1
add=0,0,0
mul=256,256,0
invertall=1
[State ]
type=PalFX
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=4
time=1
add=0,0,0
mul=256,0,0
invertall=1
[State ]
type=PalFX
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=5
time=1
add=0,0,0
mul=0,256,0
invertall=1
[State ]
type=HitOverride
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
time=-1
attr=SCA,AA,AT,AP
slot=0
stateno=50116
ignorehitpause=1
pausemovetime=99999999
supermovetime=99999999
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=1
movecamera=1
[State ]
type=targetdrop
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=var(0)=1
value=801,0
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=var(0)=1
value=1100,1
[State ]
type=AngleDraw
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=animelemtime(12)
trigger1=var(0)>=40
scale=1.0,1.0
[State ]
type=AngleAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=animelemtime(12)
value=-13
[State ]
type=Projectile
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(0)>=40
trigger1=anim=50115
trigger1=animelemtime(12)
trigger2=anim=50119
attr=S,NA
damage=ceil(0.005*enemy,const(data.life)),ceil(0.002*enemy,const(data.life))
guardflag=M
hitflag=MAFD
projanim=50116
projhitanim=-1
projid=50116
projpriority=99999999999999999999999
projsprpriority=999999999999999999999999
projremove=0
projremovetime=2
postype=p1
offset=0,0
velocity=0
priority=7,Hit
pausetime=0,0
sparkno=s7001
guard.sparkno=s7001
animtype=hard
sparkxy=5,-5
getpower=0
givepower=-1
hitsound=s2300,2
guardsound=s120,0
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,-2
airguard.velocity=0,0
air.type=Low
air.velocity=0,-1
air.hittime=5
fall=1
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(0)>=40
trigger1=anim=50115
trigger1=animelemtime(12)
trigger2=anim=50119
attr=S,NA
damage=0,0
guardflag=M
hitflag=MAFD
projanim=50117
projhitanim=-1
projid=50117
projpriority=99999999
projsprpriority=99999999
projremove=0
projremovetime=2
postype=p1
offset=0,0
velocity=0
priority=7,Hit
pausetime=0,0
sparkno=s7001
guard.sparkno=s7001
animtype=hard
sparkxy=5,-5
getpower=0
givepower=-1
hitsound=s2300,2
guardsound=s120,0
ground.type=high 
ground.slidetime=5
ground.hittime =5
ground.velocity=0,-2
airguard.velocity=0,0
air.type=Low
air.velocity=0,-1
air.hittime=5
fall=1
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=veladd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=animelemtime(12)
trigger1=var(0)>=40
x=.1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50115
trigger1=var(0)=100
trigger1=var(0):=0||1
value=50119
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)=1
value=801,0
[State ]
type=PlaySnd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)=1
value=1100,1
[State ]
type=AngleDraw
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)>=40
scale=1.0,1.0
[State ]
type=AngleAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)>=40
value=13
[State ]
type=velset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)=0
x=0
[State ]
type=veladd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)>=40
x=-.1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=50119
trigger1=var(0)=100
trigger1=var(0):=0||1
value=1206
[State ]
type=velset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim=1206
x=0
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=anim=1206
trigger1=var(0)>=13
;------------------------------------------------------------
;生霊鏡 ヘルパー
[Statedef 11341]
type=S
movetype=I
physics=N
velset=0,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(11341)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=11320
trigger1=anim!=11302
value=11320
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
attr=S,SA
animtype=hard
damage=50,10
priority=7
getpower=121,121
guardflag=MA
hitflag=MAFD
projanim=11340
ProjID=11340
Projhitanim=1015
Projremanim=1015
Projcancelanim=-1
offset=50,-100
projpriority=1
projsprpriority=4
velocity=3,0
pausetime=0,5
guard.pausetime=7,8
sparkno=-1
sparkxy=-15,-124
hitsound =s11,1
guard.sparkno=-1
guardsound=s11,1
ground.type=high
ground.slidetime=17
ground.hittime=17
ground.velocity=ifelse(enemy,BackEdgeBodyDist<=10,0,-13),-7
air.velocity=-2,-6.2
fall=1
fall.revcover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
id=1150
nochainID=1150
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
attr=S,SA
animtype=hard
damage=40,20
priority=999999999999999
getpower=0,0
guardflag=
hitflag=MAFD
projanim=11341
ProjID=11340
projremove=0
projremovetime=300
Projcancelanim=-1
offset=50,-100
projpriority=999999999999999
projsprpriority=999999999999999
velocity=3,0
pausetime=0,5
guard.pausetime=7,8
sparkno=-1
sparkxy=-15,-124
hitsound =s11,1
guard.sparkno=-1
guardsound=s11,1
ground.type=high
ground.slidetime=17
ground.hittime=17
ground.velocity=ifelse(enemy,BackEdgeBodyDist<=10,0,-13),-7
air.velocity=-2,-6.2
fall=1
fall.revcover=0
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=211,0
[State ]
type=VarRandom
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
v=2
range=0,5
[State ]
type=PlaySnd
triggerall=var(2)=0
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=11,2
freqmul=1.5+((random%2)*0.6)
[State ]
type=PlaySnd
triggerall=var(2)=1
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=182,0
freqmul=1.3+((random%8)*0.1)
[State ]
type=PlaySnd
triggerall=var(2)=2
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=192,1
freqmul=1.3+((random%8)*0.1)
[State ]
type=PlaySnd
triggerall=var(2)=3
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=290,0
freqmul=1.3+((random%8)*0.1)
[State ]
type=PlaySnd
triggerall=var(2)=4
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=2100,1
freqmul=1.3+((random%8)*0.1)
[State ]
type=PlaySnd
triggerall=var(2)=5
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=60||var(0)=120||var(0)=180||var(0)=240
value=2000,2
freqmul=1.3+((random%8)*0.1)
[State ]
type=ChangeAnim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=anim!=11302&&var(0)=247
value=11302
[State ]
type=destroyself
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=260
;------------------------------------------------------------
;紋章「雷」ヘルパー
[Statedef 18101]
type=S
movetype=A
physics=N
velset=0,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(18101)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=18101
value=18101
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
time=1
invertall=1
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=AngleDraw
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
scale=1.0,1.0
[State ]
type=AngleAdd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
value=-7
[State ]
type=VarRandom
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
v=2
range=-200,200
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=[23,123]
trigger1=gametime%8=0
value=190,2
freqmul=1
volume=10
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=[23,123]
trigger1=gametime%2=0
projID=18102
projanim=18102
projhitanim=18102
projremanim=18102
projcancelanim=-1
projremove=1
projremovetime=9
projhits=9999
numhits=0
projscale=0.5,2
velocity=0,0
remvelocity=0,0
accel=0,0
projpriority=9999
projsprpriority=2
projedgebound=10000
projstagebound=10000
projheightbound=-10000,10000
offset=var(2),145
postype=p1
projshadow=0,0,0
supermove=1
supermovetime=2147483647
pausemovetime=2147483647
attr=S,SA
damage=2+3*(random%4)
animtype=Light
getpower=0,0
guardflag=MA
hitflag=MAFD
priority=9999,Hit
pausetime=0,0
sparkxy=-99999,-99999
hitsound=s1450,0
guardsound=s120,0
ground.type=High
ground.slidetime=6
ground.hittime=10
ground.velocity=ifelse(random%2,-10,10),-3
airguard.velocity=ifelse(random%2,-10,10),-3
air.type=High
air.velocity=ifelse(random%2,-12,12),-3
air.hittime=12
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=[23,123]
trigger1=gametime%2=0
projID=18102
projanim=18102
projhitanim=18102
projremanim=18102
projcancelanim=-1
projremove=1
projremovetime=9
projscale=0.5,2
projhits=9999
numhits=0
velocity=0,0
remvelocity=0,0
accel=0,0
projpriority=9999
projsprpriority=2
projedgebound=10000
projstagebound=10000
projheightbound=-10000,10000
offset=-var(2),145
postype=p1
projshadow=0,0,0
supermove=1
supermovetime=2147483647
pausemovetime=2147483647
attr=S,SP
damage=2+3*(random%4)
animtype=Light
getpower=0,0
guardflag=MA
hitflag=MAFD
priority=9999,Hit
pausetime=0,0
sparkxy=-99999,-99999
hitsound=s1450,0
guardsound=s120,0
ground.type=High
ground.slidetime=6
ground.hittime=10
ground.velocity=ifelse(random%2,-10,10),-3
airguard.velocity=ifelse(random%2,-10,10),-3
air.type=High
air.velocity=ifelse(random%2,-12,12),-3
air.hittime=12
fall=1
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=destroyself
trigger1=animtime=0
;------------------------------------------------------------
;赤目 ヘルパー
[Statedef 50410]
type=S
movetype=A
physics=S
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=10000
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
flag2=invisible
ignorehitpause=1
[State ]
type=HitOverride
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
time=-1
attr=SCA,AA,AT,AP
slot=0
stateno=50411
ignorehitpause=1
[State ]
type=hitdef
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=2
attr=S,NA
damage=100,20
guardflag=
hitflag=MAFD
priority=7,Hit
pausetime=0,0
sparkno=-1
guard.sparkno=-1
animtype=hard
sparkxy=5,-5
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,-2
airguard.velocity=0,0
air.type=Low
air.velocity=0,-1
air.hittime=5
fall=1
fall.damage=0+2147483648*(root,palno>6||(root,var(0)&2))
ignorehitpause=1
[State ]
type=Projectile
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=root,palno>6
projID=50410
projanim=10000
projhitanim=10000
projremanim=10000
projcancelanim=-1
projremove=1
projremovetime=1
projscale=0,0
projhits=9999
numhits=0
velocity=0,0
remvelocity=0,0
accel=0,0
projpriority=9999
projsprpriority=2
projedgebound=10000
projstagebound=10000
projheightbound=-10000,10000
offset=0,0
postype=p1
projshadow=0,0,0
supermove=1
supermovetime=2147483647
pausemovetime=2147483647
attr=S,SA,ST,SP
damage=10
animtype=Light
getpower=0,0
guardflag=
hitflag=MAFD
priority=9999,Hit
pausetime=0,0
sparkxy=-99999,-99999
hitsound=-1
guardsound=-1
ground.type=High
ground.slidetime=10
ground.hittime=10
ground.velocity=0
airguard.velocity=0
air.type=High
air.velocity=0
air.hittime=10
fall=1
fall.damage=2147483648
p2getp1state=0
p2stateno=5110
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=root,stateno!=50400||roundstate>=3
trigger2=win
trigger3=hitpausetime>0
ignorehitpause=1
;------------------------------------------------------------
;映し身 崩れる命 ヘルパー
[Statedef 11331]
type=A
movetype=I
physics=N
velset=0,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(11331)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=11311
value=11311
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=ReversalDef
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(root,palno<7)&&(root,sysvar(4)=0)
reversal.attr=SCA,AA,AT,AP
priority=7,Hit
pausetime=0,2
sparkno=-1
p2stateno=50511
ignorehitpause=1
[State ]
type=ReversalDef
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(root,palno>6)||(root,sysvar(4)!=0)
reversal.attr=SCA,AA,AT,AP
priority=7,Hit
pausetime=0,2
sparkno=-1
p2stateno=512
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
ignorehitpause=1
[State ]
type=targetlifeadd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget
trigger1=(root,palno>6)||(root,sysvar(4)!=0)
value=-2147483648
absolute=1
ignorehitpause=1
[State ]
type=targetdrop
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper
ignorehitpause=1
[State ]
type=posset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
y=1000
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=3500,1
volume=255
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=1150,0
volume=255
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=2000,12
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
anim=11302
id=113020
sprpriority=999999999
postype=p2
pos=0,0
bindtime=-1
under=0
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=RemoveExplod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=50
ID=113020
[State ]
type=allpalfx
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
add=0,0,0
mul=256,256,256
invertall=1
time=50
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget
trigger1=target,ishelper=0
var(2)=1
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)>=600
trigger2=(root,palno<7)&&(root,sysvar(4)=0)
trigger2=var(2)=1
ignorehitpause=1
;------------------------------------------------------------
;映し身 束縛壊身 ヘルパー
[Statedef 1133110]
type=A
movetype=I
physics=N
velset=0,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(1133110)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=11311
trigger1=anim!=900050
value=11311
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
ignorehitpause=1
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=numenemy
triggerall=enemy,alive
trigger1=enemynear,hitdefattr=SCA,AA,AT,AP
trigger2=var(2)=1
reversal.attr=SCA,AA,AT,AP
priority=7,Hit
pausetime=2147483648,2147483648
p2stateno=512
fall.damage=0+2147483648*ifelse(random%2,1,-1)*(root,palno>6||(root,var(0)&2))
sparkno=-1
numhits=0
ignorehitpause=1
[State ]
type=targetlifeadd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget
value=-2147483648
absolute=1
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=roundstate>1
trigger1=numtarget
trigger1=target,alive
trigger1=var(0)<=910
trigger1=target,stateno!=5150
value=5150
ignorehitpause=1
[State ]
type=targetdrop
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper
ignorehitpause=1
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
trigger1=numtarget
x=target,pos x
y=target,pos y+1133
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
value=900050
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=3500,1
volume=255
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=3500,0
volume=255
ignorehitpause=1
[State ]
type=EnvShake
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
time=11
ampl=-11
freq=95
phase=95
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=1150,0
volume=255
ignorehitpause=1
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=numexplod(113020)=0
trigger1=target,ishelper=0
trigger1=var(2)=0
anim=11302
id=113020
sprpriority=999999999
postype=p2
pos=0,0
bindtime=-1
under=0
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=RemoveExplod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=50
ID=113020
ignorehitpause=1
[State ]
type=allpalfx
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
add=0,0,0
mul=256,256,256
invertall=1
time=50
ignorehitpause=1
supermovetime=3600
pausemovetime=3600
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numexplod(10010)=0
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
anim=10010
id=10010
sprpriority=999999999
postype=back
pos=0,0
bindtime=-1
removetime=55
under=1
ownpal=1
ontop=1
trans=add
ignorehitpause=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=PlaySnd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
trigger1=var(2)=0
value=2000,12
volume=255
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
var(2)=1
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)<=300&&(p2bodydist X<0||p2bodydist X>0)
x=ifelse(p2bodydist X<50,-1,1)
ignorehitpause=1
[State ]
type=posset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(pos X>270||pos X<-270)
x=0
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)>=300
x=0
y=0
ignorehitpause=1
[State ]
type=afterimage
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=1
trans=add
palcontrast=256,0,256
palbright=0,0,0
time=-1
length=13
timegap=1
framegap=1
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=roundstate=2
trigger1=var(2)=0
trigger1=var(0)>=900
ignorehitpause=1
;------------------------------------------------------------
;怨恨 ヘルパー
[Statedef 191510000]
type=S
movetype=I
physics=S
velset=0,0
ctrl=0
sprpriority=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(191510000)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=191510000
value=191510000
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
ignorehitpause=1
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
flag2=nokoslow
ignorehitpause=1
[State ]
type=VarRandom
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=1
v=2
range=0,4
[State ]
type=AngleDraw
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
trigger1=time>=120
scale=1.0,1.0
[State ]
type=AngleAdd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
value=15
[State ]
type=BindToRoot
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
pos=0,-100
ignorehitpause=1
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=0
time=1
add=0,0,0
mul=0,256,256
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
time=1
add=0,0,0
mul=256,0,256
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=2
time=1
add=0,0,0
mul=256,256,0
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=3
time=1
add=0,0,0
mul=256,0,0
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=4
time=1
add=0,0,0
mul=0,256,0
[State ]
type=HitOverride
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
time=-1
attr=SCA,AA,AT,AP
slot=0
stateno=191510000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=AnimTime=0
trigger2=root,stateno!=19151
;------------------------------------------------------------
;怨恨 ヘルパー2
[Statedef 191510010]
type=S
movetype=I
physics=S
velset=0,0
ctrl=0
sprpriority=1
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper(191510010)&&name="Phantom Mizuchi Abyss"
trigger1=anim!=191510000
value=191510000
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
ignorehitpause=1
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
flag2=nokoslow
ignorehitpause=1
[State ]
type=HitOverride
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
time=-1
attr=SCA,AA,AT,AP
slot=0
stateno=191510010
ignorehitpause=1
[State ]
type=AngleDraw
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
trigger1=var(0)>=120
scale=1.0,1.0
[State ]
type=AngleAdd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=animelemtime(12)
value=-15
[State ]
type=BindToRoot
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
pos=0,-100
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0)=1
trigger1=numhelper(191510000)
var(2)=helper(191510000),var(2)
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=0
time=1
add=0,0,0
mul=0,185,185
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
time=1
add=0,0,0
mul=185,0,185
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=2
time=1
add=0,0,0
mul=185,185,0
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=3
time=1
add=0,0,0
mul=185,0,0
[State ]
type=PalFX
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=4
time=1
add=0,0,0
mul=0,185,0
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numexplod(0028100)=0&&var(0)=30
anim=0028100
id=0028100
sprpriority=999999999
postype=p1
pos=0,0
bindtime=-1
removetime=80
under=1
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numexplod(0028101)=0&&var(0)=110
anim=0028100
id=0028101
sprpriority=999999999
postype=p1
pos=0,0
bindtime=-1
removetime=300
under=1
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numexplod(0028102)=0&&var(0)=120
anim=0028100
id=0028102
sprpriority=999999999
postype=p1
pos=0,0
bindtime=-1
removetime=280
under=1
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numexplod(0028103)=0&&var(0)=130
anim=0028100
id=0028103
sprpriority=999999999
postype=p1
pos=0,0
bindtime=-1
removetime=270
under=1
ownpal=1
ontop=1
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=AnimTime=0
trigger2=root,stateno!=19151
;------------------------------------------------------------
;決裂縛界 ヘルパー
[Statedef 60203]
type=A
movetype=I
physics=N
velset=0,0
ctrl=0
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)!=1
value=10000
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=SCA,AA,AP,AT
ignorehitpause=1
[State ]
type=assertspecial
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(0):=var(0)+1||1
flag=noshadow
ignorehitpause=1
[State ]
type=ReversalDef
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
reversal.attr=SCA,AA,AT,AP
priority=7,Hit
pausetime=2147483648,2147483648
p2stateno=512
fall.damage=2147483648*ifelse(random%2,1,-1)
sparkno=-1
numhits=0
ignorehitpause=1
[State ]
type=targetlifeadd
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget
value=-2147483648
absolute=1
ignorehitpause=1
[State ]
type=targetstate
triggerall=name="Phantom Mizuchi Abyss"
trigger1=ishelper(60200)
trigger1=numtarget
trigger1=target,ishelper=0
trigger1=(target,alive&&target,stateno!=512)||roundstate>2
value=5150
ignorehitpause=1
[State ]
type=targetdrop
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper
ignorehitpause=1
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
trigger1=numtarget
x=target,pos x
y=target,pos y+14
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(2)=1
value=9999
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget>0
trigger1=target,ishelper=0
var(2)=1
ignorehitpause=1
[State ]
type=bindtoroot
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget=0
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
x=0
y=0
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=roundstate=2
trigger1=var(2)=0
trigger1=root,stateno!=[60200,60202]
ignorehitpause=1
;------------------------------------------------------------
;混線 (妥協)
[Statedef 1000001]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget>0
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=var(0):=var(0)+1||1
trigger1=var(3):=var(3)+1*(numtarget)||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=var(0)=1
var(1)=numhelper(1000001)
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=0
pos=-45,3750-7*(var(1))
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=1
pos=-45,3750-7*(var(1))
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(1000001)
trigger1=PlayerIDExist(ID)
trigger1=var(2)=0
trigger1=numtarget=0
trigger1=var(2):=1||1
name="Catastrophe-Hit"
stateno=1000002
ID=1000002
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000001)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (妥協)
[Statedef 1000002]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000002)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000002)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000002)
value=0
movecamera=0,0
[State ]
type=bindtoparent
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(1000002)
pos=0,0
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(1000002)
trigger1=parent,anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(1000002)
trigger1=parent,anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(1000002)
trigger1=root,alive=0
trigger2=parent,numtarget=1
trigger2=parent,var(3)>numhelper(1000001)
;------------------------------------------------------------
;混線 (開幕混線1)
[Statedef 2000001]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=0
pos=-75,3750-7
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=1
pos=-75,3750-7
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000001)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000002
ID=2000002
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000001)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線1)
[Statedef 2000002]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000002)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000002)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000002)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000002)
trigger1=numhelper(2000001)
x=helper(2000001),pos x
y=helper(2000001),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000002)
trigger1=numhelper(2000001)
trigger1=helper(2000001),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000002)
trigger1=numhelper(2000001)
trigger1=helper(2000001),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000002)
trigger1=root,alive=0
trigger2=numhelper(2000001)
trigger2=helper(2000001),numtarget=1
trigger2=((root,var(0)&4)&&roundstate>1)||numhelper(2000017)=0
trigger3=numhelper(2000001)
trigger3=helper(2000001),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線2)
[Statedef 2000003]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=0
pos=-75,3750-14
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=1
pos=-75,3750-14
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000003)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000004
ID=2000004
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000003)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線2)
[Statedef 2000004]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000004)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000004)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000004)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000004)
trigger1=numhelper(2000003)
x=helper(2000003),pos x
y=helper(2000003),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000004)
trigger1=numhelper(2000003)
trigger1=helper(2000003),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000004)
trigger1=numhelper(2000003)
trigger1=helper(2000003),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000004)
trigger1=root,alive=0
trigger2=numhelper(2000003)
trigger2=helper(2000003),numtarget=1
trigger2=((root,var(0)&4)&&roundstate>1)||numhelper(2000017)=0
trigger3=numhelper(2000003)
trigger3=helper(2000003),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線3)
[Statedef 2000005]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=0
pos=-75,3750-21
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=1
pos=-75,3750-21
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000005)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000006
ID=2000006
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000005)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線3)
[Statedef 2000006]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000006)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000004)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000006)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000006)
trigger1=numhelper(2000005)
x=helper(2000005),pos x
y=helper(2000005),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000006)
trigger1=numhelper(2000005)
trigger1=helper(2000005),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000006)
trigger1=numhelper(2000005)
trigger1=helper(2000005),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000006)
trigger1=root,alive=0
trigger2=numhelper(2000005)
trigger2=helper(2000005),numtarget=1
trigger2=((root,var(0)&4)&&roundstate>1)||numhelper(2000017)=0
trigger3=numhelper(2000005)
trigger3=helper(2000005),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線4)
[Statedef 2000007]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=0
pos=-75,3750-28
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=1
pos=-75,3750-28
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000007)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000008
ID=2000008
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000007)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線4)
[Statedef 2000008]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000008)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000008)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000008)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000008)
trigger1=numhelper(2000007)
x=helper(2000007),pos x
y=helper(2000007),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000008)
trigger1=numhelper(2000007)
trigger1=helper(2000007),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000008)
trigger1=numhelper(2000007)
trigger1=helper(2000007),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000008)
trigger1=root,alive=0
trigger2=numhelper(2000007)
trigger2=helper(2000007),numtarget=1
trigger2=((root,var(0)&4)&&roundstate>1)||numhelper(2000017)=0
trigger3=numhelper(2000007)
trigger3=helper(2000007),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線5)
[Statedef 2000009]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=0
pos=-75,3750-35
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=1
pos=-75,3750-35
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000009)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000010
ID=2000010
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000009)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線5)
[Statedef 2000010]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000010)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000010)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000010)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000010)
trigger1=numhelper(2000009)
x=helper(2000009),pos x
y=helper(2000009),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000010)
trigger1=numhelper(2000009)
trigger1=helper(2000009),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000010)
trigger1=numhelper(2000009)
trigger1=helper(2000009),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000010)
trigger1=root,alive=0
trigger2=numhelper(2000009)
trigger2=helper(2000009),numtarget=1
trigger2=((root,var(0)&4)&&roundstate>1)||numhelper(2000017)=0
trigger3=numhelper(2000009)
trigger3=helper(2000009),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線6)
[Statedef 2000011]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=0
pos=-75,3750-42
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=1
pos=-75,3750-42
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000011)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000012
ID=2000012
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000011)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線6)
[Statedef 2000012]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000012)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000012)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000012)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000012)
trigger1=numhelper(2000011)
x=helper(2000011),pos x
y=helper(2000011),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000012)
trigger1=numhelper(2000011)
trigger1=helper(2000011),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000012)
trigger1=numhelper(2000011)
trigger1=helper(2000011),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000012)
trigger1=root,alive=0
trigger2=numhelper(2000011)
trigger2=helper(2000011),numtarget=1
trigger2=roundstate>1||numhelper(2000017)=0||roundno>2
trigger3=numhelper(2000011)
trigger3=helper(2000011),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線7)
[Statedef 2000013]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=0
pos=-75,3750-49
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=1
pos=-75,3750-49
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000013)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000014
ID=2000014
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000013)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線7)
[Statedef 2000014]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000014)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000014)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000014)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000014)
trigger1=numhelper(2000013)
x=helper(2000013),pos x
y=helper(2000013),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000014)
trigger1=numhelper(2000013)
trigger1=helper(2000013),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000014)
trigger1=numhelper(2000013)
trigger1=helper(2000013),anim=10002
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000014)
trigger1=root,alive=0
trigger2=numhelper(2000013)
trigger2=helper(2000013),numtarget=1
trigger2=roundstate>1||numhelper(2000017)=0||roundno>2
trigger3=numhelper(2000013)
trigger3=helper(2000013),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線8)
[Statedef 2000015]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=1
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349666||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=0
pos=-75,3750-56
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=1
pos=-75,3750-56
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000015)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000016
ID=2000016
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=1
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=1
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=numtarget=1
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000015)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線8)
[Statedef 2000016]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
trigger1=numhelper(2000015)
x=helper(2000015),pos x
y=helper(2000015),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000016)
trigger1=numhelper(2000015)
trigger1=helper(2000015),anim!=10002
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000016)
trigger1=numhelper(2000015)
trigger1=helper(2000015),anim=10002
value=SCA,NA
[State ]
type=pause
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
time=0
movetime=0
ignorehitpause=1
[State ]
type=superpause
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000016)
anim=-1
time=0
movetime=0
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000016)
trigger1=root,alive=0
trigger2=numhelper(2000015)
trigger2=helper(2000015),numtarget=1
;;;trigger2=roundstate>1||numhelper(2000017)=0||roundno>2
trigger3=numhelper(2000015)
trigger3=helper(2000015),numtarget>1
;------------------------------------------------------------
;混線 (開幕混線-拡張1)
[Statedef 2000017]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget>0
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349000||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget=0
pos=-75,3750-63
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget>0
pos=-75,3750-63
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000017)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000018
ID=2000018
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget>0
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget>0
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=numtarget>0
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000017)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線-拡張1)
[Statedef 2000018]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000018)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000018)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000018)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000018)
trigger1=numhelper(2000017)
x=helper(2000017),pos x
y=helper(2000017),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000018)
trigger1=numhelper(2000017)
trigger1=helper(2000017),anim!=10002
trigger2=numhelper(2000018)<8
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000018)
trigger1=numhelper(2000017)
trigger1=helper(2000017),anim=10002
trigger1=numhelper(2000018)=8||((root,var(0)&32)&&root,stateno!=1)
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000018)
trigger1=root,alive=0
trigger2=numhelper(2000017)
trigger2=helper(2000017),numtarget>0
;------------------------------------------------------------
;混線 (開幕混線-拡張2)
[Statedef 2000019]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget>0
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349000||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget=0
pos=-75,3750-70
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget>0
pos=-75,3750-70
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000019)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000020
ID=2000020
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget>0
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget>0
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=numtarget>0
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000019)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線-拡張2)
[Statedef 2000020]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000020)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000020)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000020)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000020)
trigger1=numhelper(2000019)
x=helper(2000019),pos x
y=helper(2000019),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000020)
trigger1=numhelper(2000019)
trigger1=helper(2000019),anim!=10002
trigger2=numhelper(2000020)<8
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000020)
trigger1=numhelper(2000019)
trigger1=helper(2000019),anim=10002
trigger1=numhelper(2000020)=8||((root,var(0)&32)&&root,stateno!=1)
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000020)
trigger1=root,alive=0
trigger2=numhelper(2000019)
trigger2=helper(2000019),numtarget>0
;------------------------------------------------------------
;混線 (開幕混線-拡張3)
[Statedef 2000021]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget>0
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349000||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget=0
pos=-75,3750-77
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget>0
pos=-75,3750-77
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000021)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000022
ID=2000022
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget>0
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget>0
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=numtarget>0
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000021)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線-拡張3)
[Statedef 2000022]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000022)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000022)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000022)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000022)
trigger1=numhelper(2000021)
x=helper(2000021),pos x
y=helper(2000021),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000022)
trigger1=numhelper(2000021)
trigger1=helper(2000021),anim!=10002
trigger2=numhelper(2000022)<8
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000022)
trigger1=numhelper(2000021)
trigger1=helper(2000021),anim=10002
trigger1=numhelper(2000022)=8||((root,var(0)&32)&&root,stateno!=1)
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000022)
trigger1=root,alive=0
trigger2=numhelper(2000021)
trigger2=helper(2000021),numtarget>0
;------------------------------------------------------------
;混線 (開幕混線-拡張4)
[Statedef 2000023]
type=A
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=ReversalDef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget>0
reversal.attr=SCA,AA,AT,AP
priority=9999
pausetime=0,0
sparkno=-1
hitsound=-1
ignorehitpause=1
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=var(0):=var(0)+1||1
trigger1=fvar(13):=461349000||1
value=SCA,AA,AT,AP
ignorehitpause=1
time=-1
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
value=0
movecamera=0,0
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget=0
pos=-75,3750-84
facing=1
[State ]
type=bindtoroot
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget>0
pos=-75,3750-84
facing=1
[State ]
type=Helper
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000023)
trigger1=numtarget=0
trigger1=PlayerIDExist(ID)
name="Catastrophe-Hit"
stateno=2000024
ID=2000024
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget=0
value=10002
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget=0
type=A
movetype=A
physics=N
[State ]
type=hitdef
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget=0
attr=,NA
damage=0,0
numhits=0
guardflag=
hitflag=MAFDP
priority=7, Hit
pausetime=0,10
sparkno=9999
guard.sparkno=9999
animtype=hard
sparkxy=9999,-9999
getpower=0
givepower=-1
hitsound=-1
guardsound=-1
ground.type=high 
ground.slidetime=5
ground.hittime=5
ground.velocity=0,0
airguard.velocity=0,0
air.type=Low
air.velocity=0,0
air.hittime=5
fall=0
ignorehitpause=1
affectteam=F
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget>0
value=9999
[State ]
type=statetypeset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget>0
type=A
movetype=I
physics=N
[State ]
type=HitAdd
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=numtarget>0
value=-1000
ignorehitpause=1
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000023)
trigger1=root,alive=0
;------------------------------------------------------------
;混線-食らい (開幕混線-拡張4)
[Statedef 2000024]
type=S
movetype=I
physics=N
[State ]
type=ChangeState
trigger1=name!="Phantom Mizuchi Abyss"
value=6660000
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000024)
value=10003
[State ]
type=AssertSpecial
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000024)
trigger1=var(1):=var(1)+1
flag=invisible
flag2=noshadow
[State ]
type=screenbound
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000024)
value=0
movecamera=0,0
[State ]
type=posset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ishelper(2000024)
trigger1=numhelper(2000023)
x=helper(2000023),pos x
y=helper(2000023),pos y
[State ]
type=nothitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000024)
trigger1=numhelper(2000023)
trigger1=helper(2000023),anim!=10002
trigger2=numhelper(2000024)<8
value=SCA
[State ]
type=hitby
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000024)
trigger1=numhelper(2000023)
trigger1=helper(2000023),anim=10002
trigger1=numhelper(2000024)=8||((root,var(0)&32)&&root,stateno!=1)
value=SCA,NA
[State ]
type=destroyself
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=ishelper(2000024)
trigger1=root,alive=0
trigger2=numhelper(2000023)
trigger2=helper(2000023),numtarget>0
