;登場----------------------------------------------------------
[Statedef 19000]
type = S
ctrl = 0
anim = 19000
velset = 0,0
sprpriority = -2

[State 19000]
type = LifeSet
trigger1 = time = 0
value = 500

[State 19000]
type = NotHitBy
triggerall = Ishelper(19000)
trigger1 = 1
value = SCA
time = 1


[State 19000]
type = null
trigger1 = Numhelper(17160) = 0
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19000]
type = null
trigger1 = Numhelper(17150) = 0
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19000]
type = null
trigger1 = Numhelper(17140) = 0
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0


[State 19000]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = animtime = 0
value =19001

;通常立ち-----------------------------------------
[Statedef 19001]
type = S
physics = S
sprpriority = -2

[State 19001]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19001]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011

[State 19001]
type = VarRandom
triggerall = Ishelper(19000)
trigger1 = 1
v = 0
range = 1,10
Persistent = 0
ignorehitpause=1

[State 19001]
type = ChangeAnim
triggerall = Ishelper(19000)
trigger1 = Anim != 19001 && Anim != 19004
trigger2 = Anim = 19004 && AnimTime = 0
value = 19001

[State 19001]
type = VelSet
triggerall = Ishelper(19000)
trigger1 = Time = 0
y = 0

[State 19001]
type = VelSet
triggerall = Ishelper(19000)
trigger1 = abs(vel x) < 2
trigger2 = Time = 4
x = 0

[State 19001]
type = ChangeState
trigger1 = var(3) = 0
trigger1 = power >= 3000
trigger1 = (Numhelper(17140)+Numhelper(17150)+Numhelper(17160)) = 3
value = ifelse(Numhelper(17010) = 0,19030,19015)

[State 19001]
type = ChangeState
triggerall = P2Dist X < 0
trigger1 = Ishelper(19000)
value = 19004

[State 19001]
type = Changestate
triggerall = Ishelper(19000)
triggerall = ParentDist X < -100 || ParentDist X > 100
trigger1 = screenpos X <0
trigger2 = screenpos X >320
value =19002
persistent=0

[State 19001]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = var(0) = [1,8]
trigger1 = time = 60
value =19006

[State 19001]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = var(0) = 9
trigger1 = time = 60
value =19007

[State 19001]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = var(0) = 10
trigger1 = time = 60
value =19008

;移動------------------------------------------------------
[Statedef 19002]
type    = S
physics = S
sprpriority = -2

[State 19002]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19002]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011

[State 19002]
type = VelSet
triggerall = Ishelper(19000)
trigger1 = ParentDist X > 0
x = const(velocity.walk.fwd.x)

[State 19002]
type = VelSet
triggerall = Ishelper(19000)
trigger1 = ParentDist X < 0
x = const(velocity.walk.back.x)

[State 19002]
type = ChangeAnim
triggerall = Ishelper(19000)
triggerall = vel x > 0
trigger1 = Anim != 19002 && Anim != 19004
trigger2 = Anim = 19004 && AnimTime = 0
value = 19002

[State 19002]
type = ChangeAnim
triggerall = Ishelper(19000)
triggerall = vel x < 0
trigger1 = Anim != 19003 && Anim != 19004
trigger2 = Anim = 19004 && AnimTime = 0
value = 19003

[State 19002]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = ParentDist X = [-100,100]
value =19001

;振り向く-------------------------------------------------------
[Statedef 19004]
type = S
ctrl = 0
anim = 19004
velset = 0,0
sprpriority = -2

[State 19004]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19004]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011

[State 19004]
type = Turn
trigger1 = time = 0

[State 19004]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = animtime = 0
value =19001

;空間干渉----------------------------------------------------
[Statedef 19006]
type = S
ctrl = 0
anim = 19006
velset = 0,0
sprpriority = -2

[State 19006]
type = varset
trigger1 = (Numhelper(17140)+Numhelper(17150)+Numhelper(17160)) != 3
trigger1 = time = 0
var(3) = 0

[State 19006]
type = VarRandom
triggerall = Ishelper(19000)
trigger1 = time = 0
v = 1
range = 0,999
Persistent = 0
ignorehitpause=1

[State 19006]
type = VarRandom
triggerall = Ishelper(19000)
trigger1 = time = 0
v = 2
range = 1,999
Persistent = 0
ignorehitpause=1

[State 19006]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19006]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011


