
;---------------------------------------------------------------------------
; 相手を飛ばすステート
;---------------------------------------------------------------------------

[Statedef 15051]
type    = S
movetype= A
physics = N
velset = 0,0
sprpriority = 0

[state 無敵]
type = nothitby
trigger1 = !Ishelper
value = SCA
ignorehitpause = 1

[State 位置ランダム]
type = posset
trigger1 = 1
y = (random * 0.1) * -1

[State アニメ変更]
type = ChangeAnim2
triggerall = !Ishelper
trigger1 = 1
value = 14
ignorehitpause = 1

[State ライフを減らす]
Type = Lifeset
triggerall = !Ishelper
trigger1 = 1
Value = 0
kill = 1
ignorehitpause = 1

[State 殴っちゃうぞー]
type = HitDef
trigger1 = !Ishelper && alive
attr = A,NP
animtype  = Hard
damage    = 0,0
priority  = 4
hitflag = MHLAFDP
guardflag = MA
pausetime = 99,99
sparkxy = 0,-99990
hitsound   = -1
guardsound = -1
ground.type = Low
ignorehitpause = 1

[State proj出しちゃうぞー]
type = Projectile
triggerall = Ishelper
triggerall = root,numProjID(6545668) = 0
trigger1 = time <= 10
trigger2 = animelemtime(1) <= 10
projanim = anim
projremovetime = 2
projID = 6545668
velocity = 0,0
affectteam = b
postype = p1
attr = A,NP
hitflag = MAFD
hitsound = F5, 0
sparkno = -1
guard.sparkno = -1
p1stateno = prevstateno
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State 保険だぞー]
type = Projectile
triggerall = Ishelper
;triggerall = root,numProjID(6545668) = 0
trigger1 = time >= 11
trigger2 = animelemtime(1) >= 11
projanim = anim
Projremovetime = 2
projID = 6545668
velocity = 0,0
affectteam = b
postype = p1
attr = A,NP
hitflag = MAFD
sparkno = -1
guard.sparkno = -1
p1stateno = 52
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State フラグステートに移動]
type = ChangeState
triggerall = !Ishelper
triggerall = alive
trigger1 = HitPauseTime >= 4
value = 6577726
ctrl = 0
ignorehitpause = 1

[State ヘルパー消去]
type = DestroySelf
trigger1 = IsHelper
trigger1 = time >= 16
ignorehitpause = 1

[State ステートを返す]
type = SelfState
trigger1 = !IsHelper
trigger1 = Time > 15
value = 52
ctrl = 1
ignorehitpause = 1

[state ステートを返す]
type = Selfstate
triggerall = !ishelper
trigger1 = !alive
value = 5150
ignorehitpause = 1

[state ターゲットを捨てる]
type = targetdrop
trigger1 = numtarget > 5
trigger1 = target,Ishelper
absolute = 1
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999


;---------------------------------------------------------------------------
; 相手を飛ばすステート
;---------------------------------------------------------------------------

[Statedef 15052]
type    = S
movetype= A
physics = N
velset = 0,0
anim = 14
sprpriority = 0

[state 無敵]
type = nothitby
trigger1 = !Ishelper
value = SCA
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = !Ishelper
time = 999990
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = !Ishelper
time = 999990
ignorehitpause = 1

[State 位置ランダム]
type = posset
trigger1 = 1
y = (random * 0.1) * -1

[State アニメ変更]
type = ChangeAnim2
triggerall = !Ishelper
trigger1 = 1
value = 14
ignorehitpause = 1

[State 殴っちゃうぞー]
type = HitDef
trigger1 = !Ishelper && alive
attr = A,NP
animtype  = Hard
damage    = 0,0
priority  = 4
hitflag = MHLAFDP
guardflag = MA
pausetime = 99,0
sparkxy = 0,-99990
hitsound   = -1
guardsound = -1
ground.type = Low
ignorehitpause = 1

