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

;常時監視ステート
[Statedef -2]
;------------------------------------------------------------

[State ];汎用邪眼キラー強化
type=varset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=0;←0でOFF 1でON
var(0)=(var(0)|256)
;このスイッチはdefファイルの設定も合わせて変更する事になります
;OFFの場合 def設定のSt9は「sys/PhantomSt09.st」を読み込ませるようにして下さい
;ONの場合 def設定のSt9は「sys/PhantomSt09-LvEX.st」を読み込ませるようにして下さい
;セミコロン(;)でコメントアウトするSt9を入れ替えるだけでOKです
;間違った設定は不具合の原因となりますのでご注意下さい
;混線の殺傷力が変わるくらいなので12P以外はOFFを推奨します
;OFF(自重版)=今まで(ver0.82)と同じ処理　殺傷力も変わらず (起動時間:約16秒)
;ON(強化版)=試合開始前の読み込み時間がかなり増えるが殺傷力UP (起動時間:約70秒)

[State ];時止めスイッチ
type=varset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=0;←0でOFF 1でON
var(0)=(var(0)|128)
;試合終了後に無条件時止めを行うかどうか設定できます
;時止めONだとroundstate=4への移行が遅くなりますが
;比較的安全に試合終了できます
;時止めOFFだとスムーズにroundstate=4へ移行しますが
;現実のようなキャラのMUGEN落としを防ぐ事ができません

[State ];攻撃力調整
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=palno<4;(自重モード)
trigger1=fvar(10):=0.1;←攻撃力倍率
trigger2=palno=[4,6];(通常モード)
trigger2=fvar(10):=1.0;←攻撃力倍率
trigger3=palno=[7,10];(ボスモード)
trigger3=fvar(10):=1.2;←攻撃力倍率
trigger4=palno=12;(情け無用モード)
trigger4=fvar(10):=1.0;←攻撃力倍率
;一部の攻撃技にはここのスイッチの影響は受けません
































[State ];対ファントム12P専用対策(いずれ消す)
type=varset
trigger1=!ishelper&&palno=12
trigger1=numenemy=1
trigger1=enemy,name="Phantom Mizuchi JP"
trigger1=enemy,palno=12
trigger1=teamside=1
var(24)=0;←0でOFF 1でON　バージョンやタイミングによっては干渉できずに終わる

;↓ここから先は弄らないように
;------------------------------------------------------------
;ヘルパー
;記録
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(51)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime=0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
var(51)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(50)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime=0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
var(50)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(49)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime=0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
var(49)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(48)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime=0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
var(48)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(47)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime=0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
var(47)=helper(50410),stateno
ignorehitpause=1

;hitpause付き
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(46)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime>0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
trigger1=helper(50410),stateno!=root,var(47)
var(46)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(45)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime>0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
trigger1=helper(50410),stateno!=root,var(47)
trigger1=helper(50410),stateno!=root,var(46)
var(45)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(44)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime>0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
trigger1=helper(50410),stateno!=root,var(47)
trigger1=helper(50410),stateno!=root,var(46)
trigger1=helper(50410),stateno!=root,var(45)
var(44)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(43)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime>0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
trigger1=helper(50410),stateno!=root,var(47)
trigger1=helper(50410),stateno!=root,var(46)
trigger1=helper(50410),stateno!=root,var(45)
trigger1=helper(50410),stateno!=root,var(44)
var(43)=helper(50410),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(50410)
triggerall=ishelper(50410)
triggerall=parent,id=root,id
trigger1=root,var(42)=0
trigger1=helper(50410),var(14)!=gametime
trigger1=helper(50410),hitpausetime>0
trigger1=helper(50410),stateno!=[6660000,6660005]
trigger1=helper(50410),stateno!=[555,556]
trigger1=helper(50410),stateno!=50410
trigger1=helper(50410),stateno!=root,var(51)
trigger1=helper(50410),stateno!=root,var(50)
trigger1=helper(50410),stateno!=root,var(49)
trigger1=helper(50410),stateno!=root,var(48)
trigger1=helper(50410),stateno!=root,var(47)
trigger1=helper(50410),stateno!=root,var(46)
trigger1=helper(50410),stateno!=root,var(45)
trigger1=helper(50410),stateno!=root,var(44)
trigger1=helper(50410),stateno!=root,var(43)
var(42)=helper(50410),stateno
ignorehitpause=1

;記録2
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(51)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime=0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
var(51)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(50)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime=0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
var(50)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(49)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime=0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
var(49)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(48)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime=0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
var(48)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(47)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime=0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
var(47)=helper(65535),stateno
ignorehitpause=1

;hitpause付き
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(46)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime>0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
trigger1=helper(65535),stateno!=root,var(47)
var(46)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(45)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime>0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
trigger1=helper(65535),stateno!=root,var(47)
trigger1=helper(65535),stateno!=root,var(46)
var(45)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(44)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime>0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
trigger1=helper(65535),stateno!=root,var(47)
trigger1=helper(65535),stateno!=root,var(46)
trigger1=helper(65535),stateno!=root,var(45)
var(44)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(43)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime>0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
trigger1=helper(65535),stateno!=root,var(47)
trigger1=helper(65535),stateno!=root,var(46)
trigger1=helper(65535),stateno!=root,var(45)
trigger1=helper(65535),stateno!=root,var(44)
var(43)=helper(65535),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(65535)
triggerall=ishelper(65535)
triggerall=parent,id=root,id
trigger1=root,var(42)=0
trigger1=helper(65535),var(14)!=gametime
trigger1=helper(65535),hitpausetime>0
trigger1=helper(65535),stateno!=[5000,5200]
trigger1=helper(65535),stateno!=[6660000,6660005]
trigger1=helper(65535),stateno!=[555,556]
trigger1=helper(65535),stateno!=65535
trigger1=helper(65535),stateno!=root,var(51)
trigger1=helper(65535),stateno!=root,var(50)
trigger1=helper(65535),stateno!=root,var(49)
trigger1=helper(65535),stateno!=root,var(48)
trigger1=helper(65535),stateno!=root,var(47)
trigger1=helper(65535),stateno!=root,var(46)
trigger1=helper(65535),stateno!=root,var(45)
trigger1=helper(65535),stateno!=root,var(44)
trigger1=helper(65535),stateno!=root,var(43)
var(42)=helper(65535),stateno
ignorehitpause=1

