;===========================================
;ステート：超必殺技　その２
;
;余談：
;ＡＤＳとかＭＣＳってなんであんなにかわいいんだろう
;自分が元々数学だとか図形だとかに興味があるからかな
;あのシンプルさがたまらない
;ＭＣＳって触るとつるつるしてそう
;ＡＤＳって地面にぶつかると跳ねそう
;可哀相だからしないけど
;===========================================
;----------------------------------------------------------------
;電撃を落とす
[Statedef 2150]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10040
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2150]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2150]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2150]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2150]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2150]
type = AssertSpecial
trigger1 = Time = [0,280]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2150]
type = Helper
trigger1 = PalNo = [7,12]
trigger1 = numhelper(2151) = 0
name = "konsen1"
stateno = 2151
ID = 2151
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermove = 1
pausemovetime=99999
supermovetime=99999
ignorehitpause = 1
[State 2150]
type = Helper
trigger1 = PalNo = [7,12]
trigger1 = numhelper(2152)<8
trigger1 = numhelper(2151)>0
trigger1 = helper(2151),numtarget<8
name = "konsen2"
stateno = 2152
ID = 2152
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermove = 1
pausemovetime=99999
supermovetime=99999
ignorehitpause = 1
[State 2150]
type = Helper
trigger1 = PalNo = [7,12]
trigger1 = numhelper(2023) = 0
helpertype = player
ID = 2023
name = "OTL"
postype = p1
pos = 0,0
stateno = 2023
ignorehitpause = 1

[State 2150]
type = Explod
trigger1 = Time = [30,260]
trigger1 = time%6 = 0
anim = 10150
sprpriority = (random%6)-3
postype = left
pos = (random%321),-70+(random%21)
bindtime = -1
facing = ifelse(random%2=0,1,-1)
removetime = -2
ownpal = 1
[State 2150]
type = PlaySnd
trigger1 = Time = [30,260]
trigger1 = time%6 = 0
value = 6500,41
freqmul = ((random%11)+9)/10.0
volume = 128

[State 2150]
type = Projectile
trigger1 = Time = [30,260]
trigger1 = Time%6 = 0
projanim = 6000
projID = 2000
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S, HA
animtype = hard
damage   = 8,1
guardflag        = MA
hitflag = MAFDP
pausetime = 1,60
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 60
ground.hittime = 60
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
palfx.time = 60
palfx.mul = 0,75,255
palfx.sinadd = 125,125,255,11
palfx.color = 200
palfx.invertall = 1
fall = (random%2)

[State 2150]
type = ChangeState
trigger1 = Time = 280
value = 0
ctrl = 1
;----------------------------------------------------------------
;電撃を落とす：混線
[Statedef 2151]
type    = A
movetype= I
physics = N
anim = 6000

[State 2151];BreakThe永続ターゲット
type = ReversalDef
trigger1 = numtarget>0
reversal.attr = SCA,AA,AT,AP
priority = 999999999999999999999999999
pausetime = 0,0
sparkno = -1
hitsound = -1
ignorehitpause = 1

[State 2151]
type = nothitby
trigger1 = 1
value = SCA,AA,AT,AP
ignorehitpause = 1
time = -1

[State 2151]
type = bindtoroot
trigger1 = 1

[State 2151]
type = Helper
triggerall = numhelper(2152)<8
trigger1 = helper(2151),numtarget<8
name = "konsen2"
stateno = 2152
ID = 2152
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermove = 1
pausemovetime=99999
supermovetime=99999

[State 2151];Hitdefに変え殴り抜ける
type=changeanim
trigger1 = numtarget=0
trigger1 = numhelper(2152)>0
value=6000
[State 2151]
type=statetypeset
trigger1 = numtarget=0
trigger1 = numhelper(2152)>0
type     = A
movetype = A
physics  = N

[State 2151]
type = hitdef
trigger1 = numtarget=0
trigger1 = numhelper(2152)>0
attr = ,HT
damage = 0,0
numhits = 0
guardflag = 
hitflag = MAFDP
priority = 7, Hit
pausetime = 0,10
sparkno = 9999
guard.sparkno = 9999
animtype = hard
sparkxy = 9999,-9999
getpower = 0
givepower = -1
hitsound = -1
guardsound = -1
ground.type = high 
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = 0,0
airguard.velocity = 0,0
air.type = Low
air.velocity = 0,0
air.hittime = 5
fall = 0
ignorehitpause = 1
affectteam = F

[State 2151]
type=changeanim
trigger1 = numtarget=8
value= 1
[State 2151]
type=statetypeset
trigger1 = numtarget=8
type     = A
movetype = I
physics  = N

[State 2151]
type=targetstate
triggerall=numtarget>0
trigger1=root,stateno = 2150
value= 2153

[State 2151]
type = destroyself
trigger1 = root,life=0
trigger2 = root,stateno != 2150 
trigger2 = root,stateno != 2210 
;--------------------------------------------------------------------
;電撃を落とす：メイク・ザ・ターゲット
[Statedef 2152]
type    = S
movetype= H
physics = N
anim = 6001

[State 2152]
type = bindtoroot
trigger1 = ishelper(2152)

[State 2152]
type=nothitby
trigger1 = ishelper(2152)
trigger1 = numhelper(2152)<8
value= SCA

[State 2152]
type=hitby
trigger1 = ishelper(2152)
trigger1 = numhelper(2152)=8
value= SCA,HT