[State proj出しちゃうぞー]
type = Projectile
triggerall = Ishelper
triggerall = root,numProjID(6545668) = 0
trigger1 = time <= 10
trigger2 = animelemtime(1) <= 10
projanim = anim
projremovetime = 2
projID = 6545668
velocity = 0,0
affectteam = b
postype = p1
attr = A,NP
hitflag = MAFD
hitsound = F5, 0
sparkno = -1
guard.sparkno = -1
p1stateno = prevstateno
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State 保険だぞー]
type = Projectile
triggerall = Ishelper
triggerall = root,numProjID(6545668) = 0
trigger1 = time >= 11
trigger2 = animelemtime(1) >= 11
projanim = anim
Projremovetime = 2
projID = 6545668
velocity = 0,0
affectteam = b
postype = p1
attr = A,NP
hitflag = MAFD
sparkno = -1
guard.sparkno = -1
p1stateno = 52
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State フラグステートに移動]
type = ChangeState
triggerall = !Ishelper
triggerall = alive
trigger1 = HitPauseTime >= 4
value = 6577726
ctrl = 0
ignorehitpause = 1

[State 相手を落下状態にする]
type = HitFallSet
triggerall = !Ishelper
trigger1 = time = 0
value = 1
ignorehitpause = 1

[State ライフを減らす]
Type = Lifeset
triggerall = !Ishelper
trigger1 = 1
Value = 0
kill = 1
ignorehitpause = 1

[State ヘルパー消去]
type = DestroySelf
trigger1 = IsHelper
trigger1 = time >= 15
ignorehitpause = 1

[State ステートを返す]
type = SelfState
trigger1 = !IsHelper
trigger1 = Time > 10
value = 52
ctrl = 1
ignorehitpause = 1

[state ステートを返す]
type = Selfstate
triggerall = !ishelper
trigger1 = !alive
value = 5150
ignorehitpause = 1

[state ターゲットを捨てる]
type = targetdrop
trigger1 = numtarget > 5
trigger1 = target,Ishelper
absolute = 1
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999




;---------------------------------------------------------------------------
; 独滅･終
;---------------------------------------------------------------------------

[Statedef 3500]
type    = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
poweradd= -3000
anim = 1871
ctrl = 0
sprpriority = 9000000

[State ターゲット保有]
type = ReversalDef
trigger1 = 1
reversal.attr = SCA,AA,AT,AP
priority = 7, Hit
pausetime = 0,0
sparkxy = 99990,99990
hitsound = -1
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 無敵]
type = varset
FV = 12
trigger1 = time = 0
value = 1

[State 使用フラグ]
type = varset
V = 10
trigger1 = time = 0
value = 1
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State ライフをゼロにする]
type = lifeset
triggerAll = !IsHelper
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[State アサートスペシャル]
type = assertspecial
trigger1 = 1
flag  = nomusic
flag2 = timerfreeze
flag3 = NoBarDisplay
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State アサートスペシャル]
type = assertspecial
trigger1 = 1
flag  = NoBG
flag2 = NoFG
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State ライフ回復]
type = LifeAdd
trigger1 = Life <= 0
value = 1
ignorehitpause = 1

[State 真っ暗にする]
type = BGPalfx
trigger1 = 1
add = -256,-256,-256
time = 1
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State カットイン]
type = Explod
trigger1 = Time = 0
anim = 158682
pos = 30,-10
facing = 1
postype = left
sprpriority = 2147483648
ownpal = 1
scale = 0.42,0.42
ignorehitpause = 1
supermovetime = 2147483648
pausemovetime = 2147483648

[State タイマーを止める]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
supermovetime = 2147483648
pausemovetime = 2147483648

[State ]
type = PlaySnd
trigger1 = Time = 0
value = 1200, 7
freqmul = 1.2
ignorehitpause = 1

[State ]
type = Pause
trigger1 = Time = 0
time = 56
movetime = 56

[State パワーを11にする]
type = powerset
triggerAll = !IsHelper
trigger1 = 1
value = 11
ignorehitpause = 1

[State ]
type = ChangeState
trigger1 = Time = 56
value = 3501
ctrl = 0

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