;記録3 hitby希望
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=parent,id=root,id
triggerall=root,var(41)=0
triggerall=target,ishelper
triggerall=target,name!="Phantom Mizuchi Abyss"
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=461349666
triggerall=target,stateno!=24402525
triggerall=target,stateno!=[510,513]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=root,var(51)
triggerall=target,stateno!=root,var(50)
triggerall=target,stateno!=root,var(49)
triggerall=target,stateno!=root,var(48)
triggerall=target,stateno!=root,var(47)
triggerall=target,stateno!=root,var(46)
triggerall=target,stateno!=root,var(45)
triggerall=target,stateno!=root,var(44)
triggerall=target,stateno!=root,var(43)
triggerall=target,stateno!=root,var(42)
triggerall=target,stateno!=root,var(36)
triggerall=target,stateno!=root,var(35)
triggerall=target,stateno!=root,var(34)
triggerall=target,stateno!=root,var(33)
triggerall=target,stateno!=root,var(32)
trigger1=1;target,gethitvar(fall.damage)!=0
var(41)=target,stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=parent,id=root,id
triggerall=root,var(40)=0
triggerall=target,stateno!=root,var(41)
triggerall=target,ishelper
triggerall=target,name!="Phantom Mizuchi Abyss"
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=461349666
triggerall=target,stateno!=24402525
triggerall=target,stateno!=[510,513]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=root,var(51)
triggerall=target,stateno!=root,var(50)
triggerall=target,stateno!=root,var(49)
triggerall=target,stateno!=root,var(48)
triggerall=target,stateno!=root,var(47)
triggerall=target,stateno!=root,var(46)
triggerall=target,stateno!=root,var(45)
triggerall=target,stateno!=root,var(44)
triggerall=target,stateno!=root,var(43)
triggerall=target,stateno!=root,var(42)
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(36)
triggerall=target,stateno!=root,var(35)
triggerall=target,stateno!=root,var(34)
triggerall=target,stateno!=root,var(33)
triggerall=target,stateno!=root,var(32)
trigger1=1;target,gethitvar(fall.damage)!=0
var(40)=target,stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=parent,id=root,id
triggerall=root,var(39)=0
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,ishelper
triggerall=target,name!="Phantom Mizuchi Abyss"
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=461349666
triggerall=target,stateno!=24402525
triggerall=target,stateno!=[510,513]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=root,var(51)
triggerall=target,stateno!=root,var(50)
triggerall=target,stateno!=root,var(49)
triggerall=target,stateno!=root,var(48)
triggerall=target,stateno!=root,var(47)
triggerall=target,stateno!=root,var(46)
triggerall=target,stateno!=root,var(45)
triggerall=target,stateno!=root,var(44)
triggerall=target,stateno!=root,var(43)
triggerall=target,stateno!=root,var(42)
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,stateno!=root,var(36)
triggerall=target,stateno!=root,var(35)
triggerall=target,stateno!=root,var(34)
triggerall=target,stateno!=root,var(33)
triggerall=target,stateno!=root,var(32)
trigger1=1;target,gethitvar(fall.damage)!=0
var(39)=target,stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=parent,id=root,id
triggerall=root,var(38)=0
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,stateno!=root,var(39)
triggerall=target,ishelper
triggerall=target,name!="Phantom Mizuchi Abyss"
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=461349666
triggerall=target,stateno!=24402525
triggerall=target,stateno!=[510,513]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=root,var(51)
triggerall=target,stateno!=root,var(50)
triggerall=target,stateno!=root,var(49)
triggerall=target,stateno!=root,var(48)
triggerall=target,stateno!=root,var(47)
triggerall=target,stateno!=root,var(46)
triggerall=target,stateno!=root,var(45)
triggerall=target,stateno!=root,var(44)
triggerall=target,stateno!=root,var(43)
triggerall=target,stateno!=root,var(42)
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,stateno!=root,var(39)
triggerall=target,stateno!=root,var(36)
triggerall=target,stateno!=root,var(35)
triggerall=target,stateno!=root,var(34)
triggerall=target,stateno!=root,var(33)
triggerall=target,stateno!=root,var(32)
trigger1=1;target,gethitvar(fall.damage)!=0
var(38)=target,stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=parent,id=root,id
triggerall=root,var(37)=0
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,stateno!=root,var(39)
triggerall=target,stateno!=root,var(38)
triggerall=target,ishelper
triggerall=target,name!="Phantom Mizuchi Abyss"
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=461349666
triggerall=target,stateno!=24402525
triggerall=target,stateno!=[510,513]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=root,var(51)
triggerall=target,stateno!=root,var(50)
triggerall=target,stateno!=root,var(49)
triggerall=target,stateno!=root,var(48)
triggerall=target,stateno!=root,var(47)
triggerall=target,stateno!=root,var(46)
triggerall=target,stateno!=root,var(45)
triggerall=target,stateno!=root,var(44)
triggerall=target,stateno!=root,var(43)
triggerall=target,stateno!=root,var(42)
triggerall=target,stateno!=root,var(41)
triggerall=target,stateno!=root,var(40)
triggerall=target,stateno!=root,var(39)
triggerall=target,stateno!=root,var(38)
triggerall=target,stateno!=root,var(36)
triggerall=target,stateno!=root,var(35)
triggerall=target,stateno!=root,var(34)
triggerall=target,stateno!=root,var(33)
triggerall=target,stateno!=root,var(32)
trigger1=1;target,gethitvar(fall.damage)!=0
var(37)=target,stateno
ignorehitpause=1

;記録4 分身調査
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123450)
triggerall=ishelper(123450)
triggerall=parent,id=root,id
trigger1=root,var(36)=0
trigger1=helper(123450),var(14)!=gametime
trigger1=helper(123450),stateno!=[5000,5200]
trigger1=helper(123450),stateno!=[6660000,6660005]
trigger1=helper(123450),stateno!=[555,556]
trigger1=helper(123450),stateno!=123451
trigger1=helper(123450),stateno!=root,var(51)
trigger1=helper(123450),stateno!=root,var(50)
trigger1=helper(123450),stateno!=root,var(49)
trigger1=helper(123450),stateno!=root,var(48)
trigger1=helper(123450),stateno!=root,var(47)
trigger1=helper(123450),stateno!=root,var(46)
trigger1=helper(123450),stateno!=root,var(45)
trigger1=helper(123450),stateno!=root,var(44)
trigger1=helper(123450),stateno!=root,var(43)
trigger1=helper(123450),stateno!=root,var(42)
var(36)=helper(123450),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123450)
triggerall=ishelper(123450)
triggerall=parent,id=root,id
trigger1=root,var(35)=0
trigger1=helper(123450),var(14)!=gametime
trigger1=helper(123450),stateno!=[5000,5200]
trigger1=helper(123450),stateno!=[6660000,6660005]
trigger1=helper(123450),stateno!=[555,556]
trigger1=helper(123450),stateno!=123451
trigger1=helper(123450),stateno!=root,var(51)
trigger1=helper(123450),stateno!=root,var(50)
trigger1=helper(123450),stateno!=root,var(49)
trigger1=helper(123450),stateno!=root,var(48)
trigger1=helper(123450),stateno!=root,var(47)
trigger1=helper(123450),stateno!=root,var(46)
trigger1=helper(123450),stateno!=root,var(45)
trigger1=helper(123450),stateno!=root,var(44)
trigger1=helper(123450),stateno!=root,var(43)
trigger1=helper(123450),stateno!=root,var(42)
trigger1=helper(123450),stateno!=root,var(36)
var(35)=helper(123450),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123450)
triggerall=ishelper(123450)
triggerall=parent,id=root,id
trigger1=root,var(34)=0
trigger1=helper(123450),var(14)!=gametime
trigger1=helper(123450),stateno!=[5000,5200]
trigger1=helper(123450),stateno!=[6660000,6660005]
trigger1=helper(123450),stateno!=[555,556]
trigger1=helper(123450),stateno!=123451
trigger1=helper(123450),stateno!=root,var(51)
trigger1=helper(123450),stateno!=root,var(50)
trigger1=helper(123450),stateno!=root,var(49)
trigger1=helper(123450),stateno!=root,var(48)
trigger1=helper(123450),stateno!=root,var(47)
trigger1=helper(123450),stateno!=root,var(46)
trigger1=helper(123450),stateno!=root,var(45)
trigger1=helper(123450),stateno!=root,var(44)
trigger1=helper(123450),stateno!=root,var(43)
trigger1=helper(123450),stateno!=root,var(42)
trigger1=helper(123450),stateno!=root,var(36)
trigger1=helper(123450),stateno!=root,var(35)
var(34)=helper(123450),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123450)
triggerall=ishelper(123450)
triggerall=parent,id=root,id
trigger1=root,var(33)=0
trigger1=helper(123450),var(14)!=gametime
trigger1=helper(123450),stateno!=[5000,5200]
trigger1=helper(123450),stateno!=[6660000,6660005]
trigger1=helper(123450),stateno!=[555,556]
trigger1=helper(123450),stateno!=123451
trigger1=helper(123450),stateno!=root,var(51)
trigger1=helper(123450),stateno!=root,var(50)
trigger1=helper(123450),stateno!=root,var(49)
trigger1=helper(123450),stateno!=root,var(48)
trigger1=helper(123450),stateno!=root,var(47)
trigger1=helper(123450),stateno!=root,var(46)
trigger1=helper(123450),stateno!=root,var(45)
trigger1=helper(123450),stateno!=root,var(44)
trigger1=helper(123450),stateno!=root,var(43)
trigger1=helper(123450),stateno!=root,var(42)
trigger1=helper(123450),stateno!=root,var(36)
trigger1=helper(123450),stateno!=root,var(35)
trigger1=helper(123450),stateno!=root,var(34)
var(33)=helper(123450),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123450)
triggerall=ishelper(123450)
triggerall=parent,id=root,id
trigger1=root,var(32)=0
trigger1=helper(123450),var(14)!=gametime
trigger1=helper(123450),stateno!=[5000,5200]
trigger1=helper(123450),stateno!=[6660000,6660005]
trigger1=helper(123450),stateno!=[555,556]
trigger1=helper(123450),stateno!=123451
trigger1=helper(123450),stateno!=root,var(51)
trigger1=helper(123450),stateno!=root,var(50)
trigger1=helper(123450),stateno!=root,var(49)
trigger1=helper(123450),stateno!=root,var(48)
trigger1=helper(123450),stateno!=root,var(47)
trigger1=helper(123450),stateno!=root,var(46)
trigger1=helper(123450),stateno!=root,var(45)
trigger1=helper(123450),stateno!=root,var(44)
trigger1=helper(123450),stateno!=root,var(43)
trigger1=helper(123450),stateno!=root,var(42)
trigger1=helper(123450),stateno!=root,var(36)
trigger1=helper(123450),stateno!=root,var(35)
trigger1=helper(123450),stateno!=root,var(34)
trigger1=helper(123450),stateno!=root,var(33)
var(32)=helper(123450),stateno
ignorehitpause=1