[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19200) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = 0
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = 0
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [0,2]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [0,2]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=00

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19201) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [1,200]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [1,200]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [3,152]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19202) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [201,400]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [201,400]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [153,302]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [153,302]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19203) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [401,600]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [401,600]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [303,452]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [303,452]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19204) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [601,700]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [601,700]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [453,572]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [453,572]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19205) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [701,800]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [701,800]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [573,692]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [573,692]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19206) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [801,900]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [801,900]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [693,812]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19207) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [901,930]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [901,930]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [813,868]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [813,868]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19208) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [931,960]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [931,960]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [869,924]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [869,924]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19209) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [961,990]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [961,990]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [925,980]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [925,980]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = Numhelper(19210) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [991,999]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [991,999]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [981,999]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [981,999]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [1,200]
trigger1 = Numhelper(17000) = 1
trigger1 = animelem = 10
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [201,300]
trigger1 = Numhelper(17010) = 1
trigger1 = animelem = 10
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [401,600]
trigger1 = Numhelper(17020) = 1
trigger1 = Numhelper(17050) = 1
trigger2 = Numhelper(17020) = 0
trigger2 = Numhelper(17050) = 1
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [601,800]
trigger1 = Numhelper(17030) = 1
trigger1 = animelem = 10
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [801,999]
trigger1 = Numhelper(17040) = 1
trigger1 = Numhelper(17060) = 1
trigger2 = Numhelper(17040) = 0
trigger2 = Numhelper(17060) = 1
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17150) = 1
triggerall = Numhelper(17160) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [301,400]
trigger1 = Numhelper(17070) = 1
trigger1 = animelem = 10
helpertype = normal
name = "mage"
stateno = 17160
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17160
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19200) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = 0
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = 0
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [0,2]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [0,2]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=00

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19201) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [1,200]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [1,200]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [3,152]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19202) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [201,400]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [201,400]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [153,302]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [153,302]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19203) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [401,600]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [401,600]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [303,452]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [303,452]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19204) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [601,700]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [601,700]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [453,572]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [453,572]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19205) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [701,800]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [701,800]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [573,692]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [573,692]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19206) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [801,900]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [801,900]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [693,812]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19207) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [901,930]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [901,930]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [813,868]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [813,868]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19208) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [931,960]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [931,960]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [869,924]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [869,924]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19209) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [961,990]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [961,990]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [925,980]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [925,980]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = Numhelper(19210) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [991,999]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [991,999]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [981,999]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [981,999]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [1,200]
trigger1 = Numhelper(17000) = 1
trigger1 = animelem = 10
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [201,300]
trigger1 = Numhelper(17010) = 1
trigger1 = animelem = 10
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [401,600]
trigger1 = Numhelper(17020) = 1
trigger1 = Numhelper(17050) = 1
trigger2 = Numhelper(17020) = 0
trigger2 = Numhelper(17050) = 1
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [601,800]
trigger1 = Numhelper(17030) = 1
trigger1 = animelem = 10
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [801,999]
trigger1 = Numhelper(17040) = 1
trigger1 = Numhelper(17060) = 1
trigger2 = Numhelper(17040) = 0
trigger2 = Numhelper(17060) = 1
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 1
triggerall = Numhelper(17150) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [301,400]
trigger1 = Numhelper(17070) = 1
trigger1 = animelem = 10
helpertype = normal
name = "monk"
stateno = 17150
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17150
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19200) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = 0
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = 0
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [0,2]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [0,2]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=00

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19201) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [1,200]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [1,200]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [3,152]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19202) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [201,400]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [201,400]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [153,302]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [153,302]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19203) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [401,600]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [401,600]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [303,452]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [303,452]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19204) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [601,700]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [601,700]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [453,572]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [453,572]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19205) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [701,800]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [701,800]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [573,692]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [573,692]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19206) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [801,900]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [801,900]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [693,812]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19207) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [901,930]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [901,930]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [813,868]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [813,868]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19208) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [931,960]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [931,960]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [869,924]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [869,924]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19209) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [961,990]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [961,990]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [925,980]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [925,980]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = Numhelper(19210) = 1
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [991,999]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [991,999]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [981,999]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [981,999]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [1,200]
trigger1 = Numhelper(17000) = 1
trigger1 = animelem = 10
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [201,300]
trigger1 = Numhelper(17010) = 1
trigger1 = animelem = 10
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [401,600]
trigger1 = Numhelper(17020) = 1
trigger1 = Numhelper(17050) = 1
trigger2 = Numhelper(17020) = 0
trigger2 = Numhelper(17050) = 1
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [601,800]
trigger1 = Numhelper(17030) = 1
trigger1 = animelem = 10
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
triggerall = animelem = 10
triggerall = var(2) = [801,999]
trigger1 = Numhelper(17040) = 1
trigger1 = Numhelper(17060) = 1
trigger2 = Numhelper(17040) = 0
trigger2 = Numhelper(17060) = 1
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(17140) = 0
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [301,400]
trigger1 = Numhelper(17070) = 1
trigger1 = animelem = 10
helpertype = normal
name = "sage"
stateno = 17140
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17140
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19200) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = 0
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = 0
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [0,2]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [0,2]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "yoshituna"
stateno = 19200
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19200
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19201) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [1,200]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [1,200]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [3,152]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "knife"
stateno = 19201
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19201
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19202) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [201,400]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [201,400]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [153,302]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [153,302]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "iwa"
stateno = 19202
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19202
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19203) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [401,600]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [401,600]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [303,452]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [303,452]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "zassou"
stateno = 19203
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19203
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19204) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [601,700]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [601,700]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [453,572]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [453,572]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "tane"
stateno = 19204
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19204
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19205) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [701,800]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [701,800]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [573,692]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [573,692]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "suisyou"
stateno = 19205
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19205
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19206) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [801,900]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [801,900]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [693,812]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [3,152]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "tubo"
stateno = 19206
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19206
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19207) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [901,930]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [901,930]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [813,868]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [813,868]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
name = "hoken"
stateno = 19207
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19207
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19208) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [931,960]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [931,960]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [869,924]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [869,924]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "majinfu"
stateno = 19208
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19208
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19209) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [961,990]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [961,990]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [925,980]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [925,980]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "shinjo"
stateno = 19209
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19209
persistent=0