[State 2152]
type = destroyself
trigger1 = numhelper(2152)>0
trigger1 = helper(2152),numtarget=8
trigger2 = root,stateno != 2150
;---------------------------------------------------------------------------
;電撃を落とす：OTHキラー当身成功その他もろもろ
[Statedef 2153]
type = U
movetype = H
physics = U
velset = 0,0

[State 2153]
type = Projectile
trigger1 = name != "Mind of creation and destruction"
trigger1 = ishelper
trigger1 = root,numProjID(2153) = 0
projanim = anim
projID = 2153
projremove = 0
projremovetime = 50
projpriority = 7
postype = p2
offset = 0,0
attr = C,HP
pausetime = 10,10
p1stateno = prevstateno
ignorehitpause = 1

[State 2153]
type = Posset
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = !alive
y = 999999
ignorehitpause = 1

[State 2153]
type = lifeset
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 2153]
type = changestate
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = !alive
value = 5150
ctrl = 1
ignorehitpause = 1

[State 2153]
type = Destroyself
triggerall = ishelper
trigger1 = name != "Mind of creation and destruction"
trigger1 = time >= 50
trigger2 = roundstate != 2
trigger3 = root,alive = 0
ignorehitpause = 1

[State 2153]
type = Selfstate
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = alive
trigger1 = time >= 50
value = 0
ignorehitpause = 1
[State 2153]
type = CtrlSet
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = alive
trigger1 = time >= 50
value = 1
[State 2153]
type = Selfstate
trigger1 = name = "Mind of creation and destruction"
value = 0
ignorehitpause = 1
;---------------------------------------------------------------------------
;背景を変える
[Statedef 2160]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10012
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2160]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2160]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2160]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 5,-135
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2160]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 5,-135
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2160]
type = AssertSpecial
trigger1 = Time = [0,220]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2160]
type = Explod
trigger1 = Time = 31
ID = 2160
anim = 10160
pos = 0,0
postype = left
scale = 1,1
sprpriority = -1
ownpal = 1
bindtime = -1
removetime = -2
[State 2160]
type = Explod
trigger1 = Time = 98
ID = 2160
anim = 10161
pos = 0,0
postype = left
scale = 1,1
sprpriority = -1
ownpal = 1
bindtime = -1
removetime = -2
[State 2160]
type = Explod
trigger1 = Time = 154
ID = 2160
anim = 10162
pos = 0,0
postype = left
scale = 1,1
sprpriority = -1
ownpal = 1
bindtime = -1
removetime = -2

[State 2160]
type = PlaySnd
trigger1 = Time = 31
trigger2 = Time = 98
trigger3 = Time = 154
value = 6500,42
freqmul = 5.0
[State 2160]
type = PlaySnd
trigger1 = Time = 31
trigger2 = Time = 98
trigger3 = Time = 154
value = 6500,43
freqmul = 2.0

[State 2160]
type = Projectile
triggerall = Time = [31,97]
trigger1 = PalNo = [1,6]
trigger1 = Time%4 = 0
trigger2 = PalNo = [7,12]
trigger2 = Time%1 = 0
projanim = 6000
projID = 2160
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HA
animtype = hard
damage   = 9,1
guardflag        = MA
hitflag = MA
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
palfx.time = 60
palfx.mul = 0,125,255
palfx.color = 200
palfx.invertall = 1
[State 2160]
type = Projectile
triggerall = Time = [97,153]
trigger1 = PalNo = [1,6]
trigger1 = Time%4 = 0
trigger2 = PalNo = [7,12]
trigger2 = Time%1 = 0
projanim = 6000
projID = 2160
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 9,1
guardflag        = MA
hitflag = MA
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
palfx.time = 60
palfx.mul = 0,0,255
palfx.color = 200
palfx.invertall = 1
[State 2160]
type = Projectile
triggerall = Time = [154,219]
trigger1 = PalNo = [1,6]
trigger1 = Time%4 = 0
trigger2 = PalNo = [7,12]
trigger2 = Time%1 = 0
projanim = 6000
projID = 2160
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 9,1
guardflag        = MA
hitflag = MA
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
palfx.time = 60
palfx.mul = 0,255,255
palfx.color = 200
palfx.invertall = 1

[State 2160]
type = ChangeState
trigger1 = Time = 220
value = 2161
ctrl = 0
;----------------------------------------------------------------
;背景を変える：終了
[Statedef 2161]
type = U
movetype = I
physics = N
ctrl = 0
anim = 10013
velset = 0,0
sprpriority = 2
poweradd = 0

[State 2161]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------
;天空を割る
[Statedef 2170]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10032
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2170]
type = PlaySnd
trigger1 = Time = 0
value = 6500,5
freqmul = 1.2

[State 2170]
type = Afterimage
trigger1 = Time = 35
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2170]
type = SuperPause
trigger1 = time = 35
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2170]
type = Explod
trigger1 = time = 35
anim = 9500
sprpriority = -2
postype = p1
pos = 4,-105
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2170]
type = Explod
trigger1 = time = 35
anim = 9501
sprpriority = 3
postype = p1
pos = 4,-105
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2170]
type = AssertSpecial
trigger1 = Time = [35,460]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2170]
type = PlaySnd
trigger1 = Time = 65
value = 0,28
freqmul = 1.2
channel = 1

[State 2170]
type = Explod
trigger1 = Time = 65
ID = 2170
anim = 10170
pos = 0,0
postype = left
scale = 1,1
sprpriority = -1
ownpal = 1
bindtime = -1
removetime = 365

[State 2170]
type = StopSnd
trigger1 = time = 105
channel = 1