[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123451)
triggerall=ishelper(123451)
triggerall=parent,id=root,id
trigger1=root,var(36)=0
trigger1=helper(123451),var(14)!=gametime
trigger1=helper(123451),stateno!=[5000,5200]
trigger1=helper(123451),stateno!=[6660000,6660005]
trigger1=helper(123451),stateno!=[555,556]
trigger1=helper(123451),stateno!=123451
trigger1=helper(123451),stateno!=root,var(51)
trigger1=helper(123451),stateno!=root,var(50)
trigger1=helper(123451),stateno!=root,var(49)
trigger1=helper(123451),stateno!=root,var(48)
trigger1=helper(123451),stateno!=root,var(47)
trigger1=helper(123451),stateno!=root,var(46)
trigger1=helper(123451),stateno!=root,var(45)
trigger1=helper(123451),stateno!=root,var(44)
trigger1=helper(123451),stateno!=root,var(43)
trigger1=helper(123451),stateno!=root,var(42)
var(36)=helper(123451),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123451)
triggerall=ishelper(123451)
triggerall=parent,id=root,id
trigger1=root,var(35)=0
trigger1=helper(123451),var(14)!=gametime
trigger1=helper(123451),stateno!=[5000,5200]
trigger1=helper(123451),stateno!=[6660000,6660005]
trigger1=helper(123451),stateno!=[555,556]
trigger1=helper(123451),stateno!=123451
trigger1=helper(123451),stateno!=root,var(51)
trigger1=helper(123451),stateno!=root,var(50)
trigger1=helper(123451),stateno!=root,var(49)
trigger1=helper(123451),stateno!=root,var(48)
trigger1=helper(123451),stateno!=root,var(47)
trigger1=helper(123451),stateno!=root,var(46)
trigger1=helper(123451),stateno!=root,var(45)
trigger1=helper(123451),stateno!=root,var(44)
trigger1=helper(123451),stateno!=root,var(43)
trigger1=helper(123451),stateno!=root,var(42)
trigger1=helper(123451),stateno!=root,var(36)
var(35)=helper(123451),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123451)
triggerall=ishelper(123451)
triggerall=parent,id=root,id
trigger1=root,var(34)=0
trigger1=helper(123451),var(14)!=gametime
trigger1=helper(123451),stateno!=[5000,5200]
trigger1=helper(123451),stateno!=[6660000,6660005]
trigger1=helper(123451),stateno!=[555,556]
trigger1=helper(123451),stateno!=123451
trigger1=helper(123451),stateno!=root,var(51)
trigger1=helper(123451),stateno!=root,var(50)
trigger1=helper(123451),stateno!=root,var(49)
trigger1=helper(123451),stateno!=root,var(48)
trigger1=helper(123451),stateno!=root,var(47)
trigger1=helper(123451),stateno!=root,var(46)
trigger1=helper(123451),stateno!=root,var(45)
trigger1=helper(123451),stateno!=root,var(44)
trigger1=helper(123451),stateno!=root,var(43)
trigger1=helper(123451),stateno!=root,var(42)
trigger1=helper(123451),stateno!=root,var(36)
trigger1=helper(123451),stateno!=root,var(35)
var(34)=helper(123451),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123451)
triggerall=ishelper(123451)
triggerall=parent,id=root,id
trigger1=root,var(33)=0
trigger1=helper(123451),var(14)!=gametime
trigger1=helper(123451),stateno!=[5000,5200]
trigger1=helper(123451),stateno!=[6660000,6660005]
trigger1=helper(123451),stateno!=[555,556]
trigger1=helper(123451),stateno!=123451
trigger1=helper(123451),stateno!=root,var(51)
trigger1=helper(123451),stateno!=root,var(50)
trigger1=helper(123451),stateno!=root,var(49)
trigger1=helper(123451),stateno!=root,var(48)
trigger1=helper(123451),stateno!=root,var(47)
trigger1=helper(123451),stateno!=root,var(46)
trigger1=helper(123451),stateno!=root,var(45)
trigger1=helper(123451),stateno!=root,var(44)
trigger1=helper(123451),stateno!=root,var(43)
trigger1=helper(123451),stateno!=root,var(42)
trigger1=helper(123451),stateno!=root,var(36)
trigger1=helper(123451),stateno!=root,var(35)
trigger1=helper(123451),stateno!=root,var(34)
var(33)=helper(123451),stateno
ignorehitpause=1
[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=numhelper(123451)
triggerall=ishelper(123451)
triggerall=parent,id=root,id
trigger1=root,var(32)=0
trigger1=helper(123451),var(14)!=gametime
trigger1=helper(123451),stateno!=[5000,5200]
trigger1=helper(123451),stateno!=[6660000,6660005]
trigger1=helper(123451),stateno!=[555,556]
trigger1=helper(123451),stateno!=123451
trigger1=helper(123451),stateno!=root,var(51)
trigger1=helper(123451),stateno!=root,var(50)
trigger1=helper(123451),stateno!=root,var(49)
trigger1=helper(123451),stateno!=root,var(48)
trigger1=helper(123451),stateno!=root,var(47)
trigger1=helper(123451),stateno!=root,var(46)
trigger1=helper(123451),stateno!=root,var(45)
trigger1=helper(123451),stateno!=root,var(44)
trigger1=helper(123451),stateno!=root,var(43)
trigger1=helper(123451),stateno!=root,var(42)
trigger1=helper(123451),stateno!=root,var(36)
trigger1=helper(123451),stateno!=root,var(35)
trigger1=helper(123451),stateno!=root,var(34)
trigger1=helper(123451),stateno!=root,var(33)
var(32)=helper(123451),stateno
ignorehitpause=1

;攻撃
[State ];番号確認 (汎用邪眼-軽量版)
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(root,var(0)&256)=0
triggerall=fvar(13)=461349666
triggerall=roundstate=2
triggerall=numtarget
trigger1=var(8):=2
trigger1=target,stateno!=[0,5001]
trigger1=target,stateno!=[5010,5011]
trigger1=target,stateno!=5020
trigger1=target,stateno!=5030
trigger1=target,stateno!=5035
trigger1=target,stateno!=5040
trigger1=target,stateno!=5050
trigger1=target,stateno!=[5070,5071]
trigger1=target,stateno!=[5080,5081]
trigger1=target,stateno!=[5100,5101]
trigger1=target,stateno!=5110
trigger1=target,stateno!=5120
trigger1=target,stateno!=[5200,5201]
trigger1=target,stateno!=5210
trigger1=target,stateno!=5500
trigger1=target,stateno!=5900
trigger1=target,stateno!=[10000,10002]
trigger1=target,stateno!=10050
trigger1=target,stateno!=10080
trigger1=target,stateno!=[11000,11002]
trigger1=target,stateno!=11300
trigger1=target,stateno!=[11330,11331]
trigger1=target,stateno!=[11340,11341]
trigger1=target,stateno!=12345
trigger1=target,stateno!=[14010,14011]
trigger1=target,stateno!=[18100,18101]
trigger1=target,stateno!=[19150,19155]
trigger1=target,stateno!=[30050,30052]
trigger1=target,stateno!=[30060,30063]
trigger1=target,stateno!=[50100,50102]
trigger1=target,stateno!=50110
trigger1=target,stateno!=[50115,50116]
trigger1=target,stateno!=50300
trigger1=target,stateno!=50400
trigger1=target,stateno!=50410
trigger1=target,stateno!=[50510,50511]
trigger1=target,stateno!=[50600,50601]
trigger1=target,stateno!=50630
trigger1=target,stateno!=[60200,60203]
trigger1=target,stateno!=65535
trigger1=target,stateno!=70000
trigger1=target,stateno!=70010
trigger1=target,stateno!=123451
trigger1=target,stateno!=123456
trigger1=target,stateno!=171000
trigger1=target,stateno!=171010
trigger1=target,stateno!=171020
trigger1=target,stateno!=[171030,171033]
trigger1=target,stateno!=456789
trigger1=target,stateno!=1133010
trigger1=target,stateno!=1133110
trigger1=target,stateno!=30201010
trigger1=target,stateno!=30202010
trigger1=target,stateno!=31442420
trigger1=target,stateno!=191510000
trigger1=target,stateno!=191510010
trigger1=target,stateno!=[1000001,1000002]
trigger1=target,stateno!=[2000001,2000024]
trigger1=!(target,stateno%10=0&&target,stateno=[6000,9990])
trigger1=!(target,stateno%100=0&&target,stateno=[10000,50000])
trigger1=var(8):=1
ignorehitpause=1

[State ];番号確認 (汎用邪眼-本気版)
type=null
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(root,var(0)&256)
triggerall=fvar(13)=461349666
triggerall=roundstate=2
triggerall=numtarget
trigger1=var(8):=2
trigger1=target,stateno!=[0,5001]
trigger1=target,stateno!=[5010,5011]
trigger1=target,stateno!=5020
trigger1=target,stateno!=5030
trigger1=target,stateno!=5035
trigger1=target,stateno!=5040
trigger1=target,stateno!=5050
trigger1=target,stateno!=[5070,5071]
trigger1=target,stateno!=[5080,5081]
trigger1=target,stateno!=[5100,5101]
trigger1=target,stateno!=5110
trigger1=target,stateno!=5120
trigger1=target,stateno!=[5200,5201]
trigger1=target,stateno!=5210
trigger1=target,stateno!=5500
trigger1=target,stateno!=5900
trigger1=target,stateno!=[10000,10002]
trigger1=target,stateno!=10050
trigger1=target,stateno!=10080
trigger1=target,stateno!=[11000,11002]
trigger1=target,stateno!=11300
trigger1=target,stateno!=[11330,11331]
trigger1=target,stateno!=[11340,11341]
trigger1=target,stateno!=12345
trigger1=target,stateno!=[14010,14011]
trigger1=target,stateno!=[18100,18101]
trigger1=target,stateno!=[19150,19155]
trigger1=target,stateno!=[30050,30052]
trigger1=target,stateno!=[30060,30063]
trigger1=target,stateno!=[50100,50102]
trigger1=target,stateno!=50110
trigger1=target,stateno!=[50115,50116]
trigger1=target,stateno!=50300
trigger1=target,stateno!=50400
trigger1=target,stateno!=50410
trigger1=target,stateno!=[50510,50511]
trigger1=target,stateno!=[50600,50601]
trigger1=target,stateno!=50630
trigger1=target,stateno!=[60200,60203]
trigger1=target,stateno!=65535
trigger1=target,stateno!=70000
trigger1=target,stateno!=70010
trigger1=target,stateno!=123451
trigger1=target,stateno!=123456
trigger1=target,stateno!=171000
trigger1=target,stateno!=171010
trigger1=target,stateno!=171020
trigger1=target,stateno!=[171030,171033]
trigger1=target,stateno!=456789
trigger1=target,stateno!=1133010
trigger1=target,stateno!=1133110
trigger1=target,stateno!=30201010
trigger1=target,stateno!=30202010
trigger1=target,stateno!=31442420
trigger1=target,stateno!=191510000
trigger1=target,stateno!=191510010
trigger1=target,stateno!=[1000001,1000002]
trigger1=target,stateno!=[2000001,2000024]
trigger1=target,stateno!=[6000,9999]
trigger1=!(target,stateno%10=0&&target,stateno=[10000,30000])
trigger1=!(target,stateno%100=0&&target,stateno=[30100,50000])
trigger1=var(8):=1
ignorehitpause=1

[State ];numtarget>1
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno=19154
value=6660001;変数弄り
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno=50300
trigger2=root,stateno=[11000,11002]
value=6660002;ステート返し
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno=[50100,50102]
value=6660003;ステート返し2
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno=[30050,30052]
value=6660004;ステ抜け貫通砲
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno=[10000,10002]
value=6660005;ステート返し3
ignorehitpause=1

[State ];numtarget=1
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
trigger1=root,stateno!=19154
trigger1=root,stateno!=50300
trigger1=root,stateno!=[11000,11002]
trigger1=root,stateno!=[50100,50102]
trigger1=root,stateno!=[30050,30052]
trigger1=root,stateno!=[10000,10002]
trigger1=target,ishelper(2000000)||target,ishelper(2440000)||roundno>2||(target,ishelper(100500)&&root,var(24)=1);対ファントム
trigger1=target,stateno!=6660000||target,sysfvar(2)=[0,1]
value=6660000;貯蔵庫
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=root,stateno=19154
value=6660001;変数弄り
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=root,stateno=50300
trigger2=root,stateno=[11000,11002]
value=6660002;ステート返し
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=root,stateno=[50100,50102]
value=6660003;ステート返し2
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=root,stateno=[30050,30052]
value=6660004;ステ抜け貫通砲
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=root,stateno=[10000,10002]
value=6660005;ステート返し3
ignorehitpause=1

[State ];登録されてるdef番号
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=!WIN
triggerall=numtarget=1;numtargetのみだとtargetリダイレクトのフリーズの恐れ有り
triggerall=target,ishelper(2000000)=0
triggerall=target,ishelper(3000000)=0
triggerall=(target,stateno!=510)&&(target,stateno!=[512,513])&&var(8)=2
trigger1=numenemy
trigger1=enemynear,numhelper(2000000)=0||roundno>2
trigger2=root,stateno=19154
trigger3=root,stateno=50300
trigger4=root,stateno=[11000,11002]
trigger5=root,stateno=[50100,50102]
trigger6=root,stateno=[30050,30052]
trigger7=root,stateno=[10000,10002]
value=target,stateno
ignorehitpause=1

[State ]
type=parentvarset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
triggerall=numtarget
triggerall=ishelper
triggerall=root,var(56)=0
triggerall=target,alive=1
triggerall=target,hitpausetime>1
triggerall=target,stateno!=[5000,5200]
triggerall=target,stateno!=[6660000,6660005]
triggerall=target,stateno!=[555,556]
triggerall=target,stateno!=65535
trigger1=target,var(50)=666
var(56)=target,stateno
ignorehitpause=1

;アニメ取得
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=numtarget>0
trigger1=target,name!="Phantom Mizuchi Abyss"
trigger1=target,numtarget>0
trigger1=var(55)=0
trigger1=target,anim!=root,var(55)
trigger1=root,var(55)=0
var(55)=target,anim
ignorehitpause=1
[State ]
type=parentvarset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=root,var(55)=0
trigger1=var(55)!=0
var(55)=var(55)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=numtarget>0
trigger1=target,name!="Phantom Mizuchi Abyss"
trigger1=target,movecontact>0||target,movereversed>0
trigger1=var(54)=0
trigger1=var(55)!=0
trigger1=target,anim!=root,var(55)
trigger1=target,anim!=root,var(54)
trigger1=target,anim!=root,var(53)
trigger1=target,anim!=root,var(52)
trigger1=root,var(54)=0
var(54)=target,anim
ignorehitpause=1
[State ]
type=parentvarset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=root,var(54)=0
trigger1=var(54)!=0
var(54)=var(54)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=numtarget>0
trigger1=target,name!="Phantom Mizuchi Abyss"
trigger1=target,numtarget>0
trigger1=var(53)=0
trigger1=target,anim!=root,var(55)
trigger1=target,anim!=root,var(54)
trigger1=target,anim!=root,var(53)
trigger1=root,var(53)=0
var(53)=target,anim
ignorehitpause=1
[State ]
type=parentvarset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666
trigger1=root,var(53)=0
trigger1=var(53)!=0
var(53)=var(53)
ignorehitpause=1

[State ]
type=parentvarset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=parent,id=root,id
trigger1=movecontact=1
var(26)=0
ignorehitpause=1

[State ];開幕からバグヘルパー取得を狙う
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
;;triggerall=fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
triggerall=numenemy
triggerall=(root,var(0)&4)=0||roundstate<2
trigger1=enemynear,numhelper(2440000)=0||roundno>2
value=6660000;貯蔵庫
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
triggerall=fvar(13)=461349666||fvar(13)=461349000
triggerall=!WIN
triggerall=numtarget
triggerall=((target,stateno=510)||(target,stateno=[512,513]))||var(8)=1
trigger1=roundstate>2
value=6660000
ignorehitpause=1
[State ]
type=Projectile
triggerall=!ishelper
trigger1=palno>6
trigger1=roundstate=3||roundno>2
attr=A,HA,HP,HT
projanim=10000
projhitanim=-1
projid=6999
projpriority=999999999999999999999999999999999
projsprpriority=9999999999999999999999999999999
projremove=1
projremovetime=10
postype=p1
offset=0,0
velocity=0
animtype=hard
damage=10+random%250
getpower=0,0
givepower=0,0
guardflag=
hitflag=MAFD
pausetime=0
guard.pausetime=0,0
sparkno=-1
sparkxy=0,0
guard.sparkno=-1
ground.type=high
ground.slidetime=20
ground.hittime=20
ground.velocity=-1,-2
guard.velocity=-10
air.velocity=-1,0
fall=0
fall.recover=1
fall.damage=0+2147483648*ifelse(random%2,1,-1)
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ];攻撃力調整(論外モード)
type=varset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=palno=11
fvar(10)=1.0

