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

[Statedef 0]
sprpriority = 0

[State 0, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 0, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 0, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
movetype = I
physics = S
ignorehitpause = 1

[State 0, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 0
value = 0
ignorehitpause = 1

[State 0, コントロールフラグ]
type = Varset
triggerall = !ishelper
trigger1 = ctrl
var(10) = 1
ignorehitpause = 1

[State 0, コントロール可否]
type = Ctrlset
triggerall = !ishelper
trigger1 = var(10)
value = 1
ignorehitpause = 1

[State 0, 振り向き]
type = Turn
triggerall = !ishelper
trigger1 = pos x < enemynear,pos x && facing = -1
trigger2 = enemynear,pos x < pos x && facing = 1
ignorehitpause = 1

[State 0, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 10]

[State 10, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 10, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 10, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 11]

[State 11, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 11, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 11, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 12]

[State 12, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 12, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 12, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 20]

[State 20, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 20, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 20, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 40]

[State 40, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 40, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 40, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 45]

[State 45, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 45, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 45, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 50]

[State 50, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 50, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 50, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 51]

[State 51, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 51, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 51, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 52]

[State 52, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 52, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 52, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 100]

[State 100, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 100, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 100, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 105]

[State 105, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 105, 自キャラ以外だった場合ｏ]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 105, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 106]

[State 106, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 106, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 106, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 110]

[State 110, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 110, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 110, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 115]

[State 115, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 115, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State , 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 120]
type = U
movetype = U
physics = U
movehitpersist = 1
hitdefpersist = 1

[State 120, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 120, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 120, 準ステート固定基準]
type = Null
trigger1 = !ishelper
ignorehitpause = 1

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

[Statedef 130]

[State 130, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 130, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 130, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(130)
statetype = C
movetype = I
physics = N
ignorehitpause = 1

[State 130, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(130)
value = 1003
ignorehitpause = 1

[State 130, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[State 130, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(130)
value = 9999999999999
ignorehitpause = 1

[State 130, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(130)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 130, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[state 130, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[State 130, ヘルパー本体追従]
type = Bindtoroot
trigger1 = ishelper(130)
ignorehitpause = 1

[State 130, 特定属性のみ命中]
type = Hitby
trigger1 = ishelper(130)
value = C, HP
ignorehitpause = 1

[State 130, 食らいヘルパー消去]
type = Destroyself
triggerall = ishelper(130)
trigger1 = !alive
trigger2 = enemy,name = "Singularity"
ignorehitpause = 1

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

[Statedef 131]
movehitpersist = 1

[State 131, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 131, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 131, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(131)
statetype = S
movetype = A
physics = N
ignorehitpause = 1

[State 131, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(131)
value = 1002
ignorehitpause = 1

[State 131, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(131)
value = 0
ignorehitpause = 1

[State 131, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(131)
value = 9999999999999
ignorehitpause = 1

[State 131, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(131)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 131, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(131)
value = 0
ignorehitpause = 1

[State 131, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(131)
ignorehitpause = 1

[State 131, ステート習得用]
type = Hitdef
triggerall = ishelper(131)
trigger1 = var(4) != 1
attr = S, AA, AT, AP
hitflag = MA
ground.type = trip
damage = random
priority = 7, hit
sparkxy = 999, 999
yaccel = 99
fall = 1
fall.recover = 0
fall.damage = 9999999999999
sparkxy = 999, 999
p2getp1state = 0
ground.hittime = 1
guard.ctrltime = 1

[State 131, 当身感知時代入]
type = Null
triggerall = ishelper(131)
triggerall = movereversed
trigger1 = var(4) := 1
ignorehitpause = 1

[State 131, ヘルパー消去]
type = Destroyself
triggerall = ishelper(131)
trigger1 = !alive
trigger2 = roundstate != 2
trigger3 = numhelper(131) > 1
ignorehitpause = 1

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

[Statedef 132]

[State 132, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 132, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 132, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(132)
statetype = S
movetype = I
physics = N
ignorehitpause = 1

[State 132, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(132)
value = 132
ignorehitpause = 1

[State 132, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(132)
value = 0
ignorehitpause = 1

[State 132, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(132)
value = 9999999999999
ignorehitpause = 1

[State 132, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(132)
flag = noshadow
ignorehitpause = 1

[State 132, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(132)
value = 0
ignorehitpause = 1

[state 132, 振り向き]
type = Turn
triggerall = ishelper(132)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 132, 攻撃判定ランダムダメージ]
type = Projectile
triggerall = ishelper(132)
triggerall = alive
triggerall = root,palno = [7,12]
triggerall = enemy,name != "Legendary Super Saiyan" || (enemy,name = "Legendary Super Saiyan" && roundsexisted < 0)
trigger1 = roundstate = 2
projanim = 1002
projID = 132
projremove = 0
projremovetime = 1
projsprpriority = -1
attr = SCA, AA, AT, AP
hitflag = MA
damage = random
priority = 7, hit
projriority = 9999999999999
yaccel = 99
fall = 1
fall.recover = 0
fall.damage = 9999999999999
sparkxy = 999, 999
p2getp1state = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 132, 超即死ＯＴＨキラー]
type = Reversaldef
triggerall = ishelper(132)
trigger1 = root,palno = [7,12]
reversal.attr = SCA, AA, AT, AP
pausetime = 0, 2
sparkxy = 999, 999
p2stateno = 11000
ignorehitpause = 1

[State 132, 死の宣告]
type = Targetlifeadd
triggerall = ishelper(132)
triggerall = root,palno = [7,12]
triggerall = roundstate != 2
triggerall = numtarget
trigger1 = !target,ishelper
value = -9999999999999
absolute = 1
ignorehitpause = 1

[State 132, 毒]
type = null;Targetlifeadd
triggerall = ishelper(132)
triggerall = root,palno = [7,12]
triggerall = roundstate = 2
triggerall = numtarget
trigger1 = !target,ishelper
value = -1
absolute = 1
ignorehitpause = 1

[State 132, ヘルパー追従]
type = Bindtoroot
triggerall = ishelper(132)
triggerall = roundstate != 4
triggerall = root,anim != 1410
triggerall = root,anim != 1600
triggerall = root,anim != 1800
trigger1 = root,numexplod(1400) = 0
pos = cos(gametime / 10) + 60, sin(gametime / 20) * 2 - 30
ignorehitpause = 1

[State 132, 射出時角度指定]
type = Angledraw
triggerall = ishelper(132)
trigger1 = root,numexplod(1400) = 1
value = 20
ignorehitpause = 1

[State 132, 射出時角度指定]
type = null;Angledraw
triggerall = ishelper(132)
trigger1 = root,anim = 1410
value = gametime * 10
ignorehitpause = 1

[State 132, カルノバーン発射]
type = Velset
triggerall = ishelper(132)
trigger1 = root,numexplod(1400) = 1
x = 15
ignorehitpause = 1

[State 132, 特定動作時射出]
type = Velset
triggerall = ishelper(132)
trigger1 = roundstate = 4
trigger1 = !time
trigger2 = root,anim = 1600
trigger3 = root,anim = 1800
x = 10
y = 3
ignorehitpause = 1

[State 132, ヘルパー消去]
type = Destroyself
triggerall = ishelper(132)
trigger1 = !alive
trigger2 = root,var(9) < 0
ignorehitpause = 1

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

[Statedef 140]

[State 140, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 140, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 140, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(140)
statetype = S
movetype = I
physics = N
ignorehitpause = 1

[State 140, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(140)
value = 140
ignorehitpause = 1

[State 140, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(140)
value = 0
ignorehitpause = 1

[State 140, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(140)
value = 9999999999999
ignorehitpause = 1

[State 140, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(140)
flag = noshadow
ignorehitpause = 1

[State 140, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(140)
value = 0
ignorehitpause = 1

[State 140, ヘルパー追従]
type = Bindtoroot
triggerall = ishelper(140)
triggerall = roundstate != 4
trigger1 = root,anim != 1600
trigger1 = root,anim != 1800
pos = cos(gametime / 20) - 55, sin(gametime / 10) * 2 - 70
ignorehitpause = 1

[state 140, 押し戻し判定追加]
type = Playerpush
trigger1 = ishelper(140)
value = 1
ignorehitpause = 1

[state 140, 振り向き]
type = Turn
triggerall = ishelper(140)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 140, アーマー処理]
type = Hitoverride
trigger1 = ishelper(140)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 140
ignorehitpause = 1

[State 140, 一定時間無敵]
type = Nothitby
triggerall = ishelper(140)
trigger1 = gethitvar(damage)
value = SCA
time = 120
ignorehitpause = 1

[State 140, 特定動作中無敵]
type = Nothitby
triggerall = ishelper(140)
trigger1 = roundstate != 2
value = SCA
time = 1
ignorehitpause = 1

[State 140, 蘇生用ｎｏｋｏ]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate < 3
triggerall = root,var(9) > -1
trigger1 = !win
flag = noko
flag2 = roundnotover
ignorehitpause = 1

[State 140, 蘇生時ＫＯ防止]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate < 3
triggerall = root,var(9) > -1
trigger1 = !root,alive
trigger2 = root,anim = [17000,19000]
flag = timerfreeze
flag2 = roundnotover
ignorehitpause = 1

[State 140, 八百長対策]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate > 2
triggerall = root,anim != [170,181]
trigger1 = root,anim != 0
flag = roundnotover
ignorehitpause = 1

[State 140, 特定動作時射出]
type = Velset
triggerall = ishelper(140)
trigger1 = roundstate = 4
trigger1 = !time
trigger2 = root,anim = 1600
trigger3 = root,anim = 1800
x = -10
y = -3
ignorehitpause = 1

[State 140, ヘルパー消去]
type = Destroyself
triggerall = ishelper(140)
trigger1 = !alive
trigger2 = root,var(9) < 0
ignorehitpause = 1

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

[Statedef 150]

[State 150, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 150, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 150, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(150)
value = root,anim
ignorehitpause = 1

[State 150, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(150)
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 150, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(150)
value = 9999999999999
ignorehitpause = 1

[State 150, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(150)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 150, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(150)
pos = 0, 0
ignorehitpause = 1

[state 150, 押し戻し判定追加]
type = Playerpush
trigger1 = ishelper(150)
value = 1
ignorehitpause = 1

[state 150, 振り向き]
type = Turn
triggerall = ishelper(150)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 150, アーマー処理]
type = Hitoverride
trigger1 = ishelper(150)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 150
ignorehitpause = 1

[state 150, ダメージ１１Ｐ以外]
type = Varadd
triggerall = ishelper(150)
triggerall = root,palno != 11
triggerall = enemy,name != "H-Reimu"
trigger1 = gethitvar(damage)
var(8) = 1000
ignorehitpause = 1

[state 150, ダメージ１１Ｐ]
type = Varadd
triggerall = ishelper(150)
triggerall = root,palno = 11
trigger1 = gethitvar(damage)
var(8) = 1
ignorehitpause = 1

[state 150, ダメージ１１Ｐ]
type = Varset
triggerall = ishelper(150)
triggerall = root,palno = 11
trigger1 = roundstate = 2
trigger1 = var(8) <= 1000
var(8) = 1000
ignorehitpause = 1

[state 150, 蘇生時回復]
type = Varset
triggerall = ishelper(150)
trigger1 = root,anim = [17000,19000]
var(8) = 0
ignorehitpause = 1

[state 150, タイムアップ時]
type = Varset
triggerall = ishelper(150)
triggerall = roundstate > 2
trigger1 = wintime
trigger2 = losetime
trigger3 = drawgame
var(8) = 1999
ignorehitpause = 1

[State 150, 被弾音その１]
type = Playsnd
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = 100, 0
ignorehitpause = 1

[State 150, 被弾音その２]
type = Playsnd
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = 100, 3
ignorehitpause = 1

[State 150, 一定時間無敵]
type = Nothitby
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = SCA
time = 120
ignorehitpause = 1

[State 150, 特定動作中無敵]
type = Nothitby
triggerall = ishelper(150)
trigger1 = roundstate != 2
trigger2 = root,anim = [17000,20000]
trigger3 = root,anim = [1500,1900]
value = SCA
time = 1
ignorehitpause = 1

[State 150, ヘルパー消去]
type = Destroyself
triggerall = ishelper(150)
trigger1 = !alive
trigger2 = root,var(9) < 0
trigger3 = !root,alive
ignorehitpause = 1

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

[Statedef 151]

[State 151, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 151, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 151, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[State 151, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(151)
value = 9999999999999
ignorehitpause = 1

[State 151, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(151)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 151, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[state 151, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[State 151, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(151)
pos = 0, 0
ignorehitpause = 1

[State 151, 無敵化]
type = Nothitby
trigger1 = ishelper(151)
value = SCA, AA, AT, AP
time = -1
ignorehitpause = 1

[State 151, ヘルパーステートタイプ変更]
type = Statetypeset
triggerall = ishelper(151)
triggerall = numtarget = 0
trigger1 = numhelper(152) > 0
statetype = A
movetype = A
physics = N
ignorehitpause = 1

[State 151, ヘルパーアニメ変更]
type = Changeanim
triggerall = ishelper(151)
triggerall = numtarget = 0
trigger1 = numhelper(152) > 0
value = 1002
ignorehitpause = 1

[State 151, ターゲット習得時ステートタイプ変更]
type = Statetypeset
triggerall = ishelper(151)
trigger1 = numtarget = 8
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 151, ターゲット習得時アニメ変更]
type = changeanim
triggerall = ishelper(151)
trigger1 = numtarget = 8
value= 1004
ignorehitpause = 1

[State 151, 生成用ヘルパー保険]
type = Helper
triggerall = ishelper(151)
trigger1 = numhelper(152) < 8
trigger1 = helper(151),numtarget < 8
ID = 152
name = "konsen_seisei"
postype = p1
pos = 0, 0
stateno = 152
helpertype = player
keyctrl = 0
size.xscale = 1
size.yscale = 1
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 151, 永続ターゲット]
type = Reversaldef
triggerall = ishelper(151)
trigger1 = numtarget > 0
reversal.attr = SCA, AA, AT, AP
priority = 9999999999999
pausetime = 0, 0
sparkno = -1
hitsound = -1
ignorehitpause = 1

[State 151, 当身されないＨｉｔｄｅｆ]
type = Hitdef
triggerall = ishelper(151)
triggerall = numtarget = 0
trigger1 = numhelper(152) > 0
attr = ,NA
numhits = 0
hitflag = MAFDP
priority = 7, Hit
pausetime = 0, 10
animtype = hard
sparkxy = 999, -999
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
affectteam = f
ignorehitpause = 1

[State 151, 習得ステート飛ばし、アーマー貫通砲]
type = Targetstate
triggerall = ishelper(151)
triggerall = roundstate = 2
triggerall = numtarget > 0
triggerall = target,ishelper
trigger1 = root,numexplod(1070) = 1
value = 13000
ignorehitpause = 1

[State 151, 習得ステート飛ばし、即死返し]
type = Targetstate
triggerall = ishelper(151)
triggerall = roundstate = 2
triggerall = numtarget > 0
triggerall = target,ishelper
trigger1 = root,numexplod(1090) = 1
value = 14000
ignorehitpause = 1

[State 151, 習得ステート飛ばし、変数弄り]
type = null;Targetstate
triggerall = ishelper(151)
triggerall = numtarget > 0
triggerall = target,ishelper
trigger1 = gametime % 600 = [0,60]
value= 15000
ignorehitpause = 1

[State 151, ヘルパー消去]
type = Destroyself
triggerall = ishelper(151)
trigger1 = !alive
trigger2 = root,anim != 1600
trigger2 = root,anim != 1800
trigger3 = enemy,name = "Singularity"
ignorehitpause = 1

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

[Statedef 152]

[State 152, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 152, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 152, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(152)
value = 1003
ignorehitpause = 1

[State 152, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[State 152, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(152)
value = 9999999999999
ignorehitpause = 1

[State 152, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(152)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 152, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[state 152, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[State 152, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(152)
pos = 0, 0
ignorehitpause = 1

[State 152, ターゲット生成]
type = Nothitby
triggerall = ishelper(152)
trigger1 = numhelper(152) < 8
value= SCA
ignorehitpause = 1

[State 152, ターゲット増加]
type = Hitby
triggerall = ishelper(152)
trigger1 = numhelper(152) = 8
value= SCA, NA
ignorehitpause = 1

[State 152, 空ターゲット作成]
type = Destroyself
triggerall = ishelper(152)
trigger1 = numhelper(151)
trigger1 = helper(151),numtarget = 8
trigger2 = numhelper(151) = 0
ignorehitpause = 1

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

[Statedef 153]

[State 153, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 153, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 153, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(153)
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 153, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(153)
value = 0
ignorehitpause = 1

[State 153, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(153)
value = 1004
ignorehitpause = 1

[State 153, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(153)
value = 9999999999999
ignorehitpause = 1

[State 153, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(153)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 153, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(153)
value = 0
ignorehitpause = 1

[State 153, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(153)
pos = 0, 0
ignorehitpause = 1

[state 153, ヘルパー消去]
type = Destroyself
triggerall = ishelper(153)
trigger1 = numhelper(151)
trigger1 = helper(151),numtarget = 8
trigger2 = roundstate > 1
ignorehitpause = 1

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

[Statedef 154]

[State 154, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 154, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 154, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 155]

[State 155, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 155, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

[State 155, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(155)
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 155, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(155)
value = 1004
ignorehitpause = 1

[State 155, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(155)
value = 0
ignorehitpause = 1

[State 155, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(155)
value = 9999999999999
ignorehitpause = 1

[State 155, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(155)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 155, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(155)
value = 0
ignorehitpause = 1

[State 155, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(155)
pos = 0, 0
ignorehitpause = 1

[state 155, 時止め解除]
type = Pause
trigger1 = ishelper(155)
time = 0
movetime = 0
ignorehitpause = 1

[state 155, 時止め解除]
type = Superpause
trigger1 = ishelper(155)
anim = -1
time = 0
movetime = 0
darken = 0
p2defmul = 1
ignorehitpause = 1

[state 155, 対現実]
type = Pause
triggerall = ishelper(155)
triggerall = !enemy,alive && !enemy(numenemy = 2),alive
trigger1 = enemy,name = "genjitsu"
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1

[state 155, 対現実]
type = Superpause
triggerall = ishelper(155)
triggerall = !enemy,alive && !enemy(numenemy = 2),alive
trigger1 = enemy,name = "genjitsu"
anim = -1
time = 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
ignorehitpause = 1

[state 155, 超即死用時止め]
type = Pause
triggerall = ishelper(155)
triggerall = roundstate = 2
trigger1 = !enemy,alive && !enemy(numenemy = 2),alive
time = 1
movetime = 1
ignorehitpause = 1

[state 155, 超即死用時止め]
type = Superpause
triggerall = ishelper(155)
triggerall = roundstate = 2
trigger1 = !enemy,alive && !enemy(numenemy = 2),alive
anim = -1
time = 1
movetime = 1
darken = 0
p2defmul = 1
ignorehitpause = 1

[state 155, ヘルパー消去]
type = Destroyself
triggerall = ishelper(155)
trigger1 = !alive
trigger2 = numhelper(155) > 1
ignorehitpause = 1

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

[Statedef 170]
velset = 0,0

[State 170, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 170, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 170, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 170, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 170
value = 170
ignorehitpause = 1

[State 170, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 170, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 400
ignorehitpause = 1

[State 170, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 500
ignorehitpause = 1

[State 170, 敗北演出]
type = Angledraw
trigger1 = !ishelper
value = animelemtime(1) * 5
ignorehitpause = 1

[State 170, 敗北演出]
type = Velset
trigger1 = !ishelper
x = -5
y = -3
ignorehitpause = 1

[State 170, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 175]
velset = 0,0

[State 175, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 175, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 175, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 175, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 175, 1] ; If no anim, use go to lose state.
type = ChangeState
triggerall = !ishelper
trigger1 = animelem = 1
trigger1 = !SelfAnimExist(175)
value = 170
ignorehitpause = 1

[State 175, 2]
type = ChangeAnim
triggerall = !ishelper
trigger1 = animelem = 1
value = 175
ignorehitpause = 1

[State 175, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 400
ignorehitpause = 1

[State 175, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 500
ignorehitpause = 1

[State 175, 敗北演出]
type = Angledraw
trigger1 = !ishelper
value = animelemtime(1) * 5
ignorehitpause = 1

[State 175, 敗北演出]
type = Velset
trigger1 = !ishelper
x = -5
y = -3
ignorehitpause = 1

[State 175, 演出延長]
type = Assertspecial
trigger1 = animelemtime(1) <= 180
flag = roundnotover
ignorehitpause = 1

[State 175, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 180]

[State 180, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 180, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 180, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 180, ステート変更]
type = Changestate
triggerall = !ishelper
trigger1 = win
value = 181
ignorehitpause = 1

[State 180, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 181]
velset = 0,0

[State 181, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 181, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 181, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 181, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 181
value = 181
ignorehitpause = 1

[State 181, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 181, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 400
ignorehitpause = 1

[State 181, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 500
ignorehitpause = 1

[State 181, 勝利演出]
type = Angledraw
trigger1 = !ishelper
value = animelemtime(1)
ignorehitpause = 1

[State 181, 飛翔]
type = Velset
triggerall = !ishelper
trigger1 = animelemtime(1) > 20
x = 10
y = -5
ignorehitpause = 1

[State 181, 衝撃波]
type = Explod
triggerall = !ishelper
trigger1 = animelemtime(1) = 25
anim = 1030
id = 181
pos = -40, 30
sprpriority = 7
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 181, 演出延長]
type = Assertspecial
trigger1 = animelemtime(1) <= 180
flag = roundnotover
ignorehitpause = 1

[State 181, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 190]
velset = 0,0

[State 190, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 190, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 190, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 190, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 190, 1]
type = ChangeAnim
triggerall = !ishelper
trigger1 = SelfAnimExist(190)
value = 190
ignorehitpause = 1

[State 190, 2] ;Go straight to intro.
type = ChangeState
triggerall = !ishelper
trigger1 = animelem = 1
value = 191
ignorehitpause = 1

[State 190, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 191]
velset = 1,0

[State 191, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 191, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 191, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 191, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = roundstate = 0
trigger2 = anim != 191
value = 191
ignorehitpause = 1

[State 191, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 19000, 位置セット]
type = Posset
triggerall = !ishelper
trigger1 = animelem = 1
x = -320
ignorehitpause = 1

[State 191, イントロ]
type = Assertspecial
trigger1 = !ishelper
flag = intro
ignorehitpause = 1

[State 191, ステート変更]
type = Changestate
triggerall = !ishelper
trigger1 = animtime = 0
trigger2 = !time
trigger2 = roundstate = 2
value = 0
ignorehitpause = 1

[State 191, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5000]

[State 5000, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5000, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5000, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5000, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5001]

[State 5001, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5001, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5001, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5001, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5010]

[State 5010, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5010, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5010, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5010, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5011]

[State 5011, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5011, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5011, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5011, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5020]

[State 5020, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5020, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5020, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5020, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5030]

[State 5030, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5030, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5030, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5030, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5035]

[State 5035, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5035, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5035, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5035, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5040]

[State 5040, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5040, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5040, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5040, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5050]

[State 5050, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5050, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5050, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5050, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5070]

[State 5070, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5070, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5070, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5070, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5071]

[State 5071, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5071, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5071, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5071, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5080]

[State 5080, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5080, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5080, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5080, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5081]

[State 5081, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5081, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5081, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5081, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5100]

[State 5100, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5100, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5100, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5100, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5101]

[State 5101, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5101, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5101, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5101, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5110]

[State 5110, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5110, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5110, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5110, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5120]

[State 5120, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5120, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5120, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5120, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5150]
sprpriority = 4

[State 5150, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = L
movetype = H
physics = N
ignorehitpause = 1

[State 5150, アニメ変更]
type = Changeanim
triggerall = !ishelper
triggerall = name = "Crueltear=Relinquish"
trigger1 = anim != 5150
value = 5150
ignorehitpause = 1

[State 5150, 爆発エフェクト]
type = Explod
triggerall = !ishelper
triggerall = name = "Crueltear=Relinquish"
trigger1 = numexplod(17000) < 10
trigger1 = animelemtime(1) = [0,60]
anim = 1010
id = 17000
pos = 0, -50
random = 80, 80
scale = 0.3, 0.3
sprpriority = 7
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 5150, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 5150, 死亡]
type = Lifeset
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 0
ignorehitpause = 1

[State 5150, 透明化]
type = Assertspecial
triggerall = !ishelper
triggerall = name != "Crueltear=Relinquish"
trigger1 = !alive
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 5150, 固定化]
type = Posset
triggerall = !ishelper
triggerall = name != "Crueltear=Relinquish"
trigger1 = !alive
y = 0
ignorehitpause = 1

[State 5150, 死なない場合]
type = Selfstate
triggerall = !ishelper
triggerall = name != "Crueltear=Relinquish"
triggerall = alive
trigger1 = time >= 60
trigger2 = animelemtime(1) >= 60
value = 50
ignorehitpause = 1

[State 5150, ヘルパー消去]
type = Destroyself
triggerall = name != "Crueltear=Relinquish"
trigger1 = ishelper
ignorehitpause = 1

[state 5150, エフェクト消去]
type = Removeexplod
trigger1 = name != "Crueltear=Relinquish"
ignorehitpause = 1

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

[Statedef 5200]

[State 5200, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5200, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5200, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5200, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5201]

[State 5201, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5201, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5201, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5201, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5210]

[State 5210, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5210, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
trigger2 = !alive
value = 5150
ignorehitpause = 1

[State 5210, 生きていた場合]
type = Selfstate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5210, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 5500]
velset = 0,0

[State 5500, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5500, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 5500, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 5500, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 5500
value = 5500
ignorehitpause = 1

[State 5500, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 5500, 1] ;Use continue animation if available
type = ChangeAnim
triggerall = !ishelper
trigger1 = time = 0
trigger1 = SelfAnimExist(5500)
value = 5500
ignorehitpause = 1

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

[Statedef 5900]

[State 5900, ヘルパー消去]
type = Destroyself
trigger1 = ishelper
ignorehitpause = 1

[State 5900, 自キャラ以外だった場合]
type = Changestate
triggerall = !ishelper
trigger1 = name != "Crueltear=Relinquish"
value = 5150
ignorehitpause = 1

[State 5900, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 5900
value = 5900
ignorehitpause = 1

[State 5900, 混線用ヘルパー呼び出し]
type = Helper
triggerall = !ishelper
trigger1 = numhelper(151) = 0
ID = 151
name = "konsen"
postype = p1
pos = 0, 0
stateno = 151
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 5900, 生成用ヘルパー呼び出し]
type = Helper
triggerall = !ishelper
trigger1 = numhelper(152) < 8
ID = 152
name = "konsen_seisei"
postype = p1
pos = 0, 0
stateno = 152
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[state 5900, 占有ヘルパー呼び出し]
type = Helper
triggerall = !ishelper
triggerall = numhelper(152) = 8
trigger1 = (numhelper + enemy,numhelper) < 55 + numhelper(151)
ID = 153
name = "konsen_senyu"
postype = p1
pos = 0, 0
stateno = 153
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[state 5900, 開幕混線用ループ]
type = Changestate
triggerall = !ishelper
trigger1 = (numhelper + enemy,numhelper) < 56
value = 5900
ignorehitpause = 1

[State 5900, 1] ;Clear all int variables
type = VarRangeSet
triggerall = !ishelper
trigger1 = roundsexisted = 0
value = 0
ignorehitpause = 1

[State 5900, 2] ;Clear all float variables
type = VarRangeSet
triggerall = !ishelper
trigger1 = roundsexisted = 0
fvalue = 0
ignorehitpause = 1

[State 5900, 3] ;Intro for round 1
type = ChangeState
triggerall = !ishelper
trigger1 = roundno = 1
value = 190
ignorehitpause = 1

[State 5900, 準ステート固定]
type = Selfstate
trigger1 = !ishelper
value = 120
ignorehitpause = 1