[State 2170]
type = Explod
trigger1 = Time = 105
ID = 2170
anim = 10171
pos = 0,0
postype = left
scale = 1,1
sprpriority = 8
ownpal = 1
bindtime = -1
removetime = -2

[State 2170]
type = PlaySnd
trigger1 = Time = 105
value = 6500,42
freqmul = 0.25
[State 2170]
type = PlaySnd
trigger1 = Time = 170
value = 6500,42
freqmul = 0.5
[State 2170]
type = PlaySnd
trigger1 = Time = 235
value = 6500,42
freqmul = 0.625
[State 2170]
type = PlaySnd
trigger1 = Time = 300
value = 6500,42
freqmul = 0.375
[State 2170]
type = PlaySnd
trigger1 = Time = 365
value = 6500,42
freqmul = 0.75

[State 2170]
type = PlaySnd
trigger1 = Time = 105
value = 6500,42
freqmul = 0.5
[State 2170]
type = PlaySnd
trigger1 = Time = 170
value = 6500,42
freqmul = 1.0
[State 2170]
type = PlaySnd
trigger1 = Time = 235
value = 6500,42
freqmul = 1.25
[State 2170]
type = PlaySnd
trigger1 = Time = 300
value = 6500,42
freqmul = 0.75
[State 2170]
type = PlaySnd
trigger1 = Time = 365
value = 6500,42
freqmul = 1.5

[State 2170]
type = Helper
trigger1 = numhelper(2052) = 0
trigger1 = Time = 105
trigger1 = PalNo = [7,12]
helpertype = player
ID = 2052
name = "atemi"
postype = p1
pos = 0,00
stateno = 2052
ignorehitpause = 1

[State 2170]
type = Projectile
triggerall = PalNo = [1,6]
trigger1 = Time = [35,105]
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 2,1
guardflag        = MA
hitflag = MA
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
[State 2170]
type = Projectile
triggerall = PalNo = [1,6]
trigger1 = Time = 105
trigger2 = Time = 170
trigger3 = Time = 235
trigger4 = Time = 300
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 20,2
guardflag        = MA
hitflag = MA
pausetime = 66,66
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
[State 2170]
type = Projectile
triggerall = PalNo = [1,6]
trigger1 = Time = 365
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 20,2
guardflag        = MA
hitflag = MA
pausetime = 66,66
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,-15
airguard.velocity = 0,-15
air.velocity = 0,-15
fall = 1

[State 2170]
type = Projectile
triggerall = PalNo = [7,12]
trigger1 = Time = [35,450]
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 0,0
guardflag        = 
hitflag = MAFDP
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0

[State 2170]
type = Explod
trigger1 = Time = 430
ID = 2170
anim = 10172
pos = 0,0
postype = left
scale = 1,1
sprpriority = 6
ownpal = 1
bindtime = -1
removetime = -2

[State 2170]
type = PlaySnd
trigger1 = Time = 420
value = 6500,43
freqmul = 0.8

[State 2170]
type = ChangeState
trigger1 = Time = 460
value = 0
ctrl = 1
;----------------------------------------------------------------
;地面を壊す
[Statedef 2180]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10040
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2180]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2180]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2080]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2080]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2180]
type = AssertSpecial
trigger1 = Time = [0,280]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2180]
type = Explod
trigger1 = Time = 31
ID = 2180
anim = 10181
pos = 160,-40
postype = left
scale = 1,1
vel = 0,5
sprpriority = 6
ownpal = 1
bindtime = 1
removetime = 48
[State 2180]
type = Explod
trigger1 = Time = 79
ID = 2180
anim = 10182
pos = 160,200
postype = left
scale = 1,1
vel = 0.1,0.06
sprpriority = 6
ownpal = 1
bindtime = 1
removetime = -2

[State 2180]
type = Explod
trigger1 = Time = [155,245]
trigger1 = Time%2 = 0
ID = 2180
anim = 10180
pos = random%321,195+(random%11)
postype = left
scale = 0.5,0.5
vel = 0,0
sprpriority = 6
ownpal = 1
bindtime = 1
removetime = -2
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1
[State 2180]
type = PlaySnd
trigger1 = Time = [155,245]
trigger1 = Time%2 = 0
value = 6500,0
freqmul = ((random%6)+7)/10.0
volume = 128

[State 2180]
type = Projectile
trigger1 = PalNo = [7,12]
trigger1 = Time = [155,245]
projanim = 6000
projID = 2180
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 9999999999,99999999999
guardflag        = 
hitflag = MA
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
fall = 1
fall.damage = 9999999999*ifelse(random%2=0,1,-1)
p2stateno = 5110
p2getp1state = 0
fall.recover = 0

[State 2180]
type = Projectile
trigger1 = PalNo = [1,6]
trigger1 = Time = [155,245]
projanim = 6000
projID = 2000
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S, HA
animtype = hard
damage   = 2,1
guardflag        = MA
hitflag = MAFDP
pausetime = 1,60
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 60
ground.hittime = 60
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
fall = 1
fall.damage = 1
p2stateno = 5110
p2getp1state = 0
fall.recover = 0

[State 2180]
type = TargetLifeAdd
trigger1 = PalNo = [7,12]
trigger1 = Time = [155,245]
value = -99999
absolute = 1
ignorehitpause = 1
[State 2180]
type = TargetPowerAdd
trigger1 = PalNo = [7,12]
trigger1 = Time = [155,245]
value = -99999
absolute = 1
ignorehitpause = 1