[State ];攻撃力補正 本体に合わせる
type=varset
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
fvar(10)=root,fvar(10)
[State ]
type=varset
triggerall=name="Phantom Mizuchi Abyss"
triggerall=fvar(10)<1;1倍以下の場合1倍に戻す
trigger1=!ishelper
trigger1=(var(0)&2)
trigger2=ishelper
trigger2=(root,var(0)&2)
fvar(10)=1
[State ];発狂
type=BGPalFx
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&2)||stateno=[30060,30061]
mul=256,0,0
invertall=0
color=0
time=-1
ignorehitpause=1
[State ]
type=BGPalFx
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(root,var(0)&2)||root,stateno=[30060,30061]
mul=256,0,0
invertall=0
color=0
time=-1
ignorehitpause=1
[State ];割合ダメージ(本体&ヘルパー:敵１体)
type=attackmulset
triggerall=name="Phantom Mizuchi Abyss"
trigger1=roundstate>0
trigger1=numenemy=1
value=ceil(0.00001*ifelse(enemy,const(data.defence)>100,enemy,const(data.defence),100)*ifelse(enemy,const(data.life)>1000,enemy,const(data.life),1000))*fvar(10)
ignorehitpause=1
[State ];割合ダメージ(本体:敵２体)
type=attackmulset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=roundstate>0
trigger1=numenemy=2
value=ceil(0.00001*ifelse(var(17)>100,var(17),100)*ifelse(var(18)>1000,var(18),1000))*fvar(10)
ignorehitpause=1
[State ];割合ダメージ(ヘルパー:敵２体)
type=attackmulset
triggerall=ishelper&&name="Phantom Mizuchi Abyss"
trigger1=roundstate>0
trigger1=numenemy=2
value=ceil(0.00001*ifelse(root,var(17)>100,root,var(17),100)*ifelse(root,var(18)>1000,root,var(18),1000))*fvar(10)
ignorehitpause=1
[State ];フローダメージ
type=attackmulset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=stateno=31442420;死刑
trigger2=stateno=11001&&palno>6;砕ける心
trigger3=stateno=50601;暗黒
value=1
ignorehitpause=1
;------------------------------------------------------------
[State ];迷子センター ヘルパーが行う常時監視より下に配置する事
type=selfstate
trigger1=ishelper&&name="Phantom Mizuchi Abyss"
value=5150
ignorehitpause=1

