;インフィニティシリンダー

[Statedef 222000]
type = S
movetype= A
physics = N
ctrl = 0
anim = 3699
velset = 0,0

[State 222000, 気力初期化]
type = VarSet
trigger1 = time = 0
v = 55
value = 100

[State 222000, 気力限界突破禁止用]
type = VarSet
trigger1 = time = 0
v = 54
value = 1

[State 222000, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
channel = 0
volume = 100
value = 9500, 2

[State 222000, 超必殺技暗転時間停止]
type = SuperPause
trigger1 = time = 0
time = 50
pos = -5, -9999
movetime = 50
sound = -20, 0
poweradd = 0

[State 222000, Effect]
type = Explod
trigger1 = AnimElem = 2
anim = 60001
scale = 1,1
postype = p1
pos = -160,-135
sprpriority = 3
;supermove = 1
supermovetime = 9999
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222000, ヒット定義]
type = HitDef
trigger1 = Time = 46;71
hitflag = MA
attr = S, HA
damage    = 10
getpower  = 0
guardflag = MA
priority = 4
pausetime = 15
sparkno = -1
sparkxy = -10,-40
p2stateno = 3715
hitsound   = S1000,14
guardsound = S1000,0
animtype = Hard
ground.type = Hard
ground.slidetime = 15
ground.hittime  = 15
ground.cornerpush.veloff = 0  ;この５行をhitdefに追加してみて
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0
ground.velocity = 0,0
kill = 0
guard.kill = 0

[State 222000, ヒット定義]
type = null;HitDef
trigger1 = Time = 51
trigger2 = Time = 54
trigger3 = Time = 57
trigger4 = Time = 60
hitflag = M-
attr = S, HA
damage    = 500
getpower  = 0
guardflag = MA
priority = 4
pausetime = 15
sparkno = -1
sparkxy = -10,-40
hitsound   = S1000,14
guardsound = S1000,0
animtype = hard
ground.type = Trip
ground.slidetime = 15
ground.hittime  = 15
ground.cornerpush.veloff = 0  ;この５行をhitdefに追加してみて
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0
ground.velocity = -20,-3

[State 222000, 掴んだ相手の位置];
type = TargetBind
trigger1 = movehit
pos = 250, 0  ;

[State 222000, changestate];
type = ChangeState
trigger1 = movehit
value = 222001 

[State 222000, changestate];
type = ChangeState
trigger1 = Animtime = 0
value = 0 
ctrl = 1


=======================================================================

;
[Statedef 222001]
type = S
ctrl = 0
anim = 3700
velset = 0,0

[State 222001, 演出]
type = AssertSpecial
trigger1 = 1
flag = noBG
flag2 = timerfreeze
flag3 = nomusic

[State 222001, 音消し]
type = StopSnd
trigger1 = time = 0
channel = -1

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 0
channel = 0
volume = 250
value = 9500, 0

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = time = 0
value = 9500, 1
loop = 1

[State 222001, Effect]
type = Explod
trigger1 = time = 0
anim = 50000
scale = 0.7,0.7
postype = back
pos = 150,200
sprpriority = 10
;supermove = 1
supermovetime = 630
ownpal = 1
ontop = 1
bindtime = -1
removeongethit = 1

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 315
channel = 1
volume = -100
loop = 1
value = 5000, 5

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 590
channel = 1
volume = 250
value = 5000, 6

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 188
channel = 1
volume = -250
value = 5000, 3

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 340
channel = 2
volume = -250
value = 5000, 4

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 400
channel = 2
volume = -250
value = 5000, 4

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 470
channel = 2
volume = -250
value = 5000, 4