[State 2180]
type = Targetstate
trigger1 = PalNo = [7,12]
trigger1 = Time = [155,245]
value = 5110
ignorehitpause = 1

[State 2180]
type = ChangeState
trigger1 = Time = 280
value = 0
ctrl = 1
;----------------------------------------------------------------
;光線をぶつける
[Statedef 2190]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10021
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2190]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2190]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2190]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 19,-130
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2190]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 19,-130
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2190]
type = AssertSpecial
trigger1 = Time = [0,221]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2190]
type = Explod
trigger1 = Time = [31,181]
trigger1 = Time%16 = 0
ID = 2190
anim = 10190+(random%3)
pos = 0,120+((random%81)-40)
postype = left
scale = 1+(random%51)/100.000,1
vel = 0,0
sprpriority = 6
ownpal = 1
bindtime = 1
removetime = -2
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1
[State 2190]
type = Explod
trigger1 = Time = [31,181]
trigger1 = Time%16 = 8
ID = 2190
anim = 10190+(random%3)
pos = 0,120+((random%81)-40)
postype = right
facing = -1
scale = 1+(random%51)/100.000,1
vel = 0,0
sprpriority = 6
ownpal = 1
bindtime = 1
removetime = -2
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2190]
type = PlaySnd
trigger1 = Time = [31,181]
trigger1 = Time%8 = 7
value = 6500,12
freqmul = ((random%11)+7)/10.0
volume = 128
[State 2190]
type = PlaySnd
trigger1 = Time = [31,181]
trigger1 = Time%8 = 7
value = 6500,0
freqmul = ((random%11)+9)/10.0
volume = 128

[State 2190]
type = Projectile
trigger1 = PalNo = [1,6]
trigger1 = Time = [31,181]
trigger1 = Time%8 = 7
projanim = 6000
projID = 2190
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p1
offset = 0,-90
velocity = 0,0
attr = S, HA
animtype = hard
damage   = 15,6
guardflag        = MA
hitflag = MAFDP
pausetime = 1,8
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 10
ground.hittime = 10
ground.velocity = 0,-3
air.velocity = 0,-3
palfx.time = 30
palfx.add = 0,(gametime%256)/random%4,gametime%256
palfx.color = 100

[State 2190]
type = Projectile
trigger1 = PalNo = [7,12]
trigger1 = Time = [31,181]
trigger1 = Time%8 = 7
projanim = 6000
projID = 2190
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p1
offset = 0,-90
velocity = 0,0
attr = S, HA
animtype = hard
damage   = random*2,random/2
guardflag        = MA
hitflag = MAFDP
pausetime = 1,8
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 10
ground.hittime = 10
ground.velocity = 0,-3
air.velocity = 0,-3
palfx.time = 30
palfx.add = 0,(gametime%256)/random%4,gametime%256
palfx.color = 100
p2stateno = 2081
[State 2080]
type = Helper
triggerall = PalNo = [7,12]
triggerall = numhelper(2082) = 0
trigger1 = Time = [31,181]
helpertype = player
ID = 2082
name = "('A-)"
postype = p1
pos = 0,0
stateno = 2082
ignorehitpause = 1

[State 2190]
type = ChangeState
trigger1 = Time = 221
value = 2191
ctrl = 0
;----------------------------------------------------------------
;光線をぶつける：終了
[Statedef 2191]
type = U
movetype = I
physics = N
ctrl = 0
anim = 10022
velset = 0,0
sprpriority = 2
poweradd = 0

[State 2191]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------
;相手を捻じ曲げる
[Statedef 2200]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10062
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2200]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2200]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2200]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 10,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2200]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 10,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2200]
type = AssertSpecial
trigger1 = Time = [0,201]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2200]
type = Projectile
trigger1 = PalNo = [1,6]
trigger1 = Time = [31,181]
trigger1 = Time%7 = 0
projanim = 10200
projID = 2200
projremove = 0
projremovetime = 20
projscale = 1,1
postype = p2
offset = (random%101)-50,-(random%101)
velocity = 0,0
attr = S,HA
animtype = Up
damage   = 12,5
guardflag        = MA
hitflag = MAFDP
pausetime = 1,4
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 3
ground.hittime = 2
ground.velocity = -2,-3
airguard.velocity = -2,-3
air.velocity = -2,-3
fall = 1
fall,recover = 0

[State 2200]
type = Projectile
trigger1 = PalNo = [7,12]
trigger1 = Time = [31,181]
trigger1 = Time%6 = 0
projanim = 10200
projID = 2200
projremove = 0
projremovetime = 20
projscale = 1,1
postype = p2
offset = (random%101)-50,-(random%101)
velocity = 0,0
attr = S,HA
animtype = Up
damage   = 999999999999999*ifelse(random%2=0,1,-1),999999999999999*ifelse(random%2=0,1,-1)
guardflag        = MA
hitflag = MAFDP
pausetime = 1,4
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 3
ground.hittime = 2
ground.velocity = -2,-3
airguard.velocity = -2,-3
air.velocity = -2,-3
fall = 1
fall,recover = 0

[State 2190]
type = PlaySnd
trigger1 = Time = [31,181]
trigger1 = Time%7 = 0
value = 6500,44
freqmul = (((Time%51)*2)/10.000)
volume = 128

[State 2200]
type = ChangeState
trigger1 = Time = 201
value = 2201
ctrl = 0
;----------------------------------------------------------------
;相手を捻じ曲げる：終了
[Statedef 2201]
type = U
movetype = I
physics = N
ctrl = 0
anim = 10064
velset = 0,0
sprpriority = 2
poweradd = 0

