;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;超必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; 大神
[Statedef 2000]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
poweradd= -1000
anim = 2000
ctrl = 0

;---------------------[強弱判定]
[state a]
type = varset
trigger1 = command = "x"
trigger1 = time = 0
v = 5
value = 0

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


;---------------------[アニメーション変更]
[state a]
type = changeanim
trigger1 = time = 0
trigger1 = var(5) = 1
value = 2001


;---------------------[パワーゲージ減少,MAX関係]
[state a];スパキャン時のゲージ減少
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
value = -1000

[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = gametime %2
triggerall = time <= 10
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
time = 1
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1



;---------------------[スパキャン]
[state a];スパキャンMAXゲージ減少
type = varadd
trigger1 = time = 0
trigger1 = var(11) = 1
v = 8
value = -128

[state a];スパキャンゲージ減少
type = poweradd
trigger1 = time = 0
trigger1 = var(11) = 1
value = -1000

[state a];スパキャンコマンド判定初期化
type = varset
trigger1 = time = 1
v = 11
value = 0

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = animelem = 8,<=0
value = SCA

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

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

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

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

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

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

;---------------------[効果音]
[State 2000, 6];フフフフフフフ
type = PlaySnd
trigger1 = Time = 0
trigger1 = var(5) = 0
value = 2000,0

[State 2000, 6];フッハッハッハッハ
type = PlaySnd
trigger1 = Time = 0
trigger1 = var(5) = 1
value = 2000,1

[State 2000, 6];ハアッハッハッハッハッハ
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(5) = 1
value = 2000,2

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


;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 大神ヒット
[Statedef 2005]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 8
poweradd= 0
anim = 2005
ctrl = 0

;---------------------[画面効果]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 18,<=0
ignorehitpause = 1
time = 5
value = 0,0,0
under = 2

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

;---------------------[エフェクト]
[State 1000, 5]
type = Explod
trigger1 = animelem = 7
trigger2 = animelem = 8
anim = 7002
sprpriority = 7
postype = p1
pos = 50,-65
bindtime = 1
supermove = 1
under = 0
ownpal = 1

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

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


;---------------------[効果音]
[State 2000, 6];刺す
type = PlaySnd
trigger1 = animelem = 7
value = 2000,4

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

[State 2000, 6];潰す
type = PlaySnd
trigger1 = animelem = 18
value = 2000,5

[State 2000, 6];飛べ
type = PlaySnd
trigger1 = animelem = 17
value = 2000,3

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 40,0

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

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

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

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


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

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

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

;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
;投げられている相手1
[Statedef 2010]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

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


[State 1];カメラ固定
type = screenbound
trigger1 = 1
value = 1
movecamera = 1


;---------------------------------------------------------------------------
;投げられている相手2
[Statedef 2011]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

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


[State 1];カメラ固定
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;投げられている相手3
[Statedef 2012]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

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


[State 1];カメラ固定
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;投げられている相手4
[Statedef 2013]
type    = A
movetype= H
physics = N
velset = -7,-7

[State 1];カメラ固定
type = null;screenbound
trigger1 = 1
value = 1
movecamera = 1

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

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

[State 821, 1] ;これは重力これは毎フレーム事に0.4の力が加わります
type = VelAdd
Trigger1 = 1
y = .3

[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

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


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

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

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





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


;---------------------[パワーゲージ減少,MAX関係]
[state a];スパキャン時のゲージ減少
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
value = -1000

[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = gametime %2
triggerall = time <= 10
trigger1 = prevstateno = 1100
trigger2 = prevstateno = 1101
trigger3 = prevstateno = 1200
trigger4 = prevstateno = 1201
trigger5 = prevstateno = 1702
trigger6 = prevstateno = 1150
trigger7 = prevstateno = 1250
time = 1
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1


;---------------------[スパキャン]
[state a];スパキャンMAXゲージ減少
type = varadd
trigger1 = time = 0
trigger1 = var(11) = 1
v = 8
value = -128

[state a];スパキャンゲージ減少
type = poweradd
trigger1 = time = 0
trigger1 = var(11) = 1
value = -1000

[state a];スパキャンコマンド判定初期化
type = varset
trigger1 = time = 1
v = 11
value = 0

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = animelem = 7,<=0
value = SCA

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

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

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

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

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

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

;---------------------[効果音]
[State 2000, 6];さあ
type = PlaySnd
trigger1 = Time = 0
value = 2100,0

[State 2000, 6];無に還ろう
type = PlaySnd
trigger1 = animelem = 2
value = 2100,1

[State 2000, 6];無に還ろう
type = PlaySnd
trigger1 = animelem = 2
value = 2100,1

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

[State 2000, 6];効果音
type = PlaySnd
trigger1 = animelem = 8
value = 2100,3

;---------------------[画面効果]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 9,<=0
ignorehitpause = 1
time = 2
value = 0,0,0
under = 2

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

;---------------------[攻撃判定]
;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = Animelem = 8
id = 2100
persistent = 0
name = "muni"
pos = -20,0
postype = P1
stateno = 2101
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



; 無ヘルパー
[Statedef 2101]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 8,0
ctrl = 0
anim = 2101

;---------------------[変数指定]
[state a]
type = varset
trigger1 = time = 0
trigger1 = prevstateno != 2101
v = 14
value = 8

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

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

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

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

;---------------------[エフェクト]
[State 1000, 5];
type = Explod
trigger1 = movehit = 1
anim = 2110
id = 2110
sprpriority = 10
postype = p2
velset = 0,0
pos = 10,-70
bindtime = -1
supermove = 1
ignorehitpause = 1
facing = -1
under = 0

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

;---------------------[速度指定]
[state a]
type = velset
trigger1 = movecontact = 1
trigger2 = p2Dist X <=0
x = 0

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

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


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


;---------------------------------------------------------------------------
; ？？？？？？・無に還ろう
[Statedef 2200]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
poweradd= -1000
anim = 2201
ctrl = 0

;---------------------[強弱判定]
[state a]
type = varset
trigger1 = command = "x"
trigger1 = time = 0
v = 5
value = 0

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


;---------------------[アニメーション変更]
[state a]
type = null;changeanim
trigger1 = time = 0
trigger1 = var(5) = 1
value = 2201

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

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

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

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

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

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

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

;---------------------[効果音]
[State 2000, 6];さあ
type = PlaySnd
trigger1 = Time = 0
value = 2200,0

;---------------------[攻撃判定]
;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 2205


; ？？？？？？・無に還ろう・攻撃
[Statedef 2205]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 2206
ctrl = 0

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

;---------------------[アニメーション変更]
[state a]
type = null;changeanim
trigger1 = time = 0
trigger1 = var(5) = 1
value = 2206

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

;---------------------[エフェクト]
[State 3040, 7]
type = EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2

;---------------------[効果音]
[State 2000, 6];無に還ろう
type = PlaySnd
trigger1 = Time = 0
value = 2200,1

[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 0
value = 2200,2


[State 1000, 5]
type = Explod
trigger1 = Time = 0
anim = 22100
id = 2200
sprpriority = 0
postype = back
pos = 0,0
bindtime = -1
supermove = 1
under = 0
ownpal = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = time = 0
id = 2100
persistent = 0
name = "muni"
pos = 0,-240
postype = back
stateno = 2222
helpertype = normal
keyctrl = 0
ownpal = 1


;---------------------[終了]
[state a]
type = changestate
trigger1 = time = 100
value = 2210


; ？？？？？？・無に還ろう・終了
[Statedef 2210]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 2211
ctrl = 0

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay


;---------------------[アニメーション変更]
[state a]
type = null;changeanim
trigger1 = time = 0
trigger1 = var(5) = 1
value = 2211

;---------------------[エフェクト]
[State 3040, 7]
type = EnvColor
trigger1 = 1
ignorehitpause = 1
time = 10
value = 0,0,0
under = 2

[state a]
type = removeexplod
trigger1 = time = 0
is = 2220


[State 1000, 5]
type = Explod
trigger1 = Time = 0
anim = 22101
id = 2201
sprpriority = 0
postype = back
pos = 0,0
bindtime = -1
supermove = 1
under = 0
ownpal = 1


;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


; 無ヘルパー
[Statedef 2222]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 2222

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

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

[state 2901,1]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 2101


;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = p2statetype = A
trigger1 = time = 0
trigger2 = movecontact = 5
trigger2 = hitcount <= 7
attr = S, HA
animtype  = hard
damage    = Ceil(0.05 * enemy,Const(data.life)) - 5,10
getpower = 0,0
hitflag = MAFD
guardflag = M
numhits = 1
pausetime = 1,0
guard.pausetime = 0,8
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = s-1,0;190,2
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0
air.velocity = -5,-6.5
;fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 19000
;nochainid = 2200


[State 2];攻撃の指定
type = HitDef
triggerall = p2statetype != A
trigger1 = time = 0
trigger2 = movecontact = 5
trigger2 = hitcount <= 12
attr = S, HA
animtype  = hard
damage    = Ceil(0.038 * enemy,Const(data.life)) - 5,7
getpower = 0,0
hitflag = MAFD
guardflag = M
numhits = 1
pausetime = 2,0
guard.pausetime = 0,8
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = s-1,0;190,2
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0
air.velocity = -5,-6.5
;fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 19000
;nochainid = 2200

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 60
attr = S, HA
animtype  = diagup
damage    = Ceil(0.062 * enemy,Const(data.life)) - 5,15
getpower = 0,0
hitflag = MAFD
guardflag = M
numhits = 1
pausetime = 0,2
guard.pausetime = 0,8
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = s-1,0;190,2
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,-10
air.velocity = -8,-8.5
fall = 1
air.fall = 1
fall.recover = 0
p2stateno = 19000
;id = 2200


;---------------------[消滅]
[state a]
type = destroyself
trigger1 = hitcount >= 14
trigger2 = root,stateno != 2205






;---------------------------------------------------------------------------
; ？？？？？？？・吸い寄せ
[Statedef 2300]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -1000
anim = 2300
ctrl = 0

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

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

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

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

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

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

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

;---------------------[効果音]
;---------------------[攻撃判定]
;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 2301



; ？？？？？？・吸い寄せ・攻撃
[Statedef 2301]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
anim = 2301
ctrl = 0



;---------------------[エフェクト]
;---------------------[効果音]
[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 0
value = 2300,0


;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = time = 0
id = 2320
persistent = 0
name = "kabe1"
pos = -10,0
postype = p2
stateno = 2320
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[変数指定]
[state a]
type = varset
trigger1 = time = 0
v = 19
value = 255

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

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

;---------------------[攻撃判定]
[State 800, 1]
type = HitDef
Trigger1 = p2stateno != 40
trigger1 = p2statetype != A
attr = S, HT
damage = 0,0
hitflag = M
priority = 6, Miss
sparkno = -1
sprpriority = 5
p2facing = 1
p1stateno = 2310
p2stateno = 2010
p2facing = 1 
kill = 0

;---------------------[防御の距離の変更]
[State 1000, 0]
type = AttackDist
trigger1 = time = 0
value = 0



;---------------------[終了]
[state a]
type = changestate
trigger1 = time = 170
value = 2302


; ？？？？？？・吸い寄せ・終了
[Statedef 2302]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 2302
ctrl = 0

;---------------------[変数指定]
[state a]
type = null;varset
trigger1 = time = 0
v = 19
value = 255

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

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


;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



;---------------------------------------------------------------------------
; 大神ヒット
[Statedef 2310]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 8
poweradd= 0
anim = 2310
ctrl = 0

;---------------------[変数指定]
[state a]
type = varadd
trigger1 = var(19) > 5
trigger1 = animelem = 10,<=0
v = 19
value = -5

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

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

;---------------------[エフェクト]
[State 1020, 4];画面シェイク
type = EnvShake
trigger1 = animelem = 7
trigger2 = animelem = 18
time = 15
ampl = -12
freq = 95
phase = 95

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

[State 1000, 5]
type = Explod
trigger1 = animelem = 7
anim = 22109 + var(35)
sprpriority = 9
postype = p1
pos = 50,-65
bindtime = 1
supermove = 1
under = 0
ownpal = 1

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

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


;---------------------[効果音]
[State 2000, 6];はかないものだ
type = PlaySnd
trigger1 = animelem = 16
value = 2300,1

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

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

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 40,0

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

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

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

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


[state a]
type = targetlifeadd
trigger1 = animelem = 7
value = Ceil(-0.03 * enemy,Const(data.life)) - 5
kill = 0
absolute = 1

[state a]
type = targetlifeadd
trigger1 = animelem = 8
value = Ceil(-0.03 * enemy,Const(data.life)) - 5
kill = 0
absolute = 1

[state a]
type = targetlifeadd
trigger1 = animelem = 18
value = Ceil(-0.35 * enemy,Const(data.life)) - 5
absolute = 1

;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1



;壁ヘルパー
[Statedef 2320]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 2320

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[追い越されたとき]
[state a]
type = posset
trigger1 = p2Dist X < 0
x = enemy,pos x

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


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



;---------------------[押し戻し判定]
[State 1000, 0]
type = PlayerPush
trigger1 = 1
value = 1

;---------------------[速度指定]
[State 1000, 0]
type = velset
trigger1 = 1
x = 5

;---------------------[消滅]
[state a]
type = destroyself
trigger1 = root,stateno != 2301




;---------------------------------------------------------------------------
; ？？？？？？？？・オロチMAX超
[Statedef 2400]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= -2000
anim = 2400
ctrl = 0


;---------------------[強弱判定]
[state a]
type = varset
trigger1 = command = "x"
trigger1 = time = 0
v = 5
value = 0

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

;---------------------[変数指定]
[state a]
type = varset
trigger1 = time = 0
v = 20
value = 0

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = animelem = 8,<=0
value = SCA

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

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

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

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

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

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

;---------------------[効果音]
[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 7
value = 801,1


;---------------------[エフェクト]
[State 3040, 7]
type = EnvColor
trigger1 = time >= 27
ignorehitpause = 1
time = 5
value = 0,0,0
under = 2

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = animelem = 7
id = 2401
persistent = 0
name = "???"
pos = 100+var(5)*100,-93
postype = p1
stateno = 2401
helpertype = normal
keyctrl = 0
ownpal = 1

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

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


; ？？？？？？？？・オロチMAX超・成功
[Statedef 2405]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
poweradd= 0
anim = 2405
sprpriority = 35
ctrl = 0


;---------------------[エフェクト]
[State 3040, 7]
type = EnvColor
trigger1 = animelem = 11,<=0
;persistent = 0
ignorehitpause = 1
time = 3
value = 0,0,0
under = 2

;---------------------[効果音]
[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 9
value = 2300,1

;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1







;鏡(?)ヘルパー
[Statedef 2401]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 2401

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, HP
animtype  = hard
damage    = 0,0
getpower = 0,0
hitflag = MAFD
guardflag = N
numhits = 1
pausetime = 0,6
guard.pausetime = 0,8
sparkno = s22109 + root,var(35)
sparkxy = 0,0
hitsound   = s240,0
guard.sparkno = s7012
guardsound = s190,2
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0,0
air.velocity = 0,0
fall = 1
air.fall = 1
fall.recover = 0
p1stateno = 2410
p2stateno = 2415

;---------------------[消滅]
[state a]
type = destroyself
trigger1 = animtime = 0



;鏡(?)ヘルパー終了
[Statedef 2410]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
sprpriority = 15
ctrl = 0
anim = 2410

;---------------------[変数指定]
[state a]
type = parentvarset
trigger1 = time = 0
v = 20
value = 1

;---------------------[効果音]
[State 2000, 6]
type = PlaySnd
trigger1 = animtime = 0
value = 2300,3

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[エフェクト]
[State 3040, 7]
type = EnvColor
trigger1 = time = 0
trigger2 = animtime = 0
;persistent = 0
ignorehitpause = 1
time = 5
value = 255,255,255
under = 0

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

[State 1020, 4];画面シェイク
type = EnvShake
trigger1 = animtime = 0
time = 25
ampl = -12
freq = 95
phase = 95

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
trigger1 = time = 0
pos = 0,0

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

[State 801, 2]
type = Targetlifeadd
trigger1 = animtime = 0
value = Ceil(-0.65 * enemy,Const(data.life)) - 1
ignorehitpause = 1
absolute = 1


;---------------------[消滅]
[state a]
type = destroyself
trigger1 = animtime = 0


;---------------------------------------------------------------------------
;投げられている相手
[Statedef 2415]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 20

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

[State 1];カメラ固定
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

;---------------------------------------------------------------------------
;投げられている相手2
[Statedef 2416]
type    = A
movetype= H
physics = N
velset = 0,0
sprpriority = 1

[State 700, 2];無敵の状態を作る
type = NotHitBy
trigger1 = 1
value = SCA

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

[State 1];カメラ固定
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

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

[State 821, 1] ;これは重力これは毎フレーム事に0.4の力が加わります
type = VelAdd
Trigger1 = 1;animelem = 3,>= 0
y = .4

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





;---------------------------------------------------------------------------
; max3
[Statedef 2999]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
poweradd= -4000
anim = 22061
ctrl = 0

[State 10000, sombras] 
type = Afterimage
trigger1 = 1
trans = add
PalContrast =  250, 250, 250
PalBright = 0,0,0
time    =  0
length  = 0
TimeGap = 0
FrameGap = 0

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

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

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

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

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

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

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

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 2
value = 2562,2

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

[State 1000, 5]
type = Explod
trigger1 = time = 30
anim = 22067
sprpriority = 0
postype = p1
pos = 40,0
vel = 0,0
bindtime = -1
supermove = 0
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = time = 30
anim = 1931
sprpriority = 0
postype = p1
pos = 0,-75
vel = 0,0
bindtime = -1
supermove = 0
under = 0
ownpal = 1


[State 2000, 6]
type = PlaySnd
trigger1 = time = 30
value = 2562,20

;---------------------[効果音]
;[State 2000, 6]
;type = PlaySnd
;trigger1 = Time = 0
;value = 193,0

;---------------------[攻撃判定]
;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 22050


; 攻撃
[Statedef 22050]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 22060
ctrl = 0

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

[State 1700, 0]
type = ReversalDef
trigger1 = 1
attr = S, HP
reversal.attr = SCA, NA, SA, HA, NT,ST,HT
hitflag = M-
priority = 4, Miss
pausetime = 0,0
sparkno = -1;S7012
hitsound = -1;S121,0
p2facing = 1
;p1stateno = 1310
p2stateno = 13121


;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

;---------------------[変数指定]
[state a]
type = varset
trigger1 = time = 0
v = 19
value = 255

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

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

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


;---------------------[効果音]
;[State 2000, 6]
;type = PlaySnd
;trigger1 = Time = 70
;value = 193,1

[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 0
value = 190,1


[State 1000, 5]
type = Explod
trigger1 = Time = 0
anim = 2990
id = 2200
sprpriority = 99999
postype = back
pos = 0,0
bindtime = -1
supermove = 0
under = 99
ownpal = 1

[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 30 || Time = 60 || Time = 74 || Time = 88 || Time = 96 || Time = 112 || Time = 120 || time = 126 || Time = 130 || Time = 140 || Time = 155 || Time = 170 || Time = 180 || Time = 202   
;trigger1 = (GameTime%6) = 1
value = 11,1


[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 192   
value = 2562,1
volume = -40

[State 2000, 6];音楽
type = PlaySnd
trigger1 = Time = 30 || Time = 60 || Time = 74 || Time = 88 || Time = 96 || Time = 112 || Time = 120 || time = 126 || Time = 130 || Time = 140 || Time = 155 || Time = 170 || Time = 180 || Time = 202   
;trigger1 = (GameTime%6) = 1
value = 2562,14


[State 1020, 4]
type = EnvShake
trigger1 = Time = 30 || Time = 60 || Time = 74 || Time = 88 || Time = 96 || Time = 112 || Time = 120 || time = 126 || Time = 130 || Time = 140 || Time = 155 || Time = 170 || Time = 180 || Time = 202   
;trigger1 = (GameTime%3) = 1
time = 10
ampl = -20
freq = 95
phase = 95


[State 3221, 0]
type = Pause
trigger1 = time >= 202
time = 1





;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = time = 30
id = 2100
persistent = 0
name = "muni"
pos = 0,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1


[State 2900, 1];
type = helper
trigger1 = time = 60
id = 2100
persistent = 0
name = "muni"
pos = -80,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1


[State 2900, 1];
type = helper
trigger1 = time = 74
id = 2100
persistent = 0
name = "muni"
pos = 100,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 88
id = 2100
persistent = 0
name = "muni"
pos = -100,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 96
id = 2100
persistent = 0
name = "muni"
pos = 20,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 96
id = 2100
persistent = 0
name = "muni"
pos = -10,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 112
id = 2100
persistent = 0
name = "muni"
pos = -50,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 120
id = 2100
persistent = 0
name = "muni"
pos = -70,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 126
id = 2100
persistent = 0
name = "muni"
pos = 70,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 130
id = 2100
persistent = 0
name = "muni"
pos = 100,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1


[State 2900, 1];
type = helper
trigger1 = time = 140
id = 2100
persistent = 0
name = "muni"
pos = 50,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1



[State 2900, 1];
type = helper
trigger1 = time = 155
id = 2100
persistent = 0
name = "muni"
pos = 50,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 155
id = 2100
persistent = 0
name = "muni"
pos = 30,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 170
id = 2100
persistent = 0
name = "muni"
pos = -100,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 170
id = 2100
persistent = 0
name = "muni"
pos = -70,-240
postype = back
stateno = 22220
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 180
id = 2100
persistent = 0
name = "muni"
pos = 100,-240
postype = back
stateno = 22221
helpertype = normal
keyctrl = 0
ownpal = 1

[State 2900, 1];
type = helper
trigger1 = time = 195
id = 2100
persistent = 0
name = "muni"
pos = 0,-240
postype = back
stateno = 22229
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[終了]
[state a]
type = changestate
trigger1 = time = 230
value = 22100


; 終了
[Statedef 22100]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 22062
ctrl = 0

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

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


[State 2000, 6]
type = PlaySnd
trigger1 = time = 1
value = 2562,20


[State 10000, sombras] 
type = Afterimage
trigger1 = TIME = 12
trans = add
PalContrast =  250, 250, 250
PalBright = 0,0,0
time    =  -1
length  = 13
TimeGap = 1
FrameGap = 1

[State -2]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay

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

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


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



;---------------------[エフェクト]

[state a]
type = removeexplod
trigger1 = time = 0
is = 2220

;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1


; 無ヘルパー
[Statedef 22220]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 3322



;---------------------[飛び道具]
[State 1000, 2]
type = Projectile
trigger1 = animelem = 1
attr = S, HA
projanim = 3322
projhitanim = -1
projid = 20000
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 10
postype = p1
offset = 0,0
velocity = 0
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
pausetime = 2,1
sparkno = -1
sparkxy = -15,-77
hitsound   = -1
guard.sparkno = -1;s7011
guardsound = -1
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -1,-5
air.velocity = -1,-5
fall = 1
fall.recover = 0
p2stateno = 49000


;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1


[state 2901,1]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 1411


;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
;trigger2 = movecontact = 3
trigger2 = hitcount <= 1
attr = S, HA
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
numhits = 1
pausetime = 2,1
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = -1;s2559,2 s1150,0
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-6.5
air.velocity = -1,-6.5
fall = 1
fall.recover = 0
nochainid = 2200
yaccel = .7
p2stateno = 49000




;---------------------[消滅]

[State 1010]
type = DestroySelf
trigger1 = MoveGuarded = 1

[state a]
type = destroyself
;trigger1 = hitcount >= 1
trigger1 = time >= 15
trigger2 = root,stateno != 22050


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




; 無ヘルパー
[Statedef 22221]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 3322



;---------------------[飛び道具]
[State 1000, 2]
type = Projectile
trigger1 = animelem = 1
attr = S, HA
projanim = 3322
projhitanim = -1
projid = 20000
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 10
postype = p1
offset = 0,0
velocity = 0
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
pausetime = 2,1
sparkno = -1
sparkxy = -15,-77
hitsound   = -1
guard.sparkno = -1;s7011
guardsound = -1
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -1,-6
air.velocity = -1,-6
fall = 1
fall.recover = 0
p2stateno = 49000


;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1



[state 2901,1]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 1411


;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
;trigger2 = movecontact = 3
trigger2 = hitcount <= 1
attr = S, HA
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
numhits = 1
pausetime = 2,1
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = -1;s2559,2 s1150,0
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 2,-6.5
air.velocity = 2,-6.5
fall = 1
fall.recover = 0
nochainid = 2200
yaccel = .7
p2stateno = 49000




;---------------------[消滅]

[State 1010]
type = DestroySelf
trigger1 = MoveGuarded = 1

[state a]
type = destroyself
;trigger1 = hitcount >= 1
trigger1 = time >= 15
trigger2 = root,stateno != 22050


; 無ヘルパー
[Statedef 22229]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 3322


;---------------------[飛び道具]
[State 1000, 2]
type = Projectile
trigger1 = animelem = 1
attr = S, HA
projanim = 3322
projhitanim = -1
projid = 20000
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 10
postype = p1
offset = 0,0
velocity = 0
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
pausetime = 2,1
sparkno = -1
sparkxy = -15,-77
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -1,-6
air.velocity = -1,-6
fall = 1
fall.recover = 0
p2stateno = 49000


;---------------------[無敵処理]
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1


[state 2901,1]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 1411


;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
;trigger2 = movecontact = 3
trigger2 = hitcount <= 1
attr = S, HA
animtype  = diagup
damage    = 99999999
getpower = 0,0
givepower = Ceil(-1 * enemy,Const(data.power)) - 5,0
guardflag = 
hitflag = MAFD
numhits = 1
pausetime = 2,1
sparkno = s22109 + root,var(35)
sparkxy = -2,floor(enemy,pos y)+180
hitsound   = -1;s2559,2 s1150,0
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0.1,-6
air.velocity = 0.1,-6
fall = 1
fall.recover = 0
nochainid = 2200
yaccel = .6
p2stateno = 49000


;---------------------[消滅]

[State 1010]
type = DestroySelf
trigger1 = MoveGuarded = 1

[state a]
type = destroyself
;trigger1 = hitcount >= 1
trigger1 = time >= 15
trigger2 = root,stateno != 22050











;パワーアップ
[Statedef 3250]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 8
poweradd= -4000
sprpriority = 1
anim = 3450
ctrl = 0

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = animelem = 11,<=0
value = SCA

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

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

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

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

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

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

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 2
value = 2562,2

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


;---------------------[変数指定]
[state a]
type = varset
trigger1 = time = 0
v = 29
value = 1600

;---------------------[終了]
[state a] 
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1













;---------------------------------------------------------------------------
; max2.5
[Statedef 22075]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
poweradd= -3000
anim = 22075
ctrl = 0


;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA

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

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

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

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

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

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

[State 2000, 6]
type = PlaySnd
trigger1 = Time = 2
value = 2562,2

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

[State 3100, 1]
type = AssertSpecial
trigger1 = 1
flag= noBG
flag2= nobardisplay

;---------------------[攻撃判定]
;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 22076






; 攻撃
[Statedef 22076]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 0
anim = 22076
ctrl = 0

[State 3100, 1]
type = AssertSpecial
trigger1 = 1
flag= noBG
flag2= noFG
flag3= nobardisplay

[State 1020, 4]
type = EnvShake
trigger1 = (GameTime%3) = 1
time = 5
ampl = -3
freq = 95
phase = 95

;---------------------[超必殺技演出]
[State 1];無敵の状態を作る
type = NotHitBy 
trigger1 = 1
value = SCA



[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2550, 0


[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2562, 24

[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2562, 25
volume = 150

[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2562, 17
volume = 150


[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 1
anim = 22080
id = 211
sprpriority = 5
postype = p1
pos = 40,-85
bindtime = -1
removetime = 150
supermove = 0
;ignorehitpause = 1
under = 0
ownpal = 1


[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 1
anim = 22090
id = 211
sprpriority = 99
postype = p1
pos = 30,-85
bindtime = -1
removetime = 150
supermove = 0
;ignorehitpause = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelem = 1
anim = 22081
sprpriority = 0
postype = p1
pos = 25,0
vel = 0,0
bindtime = -1
removetime = 150
supermove = 0
under = 0
ownpal = 1

;---------------------[ヘルパー呼び出し]

[State 2900, 1];
type = helper
trigger1 = animelem = 1
id = 2100
persistent = 0
name = "muni"
pos = 15,-85
postype = P1
stateno = 22078
helpertype = normal
keyctrl = 0
ownpal = 1

;---------------------[終了]
[state a]
type = changestate
trigger1 = time = 150
value = 22077


; 終了
[Statedef 22077]
type    = S
movetype= A
physics = N
velset = 0,0
juggle = 15
anim = 2302
ctrl = 0


[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = time = 0
anim = 22090
id = 211
sprpriority = 0
postype = p1
pos = 30,-85
bindtime = -1
;removetime = 1
supermove = 0
;ignorehitpause = 1
scale = 0.8,0.8
under = 0
ownpal = 1


[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = time = 3
anim = 22090
id = 211
sprpriority = 0
postype = p1
pos = 30,-85
bindtime = -1
;removetime = 1
supermove = 0
;ignorehitpause = 1
scale = 0.3,0.3
under = 0
ownpal = 1


;---------------------[終了]
[state a]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1






[Statedef 22078]
type = S
movetype = A
physics = N
anim = 22074
velset = 0,0
ctrl = 0
sprpriority = 99

[State 1010]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 1010]
type = NotHitBy
trigger1 = time >= 0
value = SCA, AA, AT, AP

[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2562, 24
volume = 100

[State 240, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 2562, 17



;---------------------[飛び道具]
[State 1000, 2]
type = Projectile
triggerall = time <= 140
trigger1 = (GameTime%3) = 1
attr = S, HA
projanim = 22079
projhitanim = -1
projid = 22079
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = diagup
damage    = Ceil(0.024 * enemy,Const(data.life)) - 5,Ceil(0.006 * enemy,Const(data.life))
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 2,4
sparkno = -1
sparkxy = -15,-77
hitsound   = -1;s2562,26
guard.sparkno = -1
guardsound = -1;s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -6,-6.5
air.velocity = -6,-6.8
fall = 1
fall.recover = 0
juggle = 15
p2stateno = 9000






[State 1010]
type = DestroySelf
trigger1 = time >= 150