[State 222001, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 530
channel = 2
volume = -250
value = 5000, 4

[State 222001, キュピン]
type = PlaySnd
trigger1 = Time = 560
channel = 2
volume = 200;-250
value = 5000, 7

[State 222001, 超必殺技暗転時間停止]
type = SuperPause
trigger1 = time = 0
time = 630
pos = -5, -9999
movetime = 630
sound = -20, 0
poweradd = -0
       
[State 222001, ステート変更];
type = ChangeState
trigger1 = Time = 630
value = 222002

=======================================================================

[Statedef 222002]
type = S
movetype= A
ctrl = 0
anim = 3700
velset = 0,0

[State 222002, 相手を壁らへんに]
type = TargetBind
trigger1 = time = 0
pos = 200, 0

[State 222002, 演出]
type = AssertSpecial
trigger1 = time <= 202
flag = noBG
flag2 = timerfreeze
flag3 = nomusic

[State 222002, 透明]
type = AssertSpecial
trigger1 = time <= 202
flag = invisible

[State 222002, かっこいい天空エフェ（]
type = Explod
trigger1 = time = 0
anim = 60000
ID = 60000
scale = 1.2,1.2
postype = back
pos = -30,-40
sprpriority = 10
;supermove = 1
supermovetime = 9999999
ownpal = 1
ontop = 1
bindtime = -1
removeongethit = 1

[State 222001, 超必殺技暗転時間停止]
type = SuperPause
trigger1 = time = 0
time = 138
pos = -5, -9999
movetime = 138
sound = -20, 0
poweradd = -0

[State 222002, 落下ビーム（]
type = Explod
trigger1 = time = 148
anim = 3753
ID = 3753
scale = 1.3,1.3
postype = p2
pos = 0,0
sprpriority = 10
;supermove = 1
supermovetime = 9999999
ownpal = 1
ontop = 1
bindtime = -1
removeongethit = 1

[State 222001, 音]
type = PlaySnd
trigger1 = time = 170
value = 5000, 2

[State 222001, 白光]
type = Explod
trigger1 = time = 175
anim = 3705
ID = 3705
scale = 1,1
postype = back
pos = 0,200
sprpriority = 10
;supermove = 1
supermovetime = 9999999
ownpal = 1
ontop = 1
bindtime = -1
removeongethit = 1

[State 222002, ステート変更]
type = ChangeState
trigger1 = Time = 202
value = 222003
ctrl = 1

=======================================================================

[Statedef 222003]
type = S
movetype= A
ctrl = 0
anim = 3700
velset = 0,0

[State 222003, 演出]
type = AssertSpecial
trigger1 = 1
flag = noBG
flag2 = timerfreeze
flag3 = nomusic

[State 222003, 透明]
type = AssertSpecial
trigger1 = time <= 99999
flag = invisible

[State 222003, 音]
type = PlaySnd
trigger1 = time = 45
trigger2 = time = 75
trigger3 = time = 105
trigger4 = time = 115
trigger5 = time = 125
trigger6 = time = 135
value = 5000, 2

[State 222003, Effect紫球]
type = Explod
triggerall = time <= 140
trigger1 = time%32 = 0
anim = 3750
scale = 1.4,1.4
postype = p2
pos = -75,20
sprpriority = 5
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, Effect]
type = Explod
triggerall = time <= 140
trigger1 = time = 0
anim = 3711
ID = 3711
scale = 0.55,0.55
postype = p2
pos = -180,-180
sprpriority = 8
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾]
type = Explod
trigger1 = time = 40
anim = 3712+(Random%2)
ID = 3712
scale = 1,1
postype = p2
pos = -20,-100
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）]
type = Explod
triggerall = time <= 135
trigger1 = time = 45
anim = 3740
ID = 3740
scale = 0.6,0.7
postype = p2
pos = 20,-60
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾1]
type = Explod
trigger1 = time = 70
anim = 3712+(Random%2) 
ID = 3712
scale = 1,1
postype = p2
pos = -70,-120
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）1]
type = Explod
triggerall = time <= 135
trigger1 = time = 75
anim = 3740 
ID = 3740
scale = 0.6,0.7
postype = p2
pos = -30,-80
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾2]
type = Explod
trigger1 = time = 100
anim = 3712+(Random%2)  
ID = 3712
scale = 1,1
postype = p2
pos = -120,-130
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）2]
type = Explod
triggerall = time <= 135
trigger1 = time = 105
anim = 3740
ID = 3740
scale = 0.6,0.7
postype = p2
pos = -80,-90
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾3]
type = Explod
trigger1 = time = 110
anim = 3712+(Random%2) 
ID = 3712
scale = 1,1
postype = p2
pos = -40,-160
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）3]
type = Explod
triggerall = time <= 135
trigger1 = time = 115
anim = 3740
ID = 3740
scale = 0.6,0.7
postype = p2
pos = -0,-120
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾4]
type = Explod
trigger1 = time = 120
anim = 3712+(Random%2) 
ID = 3712
scale = 1,1
postype = p2
pos = -30,-75
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）4]
type = Explod
triggerall = time <= 135
trigger1 = time = 125
anim = 3740
ID = 3740
scale = 0.6,0.7
postype = p2
pos = 10,-35
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,消滅弾5]
type = Explod
trigger1 = time = 130
anim = 3712+(Random%2) 
ID = 3712
scale = 1,1
postype = p2
pos = -90,-70
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 消滅（黒●）5]
type = Explod
triggerall = time <= 140
trigger1 = time = 135
anim = 3740
ID = 3740
scale = 0.6,0.7
postype = p2
pos = -50,-30
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003,kesu]
type = RemoveExplod
trigger1 = time = 140
ID = 3740