[State 19006]
type = Helper
triggerall = Numhelper(19210) = 0
triggerall = animelem = 10
trigger1 = Numhelper(19010) = 0
trigger1 = var(1) = [991,999]
trigger1 = parent,var(58) = 0
trigger2 = Numhelper(19010) = 0
trigger2 = var(1) = [991,999]
trigger2 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
trigger3 = Numhelper(19010) = 1
trigger3 = var(1) = [981,999]
trigger3 = parent,var(58) = 0
trigger4 = Numhelper(19010) = 1
trigger4 = var(1) = [981,999]
trigger4 = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) >= 3
helpertype = normal
name = "Siva"
stateno = 19210
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 19210
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [401,600]
trigger1 = Numhelper(17020) = 1
trigger1 = Numhelper(17050) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Raphael"
stateno = 17050
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17050
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [801,999]
trigger1 = Numhelper(17040) = 1
trigger1 = Numhelper(17060) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Walnut"
stateno = 17060
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17060
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [1,200]
trigger1 = Numhelper(17000) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Canary"
stateno = 17000
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17000
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [201,300]
trigger1 = Numhelper(17010) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Count_Malt"
stateno = 17010
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17010
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [401,600]
trigger1 = Numhelper(17020) = 0
trigger1 = Numhelper(17050) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Bijou"
stateno = 17020
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17020
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [601,800]
trigger1 = Numhelper(17030) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Cauldron"
stateno = 17030
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17030
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [801,999]
trigger1 = Numhelper(17040) = 0
trigger1 = Numhelper(17060) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Persimmon"
stateno = 17040
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17040
persistent=0

[State 19006]
type = Helper
triggerall = parent,var(58) != 0
triggerall = (numhelper(17000)+numhelper(17010)+numhelper(17020)+numhelper(17030)+numhelper(17040)+numhelper(17050)+numhelper(17060)+numhelper(17070)) < 3
trigger1 = var(2) = [301,400]
trigger1 = Numhelper(17070) = 0
trigger1 = animelem = 10
helpertype = normal
name = "Castille"
stateno = 17070
postype = p1
pos = 20,0
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17070
persistent=0

[State 19006]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = animtime = 0
value = 19001

;ネギ投げ-------------------------------------------------------
[Statedef 19007]
type = S
ctrl = 0
anim = 19007
velset = 0,0
sprpriority = -2

[State 19007]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19007]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011

