;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;挻昁嶦媄
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; 戝恄
[Statedef 2000]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
poweradd= -1000
anim = 2000
ctrl = 0

;---------------------[嫮庛敾掕]
[state a]
type = varset
trigger1 = command = "x"
trigger1 = time = 0
v = 5
value = 0

[state a]
type = varset
trigger1 = command = "y"
trigger1 = time = 0
v = 5
value = 1


;---------------------[傾僯儊乕僔儑儞曄峏]
[state a]
type = changeanim
trigger1 = time = 0
trigger1 = var(5) = 1
value = 2001


;---------------------[僷儚乕僎乕僕尭彮,MAX娭學]
[state a];僗僷僉儍儞帪偺僎乕僕尭彮
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
value = -1000

[State -2, a];偳偙僉儍儞帪偺揰柵(幐攕)
type = palfx
triggerall = gametime %2
triggerall = time <= 10
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
time = 1
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1



;---------------------[僗僷僉儍儞]
[state a];僗僷僉儍儞MAX僎乕僕尭彮
type = varadd
trigger1 = time = 0
trigger1 = var(11) = 1
v = 8
value = -128

[state a];僗僷僉儍儞僎乕僕尭彮
type = poweradd
trigger1 = time = 0
trigger1 = var(11) = 1
value = -1000

[state a];僗僷僉儍儞僐儅儞僪敾掕弶婜壔
type = varset
trigger1 = time = 1
v = 11
value = 0

;---------------------[挻昁嶦媄墘弌]
[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy 
triggerall = palno != 12
trigger1 = animelem = 8,<=0
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 6000
sprpriority = -1
postype = p1
pos = 0,-102
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 10
anim = 6001
sprpriority = 1
postype = p1
pos = 0,-102
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 3040, 7]
type = EnvColor
trigger1 = time = 0
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = time = 3
persistent = 0
ignorehitpause = 1
time = 25
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3000,0

;---------------------[岠壥壒]
[State 2000, 6];僼僼僼僼僼僼僼
type = PlaySnd
trigger1 = Time = 0
trigger1 = var(5) = 0
value = 2000,0

[State 2000, 6];僼僢僴僢僴僢僴僢僴
type = PlaySnd
trigger1 = Time = 0
trigger1 = var(5) = 1
value = 2000,1

[State 2000, 6];僴傾僢僴僢僴僢僴僢僴僢僴
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(5) = 1
value = 2000,2

;---------------------[峌寕敾掕]
[State 800, 1]
type = HitDef
Trigger1 = p2stateno != [120,159]
Trigger1 = p2stateno != 40
trigger1 = p2statetype != A
attr = S, HT
damage = 0,0
hitflag = M
priority = 6, Miss
sparkno = -1
sprpriority = 5
p2facing = 1
p1stateno = 2005
p2stateno = 2010
p2facing = 1 
kill = 0


;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 戝恄僸僢僩
[Statedef 2005]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 8
poweradd= 0
anim = 2005
ctrl = 0

;---------------------[夋柺岠壥]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 18,<=0
ignorehitpause = 1
time = 5
value = 0,0,0
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = animelem = 7
trigger2 = animelem = 8
trigger3 = animelem = 18
ignorehitpause = 1
time = 14
value = 255,255,255
under = 3

;---------------------[僄僼僃僋僩]
[State 1000, 5]
type = Explod
trigger1 = animelem = 7
trigger2 = animelem = 8
anim = 7002
sprpriority = 7
postype = p1
pos = 50,-65
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelem = 18
anim = 7003
sprpriority = 7
postype = p1
pos = 58,-83
bindtime = 1
supermove = 1
under = 0
ownpal = 1
PauseMoveTime = 14

[State 1000, 5]
type = Explod
trigger1 = animelem = 8
anim = 2006
sprpriority = 8
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1
PauseMoveTime = 14


;---------------------[岠壥壒]
[State 2000, 6];巋偡
type = PlaySnd
trigger1 = animelem = 7
value = 2000,4

[State 2000, 6];敳偔
type = PlaySnd
trigger1 = animelem = 9
value = 240,0

[State 2000, 6];捵偡
type = PlaySnd
trigger1 = animelem = 18
value = 2000,5

[State 2000, 6];旘傋
type = PlaySnd
trigger1 = animelem = 17
value = 2000,3

;---------------------[憡庤惂屼]
[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 40,0

[state a]
type = targetstate
trigger1 = animelem = 7
value = 2011

[state a]
type = targetstate
trigger1 = animelem = 8
value = 2012

[state a]
type = targetstate
trigger1 = animelem = 18
value = 2013

[state a]
type = pause
trigger1 = animelem = 18
time = 14
movetime = 14


[state a]
type = targetlifeadd
trigger1 = animelem = 7
value = -96
kill = 0

[state a]
type = targetlifeadd
trigger1 = animelem = 8
value = -58
kill = 0

[state a]
type = targetlifeadd
trigger1 = animelem = 18
value = -192

;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤1
[Statedef 2010]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 2010

[State 1];僇儊儔屌掕
type = screenbound
trigger1 = 1
value = 1
movecamera = 1


;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤2
[Statedef 2011]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 2011

[State 1];僇儊儔屌掕
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤3
[Statedef 2012]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 820, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 2012

[State 1];僇儊儔屌掕
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤4
[Statedef 2013]
type    = A
movetype= H
physics = N
velset = -7,-7

[State 1];僇儊儔屌掕
type = null;screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 820, 1]
type = ChangeAnim
Trigger1 = Time = 0
value = 5050

[State 820, 1]
type = ChangeAnim
Trigger1 = Time = 0
trigger1 = animexist(5052) = 1
value = 5052

[State 821, 1] ;偙傟偼廳椡偙傟偼枅僼儗乕儉帠偵0.4偺椡偑壛傢傝傑偡
type = VelAdd
Trigger1 = 1
y = .3