[State 2201]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------
;時空を漂う
[Statedef 2210]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10012
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2210]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2210]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2210]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 5,-135
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2210]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 5,-135
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2210]
type = AssertSpecial
trigger1 = Time = [0,211]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2210]
type = Explod
trigger1 = Time = 31
ID = 2210
anim = 10210
pos = 0,0
postype = left
sprpriority = -1
ownpal = 1
bindtime = -1
removetime = 180
ignorehitpause = 1
[State 2210]
type = Explod
trigger1 = Time = 31
trigger2 = Time = 32
ID = 2210
anim = 10211
pos = 160,120
postype = left
sprpriority = 8
ownpal = 1
bindtime = -1
removetime = 180
ignorehitpause = 1

[State 2210]
type = PlaySnd
trigger1 = Time = 31
value = 6500,45
freqmul = 1.55
volume = 128
[State 2210]
type = PlaySnd
trigger1 = Time = 31
value = 6500,45
freqmul = 2.00
volume = 128

[State 2210]
type = Projectile
trigger1 = PalNo = [1,6]
trigger1 = Time = [31,211]
trigger1 = time%2 = 0
projanim = 6000
projID = 2210
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p1
offset = 0,0
velocity = 0,0
attr = S, HA
animtype = hard
damage   = 2,1
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 2
ground.hittime = 2
ground.velocity = random-500,-2
air.velocity = random-500,-2
fall = 1
fall,recover = 0

[State 2210]
type = Projectile
trigger1 = PalNo = [7,12]
trigger1 = Time = [31,211]
trigger1 = time%2 = 0
projanim = 6000
projID = 2210
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p1
offset = 0,0
velocity = 0,0
attr = S, HA
animtype = hard
damage   = 0,0
pausetime = 1,2
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 2
ground.hittime = 2
ground.velocity = 0,0
air.velocity = 0,0
p2stateno = 2081

[State 2210]
type = Helper
triggerall = PalNo = [7,12]
triggerall = numhelper(2092) = 0
trigger1 = Time = 31
helpertype = player
ID = 2092
name = "arien"
postype = p1
pos = 0,0
stateno = 2092
ignorehitpause = 1
[State 2210]
type = Helper
triggerall = PalNo = [7,12]
triggerall = numhelper(2095) = 0
trigger1 = Time = 31
helpertype = player
ID = 2095
name = "arien"
postype = p1
pos = 0,0
stateno = 2095
ignorehitpause = 1
[State 2210]
type = Helper
triggerall = PalNo = [7,12]
triggerall = numhelper(2093) = 0
trigger1 = Time = 31
helpertype = player
ID = 2093
name = "arien"
postype = p1
pos = 0,0
stateno = 2093
ignorehitpause = 1

[State 2210]
type = ChangeState
trigger1 = Time = 211
value = 2211
ctrl = 0
;----------------------------------------------------------------
;時空を漂う：終了
[Statedef 2211]
type = U
movetype = I
physics = N
ctrl = 0
anim = 10013
velset = 0,0
sprpriority = 2
poweradd = 0

[State 2211]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------
;空間を焼き尽くす
[Statedef 2220]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10040
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2220]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2220]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2220]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2220]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 5,-80
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2220]
type = AssertSpecial
trigger1 = Time = [0,200]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2220]
type = Explod
trigger1 = Time = 31
ID = 2220
anim = 10220
pos = 0,0
postype = left
sprpriority = 5
ownpal = 1
bindtime = -1
removetime = 170
trans = AddAlpha
alpha = 128,256
ignorehitpause = 1
[State 2220]
type = Explod
trigger1 = Time = 31
ID = 2220
anim = 10221
pos = 0,0
postype = left
sprpriority = 5
ownpal = 1
bindtime = -1
removetime = 170
trans = AddAlpha
alpha = 128,256
ignorehitpause = 1

[State 2220]
type = PlaySnd
trigger1 = Time = 31
value = 6500,48
freqmul = 0.7
volume = 256
[State 2220]
type = PlaySnd
trigger1 = Time = 31
value = 6500,48
freqmul = 0.55
volume = 256
[State 2220]
type = PlaySnd
trigger1 = Time = 31
value = 6500,48
freqmul = 0.7
volume = 256
[State 2220]
type = PlaySnd
trigger1 = Time = 31
value = 6500,48
freqmul = 0.55
volume = 256

[State 2220]
type = Helper
triggerall = !ishelper && name = "Mind of creation and destruction"
triggerall = PalNo = [7,12]
trigger1 = numhelper(2221) = 0
name = "konsen1"
stateno = 2221
ID = 2221
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1
[State 2220]
type = Helper
triggerall = !ishelper && name = "Mind of creation and destruction"
triggerall = PalNo = [7,12]
trigger1 = numhelper(2222) < 8
trigger1 = numhelper(2221) > 0
trigger1 = helper(2221),numtarget < 8
name = "konsen2"
stateno = 2222
ID = 2222
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1

[State 2220]
type = Projectile
trigger1 = PalNo = [1,6]
trigger1 = Time%3 = 0
trigger1 = Time > 31
projanim = 6000
projID = 2220
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HA
animtype = hard
damage   = 5,2
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 2
ground.hittime = 2
ground.velocity = (random%11)-5,-(random%11)
air.velocity = (random%11)-5,-(random%11)
fall = 1
fall,recover = 0