[State 19007]
type = Projectile
trigger1 = animelem = 3
trigger2 = animelem = 9
trigger3 = animelem = 15
trigger4 = animelem = 21
attr = S,HP
guardflag = MA
animtype =light
damage = 15,8
pausetime = 0,20
guard.pausetime = 0,10
sparkno = S8000
guard.sparkno = S8010
sparkxy = 0,0
hitsound   = S10,6
guardsound = S10,5
projID = 19007
projanim = 19100
projscale = 1, 1
velocity = 5, -5
accel = 0, 0.45
projhits = 1
projpriority = 1
projsprpriority = 2
offset = 10, -10
postype = p1

[State 19007]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = animtime = 0
value =19001

;ちょうちょう----------------------------------------------------
[Statedef 19008]
type = A
ctrl = 0
anim = 19008
velset = 0,0
sprpriority = -2

[State 19008]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19008]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
time = -1
stateno = 19011

[State 19008]
type = Helper
trigger1 = animelem = 8
helpertype = normal
name = "tyoutyo"
stateno = 19009
postype = p1
pos = 0,-40
facing = 1
keyctrl = 0
ownpal = 1
ID = 19009
persistent=0

[State 19008]
type = Helper
trigger1 = animelem = 8
helpertype = normal
name = "tyoutyo"
stateno = 19009
postype = p1
pos = 0,-40
facing = 1
keyctrl = 0
ownpal = 1
ID = 19010
persistent=0

[State 19008]
type = Helper
trigger1 = animelem = 8
helpertype = normal
name = "tyoutyo"
stateno = 19009
postype = p1
pos = 0,-40
facing = 1
keyctrl = 0
ownpal = 1
ID = 19011
persistent=0

[State 19008]
type = Changestate
triggerall = Ishelper(19000)
trigger1 = animtime = 0
value =19001

[Statedef 19009]
type = S
movetype = A
physics = N
ctrl = 0
anim = 19101
sprpriority = 2

[State 19009]
type = HitDef
trigger1 = 1
attr = S, NP
damage = 5, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 1, hit
pausetime = 0, 12
sparkno = S8000
guard.sparkno = S8010
sparkxy = 0,0
hitsound   = S10,6
guardsound = S10,5
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
ground.cornerpush.veloff = 0
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
persistent=0

[State 19009]
type = VelSet
triggerall = Ishelper(19009)
trigger1 = time > 0
x = 3*cos(2*pi*Time/120)
y = -3*sin(2*pi*Time/120)

[State 19009]
type = VelSet
triggerall = Ishelper(19010)
trigger1 = time > 0
x = -5*cos(2*pi*Time/120)
y = -2*sin(2*pi*Time/120)

[State 19009]
type = VelSet
triggerall = Ishelper(19011)
trigger1 = time > 0
x = 4*cos(2*pi*Time/120)
y = 0.8*sin(2*pi*Time/120)

[State 19009]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

[State 19009]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP
stateno = 19010
time = -1
forceair = 0

[State 19009]
type = DestroySelf
trigger1 = time = 120
trigger2 = movecontact

[Statedef 19010]
type = A
ctrl = 0
velset = 0,0

[State 19010]
type = DestroySelf
trigger1 = time = 0

;-------------------------------------------------------------------
; HITG_SHAKE
[Statedef 19011]
type    = U
movetype= H
physics = U
velset = 0,0

[State 19011]
type = AssertSpecial
trigger1 = 1
flag = nokosnd

[State 19011]
type = ChangeAnim
trigger1 = Time = 0
value = 19012

[State 19011]
type = ChangeAnim
trigger1 = Time > 0
value = anim

[State 19011]
type = ChangeState
trigger1 = HitShakeOver
value = 19012

;---------------------------------------------------------------------------
; HITG_SLIDE
[Statedef 19012]
type    = S
movetype= H
physics = S

[State 19012]
type = lifeset
trigger1 = Numhelper(17070) > 0
value = 500

[State 19012]
type = AssertSpecial
trigger1 = 1
flag = nokosnd

[State 19012]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 19012]
type = ChangeAnim
trigger1 = AnimTime = 0
value = 19013

[State 19012]
type = VelMul
trigger1 = Time >= GetHitVar(slidetime)
x = .6

[State 19012]
type = VelSet
trigger1 = HitOver
x = 0