[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy 
trigger1 = 1
value = SCA

[State 821, 3] 
type = null;SelfState
trigger1 = time = 15
value = 5050 


[State 820, 1]
type = ChangeAnim
Trigger1 = Time = 15
trigger1 = animexist(5061) = 1
value = 5061

[State 820, 1]
type = ChangeAnim
Trigger1 = Time = 15
trigger1 = animexist(5062) = 1
value = 5062

[State 821, 3] 
type = SelfState
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 


;---------------------------------------------------------------------------
; 崿
[Statedef 2100]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -2000
anim = 2100
ctrl = 0


;---------------------[僷儚乕僎乕僕尭彮,MAX娭學]
[state a];僗僷僉儍儞帪偺僎乕僕尭彮
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
value = -1000

[State -2, a];偳偙僉儍儞帪偺揰柵(幐攕)
type = palfx
triggerall = gametime %2
triggerall = time <= 10
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
time = 1
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1


;---------------------[僗僷僉儍儞]
[state a];僗僷僉儍儞MAX僎乕僕尭彮
type = varadd
trigger1 = time = 0
trigger1 = var(11) = 1
v = 8
value = -128

[state a];僗僷僉儍儞僎乕僕尭彮
type = poweradd
trigger1 = time = 0
trigger1 = var(11) = 1
value = -1000

[state a];僗僷僉儍儞僐儅儞僪敾掕弶婜壔
type = varset
trigger1 = time = 1
v = 11
value = 0

;---------------------[挻昁嶦媄墘弌]
[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy
triggerall = palno != 12
trigger1 = animelem = 7,<=0
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 6010
sprpriority = -1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 10
anim = 6011
sprpriority = 1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 3040, 7]
type = EnvColor
trigger1 = time = 0
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = time = 3
persistent = 0
ignorehitpause = 1
time = 25
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3000,0

;---------------------[岠壥壒]
[State 2000, 6];偝偁
type = PlaySnd
trigger1 = Time = 0
value = 2100,0

[State 2000, 6];柍偵娨傠偆
type = PlaySnd
trigger1 = animelem = 2
value = 2100,1

[State 2000, 6];柍偵娨傠偆
type = PlaySnd
trigger1 = animelem = 2
value = 2100,1

[State 2000, 6];偼偀
type = PlaySnd
trigger1 = animelem = 9
value = 2100,2

[State 2000, 6];岠壥壒
type = PlaySnd
trigger1 = animelem = 8
value = 2100,3

;---------------------[夋柺岠壥]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 9,<=0
ignorehitpause = 1
time = 2
value = 0,0,0
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = animelem = 9
ignorehitpause = 1
time = 2
value = 255,255,255
under = 2

;---------------------[峌寕敾掕]
;---------------------[僿儖僷乕屇傃弌偟]
[State 2900, 1];
type = helper
trigger1 = Animelem = 8
id = 2100
persistent = 0
name = "muni"
pos = -20,0
postype = P1
stateno = 2101
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



; 柍僿儖僷乕
[Statedef 2101]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 8,0
ctrl = 0
anim = 2101

;---------------------[曄悢巜掕]
[state a]
type = varset
trigger1 = time = 0
trigger1 = prevstateno != 2101
v = 14
value = 8

[state a]
type = varadd
trigger1 = movecontact = 1
v = 14
value = -1

;---------------------[柍揋張棟]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

[state 2901,1]
type = hitby
trigger1 = 1
value = SCA,NP,SP,HP
time = -1

[state 2901,1]
type = hitoverride
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 2101

;---------------------[僄僼僃僋僩]
[State 1000, 5];
type = Explod
trigger1 = movehit = 1
anim = 2110
id = 2110
sprpriority = 10
postype = p2
velset = 0,0
pos = 10,-70
bindtime = -1
supermove = 1
ignorehitpause = 1
facing = -1
under = 0

[State 1000, 5];
type = Explod
trigger1 = moveguarded = 1
anim = 1015
id = 2110
sprpriority = 10
postype = p2
velset = 0,0
pos = 10,-70
bindtime = 1
supermove = 1
ignorehitpause = 1
facing = -1
under = 0

;---------------------[懍搙巜掕]
[state a]
type = velset
trigger1 = movecontact = 1
trigger2 = p2Dist X <=0
x = 0

[state a]
type = velset
trigger1 = movecontact = 5
x = 8

;---------------------[峌寕偺巜掕]
[State 2];峌寕偺巜掕
type = HitDef
trigger1 = time = 0
trigger2 = movehit = 10
trigger3 = moveguarded = 8
attr = S, HP
animtype  = hard
damage    = 67 - var(14)*2,10
getpower = 0,0
guardflag = MA
numhits = 1
pausetime = 0,6
guard.pausetime = 0,8
sparkno = -1;s7002
sparkxy = -17,0
hitsound   = s190,2
guard.sparkno = -1;s7012
guardsound = s190,2
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-6
air.velocity = -8,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ID = 1200


;---------------------[徚柵]
[state a]
type = destroyself
trigger1 = time = 100
trigger2 = var(14) <= 0


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


;---------------------------------------------------------------------------
; 丠丠丠丠丠丠丠丒媧偄婑偣
[Statedef 2300]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -1000
anim = 2300
ctrl = 0

[state 2300, 1]
type = varadd
trigger1 = time = 0
var(36) = -1000
ignorehitpause = 1

;---------------------[挻昁嶦媄墘弌]
[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy 
trigger1 = 1
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 6000
sprpriority = -1
postype = p1
pos = 1,-129
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 10
anim = 6001
sprpriority = 1
postype = p1
pos = 1,-129
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 3040, 7]
type = EnvColor
trigger1 = time = 0
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = time = 3
persistent = 0
ignorehitpause = 1
time = 30
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3000,0

;---------------------[岠壥壒]
;---------------------[峌寕敾掕]
;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 2301



; 丠丠丠丠丠丠丒媧偄婑偣丒峌寕
[Statedef 2301]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
anim = 2301
ctrl = 0

;---------------------[挻昁嶦媄墘弌]
[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy 
triggerall = palno != 12
trigger1 = time <= 40
value = SCA

;---------------------[僄僼僃僋僩]
;---------------------[岠壥壒]
[State 2000, 6];壒妝
type = PlaySnd
trigger1 = Time = 0
value = 2300,0


;---------------------[僿儖僷乕屇傃弌偟]
[State 2900, 1];
type = helper
trigger1 = time = 0
id = 2320
persistent = 0
name = "kabe1"
pos = -10,0
postype = p2
stateno = 2320
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[曄悢巜掕]
[state a]
type = varset
trigger1 = time = 0
v = 19
value = 255

[state a]
type = varadd
trigger1 = var(19) >= 128
;trigger1 = 
v = 19
value = -3

;---------------------[攚宨]
[State 3040, 7]
type = BGPalfx
trigger1 = 1;animelem = 24,<=0
;persistent = 0
ignorehitpause = 1
time = 1
mul = var(19),var(19),var(19)
under = 2

;---------------------[峌寕敾掕]
[State 800, 1];偄偭偦慡僇儔乕傪
type = Projectile;HitDef
Trigger1 = p2stateno != 40
trigger1 = p2statetype != A
attr = S, HT
damage = 0,0
hitflag = M
projanim = 99018;---
projhitanim = -1
projid = 99018
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0;---
priority = 6, Miss
sparkno = -1
sprpriority = 5
p2facing = 1
p1stateno = 2310
p2stateno = 2010
p2facing = 1 
kill = 0

;---------------------[杊屼偺嫍棧偺曄峏]
[State 1000, 0]
type = AttackDist
trigger1 = time = 0
value = 0



;---------------------[廔椆]
[state a]
type = changestate
trigger1 = time = 170
value = 2302


; 丠丠丠丠丠丠丒媧偄婑偣丒廔椆
[Statedef 2302]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 2302
ctrl = 0

;---------------------[曄悢巜掕]
[state a]
type = null;varset
trigger1 = time = 0
v = 19
value = 255

[state a]
type = varadd
trigger1 = var(19) <= 254
;trigger1 = 
v = 19
value = 5

;---------------------[攚宨]
[State 3040, 7]
type = BGPalfx
trigger1 = 1;animelem = 24,<=0
;persistent = 0
ignorehitpause = 1
time = 1
mul = var(19),var(19),var(19)
under = 2


;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



;---------------------------------------------------------------------------
; 戝恄僸僢僩
[Statedef 2310]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 8
poweradd= 0
anim = 2310
ctrl = 0

;---------------------[曄悢巜掕]
[state a]
type = varadd
trigger1 = var(19) > 5
trigger1 = animelem = 10,<=0
v = 19
value = -5

[state a]
type = varadd
trigger1 = var(19) <= 254
trigger1 = animelem = 19,>=0
v = 19
value = 5

;---------------------[攚宨]
[State 3040, 7]
type = BGPalfx
trigger1 = 1;animelem = 24,<=0
;persistent = 0
ignorehitpause = 1
time = 1
mul = var(19),var(19),var(19)
under = 2

;---------------------[僄僼僃僋僩]
[State 1020, 4];夋柺僔僃僀僋
type = EnvShake
trigger1 = animelem = 7
trigger2 = animelem = 18
time = 15
ampl = -12
freq = 95
phase = 95

[State 3040, 7]
type = EnvColor
trigger1 = animelem = 7
trigger2 = animelem = 18
;persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 1000, 5]
type = Explod
trigger1 = animelem = 7
anim = 7002
sprpriority = 9
postype = p1
pos = 50,-65
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelem = 18
anim = 7003
sprpriority = 7
postype = p1
pos = 58,-83
bindtime = 1
supermove = 1
under = 0
ownpal = 1
PauseMoveTime = 14

[State 1000, 5]
type = Explod
trigger1 = animelem = 8
anim = 2311
sprpriority = 8
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1
PauseMoveTime = 14


;---------------------[岠壥壒]
[State 2000, 6];偼偐側偄傕偺偩
type = null;PlaySnd
trigger1 = animelem = 16
value = 2000,3

[State 2000, 6];巋偡
type = PlaySnd
trigger1 = animelem = 7
value = 2300,2

[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 1
value = 2000,0
volume = 255

[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 17
value = 2000,3
volume = 255

[State 2000, 6];捵偡
type = PlaySnd
trigger1 = animelem = 18
value = 2300,3

;---------------------[憡庤惂屼]
[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 40,0

[state a]
type = targetstate
trigger1 = animelem = 7
value = 2011

[state a]
type = targetstate
trigger1 = animelem = 8
value = 2012

[state a]
type = targetstate
trigger1 = animelem = 18
value = 2013

[state a]
type = pause
trigger1 = animelem = 18
time = 14
movetime = 14


[state a]
type = targetlifeadd
trigger1 = animelem = 7
value = -96
kill = 0

[state a]
type = targetlifeadd
trigger1 = animelem = 8
value = -58
kill = 0

[state a]
type = targetlifeadd
trigger1 = animelem = 18
value = -300

;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



;暻僿儖僷乕
[Statedef 2320]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 2320

;---------------------[柍揋張棟]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[捛偄墇偝傟偨偲偒]
[state a]
type = posset
trigger1 = p2Dist X < 0
x = enemy,pos x

[state a]
type = posset
trigger1 = p2Dist X > 100
x = enemy,pos x


[state a]
type = posadd
trigger1 = pos x = enemy,pos x
x = -10



;---------------------[墴偟栠偟敾掕]
[State 1000, 0]
type = PlayerPush
trigger1 = 1
value = 1

;---------------------[懍搙巜掕]
[State 1000, 0]
type = velset
trigger1 = 1
x = 2

;---------------------[徚柵]
[state a]
type = destroyself
trigger1 = root,stateno != 2301




;---------------------------------------------------------------------------
; 丠丠丠丠丠丠丠丠丒僆儘僠MAX挻
[Statedef 2400]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -2000
anim = 2400
ctrl = 0


;---------------------[嫮庛敾掕]
[state a]
type = varset
trigger1 = command = "x"
trigger1 = time = 0
v = 5
value = 0

[state a]
type = varset
trigger1 = command = "y"
trigger1 = time = 0
v = 5
value = 1

;---------------------[曄悢巜掕]
[state a]
type = varset
trigger1 = time = 0
v = 20
value = 0

;---------------------[挻昁嶦媄墘弌]
[State 1];柍揋偺忬懺傪嶌傞
type = NotHitBy
triggerall = palno != 12
trigger1 = animelem = 8,<=0
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 24
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 24
anim = 6010
sprpriority = -1
postype = p1
pos = -31,-112
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 34
anim = 6011
sprpriority = 1
postype = p1
pos = -31,-112
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 3040, 7]
type = EnvColor
trigger1 = time = 24
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = time = 27
persistent = 0
ignorehitpause = 1
time = 30
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 24
value = 3000,0

;---------------------[岠壥壒]
[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 7
value = 801,1


;---------------------[僄僼僃僋僩]
[State 3040, 7]
type = EnvColor
trigger1 = time >= 27
ignorehitpause = 1
time = 5
value = 0,0,0
under = 2

;---------------------[僿儖僷乕屇傃弌偟]
[State 2900, 1];
type = helper
trigger1 = animelem = 7
id = 2401
persistent = 0
name = "???"
pos = 100+var(5)*100,-93
postype = p1
stateno = 2401
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[廔椆]
[state a]
type = changestate
trigger1 = var(20) = 1
value = 2405

[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


; 丠丠丠丠丠丠丠丠丒僆儘僠MAX挻丒惉岟
[Statedef 2405]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= 0
anim = 2405
sprpriority = 35
ctrl = 0


;---------------------[僄僼僃僋僩]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 11,<=0
;persistent = 0
ignorehitpause = 1
time = 3
value = 0,0,0
under = 2

;---------------------[岠壥壒]
[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 9
value = 2300,1

;---------------------[廔椆]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1







;嬀(?)僿儖僷乕
[Statedef 2401]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 2401

;---------------------[柍揋張棟]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[峌寕偺巜掕]
[State 2];峌寕偺巜掕
type = HitDef
trigger1 = time = 0
attr = S, HP
animtype  = hard
damage    = 0,0
getpower = 0,0
hitflag = MA
guardflag = N
numhits = 1
pausetime = 0,6
guard.pausetime = 0,8
sparkno = s7002
sparkxy = 0,0
hitsound   = s240,0
guard.sparkno = s7012
guardsound = s190,2
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0,0
air.velocity = 0,0
fall = 1
air.fall = 1
fall.recover = 0
p1stateno = 2410
p2stateno = 2415

;---------------------[徚柵]
[state a]
type = destroyself
trigger1 = animtime = 0



;嬀(?)僿儖僷乕廔椆
[Statedef 2410]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
sprpriority = 15
ctrl = 0
anim = 2410

;---------------------[曄悢巜掕]
[state a]
type = parentvarset
trigger1 = time = 0
v = 20
value = 1

;---------------------[岠壥壒]
[State 2000, 6]
type = PlaySnd
trigger1 = animtime = 0
value = 2300,3

;---------------------[柍揋張棟]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[僄僼僃僋僩]
[State 3040, 7]
type = EnvColor
trigger1 = time = 0
trigger2 = animtime = 0
;persistent = 0
ignorehitpause = 1
time = 5
value = 255,255,255
under = 0

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 2411
sprpriority = 25
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1020, 4];夋柺僔僃僀僋
type = EnvShake
trigger1 = animtime = 0
time = 25
ampl = -12
freq = 95
phase = 95

;---------------------[憡庤惂屼]
[State 801, 2]
type = TargetBind
trigger1 = time = 0
pos = 0,0

[State 801, 2]
type = Targetstate
trigger1 = animtime = 0
value = 2416

[State 801, 2]
type = Targetlifeadd
trigger1 = animtime = 0
value = -600

;---------------------[徚柵]
[state a]
type = destroyself
trigger1 = animtime = 0


;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤
[Statedef 2415]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 20

[State 820, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 2415

[State 1];僇儊儔屌掕
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;搳偘傜傟偰偄傞憡庤2
[Statedef 2416]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 700, 2];柍揋偺忬懺傪嶌傞
type = NotHitBy
trigger1 = 1
value = SCA

[State 820, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 2416

[State 1];僇儊儔屌掕
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[state a]
type = velset
trigger1 = animelem = 1
x = -.5
y = -12

[State 821, 1] ;偙傟偼廳椡偙傟偼枅僼儗乕儉帠偵0.4偺椡偑壛傢傝傑偡
type = VelAdd
Trigger1 = 1;animelem = 3,>= 0
y = .4

[State 821, 3] 
type = SelfState
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100

;----------------------------------------
;儅僀儞僪僔儑僢僋
[Statedef 10000]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -2000
anim = 10000
ctrl = 0

[state 210, 1]
type = varadd
triggerall = palno = [11,12]
trigger1 = time = 0
var(36) = -2000
ignorehitpause = 1

[State 860, 4]
type = PowerAdd
triggerall = palno != [11,12]
trigger1 = time = 0
value = -2000

[state 210, 1]
type = varadd
triggerall = palno != [11,12]
trigger1 = time = 0
var(36) = -4000
ignorehitpause = 1

[State 1]
type = NotHitBy 
trigger1 = 1
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 6010
sprpriority = -1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 10
anim = 6011
sprpriority = 1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 3040, 7]
type = EnvColor
trigger1 = time = 0
persistent = 0
ignorehitpause = 1
time = 3
value = 255,255,255
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = time = 3
persistent = 0
ignorehitpause = 1
time = 25
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3000,0

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3500,10

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3500,8
volume = 250

[State 2000, 6]
type = PlaySnd
triggerall = palno != 12 
trigger1 = Time = 0
value = 2000,3

[State 2000, 6]
type = PlaySnd
triggerall = palno = 12 
trigger1 = Time = 0
value = 290,0

[State 3040, 7]
type = EnvColor
trigger1 = animelem = 9,<=0
ignorehitpause = 1
time = 2
value = 0,0,0
under = 2

[State 3040, 7]
type = EnvColor
trigger1 = animelem = 9
ignorehitpause = 1
time = 2
value = 255,255,255
under = 2

[state a]
type = changestate
trigger1 = animtime = 0
value = 10001

;-----------------------------------------
;峌寕
;-----------------------------------------
[Statedef 10001]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 10001
ctrl = 0

[State 23000]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 23000]
type = AssertSpecial
trigger1 = 1
flag = nokoslow
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 23000]
type = EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = time = 0
value = 2300,0
volume = 255

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 0 || Time = 60 || Time = 120 || Time = 180 || Time = 240
value = 3500,0
volume = 255

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 0 || Time = 60 || Time = 120 || Time = 180 || Time = 240
value = 3500,1
volume = 255

[State 11001]
type = EnvShake
trigger1 = Time = 0
time = 7
ampl = -7
freq = 95
phase = 95

[State 11001]
type = EnvShake
trigger1 = Time = 60
time = 8
ampl = -8
freq = 95
phase = 95

[State 11001]
type = EnvShake
trigger1 = Time = 120
time = 9
ampl = -9
freq = 95
phase = 95

[State 11001]
type = EnvShake
trigger1 = Time = 180
time = 10
ampl = -10
freq = 95
phase = 95

[State 11001]
type = EnvShake
trigger1 = Time = 240
time = 11
ampl = -11
freq = 95
phase = 95

[State 23000];僄僼僃僋僩1
type = Explod
trigger1 = Time = 0
anim = 10010
id = 10010
sprpriority = 999999999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
removetime = 210
under = 1
ownpal = 1
ontop = 1
trans = add

[State 23000];峌寕僄僼僃僋僩
type = Explod
trigger1 = Time = 60
anim = 10010
id = 10010
sprpriority = 999999999
postype = back
pos = 50,-70
bindtime = -1
supermove = 0
removetime = 150
under = 1
ownpal = 1
ontop = 1
trans = add
scale = 1.5,1.5
;facing = -1

[State 23000];峌寕僄僼僃僋僩
type = Explod
trigger1 = Time = 120
anim = 10010
id = 10010
sprpriority = 999999999
postype = back
pos = -80,-10
bindtime = -1
supermove = 0
removetime = 90
under = 1
ownpal = 1
ontop = 1
trans = add
scale = 1.5,1.5
;vfacing = -1

[State 23000];峌寕僄僼僃僋僩
type = Explod
trigger1 = Time = 180
anim = 10010
id = 10010
sprpriority = 999999999
postype = back
pos = -180,-70
bindtime = -1
supermove = 0
removetime = 30
under = 1
ownpal = 1
ontop = 1
trans = add
scale = 1.5,1.5
;facing = -1
;vfacing = -1

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1
pausemovetime = 999999999999999
supermovetime = 999999999999999

[State 2]
type = AssertSpecial
trigger1 = 1
flag = nokoslow

[State 1]
type = NotHitBy 
trigger1 = 1
value = SCA

[State 3040, 7]
type = EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2


[State 2616]
type = Projectile
triggerall = palno = [11,12]
triggerall =var(14)=2&&var(20)=3&&var(21)=4&&var(22)=5&&var(23)=6&&var(24)=7&&var(25)=8&&var(26)=9&&var(27)=0&&var(28)=1&&var(29)=2&&var(30)=3&&var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
trigger1 = (GameTime%7) = 1
attr = A, NA
projanim = 300600;1000000
projhitanim = -1
projid = 300600;1000000
projpriority = 999999999999999999999999999999999
projsprpriority = 9999999999999999999999999999999
projremove = 0;1
projremovetime = 5
postype = p2
offset = 0,-50
velocity = 0
animtype  = hard
damage    = 35,7
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
sparkno = -1
sparkxy = -10,floor(enemy,pos y)-60
hitsound   = s2,15
guard.sparkno = -1
guardsound = s1,1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0;-2
fall = 1
air.fall = 1
fall.recover = 1;0
;p2stateno = 30200;26350

[State 2616]
type = Projectile
triggerall = palno = [11,12]
triggerall = (GameTime%7) = 1
triggerall = numprojid(110101000) = 0
trigger1 = var(32) >= 1201
trigger2 = var(38) >= 1851
trigger3 = var(38) <= -1
trigger4 = var(6) >= 3 || var(6) < 0
trigger5 = var(8) >= 1000
trigger6 = var(10) >= 3 || var(10) < 0
trigger7 = var(12) >= 2 || var(12) < 0
trigger8 = var(14) != 2
trigger9 = var(20) != 3 || var(21) != 4 || var(22) != 5 || var(23) != 6 || var(24) != 7 || var(25) != 8
trigger10 = var(26) != 9 || var(27) != 0 || var(28) != 1 || var(29) != 2 || var(30) != 3 || var(39) != 4
trigger11 = var(37) < 0
trigger12 = var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0
trigger13 = var(46) != 1 || var(47) != 2 || var(48) != 3 || var(49) != 4 || var(50) != 5 || var(51) != 6
trigger14 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger15 = fvar(4) != 1 || fvar(5) != 2 || fvar(6) != 3 || fvar(7) != 4 || fvar(8) != 5
trigger16 = fvar(9) != 6 || fvar(10) != 7 || fvar(11) != 8 || fvar(12) != 9 || fvar(13) != 0 || fvar(14) != 1
trigger17 = fvar(15) != 2 || fvar(16) != 3 || fvar(17) != 4 || fvar(18) != 5 || fvar(19) != 6 || fvar(20) != 7
trigger18 = fvar(21) != 8 || fvar(22) != 9 || fvar(23) != 0 || fvar(24) != 1 || fvar(25) != 2 || fvar(26) != 3
trigger19 = fvar(27) != 4 || fvar(28) != 5 || fvar(29) != 6 || fvar(30) != 7 || fvar(31) != 8 || fvar(32) != 9
trigger20 = fvar(33) != 0 || fvar(34) != 1 || fvar(35) != 2 || fvar(36) != 3 || fvar(37) != 4 || fvar(38) != 5
trigger21 = fvar(39) != 6
attr = A, NA
projanim = 1101010
projhitanim = -1
projid = 110101000
projpriority = 999999999999999999999999999999999
projsprpriority = 9999999999999999999999999999999
projremove = 0;1
projremovetime = 5
postype = p2
offset = 0,-50
velocity = 0
animtype  = hard
damage    = 35,7
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
sparkno = -1
sparkxy = -10,floor(enemy,pos y)-60
hitsound   = s2,15
guard.sparkno = -1
guardsound = s1,1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0;-2
fall = 1
air.fall = 1
fall.recover = 1;0
;p2stateno = 30200;26350

[State 2616]
type = Projectile
triggerall = palno != [11,12]
trigger1 = Time = 0 || Time = 60 || Time = 120 || Time = 180 || Time = 240
attr = A, NA
projanim = 100000
projhitanim = -1
projid = 100000
projpriority = 9999999999
projsprpriority = 5
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 50,5;------
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 30,30;0,5
guard.pausetime = 0,5
sparkno = -1
sparkxy = -10,floor(enemy,pos y)-60
hitsound   = s2,15
guard.sparkno = -1
guardsound = s1,1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,-2
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 10050

[State 1]
type = AttackDist
trigger1 = palno = [11,12]
value = 0

[State 1]
type = ReversalDef
triggerall = fvar(2)=1&&palno=[11,12]
trigger1 = time <= 190
reversal.attr = SCA,AT,AA,AP
hitflag = M-
priority = 7
pausetime = 0,10
numhits = 0
sparkno = -1
hitsound = -1
p2stateno = 30201

[State 1]
type = ReversalDef
triggerall = fvar(2)!=1&&palno=[11,12]
trigger1 = time <= 190
reversal.attr = SCA,AT,AA,AP
hitflag = M-
priority = 7
pausetime = 0,10
numhits = 0
sparkno = -1
hitsound = -1
p2stateno = 3020100

[state 1]
type = targetstate
triggerall = fvar(2)=1&&palno = [11,12]
trigger1 = time = 190
trigger2 = win
value = 30201


[state 1]
type = targetstate
triggerall = fvar(2)!=1&&palno = [11,12]
trigger1 = time = 190
trigger2 = win
value = 3020100

[State 23000]
type = AttackDist
triggerall = palno != [11,12]
trigger1 = 1
value = 0

[state 23000]
type = changestate
trigger1 = time >= 210
value = 10002

;---------------------------------------------------------------------------
;廔椆
;---------------------------------------------------------------------------

[Statedef 10002]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 10002
ctrl = 0

[State 23001]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

[State 1]
type = NotHitBy 
trigger1 = 1
value = SCA

[state 23001]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

;--------------------------------------------
[Statedef 10050]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[state 26350]
type = destroyself
trigger1 = ishelper

[State 26350]
type = null;lifeset
trigger1 = time = 0
ignorehitpause = 1
value = life - (Ceil(((random<=20)*0.2) * Const(data.life)))

[State 26350]
type = null;defencemulset
trigger1 = time <= 0
time = 999999
value = 3.5
ignorehitpause = 1


[State 26350]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 26350]
type = ChangeAnim
Trigger1 = Time = 0
value = 5070

[state 1]
type = changestate
trigger1 = time > 600
value = 30201

[State 26350]
type = Trans
trigger1 = 1
trans = add1
alpha = 80,256



[Statedef 30201]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[State 30201]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = life < lifemax/3
ignorehitpause = 1
value = 0

[State 30201]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0


[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
value = 0

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
fvalue = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(1) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(2) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(3) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(9) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(20) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(21) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(23) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(39) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(40) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(41) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(42) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(43) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(44) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(45) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(46) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(47) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(48) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(49) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(50) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(51) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(52) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(53) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(54) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(55) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(56) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(57) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(58) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(59) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(9) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(20) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(21) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(23) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(39) = 0


[State 30201]
type = AssertSpecial
trigger1 = ishelper
flag = invisible

[State 30201]
type = PlayerPush
trigger1 = 1
value = -1

[State 30201]
type = NotHitBy
trigger1 = 1
value = SCA

[State 30201]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 30201]
type = ChangeAnim
Trigger1 = Time = 0
value = 5070

[State 30201]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 30201]
type = destroyself
trigger1 = ishelper&&time>=1

[State 30201] 
type = changestate
trigger1 = !ishelper&&time >= 8
value = 30202

;---------------------------------------------------------------------------
[Statedef 30202]
type    = A
movetype= H
physics = N
sprpriority = 4

[state 30202]
type = destroyself
trigger1 = ishelper

[State 30202]
type = null;lifeset
trigger1 = time = 0
ignorehitpause = 1
value = life - (Ceil(0.035 * Const(data.life)))

[State 30202]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = life <= (Ceil(0.01 * Const(data.life)))
ignorehitpause = 1
value = 0

[State 30202]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 30202]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
value = 0