[State 2220]
type = Projectile
trigger1 = PalNo = [7,12]
projanim = 6000
projID = 2220
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HA
animtype = hard
damage   = 2,1
pausetime = 1,1
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 2
ground.hittime = 2
ground.velocity = 0,99999
air.velocity = 0,99999
fall = 1
fall,recover = 0
fall,damage = 5963

[State 2220]
type = ChangeState
trigger1 = Time = 200
value = 0
ctrl = 1
;----------------------------------------------------------------
;空間を焼き尽くす：混線
[Statedef 2221]
type    = A
movetype= I
physics = N
anim = 6000

[State 2221]
type = ReversalDef
trigger1 = numtarget > 0
reversal.attr = SCA,AA,AT,AP
priority = 999999999999999999999999999
pausetime = 0,0
sparkno = -1
hitsound = -1
ignorehitpause = 1

[State 2221];被弾するとtargetを失う
type = nothitby
trigger1 = 1
value = SCA,AA,AT,AP
ignorehitpause = 1
time = -1

[State 2221]
type = bindtoroot
trigger1 = 1

[State 2221];ターゲットを持っていない時に混線ヘルパーが自らターゲット生成を図る
type = Helper
triggerall = numhelper(2222)<8
trigger1 = helper(2221),numtarget<8
name = "konsen1"
stateno = 2222
ID = 2222
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermove = 1
pausemovetime=2147483647
supermovetime=2147483647

[State 2221];攻撃判定アニメに切り替えHitdefで殴る
type=changeanim
trigger1 = numtarget=0
trigger1 = numhelper(2222)>0
value= 6000

[State 2221]
type=statetypeset
trigger1 = numtarget=0
trigger1 = numhelper(2222)>0
type     = A
movetype = A
physics  = N

[State 2221];当身されないように
type = hitdef
trigger1 = numtarget=0
trigger1 = numhelper(2222)>0
attr = ,HP
damage = 0,0
numhits = 0
guardflag = 
hitflag = MAFDP
priority = 7, Hit
pausetime = 0,10
sparkno = 9999
guard.sparkno = 9999
animtype = hard
sparkxy = 9999,-9999
getpower = 0
givepower = -1
hitsound = -1
guardsound = -1
ground.type = high 
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = 0,0
airguard.velocity = 0,0
air.type = Low
air.velocity = 0,0
air.hittime = 5
fall = 0
ignorehitpause = 1
affectteam = F;味方殺し

[State 2221]
type=targetstate
triggerall = numtarget>0
trigger1 = root,stateno = 2220
value = 2223
[State 2221]
type=targetstate
triggerall = numtarget>0
trigger1 = root,stateno = 2230
value = 2231

[State 2221]
type=changeanim
trigger1 = numtarget=8
value= 6002

[State 2221]
type=statetypeset
trigger1 = numtarget=8
type     = A
movetype = I
physics  = N

[State 2221]
type = destroyself
trigger1 = root,stateno != 2220
trigger1 = root,stateno != 2230
;--------------------------------------------------------------------
;空間を焼き尽くす：ターゲット生成
[Statedef 2222]
type    = S
movetype= H
physics = N
anim = 6001

[State 2222]
type = bindtoroot
trigger1 = 1

[State 2222];生成ヘルパーが一定個数未満時無敵
type=nothitby
trigger1 = numhelper(2222) < 8
value= SCA

[State 2222];生成ヘルパーが一定個数の時被弾するようにし混線ヘルパーのターゲットストックを増やす(最大８ストック)
type=hitby
trigger1 = ishelper(2222)
trigger1 = numhelper(2222)=8
value= SCA,HP

[State 2222];削除！
type = destroyself
trigger1 = numhelper(2221)>0
trigger1 = helper(2221),numtarget=8
trigger2 = numhelper(2221)=0
;--------------------------------------------------------------------
;空間を焼き尽くす：敵ステート
[Statedef 2223]
type    = S
movetype= H
physics = S
anim = 5000

[State 2223]
type = HitFallDamage
trigger1 = name != "Mind of creation and destruction"
ignorehitpause = 1
[State 2223]
type = HitOverride
trigger1 = Time = 0
attr = SCA,AA,AP,AT
stateno = 5100
time = 1
ignorehitpause = 1
[State 2223]
type = NotHitBy
trigger1 = Time = 0
value =  ,HT
time = 1
ignorehitpause = 1

[State 2223]
type = lifeset
trigger1 = name != "Mind of creation and destruction"
value = 0
ignorehitpause = 1
[State 2223]
type = powerset
trigger1 = name != "Mind of creation and destruction"
value = 0
ignorehitpause = 1
[State 2223]
type = Posset
trigger1 = name != "Mind of creation and destruction"
y = 999999
ignorehitpause = 1

[State 2223]
type = VarRangeSet
trigger1 = name != "Mind of creation and destruction"
value = random+random-random*random/random
[State 2223]
type = VarRangeSet
trigger1 = name != "Mind of creation and destruction"
fvalue = random+random-random*random/random

[State 2223]
type = VarSet
trigger1 = name != "Mind of creation and destruction"
sysvar(0) = random+random-random*random/random
[State 2223]
type = VarSet
trigger1 = name != "Mind of creation and destruction"
sysvar(1) = random+random-random*random/random
[State 2223]
type = VarSet
trigger1 = name != "Mind of creation and destruction"
sysvar(2) = random+random-random*random/random
[State 2223]
type = VarSet
trigger1 = name != "Mind of creation and destruction"
sysvar(3) = random+random-random*random/random
[State 2223]
type = VarSet
trigger1 = name != "Mind of creation and destruction"
sysvar(4) = random+random-random*random/random

