
;超必殺技
[Statedef 3300]
type    = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
anim = 10019
ctrl = 0
sprpriority = 2

[State 3800, 位置設定]
type = PosSet
trigger1 = Time = 0
y = 0

[State 3800, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 3301

[Statedef 3301]
type = S
movetype = A
physics = N
anim = 10020
juggle = 0
velset = 15,0

[State 3800, 残像をつける]
type = AfterImage
trigger1 = AnimElem = 1
time = 500
length = 9
timegap = 1
framegap = 2
trans = add1
paladd = 0,0,0
palmul = 1,1,1
palcolor = 256
palbright = 30,30,45
palcontrast = 120,120,220

[State 3800, 画面の指定色]
type = EnvColor
trigger1 = Time = 0
value = 0,0,0
time = 190
under = 1

[State 3800, 無敵]
type = NotHitBy
trigger1 = 1
value = SCA

[State 3800, 向きを変える]
type = Turn
triggerall = P2BodyDist X <= -30
trigger1 = 1

[State 4110, 移動速度]
type = VelSet
triggerall = Vel X >= 5
trigger1 = P2Dist X >= 75
x = 5

[State 4110, 移動速度]
type = VelSet
triggerall = Vel X <= -5
trigger1 = P2Dist X < 75
x = -5

[State 4110, 移動速度]
type = VelSet
triggerall = Vel Y >= 5
trigger1 = P2Dist Y >= 1
y = 5

[State 4110, 移動速度]
type = VelSet
triggerall = Vel Y <= -5
trigger1 = P2Dist Y <= -1
y = -5

[State 4110, 速度増減]
type = VelAdd
trigger1 = P2Dist X >= 75
trigger1 = Vel X < 5
x = 0.2

[State 4110, 速度増減]
type = VelAdd
trigger1 = P2Dist X <75
trigger1 = Vel X > -5
x = -0.2

[State 4110, 速度増減]
type = VelAdd
trigger1 = P2Dist Y >= 1
trigger1 = Vel Y < 5
y = 0.2

[State 4110, 速度増減]
type = VelAdd
trigger1 = P2Dist Y <=- 1
trigger1 = Vel Y > -5
y = -0.2

[State 3800, ヒット定義]
type = Hitdef
trigger1 = 1
attr = S,HT
priority = 3,Miss
damage = 0
sparkno = -1
hitsound = -1
hitflag = MALFD
guardflag = 
numhits = 0
p1facing = 1
p2facing = 1
p1stateno = 3303
p2stateno = 3305
;p2getp1state = 1

[State 3801, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 3302

[Statedef 3302]
type = S
movetype = I
physics = N
anim = 10022
velset = 0,7
ctrl = 0

[State 3802, 残像表示時間]
type = AfterImageTime
trigger1 = Time = 0
time = 0

[State 3802, ステート変更]
type = ChangeState
trigger1 = Vel Y > 0 && Pos Y >= -10
value = 1052

[Statedef 3303]
type = S
movetype = A
physics = S
ctrl = 0
anim = 10021
velset = 0,0

[State 3803, 特殊効果]
type = AssertSpecial
trigger1 = 1
flag = NoBarDisplay
flag2 = NoFG
flag3 = TimerFreeze
ignorehitpause = 1

[State 3803, 特殊効果]
type = AssertSpecial
trigger1 = 1
flag = NoMusic
ignorehitpause = 1

[State 6302, 時を止める]
type = Pause
trigger1 = Time = 0
time = 500
movetime = 500
ignorehitpause = 1

[State 3803, カメラ追い]
type = ScreenBound
trigger1 = 1
value = 0

[State 3803, 背景]
type = Explod
trigger1 = Time = 0
ID = 3803
anim = 10024
postype = Left
pos = 0,0
bindtime = -1
supermove = 1
scale = 1,1.1
under = 0
ownpal = 1
sprpriority = 1000
ignorehitpause = 1

[State 3803, ヒット回数]
type = HitAdd
trigger1 = Time%10 = 0
value = 1+(Random%1)
supermovetime = 500
pausemovetime = 500

[State 3803, 相手のライフ増減]
type = TargetLifeAdd
trigger1 = Time = 500
value = -21474836
absolute = 1

[State 3803, 相手のライフ増減]
type = TargetLifeAdd
trigger1 = Time = 500
value = -256*256*256*126
absolute = 1

[State 3803, 相手のライフ増減]
type = TargetLifeAdd
trigger1 = Time = 500
value = -(LifeMax*PowerMax)
absolute = 1


[State 3803, 背景アニメを消す]
type = RemoveExplod
trigger1 = Time = 500
ID = 3803

[State 3803, ステート変更]
type = ChangeState
trigger1 = Time = 500
value = 3304

[Statedef 3304]
type = S
movetype = I
physics = S
anim = 10023
velset = 0, 0
ctrl = 0

[State 3804, 位置固定]
type = PosSet
trigger1 = 1
y = 0

[State 3803, 変数をセット]
type = VarSet
trigger1 = AnimTime = 0
trigger1 = EnemyNear,Alive = 0
trigger1 = WinKO = 1
v = 12
value = 1

[State 3800, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[Statedef 3305]
type = A
movetype = H
physics = N
velset = 0,0
ctrl = 0

[State 8306, アニメ参照]
type = ChangeAnim2
trigger1 = Time = 0
value = 5100
ignorehitpause = 1

[State 3806, 無敵]
type = NotHitBy
trigger1 = 1
value = SCA

[State 8306, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
value = 11,0
volume = 255

[State 3806, カメラ追い]
type = ScreenBound
trigger1 = 1
value = 0

[State 8306, 位置固定]
type = PosSet
trigger1 = 1
y = 8306

[State 8306, ライフ増減]
type = LifeAdd
trigger1 = !IsHelper && Time >= 2
value = -2147483648
absolute = 1
ignorehitpause = 1

[State 8306, パワー増減]
type = PowerAdd
trigger1 = !IsHelper
value = -2147483648
ignorehitpause = 1

[State 8303, ライフ固定]
type = LifeSet
trigger1 = Time >= 2
value = 0
ignorehitpause = 1

[State 8303, ライフ固定]
type = LifeSet
trigger1 = Time >= 2 && Name != "Red ecoco" && IsHelper
value = 0
ignorehitpause = 1

[State 8303, パワー固定]
type = PowerSet
trigger1 = Time >= 2
value = 0
ignorehitpause = 1

[State 8303, パワー固定]
type = PowerSet
trigger1 = Time >= 2 && Name != "Red ecoco" && IsHelper
value = 0
ignorehitpause = 1

[State 8303, ステートを戻す]
type = SelfState
trigger1 = !IsHelper && Alive
value = 5100
ignorehitpause = 1

[State 8303, ステートを戻す]
type = SelfState
trigger1 = !IsHelper && !Alive
value = 5150
ignorehitpause = 1

[State 8303, スプライトを消す]
type = RemoveExplod
trigger1 = IsHelper
ignorehitpause = 1

[State 8303, ヘルパーを消す]
type = DestroySelf
trigger1 = IsHelper
ignorehitpause = 1

[Statedef 1052]
type    = S
movetype= I
physics = S
anim = 0
sprpriority = 1
velset = 0,0

[State 1052, 軸位置設定] ;地面の位置に軸をリセット
type = PosSet
trigger1 = 1
y = 0

[State 1052, コントロール可否]
type = CtrlSet
trigger1 = AnimElem = 3, -1
value = 1

[State 1052, 軸位置移動]
type = PosAdd
trigger1 = AnimElem = 4
x = -15

[State 1052, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