[State 19012]
type = DefenceMulSet
trigger1 = HitOver
value = 1

[State 19012]
type = ChangeState
trigger1 = HitOver
trigger1 = !alive
value = 19013

[State 19012]
type = ChangeState
trigger1 = HitOver
value = 19001

;--------------------------------------------------------------
[Statedef 19013]
type    = L
movetype= H
physics = S
anim = 19014

[State 19013] 
type = DestroySelf
triggerall = Ishelper(19000)
trigger1 = animtime = 0


;侵略者ヶ淵-----------------------------------------------------
[Statedef 19015]
type    = S
movetype= A
physics = S
anim = 19015

[State 19015]
type = poweradd
trigger1 = time = 0
value = -3000

[State 19015]
type = Helper
trigger1 = Numhelper(19015) = 0
trigger1 = time = 120
helpertype = normal
name = "hole"
stateno = 19016
postype = p2
pos = 0,-floor(P2Dist Y)
facing = 1
size.xscale = 1.0
size.yscale = 1.0
keyctrl = 0
ownpal = 1
ID = 19015
persistent=0

[State 19015]
type = varset
trigger1 = time = 120
var(3) = 1

[State 19015]
type = ChangeState
trigger1 = time > 120
trigger1 = Numhelper(19015) = 0
value = 19001

;穴---------------------------------------------------------------------
[Statedef 19016]
type    = S
movetype= A
physics = N
anim = 4100

[State 19016]
type = AssertSpecial
trigger1 = 1
flag = unguardable

[State 19016]
type = Explod
trigger1 = time = 0
anim = 4101
ID = 4101
pos = 0, 0
postype = p1
facing = 1
vfacing = 1
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 0.5, 0.5
sprpriority = -2
ontop = 0
shadow = 0, 0, 0
ownpal = 1
removeongethit = 0

[State 19016]
type = ModifyExplod
trigger1 = time = [0, 5]
ID = 4101
scale = time*0.1, time*0.1

[State 19016]
type = ModifyExplod
trigger1 = time = [10, 15]
ID = 4101
scale = 0.5-(time-10.0)*0.1, 0.5-(time-10.0)*0.1

[State 19016]
type = HitDef
trigger1 = animelem = 2
attr = S, HA
hitflag = MAFD
priority = 7, Miss
sparkno = -1
p1sprpriority = 1
p1stateno = 19017
p2stateno = 19020
guard.dist = 0
fall = 1
fall.recover = 0
id = 19020

[State 19016]
type = DestroySelf
Trigger1 = AnimTime = 0

[Statedef 19017]
type    = S
movetype= A
physics = N
anim = 30000

[State 19017]
type = AssertSpecial
trigger1 = time > 0
flag = nomusic
flag2 = nobardisplay

[State 19017]
type = posset
trigger1 = time = 0
x = 0
y = 0

[State 19017]
type = RemoveExplod
trigger1 = time = 0
ID = 4101

[State 19017]
type = TargetBind
trigger1 = time = 30
time = 1
ID = 19020
pos = -200, -30

[State 19017]
type = Pause
trigger1 = time = 0
time = 1110
movetime = 1110

[State 19017]
type = Explod
trigger1 = time = 0
anim = 4110
ID = 4110
pos = 0, 0
postype = back
facing = 1
vfacing = 1
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = 60
supermovetime = 0
pausemovetime = 999999
scale = 1.0, 1.0
sprpriority = -2
ontop = 1
shadow = 0, 0, 0
ownpal = 1
removeongethit = 0

[State 19017]
type = Explod
trigger1 = time = 240
anim = ifelse(facing = 1, 4112, 4113)
ID = 4112
pos = 0, 0
postype = back
facing = 1
vfacing = 1
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = 870
supermovetime = 0
pausemovetime = 999999
scale = 0.5, 0.5
sprpriority = -2
ontop = 1
shadow = 0, 0, 0
ownpal = 1
removeongethit = 0

[State 19017]
type = PlaySnd
trigger1 = time = 270
value = 10, 24

[State 19017]
type = Explod
trigger1 = time = 30
anim = 4111
ID = 4111
pos = 0, 0
postype = back
facing = 1
vfacing = 1
bindtime = 1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = 240
supermovetime = 0
pausemovetime = 999999
scale = 1.0, 1.0
sprpriority = 2
ontop = 0
shadow = 0, 0, 0
ownpal = 1
removeongethit = 0