[State 30202]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
fvalue = 0

[State 30202]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(1) = 0

[State 30202]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(2) = 0

[State 30202]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(3) = 0

[State 30202]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(4) = 0

[State 30202]
type = PlayerPush
trigger1 = 1
value = -1

[State 30202]
type = NotHitBy
trigger1 = 1
value = SCA

[State 30202]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 30202]
type = ChangeAnim
trigger1 = time = 0
value = 5050

[state 30202]
type = velset
trigger1 = time = 0
x = IfElse((p2dist x< 0 ),3.32,-3.32)
y = -2.8

[State 30202]
type = VelAdd
Trigger1 = time > 0
y = .39

[State 30202]
type = selfstate
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100



[Statedef 3020100]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[State 30201]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = life < lifemax/3
ignorehitpause = 1
value = 0

[State 30201]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 30201]
type = AssertSpecial
trigger1 = ishelper
flag = invisible

[State 30201]
type = PlayerPush
trigger1 = 1
value = -1

[State 30201]
type = NotHitBy
trigger1 = 1
value = SCA

[State 30201]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 30201]
type = ChangeAnim
Trigger1 = Time = 0
value = 5070

[State 30201]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 30201]
type = destroyself
trigger1 = ishelper&&time>=1

[State 30201] 
type = changestate
trigger1 = !ishelper&&time >= 8
value = 3020200