[State ]
type=DisplayToClipboard
trigger1=!ishelper
trigger1=numenemy
text="el:%d,es:%d,et:%d,enh:%d,nh:%d"
params=(enemynear,life),(enemynear,stateno),(enemynear,time),(enemynear,numhelper),(numhelper)
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=!ishelper
trigger1=PlayerIDExist(var(22))
trigger1=numenemy
text=" EA=%d,Time=%d,B1=%d,B2=%d,FD=%d"
params= (enemynear,alive),(PlayerID(var(22)),var(0)),(enemynear,numhelper(2000000)),(enemynear,numhelper(3000000)),(enemynear,gethitvar(fall.damage))
ignorehitpause=1

[State ];記憶確認
type=AppendToClipboard
trigger1=!ishelper
text="\n st:%d,:%d,:%d,:%d,:%d"
params= (var(51)),(var(50)),(var(49)),(var(48)),(var(47))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=!ishelper
text=" sth:%d,:%d,:%d,:%d,:%d"
params= (var(46)),(var(45)),(var(44)),(var(43)),(var(42))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=!ishelper
text=" P2:%d,:%d,:%d,:%d,:%d"
params= (var(36)),(var(35)),(var(34)),(var(33)),(var(32))
ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" hel:%d,:%d,:%d,:%d,:%d"
;params= (var(41)),(var(40)),(var(39)),(var(38)),(var(37))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" anim:%d,:%d,:%d,:%d"
;params= (var(55)),(var(54)),(var(53)),(var(52))
;ignorehitpause=1

;[State ]
;type=null;DisplayToClipboard
;trigger1=!ishelper
;trigger1=numenemy
;text="v20:%d,a:%d,b:%d,c:%d,v24:%d"
;params=ceil(fvar(20)),ceil(fvar(21)),ceil(fvar(22)),ceil(fvar(23)),ceil(fvar(24))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" a:%d,b:%d,c:%d,v28:%d,a:%d"
;params=ceil(fvar(25)),ceil(fvar(26)),ceil(fvar(27)),ceil(fvar(28)),ceil(fvar(29))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text="\nb:%d,c:%d,v32:%d,a:%d,b:%d"
;params=ceil(fvar(30)),ceil(fvar(31)),ceil(fvar(32)),ceil(fvar(33)),ceil(fvar(34))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" c:%d,v36:%d,a:%d,b:%d,c:%d"
;params=ceil(fvar(35)),ceil(fvar(36)),ceil(fvar(37)),ceil(fvar(38)),ceil(fvar(39))
;ignorehitpause=1

;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text="\n :%d,:%d,:%d,:%d,:%d"
;params= ceil(fvar(5)),ceil(fvar(6)),ceil(fvar(7)),ceil(fvar(8)),ceil(fvar(9))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" :%d,:%d,:%d,:%d,:%d"
;params= ceil(fvar(11)),ceil(fvar(12)),ceil(fvar(13)),ceil(fvar(14)),ceil(fvar(15))
;ignorehitpause=1
;[State ]
;type=null;AppendToClipboard
;trigger1=!ishelper
;text=" :%d,:%d,:%d,:%d"
;params= ceil(fvar(16)),ceil(fvar(17)),ceil(fvar(18)),ceil(fvar(19))
;ignorehitpause=1
;------------------------------------------------------------
;準備
[State ]
type=assertspecial
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(1):=(enemy(0),life)||1
trigger1=var(2):=(enemy(numenemy>1),life)||1
trigger1=var(3):=enemy(0),const(data.defence)||1
trigger1=var(4):=enemy(0),const(data.life)||1
trigger1=var(5):=enemy(numenemy>1),const(data.defence)||1
trigger1=var(6):=enemy(numenemy>1),const(data.life)||1
trigger1=var(9):=id-playeridexist(id-1)-playeridexist(id-2)-playeridexist(id-3)||1
trigger1=var(17):=ifelse((var(3)>=var(5)),var(3),var(5))||1
trigger1=var(18):=ifelse((var(4)>=var(6)),var(4),var(6))||1
flag=noautoturn
flag2=noshadow
ignorehitpause=1
[State ]
Type=AfterImage
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&3)=0
trigger1=var(0):=(var(0)|1)||1
Time=-1
Length=8
PalBright=0,0,0
PalContrast=100,100,100
PalAdd=0,0,0
PalMul=1,1,1
Trans=Sub
TimeGap=1
FrameGap=2
ignorehitpause=1
[State ]
Type=AfterImage
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&3)=2
trigger1=var(0):=(var(0)|1)||1
Time=-1
Length=8
PalBright=0,0,0
PalContrast=100,100,100
PalAdd=0,0,0
PalMul=1,1,1
Trans=add
TimeGap=1
FrameGap=2
ignorehitpause=1
[State ]
Type=AfterImageTime
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
Trigger1=MoveType=H||(stateno=181&&time>120)||(stateno=182&&time>160)||(stateno=70000)||(stateno=30062&&animtime=0)||(var(7)!=0)
trigger1=(var(0)&1)
trigger1=var(0):=(var(0)^1)||1
Time=0
IgnoreHitPause=1
[State ]
type=trans
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&2)=0
trans=sub
ignorehitpause=1
[State ]
type=trans
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&2)
trans=add
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
time=-1
ignorehitpause=1
[State ]
type=assertspecial
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
flag=nostandguard
flag2=nocrouchguard
flag3=noairguard
ignorehitpause=1
[State ]
type=screenbound
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
value=0
movecamera=0,0
ignorehitpause=1
[State ];画面から出られないように
type=posset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ScreenPos X<12
x=-148
ignorehitpause=1
[State ];画面から出られないように
type=posset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=ScreenPos X>308
x=148
ignorehitpause=1
;------------------------------------------------------------
;準備 ヘルパー
[State ];ブレイン
type=Helper
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numhelper(461349666)=0
trigger1=var(57)!=5150
name="Phantom Mizuchi Abyss"
id=461349666
pos=0,0
postype=p1
sprpriority=0
stateno=150
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];マーキングシステム
type=Helper
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numhelper(5000)=0
trigger1=var(57)!=5150
name="marking"
id=5000
pos=0,0
postype=p1
sprpriority=0
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];被弾
type=Helper
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numhelper(555)=0
trigger1=var(57)!=5150
name="gethit-555"
id=555
pos=0,0
postype=p1
sprpriority=0
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];アーマー
type=Helper
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numhelper(99999)=0
trigger1=var(57)!=5150
name="Phantom Mizuchi Abyss"
id=99999
pos=0,0
postype=p1
sprpriority=0
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];混線(妥協)
type=Helper
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=palno=[7,10]
triggerall=numhelper(461349666)=1
triggerall=alive
triggerall=roundstate>0
trigger1=var(57)!=5150
trigger1=numhelper(1000001)<8
trigger1=numhelper(2000001)=0
name="Catastrophe"
stateno=1000001
ID=1000001
helpertype=player
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];Hitdef
type=Helper
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=palno>6||(var(0)&2)
triggerall=var(57)!=5150
triggerall=numhelper(65535)=0
triggerall=stateno!=50300
triggerall=stateno!=19154
triggerall=stateno!=[50100,50101]
triggerall=!(stateno=12345&&time<40)
triggerall=(var(0)&4)
trigger1=palno>6
trigger1=gametime%5=0
trigger2=palno<7
trigger2=gametime%45=0
name="hitdef-65535"
id=65535
pos=0,0
postype=p1
sprpriority=0
stateno=65535
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ];被弾
type=Helper
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=palno>6
trigger1=var(57)!=5150
trigger1=numhelper(65536)=0
trigger1=(var(0)&4)
trigger1=stateno!=50300
trigger1=stateno!=19154
trigger1=stateno!=[50100,50101]
trigger1=!(stateno=12345&&time<40)
name="gethit-65536"
id=65536
pos=0,0
postype=p1
sprpriority=0
stateno=65535
Helpertype=player
keyctrl=0
ownpal=1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
;------------------------------------------------------------
;保険
[State ];時止め無視
type=pause
triggerall=!ishelper
triggerall=var(57)!=5150
triggerall=alive
trigger1=palno>6
trigger1=!winko
trigger1=roundstate=3
trigger2=numhelper(461349666)=0
trigger3=numhelper(461349666)
trigger3=helper(461349666),var(1)=0;時止め解除を１度も出してない
trigger4=roundstate=4
trigger4=time>250;試合終了
trigger5=roundstate=1
trigger5=stateno=0;イントロ飛ばし
trigger6=var(7)!=0;論外モード
time=2147483648
movetime=2147483648
ignorehitpause=1
[State ];時止め無視
type=superpause
triggerall=!ishelper
triggerall=var(57)!=5150
triggerall=alive
trigger1=palno>6
trigger1=!winko
trigger1=roundstate=3
trigger2=numhelper(461349666)=0
trigger3=numhelper(461349666)
trigger3=helper(461349666),var(1)=0
trigger4=roundstate=4
trigger4=time>250
trigger5=roundstate=1
trigger5=stateno=0
trigger6=var(7)!=0
anim=-1
time=2147483648
movetime=2147483648
darken=0
p2defmul=1
ignorehitpause=1
[State ];全回復
type=lifeset
triggerall=!ishelper
triggerall=var(57)!=5150
trigger1=alive||numpartner
trigger1=roundstate!=2
trigger2=numhelper(461349666)=0
trigger3=var(7)!=0
value=lifemax
ignorehitpause=1
;------------------------------------------------------------
;変数セット
[State ];アーマー判断
type=varset
triggerall=!ishelper
triggerall=(var(0)&8)
trigger1=roundstate!=2
trigger2=projcontact=1
trigger2=numtarget
trigger2=!target,ishelper
trigger2=numenemy
trigger2=enemy,stateno=[5000,5110]
var(0)=(var(0)^8)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper
trigger1=projcontact=1
trigger1=numenemy
trigger1=!numtarget||(enemynear,stateno!=[5000,5110])
var(0)=(var(0)|8)
ignorehitpause=1