[State 19017]
type = AssertSpecial
trigger1 = time > 30
flag = noFG

[State 19017]
type = Helper
trigger1 = Numhelper(17090) = 0
trigger1 = time = 40
helpertype = normal
name = "Sulphur"
stateno = 17090
postype = p1
supermovetime = 999999
pausemovetime = 999999
pos = 20,0
facing = 1
size.xscale = 1.0
size.yscale = 1.0
keyctrl = 0
ownpal = 1
ID = 17090
persistent=0

[State 19017]
type = TargetLifeAdd
trigger1 = time = 260
trigger2 = time = 262
trigger3 = time = 264
trigger4 = time = 266
trigger5 = time = 268
trigger6 = time = 270
trigger7 = time = 272
trigger8 = time = 274
trigger9 = time = 276
value = -70
kill = 0
ID = 19020

[State 19017]
type = TargetLifeAdd
trigger1 = time = 278
value = -70
ID = 19020

[State 19017]
type = TargetState
trigger1 = time = 1110
value = 19021

[State 19017]
type = ChangeState
trigger1 = time = 1110
value = 19018

[Statedef 19018]
type    = S
movetype= A
physics = N
anim = 30000

[State 19018]
type = Explod
trigger1 = time = 1
anim = 4101
ID = 4101
pos = 0, 0
postype = p2
facing = 1
vfacing = 1
bindtime = 1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 0.5, 0.5
sprpriority = -2
ontop = 0
shadow = 0, 0, 0
ownpal = 1
removeongethit = 0

[State 19018]
type = ModifyExplod
trigger1 = time = [0, 5]
ID = 4101
scale = time*0.1, time*0.1

[State 19018]
type = ModifyExplod
trigger1 = time = [10, 15]
ID = 4101
scale = 0.5-(time-10.0)*0.1, 0.5-(time-10.0)*0.1

[State 19018]
type = DestroySelf
Trigger1 = Time = 15

[Statedef 19020]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 3

[State 19020]
type = ChangeAnim2
trigger1 = Time = 0
value = 4102

[State 19020]
type = SelfState
trigger1 = time = 500
value = 5050

[Statedef 19021]
type    = A
movetype= H
physics = N
velset = -5,-6

[State 19021]
type = posset
trigger1 = time = 0
x = 0
y = 0

[State 19021]
type = VelAdd
trigger1 = 1
y = .4

[State 19021]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100

;真紅の勇者----------------------------------------------------
[Statedef 19030]
type    = S
movetype= A
physics = S
anim = 19015

[State 19030]
type = poweradd
trigger1 = time = 0
value = -3000

[State 19030]
type = Helper
trigger1 = Numhelper(19030) = 0
trigger1 = time = 120
helpertype = normal
name = "Scarlet"
stateno = 17200
postype = p2
pos = 80,-floor(P2Dist Y)
facing = 1
size.xscale = 1.3
size.yscale = 1.3
keyctrl = 0
ownpal = 1
ID = 17200
persistent=0

[State 19030]
type = varset
trigger1 = time = 480
var(3) = 1

[State 19030]
type = ChangeState
trigger1 = time > 480
value = 19031

[Statedef 19031]
type    = S
movetype= A
physics = S

[State 19030]
type = ChangeState
trigger1 = time = 0
value = 19001

;その他のパティ族----------------------------------------------
;セージ--------------------------------------------------------
[Statedef 17140]
type = S
ctrl = 0
velset = 0,0
sprpriority = -2

[State 17140]
type = changeanim
trigger1 = time = 0
value = 17145

[State 17140]
type = turn
trigger1 = P2dist X < 0
trigger1 = Anim = 17140

[State 17140]
type = changeanim
trigger1 = Anim = 17145
trigger1 = Animelemtime (6) = 8
trigger2 = Anim = 17141
trigger2 = Screenpos X = [60, 280]
trigger3 = Anim = 17143
trigger3 = Animelemtime (15) = 8
trigger4 = Anim = 17144
trigger4 = Animelemtime (23) = 6
value = 17140

[State 17140]
type = velset
trigger1 = Anim != 17141
x = 0

[State 17140]
type = changeanim
triggerall = Anim != 17142
trigger1 = screenpos X < -20
trigger2 = screenpos X > 340
value = 17141

[State 17140]
type = velset
trigger1 = Anim = 17141
x = const(velocity.walk.fwd.x)