[Statedef 3020200]
type    = A
movetype= H
physics = N
sprpriority = 4

[state 30202]
type = destroyself
trigger1 = ishelper

[State 30202]
type = null;lifeset
trigger1 = time = 0
ignorehitpause = 1
value = life - (Ceil(0.035 * Const(data.life)))

[State 30202]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = life <= (Ceil(0.01 * Const(data.life)))
ignorehitpause = 1
value = 0

[State 30202]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 30202]
type = PlayerPush
trigger1 = 1
value = -1

[State 30202]
type = NotHitBy
trigger1 = 1
value = SCA

[State 30202]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 30202]
type = ChangeAnim
trigger1 = time = 0
value = 5050

[state 30202]
type = velset
trigger1 = time = 0
x = IfElse((p2dist x< 0 ),3.32,-3.32)
y = -2.8

[State 30202]
type = VelAdd
Trigger1 = time > 0
y = .39

[State 30202]
type = selfstate
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100


;--------------------------------
;儅僀儞僪僋儔僢僔儏
[Statedef 11000]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -4000
anim = 11000
ctrl = 0

[state 210, 1]
type = varadd
triggerall = palno = [11,12]
trigger1 = time = 0
var(36) = -4000
ignorehitpause = 1

[State 860, 4]
type = PowerAdd
triggerall = palno != [11,12]
trigger1 = time = 0
value = -2000