[State ];攻撃接触判断
type=varadd
trigger1=!ishelper
trigger1=(var(0)&4)
trigger1=projcontact=0
var(26)=1
[State ]
type=varset
trigger1=!ishelper
trigger1=projcontact=1
var(26)=0

[State ];どの技で勝利したか
type=varset
triggerall=!ishelper&&WINKO&&var(58)=0
trigger1=stateno=[19150,19155]
trigger2=stateno=70000
trigger3=stateno=[10000,10002]
trigger4=stateno=[11000,11002]
trigger5=stateno=[50100,50102]
trigger6=stateno=50300
trigger7=stateno=[50600,50601]
trigger8=stateno=[30050,30052]
trigger9=stateno=[60200,60202]
var(58)=stateno
[State ]
type=varset
triggerall=!ishelper&&!WINKO
trigger1=stateno=[19150,19155]
trigger2=stateno=70000
trigger3=stateno=[10000,10002]
trigger4=stateno=[11000,11002]
trigger5=stateno=[50100,50102]
trigger6=stateno=50300
trigger7=stateno=[50600,50601]
trigger8=stateno=[30050,30052]
trigger9=stateno=[60200,60202]
var(58)=0

[State ];ステート監視
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget=1
trigger1=target,ishelper=0
var(25)=target,stateno
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget=0
var(25)=0
ignorehitpause=1

[State ];世界最後の日 自動発動フラグ
type=varset
triggerall=!ishelper
trigger1=roundstate=0&&numhelper=0
trigger2=PlayerIDExist(var(22))
trigger2=PlayerID(var(22)),var(0)>1800
trigger2=numenemy
trigger2=(enemy(0),life=enemy(0),lifemax)||(enemy(numenemy>1),life=enemy(numenemy>1),lifemax)
trigger3=numenemy
trigger3=(enemy(0),life=0&&enemy(0),alive)||(enemy(numenemy>1),life=0&&enemy(numenemy>1),alive)
trigger3=roundstate<3
var(0)=(var(0)|16)
ignorehitpause=1
[State ];自動発動リセット
type=varset
triggerall=!ishelper
trigger1=roundstate>2
trigger1=(var(0)&16)
var(0)=(var(0)^16)
ignorehitpause=1

[State ];超即死捜査完了
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(51)=0
trigger1=var(56)!=0
var(51)=var(56)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(50)=0
triggerall=var(56)!=var(51)
trigger1=var(56)!=0
var(50)=var(56)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(49)=0
triggerall=var(56)!=var(51)
triggerall=var(56)!=var(50)
trigger1=var(56)!=0
var(49)=var(56)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(48)=0
triggerall=var(56)!=var(51)
triggerall=var(56)!=var(50)
triggerall=var(56)!=var(49)
trigger1=var(56)!=0
var(48)=var(56)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(47)=0
triggerall=var(56)!=var(51)
triggerall=var(56)!=var(50)
triggerall=var(56)!=var(49)
triggerall=var(56)!=var(48)
trigger1=var(56)!=0
var(47)=var(56)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=var(56)!=0
trigger1=var(56)=var(51)
trigger2=var(56)=var(50)
trigger3=var(56)=var(49)
trigger4=var(56)=var(48)
trigger5=var(56)=var(47)
var(56)=0
ignorehitpause=1

[State ];被りは削除
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(46)=var(51)
trigger2=var(46)=var(50)
trigger3=var(46)=var(49)
trigger4=var(46)=var(48)
trigger5=var(46)=var(47)
var(46)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(45)=var(51)
trigger2=var(45)=var(50)
trigger3=var(45)=var(49)
trigger4=var(45)=var(48)
trigger5=var(45)=var(47)
trigger6=var(45)=var(46)
var(45)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(44)=var(51)
trigger2=var(44)=var(50)
trigger3=var(44)=var(49)
trigger4=var(44)=var(48)
trigger5=var(44)=var(47)
trigger6=var(44)=var(46)
trigger7=var(44)=var(45)
var(44)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(43)=var(51)
trigger2=var(43)=var(50)
trigger3=var(43)=var(49)
trigger4=var(43)=var(48)
trigger5=var(43)=var(47)
trigger6=var(43)=var(46)
trigger7=var(43)=var(45)
trigger8=var(43)=var(44)
var(43)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(42)=var(51)
trigger2=var(42)=var(50)
trigger3=var(42)=var(49)
trigger4=var(42)=var(48)
trigger5=var(42)=var(47)
trigger6=var(42)=var(46)
trigger7=var(42)=var(45)
trigger8=var(42)=var(44)
trigger9=var(42)=var(43)
var(42)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(41)=var(51)
trigger2=var(41)=var(50)
trigger3=var(41)=var(49)
trigger4=var(41)=var(48)
trigger5=var(41)=var(47)
trigger6=var(41)=var(46)
trigger7=var(41)=var(45)
trigger8=var(41)=var(44)
trigger9=var(41)=var(43)
trigger10=var(41)=var(42)
trigger11=var(41)=var(36)
trigger12=var(41)=var(35)
trigger13=var(41)=var(34)
trigger14=var(41)=var(33)
trigger15=var(41)=var(32)
var(41)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(40)=var(51)
trigger2=var(40)=var(50)
trigger3=var(40)=var(49)
trigger4=var(40)=var(48)
trigger5=var(40)=var(47)
trigger6=var(40)=var(46)
trigger7=var(40)=var(45)
trigger8=var(40)=var(44)
trigger9=var(40)=var(43)
trigger10=var(40)=var(42)
trigger11=var(40)=var(41)
trigger12=var(40)=var(36)
trigger13=var(40)=var(35)
trigger14=var(40)=var(34)
trigger15=var(40)=var(33)
trigger16=var(40)=var(32)
var(40)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(39)=var(51)
trigger2=var(39)=var(50)
trigger3=var(39)=var(49)
trigger4=var(39)=var(48)
trigger5=var(39)=var(47)
trigger6=var(39)=var(46)
trigger7=var(39)=var(45)
trigger8=var(39)=var(44)
trigger9=var(39)=var(43)
trigger10=var(39)=var(42)
trigger11=var(39)=var(41)
trigger12=var(39)=var(40)
trigger13=var(39)=var(36)
trigger14=var(39)=var(35)
trigger15=var(39)=var(34)
trigger16=var(39)=var(33)
trigger17=var(39)=var(32)
var(39)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(38)=var(51)
trigger2=var(38)=var(50)
trigger3=var(38)=var(49)
trigger4=var(38)=var(48)
trigger5=var(38)=var(47)
trigger6=var(38)=var(46)
trigger7=var(38)=var(45)
trigger8=var(38)=var(44)
trigger9=var(38)=var(43)
trigger10=var(38)=var(42)
trigger11=var(38)=var(41)
trigger12=var(38)=var(40)
trigger13=var(38)=var(39)
trigger14=var(38)=var(36)
trigger15=var(38)=var(35)
trigger16=var(38)=var(34)
trigger17=var(38)=var(33)
trigger18=var(38)=var(32)
var(38)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(37)=var(51)
trigger2=var(37)=var(50)
trigger3=var(37)=var(49)
trigger4=var(37)=var(48)
trigger5=var(37)=var(47)
trigger6=var(37)=var(46)
trigger7=var(37)=var(45)
trigger8=var(37)=var(44)
trigger9=var(37)=var(43)
trigger10=var(37)=var(42)
trigger11=var(37)=var(41)
trigger12=var(37)=var(40)
trigger13=var(37)=var(39)
trigger14=var(37)=var(38)
trigger15=var(37)=var(36)
trigger16=var(37)=var(35)
trigger17=var(37)=var(34)
trigger18=var(37)=var(33)
trigger19=var(37)=var(32)
var(37)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(36)=var(51)
trigger2=var(36)=var(50)
trigger3=var(36)=var(49)
trigger4=var(36)=var(48)
trigger5=var(36)=var(47)
trigger6=var(36)=var(46)
trigger7=var(36)=var(45)
trigger8=var(36)=var(44)
trigger9=var(36)=var(43)
trigger10=var(36)=var(42)
var(36)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(35)=var(51)
trigger2=var(35)=var(50)
trigger3=var(35)=var(49)
trigger4=var(35)=var(48)
trigger5=var(35)=var(47)
trigger6=var(35)=var(46)
trigger7=var(35)=var(45)
trigger8=var(35)=var(44)
trigger9=var(35)=var(43)
trigger10=var(35)=var(42)
trigger11=var(35)=var(36)
var(35)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(34)=var(51)
trigger2=var(34)=var(50)
trigger3=var(34)=var(49)
trigger4=var(34)=var(48)
trigger5=var(34)=var(47)
trigger6=var(34)=var(46)
trigger7=var(34)=var(45)
trigger8=var(34)=var(44)
trigger9=var(34)=var(43)
trigger10=var(34)=var(42)
trigger11=var(34)=var(36)
trigger12=var(34)=var(35)
var(34)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(33)=var(51)
trigger2=var(33)=var(50)
trigger3=var(33)=var(49)
trigger4=var(33)=var(48)
trigger5=var(33)=var(47)
trigger6=var(33)=var(46)
trigger7=var(33)=var(45)
trigger8=var(33)=var(44)
trigger9=var(33)=var(43)
trigger10=var(33)=var(42)
trigger11=var(33)=var(36)
trigger12=var(33)=var(35)
trigger13=var(33)=var(34)
var(33)=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(32)=var(51)
trigger2=var(32)=var(50)
trigger3=var(32)=var(49)
trigger4=var(32)=var(48)
trigger5=var(32)=var(47)
trigger6=var(32)=var(46)
trigger7=var(32)=var(45)
trigger8=var(32)=var(44)
trigger9=var(32)=var(43)
trigger10=var(32)=var(42)
trigger11=var(32)=var(36)
trigger12=var(32)=var(35)
trigger13=var(32)=var(34)
trigger14=var(32)=var(33)
var(32)=0
ignorehitpause=1