[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(0) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(1) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(2) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(3) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(4) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(5) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(6) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(7) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(8) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(9) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(10) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(11) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(12) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(13) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(14) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(15) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(16) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(17) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(18) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(19) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(20) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(21) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(22) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(23) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(24) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(25) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(26) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(27) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(28) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(29) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(30) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(31) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(32) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(33) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(34) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(35) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(36) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(37) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(38) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(39) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(40) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(41) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(42) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(43) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(44) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(45) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(46) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(47) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(48) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(49) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(50) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(51) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(52) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(53) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(54) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(55) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(56) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(57) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(58) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
var(59) = random+random-random*random/random

[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(0) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(1) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(2) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(3) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(4) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(5) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(6) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(7) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(8) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(9) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(10) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(11) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(12) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(13) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(14) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(15) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(16) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(17) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(18) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(19) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(20) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(21) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(22) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(23) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(24) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(25) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(26) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(27) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(28) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(29) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(30) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(31) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(32) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(33) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(34) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(35) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(36) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(37) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(38) = random+random-random*random/random
[State 2223]
type = parentVarSet
trigger1 = name != "Mind of creation and destruction"
fvar(39) = random+random-random*random/random

[State 2223]
type = SelfState
trigger1 = Time > 10
value = 5150
;--------------------------------------------------------------------
;電流をぶちまける
[Statedef 2230]
type = S
movetype = A
physics = S
ctrl = 0
anim = 10032
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2230]
type = PlaySnd
trigger1 = Time = 0
value = 6500,5
freqmul = 1.2

[State 2230]
type = Afterimage
trigger1 = Time = 35
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2230]
type = SuperPause
trigger1 = time = 35
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2230]
type = Explod
trigger1 = time = 35
anim = 9500
sprpriority = -2
postype = p1
pos = 4,-105
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2230]
type = Explod
trigger1 = time = 35
anim = 9501
sprpriority = 3
postype = p1
pos = 4,-105
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2230]
type = AssertSpecial
trigger1 = Time = [35,235]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2230]
type = Explod
trigger1 = Time = 65
ID = 2230
anim = 10230
pos = 0,0
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 170
ignorehitpause = 1

[State 2230]
type = PlaySnd
trigger1 = Time = 65
value = 6500,49
freqmul = 1.3
volume = 120
[State 2230]
type = PlaySnd
trigger1 = Time = 65
value = 6500,49
freqmul = 1.95
volume = 120
[State 2230]
type = PlaySnd
trigger1 = Time = 65
value = 6500,49
freqmul = 2.925
volume = 120

[State 2230]
type = Helper
triggerall = !ishelper && name = "Mind of creation and destruction"
triggerall = PalNo = [7,12]
trigger1 = time > 65
trigger1 = numhelper(2221) = 0
name = "konsen1"
stateno = 2221
ID = 2221
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1
[State 2230]
type = Helper
triggerall = !ishelper && name = "Mind of creation and destruction"
triggerall = PalNo = [7,12]
trigger1 = time > 65
trigger1 = numhelper(2222) < 8
trigger1 = numhelper(2221) > 0
trigger1 = helper(2221),numtarget < 8
name = "konsen2"
stateno = 2222
ID = 2222
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
ignorehitpause = 1

[state 2230]
type=helper
triggerall = PalNo = [7,12]
trigger1=!numhelper(2232)
trigger1 = time > 65
stateno=2232
name="wwwww"
helpertype = player
id=2232
pos=0,0
postype=p1
ownpal=0
keyctrl=0
ignorehitpause=1
pausemovetime=99999
supermovetime=99999
[state 2230]
type=helper
triggerall = PalNo = [7,12]
trigger1=!numhelper(2233)
trigger1 = time > 65
stateno=2233
name="wwwww"
helpertype = player
id=2233
pos=0,0
postype=p1
ownpal=0
keyctrl=0
ignorehitpause=1
pausemovetime=99999
supermovetime=99999

[State 2230]
type = ChangeState
trigger1 = Time = 235
value = 0
ctrl = 1
;----------------------------------------------------------------
;電流をぶちまける：OTHキラー当身成功その他もろもろ
[Statedef 2231]
type = U
movetype = A
physics = U
velset = 0,0

[State 2231]
type = Projectile
trigger1 = name != "Mind of creation and destruction"
trigger1 = ishelper
trigger1 = root,numProjID(2231) = 0
projanim = anim
projID = 2231
projremove = 0
projremovetime = 50
projpriority = 7
postype = p2
offset = 0,0
attr = C,HT
pausetime = 10,10
p1stateno = prevstateno
ignorehitpause = 1

[State 2231]
type = Posset
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = !alive
y = 999999
ignorehitpause = 1

[State 2231]
type = changestate
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = !alive
value = 5150
ctrl = 1
ignorehitpause = 1

[State 2231]
type = Destroyself
triggerall = ishelper
trigger1 = name != "Mind of creation and destruction"
trigger1 = time >= 50
trigger2 = roundstate != 2
trigger3 = root,alive = 0
ignorehitpause = 1

[State 2231]
type = Selfstate
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = alive
trigger1 = time >= 50
value = 0
ignorehitpause = 1
[State 2231]
type = CtrlSet
trigger1 = name != "Mind of creation and destruction"
trigger1 = !ishelper
trigger1 = alive
trigger1 = time >= 50
value = 1
[State 2231]
type = Selfstate
trigger1 = name = "Mind of creation and destruction"
value = 0
ignorehitpause = 1
;---------------------------------------------------------------------------
;電流をぶちまける：超即死OTHキラー当身
[StateDef 2232]
type = S
movetype = I
physics = N
anim = 6000