[state 210, 1]
type = varadd
triggerall = palno != [11,12]
trigger1 = time = 0
var(36) = -6000
ignorehitpause = 1

[State 1]
type = NotHitBy 
trigger1 = 1
value = SCA

[State 2000, 2]
type = SuperPause
trigger1 = time = 0
time = 28
movetime = 28
anim = -1

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 6010
sprpriority = -1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = Time = 10
anim = 6011
sprpriority = 1
postype = p1
pos = -1,-138
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 23000]
type = EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3000,0

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 1
value = 3500,10

;---------------------[岠壥壒]
[State 2000, 6];偝偁
type = PlaySnd
trigger1 = Time = 0
value = 2000,0

[state a]
type = changestate
trigger1 = animtime = 0
value = 11001

;------------------------------------
[Statedef 11001]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 11001
ctrl = 0

[State 11001]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 11001]
type = AssertSpecial
trigger1 = 1
flag = nokoslow
ignorehitpause = 1
SuperMoveTime = 999999
PauseMoveTime = 999999

[State 11001]
type = NotHitBy 
trigger1 = 1
value = SCA

[State 11001]
type = null;EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2

[State 11001]
type = PlaySnd
trigger1 = Time = 0
value = 2000,1
volume = 250

[State 11001]
type = PlaySnd
trigger1 = Time = 60
value = 2000,2
volume = 250

[State 11001]
type = PlaySnd
trigger1 = Time = 0||Time = 10||Time = 20
value = 3500,0
volume = 250

[State 11001]
type = PlaySnd
trigger1 = Time = 60
value = 2300,2
volume = 250

[State 191, 3]
type = PlaySnd
trigger1 = Time = 70
value = 11,0
freqmul = 0.7+((random%2)*0.1)

[State 191, 3]
type = PlaySnd
trigger1 = Time = 72
value = 11,0
freqmul = 1.5+((random%2)*0.1)

[State 11001]
type = PlaySnd
trigger1 = Time = 0
value = 3500,1
volume = 250

[State 11001]
type = PlaySnd
trigger1 = Time = 40
value = 3500,8
volume = 250

[State 11001]
type = null;PlaySnd
trigger1 = Time = 60
value = 3500,2
volume = 250

[State 11001]
type = PlaySnd
trigger1 = Time = 100
value = 2300,0
volume = 250

[State 11001]
type = allpalfx
triggerall = stateno = 11001
trigger1 = time = [95,370]
trigger1 = GameTime%60 = 0
mul = 100,0,0
add = 100,0,0
sinadd = -220,0,0,60
time = 60
color = 150
invertall = 1
ignorehitpause = 1

[State 11001]
type = EnvShake
trigger1 = Time = 0 || Time = 10 || Time = 20
time = 7
ampl = -7
freq = 95
phase = 95

[State 11001]
type = EnvShake
trigger1 = Time = 60
time = 13
ampl = -13
freq = 95
phase = 95

[State 11001];僈儔僗
type = Explod
trigger1 = Time = 0
anim = 10010
id = 10010
sprpriority = 3
postype = back
pos = 0,0
bindtime = -1
supermove = 0
removetime = 240;60
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001];僈儔僗
type = Explod
trigger1 = Time = 10
anim = 10010
id = 10010
sprpriority = 4
postype = back
pos = -80,0
bindtime = -1
supermove = 0
removetime = 230;50
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001];僈儔僗
type = Explod
trigger1 = Time = 20
anim = 10010
id = 10010
sprpriority = 5
postype = back
pos = 100,0
bindtime = -1
supermove = 0
removetime = 220;40
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001]
type = Explod
trigger1 = Time = 60
anim = 310010
id = 310010
sprpriority = 999999999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001]
type = Explod
trigger1 = Time = 60
anim = 310010
id = 310010
sprpriority = 999999999
postype = back
pos = -50,-30
bindtime = -1
supermove = 0
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11332]
type = RemoveExplod
trigger1 = animtime = 200
ID = 310010

[State 11001]
type = Explod
trigger1 = Time = 60
anim = 310011
id = 310011
sprpriority = 9999999999999999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
removetime = 50
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001]
type = Explod
trigger1 = Time = 120
anim = 310012
id = 310012
sprpriority = 999999999999999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
removetime = 260
under = 1
ownpal = 1
ontop = 1
trans = add

[State 11001];峌寕僄僼僃僋僩
type = null;Explod
trigger1 = Time = 60
anim = 110010
id = 110010
sprpriority = 999999999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
removetime = 220
under = 0
ownpal = 1
ontop = 1
trans = add

[State 11001]
type = NotHitBy 
trigger1 = 1
value = SCA