[Statedef 3501]
type    = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
poweradd= 0
anim = 1871
ctrl = 0
sprpriority = 9000000

[State タイマーを止める]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
supermovetime = 2147483648
pausemovetime = 2147483648

[State ターゲット保有]
type = ReversalDef
trigger1 = 1
reversal.attr = SCA,AA,AT,AP
priority = 7, Hit
pausetime = 0,0
sparkxy = 99990,99990
hitsound = -1
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State ライフをゼロにする]
type = lifeset
triggerAll = !IsHelper
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[State ]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State アサートスペシャル]
type = assertspecial
trigger1 = 1
flag  = NoBG
flag2 = NoFG
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State ライフ回復]
type = LifeAdd
trigger1 = Life <= 0
value = 1
ignorehitpause = 1

[State 真っ暗にする]
type = BGPalfx
trigger1 = 1
add = -256,-256,-256
time = 1
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State タイプシャッフル]
type = StateTypeSet
trigger1 = time >=  0 && time <=  5 || time >= 51 && time <= 55
trigger2 = time >= 21 && time <= 25 || time >= 71 && time <= 75
trigger3 = time >= 41 && time <= 45 || time >= 91 && time <= 95
statetype = S
movetype = I
physics = N
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State タイプシャッフル]
type = StateTypeSet
trigger1 = time >=  6 && time <= 10 || time >= 56 && time <= 60
trigger2 = time >= 26 && time <= 30 || time >= 76 && time <= 80
trigger3 = time >= 46 && time <= 50 || time >= 96 && time <= 99
statetype = S
movetype = A
physics = N
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State タイプシャッフル]
type = StateTypeSet
trigger1 = time >= 11 && time <= 15 || time >= 61 && time <= 65
trigger2 = time >= 31 && time <= 35 || time >= 81 && time <= 85
statetype = A
movetype = I
physics = N
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State タイプシャッフル]
type = StateTypeSet
trigger1 = time >= 16 && time <= 20 || time >= 66 && time <= 70
trigger2 = time >= 36 && time <= 40 || time >= 86 && time <= 90
statetype = A
movetype = A
physics = N
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State ]
type = ChangeState
trigger1 = Helper(6678666),GetHitVar(damage)
value = 3502
ctrl = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State パワーを11にする]
type = powerset
triggerAll = !IsHelper
trigger1 = 1
value = 11
ignorehitpause = 1

[State ]
type = ChangeState
trigger1 = Time = 1
value = 3502
ctrl = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

;---------------------------------------------------------------------------
; 独滅･終（攻撃）
;---------------------------------------------------------------------------

[Statedef 3502]
type    = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
poweradd= 0
anim = 1952
ctrl = 0
sprpriority = 9000000

[State タイマーを止める]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
supermovetime = 2147483648
pausemovetime = 2147483648

[State ライフをゼロにする]
type = lifeset
triggerAll = !IsHelper
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[State ライフ回復]
type = LifeAdd
trigger1 = Life <= 0
value = 1
ignorehitpause = 1

[State ]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State BGM関連]
Type = VarSet
trigger1 = Var(11) = 0
V = 11
value = 1
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State BGM停止]
type = StopSnd
trigger1 = time = 0
channel = 26

[state BGMチェンジ-枯れない花-]
type = playsnd
trigger1 = time = 1
value = s1500,0
channel = 26
lowpriority = 1
loop = 1
volume = 2
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State すり抜け]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1

[State ]; 透明＋影消し
type = AssertSpecial
trigger1 = 1
flag = Invisible
flag2 = NoShadow

[State 独滅]
type = Explod
trigger1 = time = 0
ID = 1878
anim = 1878
postype = Left
pos = 0,0
facing = 1
postype = p1
bindtime = -1
sprpriority = -1
ownpal = 1
scale = 0.75,0.75
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 追尾]
type = velset
trigger1 = time > 35 && time < 375
trigger1 = p2dist X > 0
x =  5.0