[State 222003,kesu]
type = RemoveExplod
trigger1 = time = 140
ID = 3712

[State 222003,kesu]
type = RemoveExplod
trigger1 = time = 140
ID = 3711
;
[State 222003, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 240
value = 1000, 10
;
[State 222003, 爆発]
type = Explod
trigger1 = time = 240
anim = 40000
ID = 40000
scale = 1.5,1.5
postype = back
pos = 150,140
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 爆発]
type = null;Explod
trigger1 = time = 225
anim = 40000
ID = 40000
scale = 1,1
postype = back
pos = 120,170
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 爆発]
type = null;Explod
trigger1 = time = 230
anim = 40000
ID = 40000
scale = 1,1
postype = back
pos = 220,150
sprpriority = 6
;supermove = 1
ownpal = 1
bindtime = -1
removeongethit = 1

[State 222003, 特殊ＫＯ演出用]
type = VarSet
trigger1 = enemy,life = 0
v = 7
value = 1

[State 222003, 特殊ＫＯ演出用]
type = VarSet
trigger1 = fvar(13) = 0
fvar(13) = 1

[State 222003, ステート変更]
type = ChangeState
trigger1 = Time = 250
value = 0
ctrl = 1

=======================================================================

[Statedef 3715];相手を空中に放置（
type    = S
movetype= H
physics = N
velset = 0,0
anim = 5000
ctrl = 0
sprpriority = 2

[State 3715, すり抜け]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 1,0

[State 3715, すり抜け]
type = PlayerPush
trigger1 = time >= 0
value = 0

[State 3715]
type = assertspecial
triggerall = time < 3
trigger1 = 1
flag = invisible
;ignorehitpause = 1

[State 3715, 移動]
type = PosSet
;trigger1 != time > 2
trigger1 = time > 20
X = 0
;y = 0

[State 3715, ダメ]
type = LifeAdd
trigger1 = time = 53
value = -150
kill = 0
absolute = 1

[State 3715, ダメ]
type = LifeAdd
trigger1 = time = 124
trigger2 = time = 154
trigger3 = time = 184
trigger4 = time = 194
trigger5 = time = 204
trigger6 = time = 214
value = -80
kill = 0
absolute = 1

[State 3715, 一撃必殺ダメ]
type = LifeAdd
trigger1 = time = 317
value = -99999999
kill = 1
absolute = 1
;
[State 3715, 2]
type = posset
triggerall = time >=222;80
trigger1 = 1
y = 99999

[State -2]
type = assertspecial
triggerall = time >=222;280
trigger1 = 1
flag = nobardisplay
flag3 = invisible
;ignorehitpause = 1

[State 3715, 無敵]
type = NotHitBy
trigger1 time >= 422
value = SCA
time = 1

[State 3175, 相手ステートに戻す]
type = ChangeState
trigger1 = time = 327
value = 5150