[State 11001]
type = null;EnvShake
trigger1 = (GameTime%4) = 1
time = 5
ampl = -5
freq = 95
phase = 95

[State 11001]
type = Projectile
triggerall = palno = [11,12]
triggerall = fvar(2)=1
triggerall =var(14)=2&&var(20)=3&&var(21)=4&&var(22)=5&&var(23)=6&&var(24)=7&&var(25)=8&&var(26)=9&&var(27)=0&&var(28)=1&&var(29)=2&&var(30)=3&&var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
trigger1 = (GameTime%3) = 1
attr = S, NA
projanim = 100010
projhitanim = -1
projid = 100010
projpriority = 9999999999
projsprpriority = 5
projremove = 1
projremovetime = 2
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 21474836
getpower = 0,0
givepower = -99999999999
hitflag = MAFD
guardflag = 
pausetime = 9,5
guard.pausetime = 9,5
sparkno = -1
sparkxy = 40,-74
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 154000


[State 11001]
type = Projectile
triggerall = palno=[11,12]
triggerall = fvar(2)=1
triggerall = (GameTime%3) = 1
triggerall = numprojid(1101011) = 0
trigger1 = var(32) >= 1201
trigger2 = var(38) >= 1851
trigger3 = var(38) <= -1
trigger4 = var(6) >= 3 || var(6) < 0
trigger5 = var(8) >= 1000
trigger6 = var(10) >= 3 || var(10) < 0
trigger7 = var(12) >= 2 || var(12) < 0
trigger8 = var(14) != 2
trigger9 = var(20) != 3 || var(21) != 4 || var(22) != 5 || var(23) != 6 || var(24) != 7 || var(25) != 8
trigger10 = var(26) != 9 || var(27) != 0 || var(28) != 1 || var(29) != 2 || var(30) != 3 || var(39) != 4
trigger11 = var(37) < 0
trigger12 = var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0
trigger13 = var(46) != 1 || var(47) != 2 || var(48) != 3 || var(49) != 4 || var(50) != 5 || var(51) != 6
trigger14 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger15 = fvar(4) != 1 || fvar(5) != 2 || fvar(6) != 3 || fvar(7) != 4 || fvar(8) != 5
trigger16 = fvar(9) != 6 || fvar(10) != 7 || fvar(11) != 8 || fvar(12) != 9 || fvar(13) != 0 || fvar(14) != 1
trigger17 = fvar(15) != 2 || fvar(16) != 3 || fvar(17) != 4 || fvar(18) != 5 || fvar(19) != 6 || fvar(20) != 7
trigger18 = fvar(21) != 8 || fvar(22) != 9 || fvar(23) != 0 || fvar(24) != 1 || fvar(25) != 2 || fvar(26) != 3
trigger19 = fvar(27) != 4 || fvar(28) != 5 || fvar(29) != 6 || fvar(30) != 7 || fvar(31) != 8 || fvar(32) != 9
trigger20 = fvar(33) != 0 || fvar(34) != 1 || fvar(35) != 2 || fvar(36) != 3 || fvar(37) != 4 || fvar(38) != 5
trigger21 = fvar(39) != 6
attr = S, NA
projanim = 1101010;11010100
projhitanim = -1
projid = 1101011
projpriority = 9999999999999999999
projsprpriority = 5
projremove = 1
projremovetime = 2
postype = p2;back
offset = 0,-50;160,-90
velocity = 0
animtype  = hard
damage    = 80
getpower = 0,0
givepower = -9999999999999999999999
hitflag = MAFD
guardflag = 
pausetime = 9,5
guard.pausetime = 9,5
sparkno = -1
sparkxy = 40,-74
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 154000


[State 11001]
type = Projectile
triggerall = palno != [11,12]
trigger1 = (GameTime%3) = 1
attr = S, NA
projanim = 100010
projhitanim = -1
projid = 100010
projpriority = 9999999999
projsprpriority = 5
projremove = 1
projremovetime = 2
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 21474836
getpower = 0,0
givepower = -99999999999
hitflag = MAFD
guardflag = M
pausetime = 9,5
guard.pausetime = 9,5
sparkno = -1
sparkxy = 40,-74
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 154000


[State 11001]
type = AttackDist
trigger1 = palno= [11,12]
value = 0

[State 11001]
type = targetstate
triggerall = palno=[11,12]
triggerall = fvar(2)=1
trigger1 = time >= 180
value = 154000

[State 11001]
type = ReversalDef
triggerall = palno=[11,12]
triggerall = fvar(2)=1
trigger1 = time = [55,380]
reversal.attr = SCA,AT,AA,AP
hitflag = M-
priority = 7
pausetime = 0,10
numhits = 0
sparkno = -1
hitsound = -1
p2stateno = 154001



[State 11001]
type = targetstate
triggerall = palno=[11,12]
triggerall = fvar(2)!=1
trigger1 = time >= 180
value = 15400000

[State 11001]
type = ReversalDef
triggerall = palno=[11,12]
triggerall = fvar(2)!=1
trigger1 = time = [55,380]
reversal.attr = SCA,AT,AA,AP
hitflag = M-
priority = 7
pausetime = 0,10
numhits = 0
sparkno = -1
hitsound = -1
p2stateno = 15400100


[State 11001]
type = Projectile
triggerall = palno=[11,12]
triggerall = fvar(2)!=1
triggerall =var(14)=2&&var(20)=3&&var(21)=4&&var(22)=5&&var(23)=6&&var(24)=7&&var(25)=8&&var(26)=9&&var(27)=0&&var(28)=1&&var(29)=2&&var(30)=3&&var(39)=4&&var(40)=5&&var(41)=6&&var(42)=7&&var(43)=8&&var(44)=9&&var(45)=0&&var(46)=1
triggerall =var(47)=2&&var(48)=3&&var(49)=4&&var(50)=5&&var(51)=6&&var(52)=7&&var(53)=8&&var(54)=9&&var(55)=0&&var(56)=1&&var(57)=2&&var(58)=3&&fvar(4)=1&&fvar(5)=2&&fvar(6)=3&&fvar(7)=4&&fvar(8)=5&&fvar(9)=6&&fvar(10)=7&&fvar(11)=8
triggerall =fvar(12)=9&&fvar(13)=0&&fvar(14)=1&&fvar(15)=2&&fvar(16)=3&&fvar(17)=4&&fvar(18)=5&&fvar(19)=6&&fvar(20)=7&&fvar(21)=8&&fvar(22)=9&&fvar(23)=0&&fvar(24)=1&&fvar(25)=2&&fvar(26)=3&&fvar(27)=4&&fvar(28)=5&&fvar(29)=6&&fvar(30)=7&&fvar(31)=8
triggerall =fvar(32)=9&&fvar(33)=0&&fvar(34)=1&&fvar(35)=2&&fvar(36)=3&&fvar(37)=4&&fvar(38)=5&&fvar(39)=6
trigger1 = (GameTime%3) = 1
attr = S, NA
projanim = 100010
projhitanim = -1
projid = 100010
projpriority = 9999999999
projsprpriority = 5
projremove = 1
projremovetime = 2
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 21474836
getpower = 0,0
givepower = -99999999999
hitflag = MAFD
guardflag = 
pausetime = 9,5
guard.pausetime = 9,5
sparkno = -1
sparkxy = 40,-74
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 15400000