[State 追尾]
type = velset
trigger1 = time > 35 && time < 375
trigger1 = p2dist X < 0
x = -5.0

[State 追尾]
type = velset
trigger1 = time > 35 && time < 375
trigger1 = p2dist Y > -50
y =  5.0

[State 追尾]
type = velset
trigger1 = time > 35 && time < 375
trigger1 = p2dist Y < -50
y = -5.0

[State 殴る]
type = Projectile
trigger1 = 1
attr = S,HA
damage = 150,150
Projremovetime = 1
animtype = High
projanim = 14
projID = 14
sparkno = -1
sparkxy = 99990,99990
hitsound   = -1
guardsound = -1
kill = 0
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State 体力削る]
type = targetlifeadd
trigger1 = Time = 0 || Time = 45 || Time = 75 || Time = 111 || Time = 141 || Time = 161
trigger2 = Time = 182 || Time = 212 || Time = 242 || Time = 270 || Time = 288
trigger3 = Time > 300
trigger3 = (GameTime% 10 )=0
value = (sysvar(4) * 0.04) * -1
absolute = 1
kill = 0

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 0
value = 3505
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 45
value = 3506
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 75
value = 3507
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 111
value = 3508
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 141
value = 3509
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 161
value = 3510
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 182
value = 3511
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time = 212
value = 3512
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = time >= 242
value = 3513
ignorehitpause = 1

[State ポジションを直す]
type = posset
trigger1 = time >= 375
x = 60
y = 0

[State 独滅判定オフ]
Type = VarSet
trigger1 = time >= 375
V = 13
value = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State ]
type = ChangeState
trigger1 = time >= 375
trigger2 = Helper(4000),stateno = 4002
value = 3503
ctrl = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State パワーを11にする]
type = powerset
triggerAll = !IsHelper
trigger1 = 1
value = 11
ignorehitpause = 1

[state ターゲットを捨てる]
type = targetdrop
trigger1 = numtarget > 5
trigger1 = target,Ishelper
absolute = 1
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

;---------------------------------------------------------------------------
; 独滅_当身成功_2（フィニッシュ）
;---------------------------------------------------------------------------

[Statedef 3503]
type    = S
movetype= A
physics = S
juggle  = 4
ctrl = 0
velset = 0,0
anim = 1875
sprpriority = 9000000

[State ゲージ監視をリセット]
type = varset
triggerAll = !IsHelper
TriggerAll = Alive = 1
trigger1 = time = 0
FV = 37
Value = 0
ignorehitpause = 1

[State タイマーを止める]
type = assertspecial
trigger1 = 1
flag = timerfreeze
ignorehitpause = 1
supermovetime = 2147483648
pausemovetime = 2147483648


[State パワーを11にする]
type = powerset
triggerAll = !IsHelper
trigger1 = 1
value = 11
ignorehitpause = 1

[State ポジションを直す]
type = posset
trigger1 = 1
x = 60
y = 0

[State 相手のステートを管理する]
type = targetstate
trigger1 = AnimElemTime(3) = 30
value = 15051
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = AnimElemTime(3) = 26
value = 3514
ignorehitpause = 1

[State 相手のステートを管理する]
type = targetstate
trigger1 = AnimElemTime(3) < 25
value = 3513
ignorehitpause = 1

[State フィニッシュ音]
type = PlaySnd
trigger1 = AnimElem = 2
volume = 250
value = 1300, 14
ignorehitpause = 1

[State 背景]
type = BGPalfx
trigger1 = 1
ignorehitpause = 1
add = 256,256,256
time = 3
ignorehitpause = 1

[State 試合で時止め]
type = Pause
trigger1 = AnimElem = 3
time = 9999999
movetime = 9999999
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State 試合で時を止める]
type = SuperPause
trigger1 = AnimElem = 3
anim = -1
time = 9999999
movetime = 9999999
darken = 0
ignorehitpause = 1
supermovetime = 9999999
pausemovetime = 9999999

[State 強制死の隔離宣告]
type = varset
FV = 11
triggerAll = !IsHelper
trigger1 = AnimElem = 3
value = 1
ignorehitpause = 1