[State ];リセットする(state47〜51)
type=varrangeset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=!WINKO
trigger1=stateno=50300;虚無の波動
trigger1=var(48)!=0;4つ以上記憶している時のみ
trigger1=animtime=0
first=49;2つ(47,48)は残す
last=51
value=0
ignorehitpause=1

[State ];リセットする(state32〜36)
type=varrangeset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=!WINKO
trigger1=stateno=50102;束縛壊忌
trigger1=var(33)!=0;4つ以上記憶している時のみ
trigger1=animtime=0
first=35;3つ(32,34)は残す
last=36
value=0
ignorehitpause=1

[State ];リセットする(fvar21〜39)
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=roundsexisted=0&&numhelper(461349666)=0
trigger1=fvar(20):=-1||1
trigger1=fvar(21):=0||1
trigger1=fvar(22):=0||1
trigger1=fvar(23):=0||1
trigger1=fvar(24):=-1||1
trigger1=fvar(25):=0||1
trigger1=fvar(26):=0||1
trigger1=fvar(27):=0||1
trigger1=fvar(28):=-1||1
trigger1=fvar(29):=0||1
trigger1=fvar(30):=0||1
trigger1=fvar(31):=0||1
trigger1=fvar(32):=-1||1
trigger1=fvar(33):=0||1
trigger1=fvar(34):=0||1
trigger1=fvar(35):=0||1
trigger1=fvar(36):=-1||1
trigger1=fvar(37):=0||1
trigger1=fvar(38):=0||1
trigger1=fvar(39):=0
ignorehitpause=1

[State ];被りは削除
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(fvar(20)=fvar(24))
trigger1=fvar(24):=-1||1
trigger1=fvar(25):=0||1
trigger1=fvar(26):=0||1
trigger1=fvar(27):=0&&0
trigger2=(fvar(20)=fvar(28))||(fvar(24)=fvar(28))
trigger2=fvar(28):=-1||1
trigger2=fvar(29):=0||1
trigger2=fvar(30):=0||1
trigger2=fvar(31):=0&&0
trigger3=(fvar(20)=fvar(32))||(fvar(24)=fvar(32))||(fvar(28)=fvar(32))
trigger3=fvar(32):=-1||1
trigger3=fvar(33):=0||1
trigger3=fvar(34):=0||1
trigger3=fvar(35):=0&&0
trigger4=(fvar(20)=fvar(36))||(fvar(24)=fvar(36))||(fvar(28)=fvar(36))||(fvar(32)=fvar(36))
trigger4=fvar(36):=-1||1
trigger4=fvar(37):=0||1
trigger4=fvar(38):=0||1
trigger4=fvar(39):=0&&0

[State ];アニメ記憶
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=stateno!=70000
triggerall=stateno!=[50600,50601]
triggerall=stateno!=50300
triggerall=stateno!=[10000,10002]
triggerall=stateno!=[11000,11002]
trigger1=numenemy>0
trigger1=enemy,movecontact||enemy,movereversed
trigger1=var(52)=0
trigger1=enemy,anim!=var(55)
trigger1=enemy,anim!=var(54)
trigger1=enemy,anim!=var(53)
trigger1=enemy,anim!=var(52)
var(52)=enemy,anim
ignorehitpause=1

[State ];リセットする(anim52)
type=varset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=!WINKO
triggerall=animtime=0
trigger1=stateno=50300
trigger2=stateno=11002&&palno>6
var(52)=0
ignorehitpause=1

[State ];移植
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(51)=0
trigger1=var(48)!=0
trigger1=var(51):=var(48)
trigger1=var(48):=0
trigger2=var(50)=0
trigger2=var(47)!=0
trigger2=var(50):=var(47)
trigger2=var(47):=0
ignorehitpause=1

[State ];移植(hitpausetime)
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(46)=0
trigger1=var(45)!=0
trigger1=var(46):=var(45)
trigger1=var(45):=0
trigger2=var(45)=0
trigger2=var(44)!=0
trigger2=var(45):=var(44)
trigger2=var(44):=0
trigger3=var(44)=0
trigger3=var(43)!=0
trigger3=var(44):=var(43)
trigger3=var(43):=0
trigger4=var(43)=0
trigger4=var(42)!=0
trigger4=var(43):=var(42)
trigger4=var(42):=0
ignorehitpause=1

[State ];リセットする(state41〜37)
type=varrangeset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=!WINKO
triggerall=animtime=0
trigger1=stateno=11002
first=37
last=41
value=0
ignorehitpause=1
[State ];移植
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(41)=0
trigger1=var(40)!=0
trigger1=var(41):=var(40)
trigger1=var(40):=0
trigger2=var(40)=0
trigger2=var(39)!=0
trigger2=var(40):=var(39)
trigger2=var(39):=0
trigger3=var(39)=0
trigger3=var(38)!=0
trigger3=var(39):=var(38)
trigger3=var(38):=0
trigger4=var(38)=0
trigger4=var(37)!=0
trigger4=var(38):=var(37)
trigger4=var(37):=0
ignorehitpause=1

[State ];移植
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(36)=0
trigger1=var(35)!=0
trigger1=var(36):=var(35)
trigger1=var(35):=0
trigger2=var(35)=0
trigger2=var(34)!=0
trigger2=var(35):=var(34)
trigger2=var(34):=0
trigger3=var(34)=0
trigger3=var(33)!=0
trigger3=var(34):=var(33)
trigger3=var(33):=0
trigger4=var(33)=0
trigger4=var(32)!=0
trigger4=var(33):=var(32)
trigger4=var(32):=0
ignorehitpause=1