[State 11001]
type = Projectile
triggerall = palno=[11,12]
triggerall = fvar(2)!=1
triggerall = (GameTime%3) = 1
triggerall = numprojid(1101011) = 0
trigger1 = var(32) >= 1201
trigger2 = var(38) >= 1851
trigger3 = var(38) <= -1
trigger4 = var(6) >= 3 || var(6) < 0
trigger5 = var(8) >= 1000
trigger6 = var(10) >= 3 || var(10) < 0
trigger7 = var(12) >= 2 || var(12) < 0
trigger8 = var(14) != 2
trigger9 = var(20) != 3 || var(21) != 4 || var(22) != 5 || var(23) != 6 || var(24) != 7 || var(25) != 8
trigger10 = var(26) != 9 || var(27) != 0 || var(28) != 1 || var(29) != 2 || var(30) != 3 || var(39) != 4
trigger11 = var(37) < 0
trigger12 = var(40) != 5 || var(41) != 6 || var(42) != 7 || var(43) != 8 || var(44) != 9 || var(45) != 0
trigger13 = var(46) != 1 || var(47) != 2 || var(48) != 3 || var(49) != 4 || var(50) != 5 || var(51) != 6
trigger14 = var(52) != 7 || var(53) != 8 || var(54) != 9 || var(55) != 0 || var(56) != 1 || var(57) != 2 || var(58) != 3
trigger15 = fvar(4) != 1 || fvar(5) != 2 || fvar(6) != 3 || fvar(7) != 4 || fvar(8) != 5
trigger16 = fvar(9) != 6 || fvar(10) != 7 || fvar(11) != 8 || fvar(12) != 9 || fvar(13) != 0 || fvar(14) != 1
trigger17 = fvar(15) != 2 || fvar(16) != 3 || fvar(17) != 4 || fvar(18) != 5 || fvar(19) != 6 || fvar(20) != 7
trigger18 = fvar(21) != 8 || fvar(22) != 9 || fvar(23) != 0 || fvar(24) != 1 || fvar(25) != 2 || fvar(26) != 3
trigger19 = fvar(27) != 4 || fvar(28) != 5 || fvar(29) != 6 || fvar(30) != 7 || fvar(31) != 8 || fvar(32) != 9
trigger20 = fvar(33) != 0 || fvar(34) != 1 || fvar(35) != 2 || fvar(36) != 3 || fvar(37) != 4 || fvar(38) != 5
trigger21 = fvar(39) != 6
attr = S, NA
projanim = 11010100;1101010
projhitanim = -1
projid = 1101011
projpriority = 999999999999999999999
projsprpriority = 5
projremove = 1
projremovetime = 2
postype = back;p2
offset = 160,-90;0,-50
velocity = 0
animtype  = hard
damage    = 80
getpower = 0,0
givepower = -99999999999
hitflag = MAFD
guardflag = 
pausetime = 9,5
guard.pausetime = 9,5
sparkno = -1
sparkxy = 40,-74
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 15400000


[state 11001]
type = null;targetstate
;trigger1 = target,alive = 0
trigger1 = win
trigger2 = p2life = 0
value = 154001

[State 11001]
type = targetLifeAdd
trigger1 = palno = [11,12]
value = -9999999999999
absolute = 1
ignorehitpause = 1
pausemovetime = 999999999999999
supermovetime = 999999999999999

[state 11001]
type = changestate
trigger1 = time >= 380
value = 11002

;---------------------------------
[Statedef 11002]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
;anim = 11002
ctrl = 0

[State 11002]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

[state 11002]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

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







[Statedef 154000]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[state 154000]
type = destroyself
trigger1 = ishelper

[State 910013]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = powerset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = SelfState
triggerall = name = "Phantom Mizuchi" || root,name = "Phantom Mizuchi"
trigger1 = time >= 0
trigger2 = var(31) != gametime
value = 0000002
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 9999999
PauseMoveTime = 9999999

[State 154000]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154000]
type = ChangeAnim
trigger1 = Time = 0
value = 5070

[State 154000]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 154000]
type = changestate
trigger1 = !alive
value = 104010

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
value = 0

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
fvalue = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(1) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(2) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(3) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(9) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(20) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(21) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(23) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(39) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(40) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(41) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(42) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(43) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(44) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(45) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(46) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(47) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(48) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(49) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(50) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(51) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(52) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(53) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(54) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(55) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(56) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(57) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(58) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(59) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(9) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(20) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(21) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(23) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(39) = 0

[State 154000] 
type = changestate
trigger1 = time >= 8
value = 154002

;-------------------------------------
[Statedef 154001]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[State 910013]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = powerset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = SelfState
triggerall = name = "Phantom Mizuchi" || root,name = "Phantom Mizuchi"
trigger1 = time >= 0
trigger2 = var(31) != gametime
value = 0000002
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 9999999
PauseMoveTime = 9999999

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
value = 0

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
fvalue = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(1) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(2) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(3) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(9) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(20) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(21) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(23) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(39) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(40) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(41) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(42) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(43) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(44) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(45) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(46) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(47) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(48) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(49) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(50) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(51) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(52) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(53) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(54) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(55) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(56) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(57) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(58) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(59) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(9) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(20) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(21) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(23) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(39) = 0

[State 154001]
type = AssertSpecial
trigger1 = ishelper
flag = invisible

[State 154001]
type = PlayerPush
trigger1 = 1
value = -1

[State 154001]
type = NotHitBy
trigger1 = 1
value = SCA

[State 154001]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154001]
type = ChangeAnim
Trigger1 = Time = 0
value = 5070

[State 154001]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 154001]
type = destroyself
trigger1 = ishelper&&time>=1

[state 154001]
type = Changestate
trigger1 = !alive
value = 104010

[State 154001] 
type = changestate
;trigger1 = alive = 1
trigger1 = !ishelper&&time >= 8
value = 154002

;---------------------------------------------------------------------------
[Statedef 154002]
type    = A
movetype= H
physics = N
sprpriority = 4

[state 154002]
type = destroyself
trigger1 = ishelper

[State 154002]
type = lifeset
trigger1 = time = 0
ignorehitpause = 1
value = life - (Ceil(0.035 * Const(data.life)))

[State 154002]
type = lifeset
trigger1 = life <= (Ceil(0.01 * Const(data.life)))
ignorehitpause = 1
value = 0

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
value = 0

[State 30201]
type = VarRangeSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
fvalue = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(1) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(2) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(3) = 0

[State 30201]
type = VarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&!ishelper&&name!="Phantom Mizuchi"
sysvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(9) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(20) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(21) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(23) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(39) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(40) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(41) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(42) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(43) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(44) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(45) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(46) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(47) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(48) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(49) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(50) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(51) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(52) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(53) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(54) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(55) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(56) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(57) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(58) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
var(59) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(0) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(1) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(2) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(3) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(4) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(5) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(6) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(7) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(8) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(9) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(10) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(11) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(12) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(13) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(14) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(15) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(16) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(17) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(18) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(19) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(20) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(21) = 0

[State 2636]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(22) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(23) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(24) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(25) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(26) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(27) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(28) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(29) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(30) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(31) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(32) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(33) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(34) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(35) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(36) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(37) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(38) = 0

[State 30201]
type = parentVarSet
trigger1 = enemynear,name="Phantom Mizuchi"&&enemynear,palno=12&&ishelper
fvar(39) = 0

[State 154002]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 154002]
type = PlayerPush
trigger1 = 1
value = -1

[State 154002]
type = NotHitBy
trigger1 = 1
value = SCA

[State 154002]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154002]
type = ChangeAnim
trigger1 = time = 0
value = 5050

[state 154002]
type = velset
trigger1 = time = 0
x = IfElse((p2dist x< 0 ),3.32,-3.32)
y = -2.8

[State 154002]
type = VelAdd
Trigger1 = time > 0
y = .39

[state a]
type = Changestate
trigger1 = !alive
value = 104010

[State 154002]
type = selfstate
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100
;-------------------------------------------
[Statedef 15400000]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[state 154000]
type = destroyself
trigger1 = ishelper

[State 910013]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = powerset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = SelfState
triggerall = name = "Phantom Mizuchi" || root,name = "Phantom Mizuchi"
trigger1 = time >= 0
trigger2 = var(31) != gametime
value = 0000002
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 9999999
PauseMoveTime = 9999999

[State 154000]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154000]
type = ChangeAnim
trigger1 = Time = 0
value = 5070

[State 154000]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 154000]
type = changestate
trigger1 = !alive
value = 104010

[State 154000] 
type = changestate
trigger1 = time >= 8
value = 15400200

;-------------------------------------
[Statedef 15400100]
type    = A
movetype= H
physics = N
velset = 0,0
facep2 = 1

[State 910013]
type = lifeset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = powerset
triggerall = name != "Phantom Mizuchi"
trigger1 = 1
ignorehitpause = 1
value = 0

[State 910013]
type = SelfState
triggerall = name = "Phantom Mizuchi" || root,name = "Phantom Mizuchi"
trigger1 = time >= 0
trigger2 = var(31) != gametime
value = 0000002
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 9999999
PauseMoveTime = 9999999

[State 154001]
type = AssertSpecial
trigger1 = ishelper
flag = invisible

[State 154001]
type = PlayerPush
trigger1 = 1
value = -1

[State 154001]
type = NotHitBy
trigger1 = 1
value = SCA

[State 154001]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154001]
type = ChangeAnim
Trigger1 = Time = 0
value = 5070

[State 154001]
type = Trans
trigger1 = 1
trans = add1
alpha = 250,70

[state 154001]
type = destroyself
trigger1 = ishelper&&time>=1