[State エフェクト]
type = Explod
trigger1 = AnimElem = 2
anim = 1914
pos = 0,-30
facing = 1
BindTime = -1
OnTop = 1
postype = P2
sprpriority = 4
ownpal = 1
scale = 1.0,1.0
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State エフェクト]
type = Explod
trigger1 = AnimElem = 2
anim = 13079
pos = 11,-40
facing = 1
BindTime = -1
OnTop = 1
postype = P1
sprpriority = 4
ownpal = 1
scale = 1.0,1.0
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 音を止める]
Type = null;StopSnd
trigger1 = Time = 140
Channel = 26
Persistent = 1
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State BGM関連]
Type = VarSet
trigger1 = Time = 80
trigger1 = Var(11) = 1
V = 11
value = 0
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State 無敵解除]
type = varset
FV = 12
trigger1 = Time = 140
value = 0

[State ステート変更]
type = ChangeState
trigger1 = Time >= 140
value = 0
ctrl = 1

[state ターゲットを捨てる]
type = targetdrop
trigger1 = numtarget > 5
trigger1 = target,Ishelper
absolute = 1
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

;===========================================================================
; BGM管理ヘルパー
;===========================================================================

[StateDef 3504]
type = S
movetype = I
physics = S
ctrl = 0
anim = 16

[State ライフをゼロにする]
type = lifeset
triggerAll = !IsHelper
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[State 本体は本来のステートに戻す]
type = SelfState
triggerAll = !IsHelper
trigger1 = 1
value = 0
ctrl = 1
ignorehitpause = 1

[State ]
type = screenbound
triggerAll = IsHelper
trigger1 = 1
value = 0
movecamera = 0, 0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[state ]
type = posset
triggerAll = IsHelper
trigger1 = 1
x = 0
y = 99999
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State ]
type = DestroySelf
triggerAll = IsHelper
trigger1 = Root,stateno!=3500
trigger1 = Root,stateno!=3501
trigger1 = Root,stateno!=3502
trigger1 = Root,stateno!=3503
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3505]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 10,10,10
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3506]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 30,30,30
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3507]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 50,50,50
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3508]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 80,80,80
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3509]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 110,110,110
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3510]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 150,150,150
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3511]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 180,180,180
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3512]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1


[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 210,210,210
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 121
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3513]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
time = 2
Add = 250,250,250
invertall = 0
color = 256

[State ]
type = ChangeState
trigger1 = Time >= 250
value = 3520

;---------------------------------------------------------------------------
; 独滅_相手側_攻撃を食らう＆色を塗る
;---------------------------------------------------------------------------
[Statedef 3514]
type    = S
movetype= H
physics = N
velset = 0,0
anim = 5011
sprpriority = 0

[State 無敵押し付け1]
type = Nothitby
value = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 無敵押し付け2]
type = Nothitby
value2 = ,AT
trigger1 = 1
time = 0
ignorehitpause = 1

[State 食らい増やし時間1]
type = Hitby
value = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 食らい増やし時間2]
type = Hitby
value2 = SCA,NA,NT,NP,AA,AT,AP,SA,ST,SP,HA,HT,HP
trigger1 = 1
time = 60
ignorehitpause = 1

[State 無敵時間]
type = null;nothitby
value = SCA
trigger1 = 1
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = anim != 5011
value = 5011
ignorehitpause = 1

[State ]
type = PosSet
Trigger1 = Time = 0
y = 0

[State ]
type = PalFX
trigger1 = 1
Add = 250,250,250
invertall = 0
color = 256

[State ]
type = LifeSet
trigger1 = 1
value = 0
ignorehitpause = 1

[State ]
type = ChangeState
trigger1 = Time >= 200
trigger2 = Life = 0
value = 3520


;---------------------------------------------------------------------------
; 独滅_相手側_保険用攻撃
;---------------------------------------------------------------------------
[Statedef 3515]
type    = S
movetype= H
physics = N
velset = 0,0
sprpriority = 0