[State 2232]
type = Bindtoroot
trigger1 = 1
ignorehitpause = 1

[State 2232]
type = Reversaldef
trigger1 = 1
reversal.attr = SCA,AA,AP,AT
priority = 7
pausetime = 10,10
sparkno = -1
hitsound = -1
p2stateno = 2053
ignorehitpause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State 2232]
type = Targetdrop
trigger1 = numtarget
trigger1 = target,ishelper
ignonorehitpause = 1

[State 2232]
type = Destroyself
trigger1 = root,stateno != 2230
ignorehitpause = 1
;---------------------------------------------------------------------------
;電流をぶちまける：OTHキラー被ダメ
[StateDef 2233]
type = S
movetype = I
physics = N
anim = 6001

[State 2233]
type = Bindtoroot
trigger1 = 1
ignorehitpause = 1

[State 2233]
type = Hitby
trigger1 = 1
value = C,HT
time = 1

[State 2233]
type = Destroyself
trigger1 = root,stateno != 2230
ignorehitpause = 1
;---------------------------------------------------------------------------
;空間をバラバラに引き裂く
[Statedef 2240]
type = U
movetype = A
physics = N
ctrl = 0
anim = 10001
velset = 0,0
sprpriority = 2
poweradd = -1000

[State 2240]
type = Afterimage
trigger1 = Time = 0
trans = add
PalContrast =  0, 125, 250
PalBright = 0,0,0
time    =  1
length  = 13
TimeGap = 1
FrameGap = 1
[State 2240]
type = SuperPause
trigger1 = time = 0
time = 30
movetime = 30
anim = -1
sound = s6500,2
[State 2240]
type = Explod
trigger1 = time = 0
anim = 9500
sprpriority = -2
postype = p1
pos = 10,-158
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2240]
type = Explod
trigger1 = time = 0
anim = 9501
sprpriority = 3
postype = p1
pos = 10,-158
bindtime = -1
removetime = -2
supermove = 1
ownpal = 1
[State 2240]
type = AssertSpecial
trigger1 = Time = [0,258]
flag= noBG
flag2= nobardisplay
flag2= noFG
supermovetime = 9999
pausemovetime = 9999
ignorehitpause = 1

[State 2240]
type = PlaySnd
trigger1 = Time = 31
trigger2 = Time = 61
trigger3 = Time = 91
trigger4 = Time = 121
trigger5 = Time = 151
value = 6500,51
freqmul = ((random%11)+9)/10.0
volume = 256

[State 2240]
type = Explod
trigger1 = Time = 31
ID = 2240
anim = 10241
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 160
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1
[State 2240]
type = Explod
trigger1 = Time = 61
ID = 2240
anim = 10242
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 130
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1
[State 2240]
type = Explod
trigger1 = Time = 91
ID = 2240
anim = 10243
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 100
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1
[State 2240]
type = Explod
trigger1 = Time = 121
ID = 2240
anim = 10244
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 70
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1
[State 2240]
type = Explod
trigger1 = Time = 151
ID = 2240
anim = 10245
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = 40
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1

[State 2240]
type = PlaySnd
trigger1 = Time = 191
value = 6500,50
freqmul = 0.8
volume = 256
[State 2240]
type = PlaySnd
trigger1 = Time = 191
value = 6500,50
freqmul = 1.2
volume = 256
[State 2240]
type = PlaySnd
trigger1 = Time = 191
value = 6500,52
freqmul = 0.9
volume = 256
[State 2240]
type = PlaySnd
trigger1 = Time = 191
value = 6500,52
freqmul = 0.8
volume = 256

[State 2240]
type = Explod
trigger1 = Time = 191
ID = 2240
anim = 10240
pos = 160,120
postype = left
sprpriority = 7
ownpal = 1
bindtime = -1
removetime = -2
facing = ifelse(random%2=0,1,-1)
vfacing = ifelse(random%2=0,1,-1)
ignorehitpause = 1

[State 2240]
type = Projectile
triggerall = PalNo = [1,6]
trigger1 = Time = 31
trigger2 = Time = 61
trigger3 = Time = 91
trigger4 = Time = 121
trigger5 = Time = 151
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 30,2
guardflag        = MA
hitflag = MA
pausetime = 66,66
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,0
airguard.velocity = 0,0
air.velocity = 0,0
[State 2240]
type = Projectile
triggerall = PalNo = [1,6]
trigger1 = Time = 191
projanim = 6000
projID = 2170
projremove = 0
projremovetime = 1
projscale = 1,1
postype = p2
offset = 0,0
velocity = 0,0
attr = S,HP
animtype = hard
damage   = 100,20
guardflag        = MA
hitflag = MA
pausetime = 2,2
sparkxy = -9999,9999
ignorehitpause = 1
ground.slidetime = 1
ground.hittime = 1
ground.velocity = 0,-15
airguard.velocity = 0,-15
air.velocity = 0,-15
fall = 1

[State 2240]
type = ChangeState
trigger1 = Time = 258
value = 2241
ctrl = 0
;----------------------------------------------------------------
;空間をバラバラに引き裂く：終了
[Statedef 2241]
type = U
movetype = I
physics = N
ctrl = 0
anim = 10002
velset = 0,0
sprpriority = 2
poweradd = 0

[State 2241]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------