[State 17140]
type = changeanim
trigger1 = Anim = 17140
trigger1 = gametime%240 = 0
trigger1 = random < 499
value = ifelse(random < 499, 17143,17144)

[State 17140]
type = changeanim
triggerall = Anim != 17142
trigger1 = parent,stateno = 19015
trigger2 = parent,stateno = 19030
value = 17142

[State 17140]
type = changeanim
trigger1 = Anim = 17140
trigger1 = parent,stateno = 19013
trigger2 = parent,var(3) = 1
trigger2 = Anim != 17146
value = 17146

[State 17140]
type = DestroySelf
trigger1 = Anim = 17146
trigger1 = Animelemtime (6) = 8
trigger2 = parent,stateno = 19017
trigger3 = parent,stateno = 19031

;モンク--------------------------------------------------------
[Statedef 17150]
type = S
ctrl = 0
velset = 0,0
sprpriority = -2

[State 17150]
type = changeanim
trigger1 = time = 0
value = 17155

[State 17150]
type = turn
trigger1 = P2dist X < 0
trigger1 = Anim = 17150

[State 17150]
type = changeanim
trigger1 = Anim = 17155
trigger1 = Animelemtime (6) = 8
trigger2 = Anim = 17151
trigger2 = Screenpos X = [80, 260]
trigger3 = Anim = 17152
trigger3 = Animelemtime (14) = 7
trigger4 = Anim = 17153
trigger4 = Animelemtime (40) = 7
value = 17150

[State 17150]
type = velset
trigger1 = Anim != 17151
x = 0

[State 17150]
type = changeanim
triggerall = Anim != 17154
trigger1 = screenpos X < -20
trigger2 = screenpos X > 340
value = 17151

[State 17150]
type = velset
trigger1 = Anim = 17151
x = const(velocity.walk.fwd.x)+0.5

[State 17150]
type = changeanim
trigger1 = Anim = 17150
trigger1 = gametime%270 = 0
trigger1 = random < 499
value = ifelse(random < 499, 17152,17153)

[State 17150]
type = changeanim
triggerall = Anim != 17154
trigger1 = parent,stateno = 19015
trigger2 = parent,stateno = 19030
value = 17154

[State 17150]
type = changeanim
trigger1 = Anim = 17150
trigger1 = parent,stateno = 19013
trigger2 = Anim != 17156
trigger2 = parent,var(3) = 1
value = 17156

[State 17150]
type = DestroySelf
trigger1 = Anim = 17156
trigger1 = Animelemtime (6) = 8
trigger2 = parent,stateno = 19017
trigger3 = parent,stateno = 19031

;メイジ--------------------------------------------------------
[Statedef 17160]
type = S
ctrl = 0
velset = 0,0
sprpriority = -2

[State 17160]
type = changeanim
trigger1 = time = 0
value = 17164

[State 17160]
type = turn
trigger1 = P2dist X < 0
trigger1 = Anim = 17160

[State 17160]
type = changeanim
trigger1 = Anim = 17164
trigger1 = Animelemtime (6) = 8
trigger2 = Anim = 17161
trigger2 = Screenpos X = [100, 240]
trigger3 = Anim = 17162
trigger3 = Animelemtime (12) = 8
value = 17160

[State 17160]
type = velset
trigger1 = Anim != 17161
x = 0

[State 17160]
type = changeanim
triggerall = Anim != 17163
trigger1 = screenpos X < -20
trigger2 = screenpos X > 340
value = 17161

[State 17160]
type = velset
trigger1 = Anim = 17161
x = const(velocity.walk.fwd.x)-0.5

[State 17160]
type = changeanim
trigger1 = Anim = 17160
trigger1 = gametime%270 = 0
trigger1 = random < 499
value = 17162

[State 17160]
type = changeanim
triggerall = Anim != 17163
trigger1 = parent,stateno = 19015
trigger2 = parent,stateno = 19030
value = 17163

[State 17160]
type = changeanim
trigger1 = Anim = 17160
trigger1 = parent,stateno = 19013
trigger2 = Anim != 17165
trigger2 = parent,var(3) = 1
value = 17165

[State 17160]
type = DestroySelf
trigger1 = Anim = 17165
trigger1 = Animelemtime (6) = 8
trigger2 = parent,stateno = 19017
trigger3 = parent,stateno = 19031