[State ];ヘルパー変数と違っていたらリセット
type=null
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=PlayerIDExist(ceil(fvar(2)))
trigger1=PlayerID(ceil(fvar(2))),var(16)!=0
trigger1=ceil(fvar(5))!=PlayerID(ceil(fvar(2))),var(16)
trigger1=fvar(5):=0||1
trigger2=PlayerID(ceil(fvar(2))),var(17)!=0
trigger2=ceil(fvar(6))!=PlayerID(ceil(fvar(2))),var(17)
trigger2=fvar(6):=0||1
trigger3=PlayerID(ceil(fvar(2))),var(18)!=0
trigger3=ceil(fvar(7))!=PlayerID(ceil(fvar(2))),var(18)
trigger3=fvar(7):=0||1
trigger4=PlayerID(ceil(fvar(2))),var(19)!=0
trigger4=ceil(fvar(8))!=PlayerID(ceil(fvar(2))),var(19)
trigger4=fvar(8):=0||1
trigger5=PlayerID(ceil(fvar(2))),var(20)!=0
trigger5=ceil(fvar(9))!=PlayerID(ceil(fvar(2))),var(20)
trigger5=fvar(9):=0||1
trigger6=PlayerID(ceil(fvar(2))),var(21)!=0
trigger6=ceil(fvar(11))!=PlayerID(ceil(fvar(2))),var(21)
trigger6=fvar(11):=0||1
trigger7=PlayerID(ceil(fvar(2))),var(22)!=0
trigger7=ceil(fvar(12))!=PlayerID(ceil(fvar(2))),var(22)
trigger7=fvar(12):=0||1
trigger8=PlayerID(ceil(fvar(2))),var(23)!=0
trigger8=ceil(fvar(13))!=PlayerID(ceil(fvar(2))),var(23)
trigger8=fvar(13):=0||1
trigger9=PlayerID(ceil(fvar(2))),var(24)!=0
trigger9=ceil(fvar(14))!=PlayerID(ceil(fvar(2))),var(24)
trigger9=fvar(14):=0||1
trigger10=PlayerID(ceil(fvar(2))),var(25)!=0
trigger10=ceil(fvar(15))!=PlayerID(ceil(fvar(2))),var(25)
trigger10=fvar(15):=0||1
trigger11=PlayerID(ceil(fvar(2))),var(26)!=0
trigger11=ceil(fvar(16))!=PlayerID(ceil(fvar(2))),var(26)
trigger11=fvar(16):=0||1
trigger12=PlayerID(ceil(fvar(2))),var(27)!=0
trigger12=ceil(fvar(17))!=PlayerID(ceil(fvar(2))),var(27)
trigger12=fvar(17):=0||1
trigger13=PlayerID(ceil(fvar(2))),var(28)!=0
trigger13=ceil(fvar(18))!=PlayerID(ceil(fvar(2))),var(28)
trigger13=fvar(18):=0||1
trigger14=PlayerID(ceil(fvar(2))),var(29)!=0
trigger14=ceil(fvar(19))!=PlayerID(ceil(fvar(2))),var(29)
trigger14=fvar(19):=0||1

;------------------------------------------------------------
;ライフ＆パワー
[State ];ダメージ(1〜3P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno<4
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life>lifemax*0.5
value=-ceil(PlayerID(var(23)),gethitvar(damage)/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno<4
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life=[(lifemax*0.2),(lifemax*0.5)]
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.5/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno<4
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life<lifemax*0.2
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.2/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno<4
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)>lifemax
trigger1=life<lifemax*0.2
value=-ceil(5/ifelse((var(0)&64)=0,1,3))
absolute=1
ignorehitpause=1
[State ];ダメージ(4〜6P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[4,6]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life>lifemax*0.5
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.3/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[4,6]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life=[(lifemax*0.2),(lifemax*0.5)]
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.1/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[4,6]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life<lifemax*0.2
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.05/ifelse((var(0)&64)=0,1.2,3))
absolute=1
ignorehitpause=1
[State ];発狂(1〜6P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=2
triggerall=palno<7
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
value=ifelse((life<ceil(lifemax*0.3)),-1,-10)
absolute=1
ignorehitpause=1
[State ];発狂2(1〜6P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=18
triggerall=palno<7
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax*0.5]
value=ifelse((life>lifemax*0.5),-5,ifelse((life>lifemax*0.3),-1,ifelse(random%10,0,-1)))
absolute=1
ignorehitpause=1

[State ];ダメージ(7〜10P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[7,10]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life>lifemax*0.5
trigger1=numenemy
trigger1=enemynear,life<enemynear,lifemax*0.8
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.1/ifelse((var(0)&64)=0,1,5))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[7,10]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life=[(lifemax*0.2),(lifemax*0.5)]
trigger1=numenemy
trigger1=enemynear,life<enemynear,lifemax*0.6
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.05/ifelse((var(0)&64)=0,1,5))
absolute=1
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=0
triggerall=palno=[7,10]
triggerall=PlayerIDExist(var(22))
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax]
trigger1=life<lifemax*0.2
trigger1=numenemy
trigger1=enemynear,life<enemynear,lifemax*0.3
value=-ceil((PlayerID(var(23)),gethitvar(damage))*0.01/ifelse((var(0)&64)=0,1,5))
absolute=1
ignorehitpause=1
[State ];発狂(7〜10P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=2
triggerall=palno=[7,10]
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[100,lifemax*0.6]
trigger1=!WIN
value=ifelse((life<ceil(lifemax*0.3)),-1,-3)
absolute=1
ignorehitpause=1
[State ];発狂2(7〜10P)
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&18)=18
triggerall=palno=[7,10]
triggerall=PlayerIDExist(var(23))
triggerall=numhelper(5000)
triggerall=helper(5000),numtarget>0
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[300,lifemax*0.5]
trigger1=!WIN
value=ifelse((random%10=0),-1,0)
absolute=1
ignorehitpause=1

[State ];12P
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&2)=0
triggerall=palno=12
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax*0.5]
trigger1=life>lifemax*0.55
value=-ceil(PlayerID(var(23)),gethitvar(damage)*0.4)
absolute=1
kill=0
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&2)=0
triggerall=palno=12
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax*0.5]
trigger1=life=[lifemax*0.19,lifemax*0.55]
value=-ceil(PlayerID(var(23)),gethitvar(damage)*0.1)
absolute=1
kill=0
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=palno=12
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax*0.5]
trigger1=life<=lifemax*0.19
value=-1
absolute=1
kill=0
ignorehitpause=1
[State ]
type=lifeadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=(var(0)&2)
triggerall=palno=12
triggerall=PlayerIDExist(var(23))
trigger1=roundstate=2
trigger1=PlayerID(var(23)),gethitvar(damage)=[1,lifemax*0.5]
trigger1=life>lifemax*0.19
value=ceil(ifelse((life>lifemax*0.5),(-life/2),(-life/20)))
absolute=1
kill=0
ignorehitpause=1
[State ]
type=lifeset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=palno=12
triggerall=PlayerIDExist(var(22))
trigger1=life<1
trigger2=PlayerID(var(22)),sysvar(4)=2000
value=ceil(lifemax-(PlayerID(var(22)),sysvar(4)*0.5))
ignorehitpause=1

[State ];対ファントム
type=lifeset
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=palno=12&&(var(0)&4)&&var(24)=1
triggerall=PlayerIDExist(var(22))
trigger1=life>lifemax*0.45
value=ceil(lifemax*0.45)
ignorehitpause=1

[State ]
type=varset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=sysvar(3)!=[0,130000]
sysvar(3)=130000
ignorehitpause=1
[State ]
type=varset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&4)=0
sysvar(3)=power
ignorehitpause=1
[State ]
type=varadd
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
sysvar(3)=1
ignorehitpause=1
[State ]
type=varadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=movecontact=1
trigger2=projcontact=1
sysvar(3)=50
ignorehitpause=1
[State ]
type=varadd
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numhelper(99999)
trigger1=helper(99999),gethitvar(damage)>0
sysvar(3)=helper(99999),gethitvar(damage)*20
ignorehitpause=1
[State ]
type=powerset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&6)=4
value=sysvar(3)
ignorehitpause=1
[State ]
type=powerset
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=(var(0)&2)
value=5+(random%100)
ignorehitpause=1

;------------------------------------------------------------
;その他耐性
[State ];永遠の世界
type=SelfState
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(7)!=0
value=30063
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=hitpausetime>60
value=510
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=var(14)!=gametime
trigger2=hitpausetime>0
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ignorehitpause=1

[State ];八百長阻止
type=assertspecial
triggerall=!ishelper&&name="Phantom Mizuchi Abyss"
triggerall=alive
triggerall=!lose
trigger1=stateno!=170
trigger1=stateno!=175
trigger1=stateno!=[180,182]
flag=roundnotover
ignorehitpause=1

[State ];遺体処理
type=targetstate
trigger1=!ishelper&&name="Phantom Mizuchi Abyss"
trigger1=numtarget
trigger1=roundstate=3
trigger1=target,stateno!=5150
value=5150
ignorehitpause=1