[state 154001]
type = Changestate
trigger1 = !alive
value = 104010

[State 154001] 
type = changestate
;trigger1 = alive = 1
trigger1 = !ishelper&&time >= 8
value = 15400200

;---------------------------------------------------------------------------
[Statedef 15400200]
type    = A
movetype= H
physics = N
sprpriority = 4

[state 154002]
type = destroyself
trigger1 = ishelper

[State 154002]
type = lifeset
trigger1 = time = 0
ignorehitpause = 1
value = life - (Ceil(0.035 * Const(data.life)))

[State 154002]
type = lifeset
trigger1 = life <= (Ceil(0.01 * Const(data.life)))
ignorehitpause = 1
value = 0

[State 154002]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 154002]
type = PlayerPush
trigger1 = 1
value = -1

[State 154002]
type = NotHitBy
trigger1 = 1
value = SCA

[State 154002]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 154002]
type = ChangeAnim
trigger1 = time = 0
value = 5050

[state 154002]
type = velset
trigger1 = time = 0
x = IfElse((p2dist x< 0 ),3.32,-3.32)
y = -2.8

[State 154002]
type = VelAdd
Trigger1 = time > 0
y = .39

[state a]
type = Changestate
trigger1 = !alive
value = 104010

[State 154002]
type = selfstate
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100

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


[Statedef 104010]
type    = A
movetype= H
physics = N
sprpriority = 4
velset = 0,80

[State a] 
type = Afterimage
trigger1 = 1
trans = add
PalContrast =  0, 0, 0
PalBright = 0,0,0
time    =  0

[State 1]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 1]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow

[state a]
type = destroyself
trigger1 = ishelper

[State 13121]
type = lifeset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 13121]
type = powerset
trigger1 = 1
ignorehitpause = 1
value = 0

[State 5050, 1]
type = ChangeAnim
trigger1 = time = 0
value = 5070

[State 821, 1]
type = VelAdd
Trigger1 = time > 0
y = .39

[State 821, 4]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5150

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































;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;僿儖僷乕偁傟偙傟
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;///////////////////////////////////////////////////////////////////////////
;---------------------------------------------------------------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;俵俙倃敪摦侾
;伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀
; 杮懱侾
[Statedef 8100]
type    = S
movetype= I
physics = N
juggle  = 1
poweradd= 0
velset = 0,0
anim = 8100
ctrl = 0
sprpriority = 5

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 737
trigger1 = numexplod(8110) = 0
anim = 8110
id = 8110
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 704
id = 8110

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 704
trigger1 = numexplod(8111) = 0
anim = 8111
id = 8111
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 672
id = 8111

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 672
trigger1 = numexplod(8112) = 0
anim = 8112
id = 8112
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 640
id = 8112

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 640
trigger1 = numexplod(8113) = 0
anim = 8113
id = 8113
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 608
id = 8113

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 608
trigger1 = numexplod(8114) = 0
anim = 8114
id = 8114
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 576
id = 8114

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 576
trigger1 = numexplod(8115) = 0
anim = 8115
id = 8115
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 544
id = 8115

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 544
trigger1 = numexplod(8116) = 0
anim = 8116
id = 8116
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 512
id = 8116

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 512
trigger1 = numexplod(8117) = 0
anim = 8117
id = 8117
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 480
id = 8117

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 480
trigger1 = numexplod(8118) = 0
anim = 8118
id = 8118
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 448
id = 8118

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 448
trigger1 = numexplod(8119) = 0
anim = 8119
id = 8119
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 416
id = 8119

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 416
trigger1 = numexplod(8120) = 0
anim = 8120
id = 8120
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 384
id = 8120

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 384
trigger1 = numexplod(8121) = 0
anim = 8121
id = 8121
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 352
id = 8121

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 352
trigger1 = numexplod(8122) = 0
anim = 8122
id = 8122
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 320
id = 8122

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 320
trigger1 = numexplod(8123) = 0
anim = 8123
id = 8123
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 288
id = 8123

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 288
trigger1 = numexplod(8124) = 0
anim = 8124
id = 8124
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 256
id = 8124

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 256
trigger1 = numexplod(8125) = 0
anim = 8125
id = 8125
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 224
id = 8125

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 224
trigger1 = numexplod(8126) = 0
anim = 8126
id = 8126
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 192
id = 8126

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 192
trigger1 = numexplod(8127) = 0
anim = 8127
id = 8127
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 160
id = 8127

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 160
trigger1 = numexplod(8128) = 0
anim = 8128
id = 8128
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 128
id = 8128

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 128
trigger1 = numexplod(8129) = 0
anim = 8129
id = 8129
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 96
id = 8129

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 96
trigger1 = numexplod(8130) = 0
anim = 8130
id = 8130
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 64
id = 8130


[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 64
trigger1 = numexplod(8131) = 0
anim = 8131
id = 8131
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 32
id = 8131

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 32
trigger1 = numexplod(8132) = 0
anim = 8132
id = 8132
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 0
id = 8132



[state a]
type = bindtoroot
trigger1 = time = 0
time = -1
facing = 0
pos = 0,0


[state a]
type = destroyself
trigger1 = root,var(8) <= 0




;伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;俵俙倃敪摦俀
;伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀
; 杮懱俀
[Statedef 8101]
type    = S
movetype= I
physics = N
juggle  = 1
poweradd= 0
velset = 0,0
anim = 8101
ctrl = 0
sprpriority = 5

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 737
trigger1 = numexplod(8110) = 0
anim = 8110
id = 8110
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 704
id = 8110

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 704
trigger1 = numexplod(8111) = 0
anim = 8111
id = 8111
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 672
id = 8111

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 672
trigger1 = numexplod(8112) = 0
anim = 8112
id = 8112
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 640
id = 8112

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 640
trigger1 = numexplod(8113) = 0
anim = 8113
id = 8113
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 608
id = 8113

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 608
trigger1 = numexplod(8114) = 0
anim = 8114
id = 8114
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 576
id = 8114

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 576
trigger1 = numexplod(8115) = 0
anim = 8115
id = 8115
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 544
id = 8115

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 544
trigger1 = numexplod(8116) = 0
anim = 8116
id = 8116
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 512
id = 8116

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 512
trigger1 = numexplod(8117) = 0
anim = 8117
id = 8117
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 480
id = 8117

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 480
trigger1 = numexplod(8118) = 0
anim = 8118
id = 8118
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 448
id = 8118

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 448
trigger1 = numexplod(8119) = 0
anim = 8119
id = 8119
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 416
id = 8119

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 416
trigger1 = numexplod(8120) = 0
anim = 8120
id = 8120
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 384
id = 8120

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 384
trigger1 = numexplod(8121) = 0
anim = 8121
id = 8121
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 352
id = 8121

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 352
trigger1 = numexplod(8122) = 0
anim = 8122
id = 8122
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 320
id = 8122

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 320
trigger1 = numexplod(8123) = 0
anim = 8123
id = 8123
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 288
id = 8123

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 288
trigger1 = numexplod(8124) = 0
anim = 8124
id = 8124
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 256
id = 8124

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 256
trigger1 = numexplod(8125) = 0
anim = 8125
id = 8125
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 224
id = 8125

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 224
trigger1 = numexplod(8126) = 0
anim = 8126
id = 8126
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 192
id = 8126

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 192
trigger1 = numexplod(8127) = 0
anim = 8127
id = 8127
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 160
id = 8127

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 160
trigger1 = numexplod(8128) = 0
anim = 8128
id = 8128
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 128
id = 8128

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 128
trigger1 = numexplod(8129) = 0
anim = 8129
id = 8129
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 96
id = 8129

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 96
trigger1 = numexplod(8130) = 0
anim = 8130
id = 8130
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 64
id = 8130


[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 64
trigger1 = numexplod(8131) = 0
anim = 8131
id = 8131
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 32
id = 8131

[State 1000, 5];僄僼僃僋僩
type = Explod
trigger1 = root,var(8) <= 32
trigger1 = numexplod(8132) = 0
anim = 8132
id = 8132
sprpriority = 6
postype = p1
pos = 0 , 0
bindtime = -1
supermove = 1
under = 0
[state a]
type = removeexplod
trigger1 = root,var(8) <= 0
id = 8132



[state a]
type = bindtoroot
trigger1 = time = 0
time = -1
facing = 0
pos = 0,0


[state a]
type = destroyself
trigger1 = root,var(8) <= 0




;伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀伀
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