[State ライフをゼロにする]
type = lifeset
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[State ]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[State 位置固定]
type = posset
trigger1 = 1
y = 0
ignorehitpause = 1

[State アニメ変更]
type = ChangeAnim
Trigger1 = 1
value = 5011
ignorehitpause = 1

[State ]
type = LifeAdd
trigger1 = time = 0
value = -100
ignorehitpause = 1

[State ステートを返す]
type = SelfState
trigger1 = Time > 0
value = 5000

;---------------------------------------------------------------------------
;独滅_相手側_吹き飛ぶ
;---------------------------------------------------------------------------

[Statedef 3520]
type    = A
movetype= H
physics = N
velset = 0,0
anim = 5011
sprpriority = 0
poweradd = 0

[State ライフをゼロにする]
type = lifeset
trigger1 = Name != "GEEK_EMPEROR"
value = 0
ignorehitpause = 1

[state ]
type = destroyself
trigger1 = Ishelper
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State 無敵時間]
type = nothitby
value = SCA
time = 1
trigger1 = 1

[State 落下状態にさせる]
type = HitFallSet
trigger1 = time = 0
value = 1

[State 落ちる]
type = veladd
trigger1 = 1
y = 0.5

[State アニメ変更]
type = ChangeAnim
triggerall = (Anim != [5051, 5059]) && (Anim != [5061, 5069])
trigger1 = time >= 1
value = 5050

[State アニメ変更]
type = ChangeAnim
trigger1 = anim = [5050,5059]
trigger1 = Vel Y >= ifelse(anim = 5050, 1, -2)
trigger1 = SelfAnimExist(anim+10)
value = anim+10
persistent = 0

[State ステートを返す]
type = SelfState
trigger1 = Time > 0
trigger1 = Vel Y > 0 && Pos Y >= 0
trigger2 = Time > 50
value = 5100

;===========================================================================
; 阿修羅ハラショー
;===========================================================================

[Statedef 158680]
type    = S
movetype= A
physics = N
juggle  = 4
poweradd= 500
velset = 6,0
anim = 158680
ctrl = 0
sprpriority = 2

[state 変数操作]
type = varset
trigger1 = Time = 0
FV = 12
value = 1
ignorehitpause = 1

[State 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 1300, 12
freqmul = 0.5

[State 押されない]
type = PlayerPush
trigger1 = 1
value = 0

[State 残像]
type = AfterImage
trigger1 = Time = 0
trans = add1
TimeGap = 4
FrameGap = 5
time = 80
length = 15
PalContrast = 128,128,255
PalMul = 1,1,1

[state 変数操作]
type = varset
trigger1 = Time = 60
FV = 12
value = 0
ignorehitpause = 1

[State ステート変更]
type = ChangeState
trigger1 = Time >= 60
value = 0
ctrl = 1


;===========================================================================
; 技を食い止められたステート
;===========================================================================

[Statedef 158690]
type    = S
movetype= A
physics = N
juggle  = 4
poweradd= 0
velset = -0.5,0
anim = 5000
ctrl = 0
sprpriority = 2

[State 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 1401,10
freqmul = 1.0

[State エフェクトを消す]
type = RemoveExplod
trigger1 = time = 0
ID = 133012
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 台詞]
type = Explod
trigger1 = Time = 0
anim = 133016
ID = 133016
pos = 40,30
facing = 1
BindTime = -1
postype = Left
sprpriority = 1
ownpal = 1
Ontop = 1
scale = 1.0,1.0
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 無敵解除]
type = varset
FV = 12
trigger1 = Time = 60
value = 0

[State 色を変える]
type = PalFX
trigger1 = time = 0
time = 50
mul = 200,60,60
invertall = 0
color = 256

[State ステート変更]
type = ChangeState
trigger1 = Time >= 60
value = 0
ctrl = 1


;===========================================================================
; 技を食い止められたステート（ドウテイフレイム）
;===========================================================================

[Statedef 158691]
type    = S
movetype= A
physics = N
juggle  = 4
poweradd= 0
velset = -0.5,0
anim = 5000
ctrl = 0
sprpriority = 2

[State 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 1401,10
freqmul = 1.0

[State エフェクトを消す]
type = RemoveExplod
trigger1 = time = 0
ID = 133012
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 台詞]
type = Explod
trigger1 = Time = 0
anim = 133015
ID = 133015
pos = 40,30
facing = 1
BindTime = -1
postype = Left
sprpriority = 1
ownpal = 1
Ontop = 1
scale = 1.0,1.0
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 無敵解除]
type = varset
FV = 12
trigger1 = Time = 60
value = 0

[State 色を変える]
type = PalFX
trigger1 = time = 0
time = 50
mul = 200,60,60
invertall = 0
color = 256

[State ステート変更]
type = ChangeState
trigger1 = Time >= 60
value = 0
ctrl = 1


;===========================================================================
; 技を食らうステート
;===========================================================================

[Statedef 28791]
type    = S
movetype= A
physics = N
juggle  = 4
poweradd= 0
velset = 0,0
anim = 5000
ctrl = 0
sprpriority = 2

[State ドクオ以外ではステート移動]
Type = SelfState
Value = 50
triggerall = (EnemyNear,Name != "DOKUO" && enemynear,authorname != "SAKURA")
trigger1 = !IsHelper && Alive
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State エフェクトを消す]
type = RemoveExplod
trigger1 = time = 0
ID = 133012
ignorehitpause = 1
supermovetime = 99999
pausemovetime = 99999

[State 色を変える]
type = PalFX
trigger1 = time = 0
time = 65
mul = -200,-200,-200
invertall = 0
color = 256

[State ステート変更]
type = ChangeState
trigger1 = Time >= 60
value = 0
ctrl = 1



;===========================================================================
; 独滅･終 カウンター
;===========================================================================

[Statedef 6678777]
type    = S
movetype= I
physics = N
velset = 0,0
anim = 132305
ctrl = 0

[State 本体はステート移動]
Type = SelfState
Value = 50
trigger1 = !IsHelper && Alive
ctrl = 1
ignorehitpause = 1
SuperMoveTime = 99999999
PauseMoveTime = 99999999

[State 本体に固定]
type = BindToParent
trigger1 = 1
time = 1
facing = 1
pos = 0,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State 押されない]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State 姿を消す]
type = assertspecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999

[State 特殊ゲージ]
type = Explod
trigger1 = Time = 0
anim = 201000 + Root,Var(9)
ID = 201000
pos = 30 + Root,Var(8),230
facing = 1
BindTime = -1
postype = Left
sprpriority = 1
ownpal = 1
Ontop = 1
scale = 1.0,1.0
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999


;===========================================================================
; 逆襲のエンペラー
;===========================================================================

[Statedef 77743333]
type    = S
movetype= I
physics = N
velset = 0,0
anim = 132306
ctrl = 0

[State 押されない]
type = PlayerPush
trigger1 = 1
value = 0

[State 時間を止める]
type = Pause
trigger1 = 1
time = 99900000
movetime = 99900000
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999

[State 時間を止める]
type = SuperPause
trigger1 = 1
anim = -1
time = 99900000
movetime = 99900000
darken = 0
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999


;===========================================================================
; 喪ヘルパー
;===========================================================================

[Statedef 77753333]
type    = S
movetype= I
physics = N
velset = 0,0
anim = 16
ctrl = 0

[State 押されない]
type = PlayerPush
trigger1 = 1
value = 0

[State 姿を消す]
type = assertspecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999

[State 時間を止める]
type = Pause
trigger1 = 1
time = 99900000
movetime = 99900000
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999

[State 時間を止める]
type = SuperPause
trigger1 = 1
anim = -1
time = 99900000
movetime = 99900000
darken = 0
ignorehitpause = 1
pausemovetime = 9999999999999
supermovetime = 9999999999999

[State ステート変更]
type = ChangeState
trigger1 = Time >= 60
value = 0
ctrl = 1

