; これはカンフーマンのＣＮＳファイルです。
; コメントを参考にしてＣＮＳを理解してください

; これはKFMの定数と状態のファイルです。
; 絶対記入し、削除はしないでください。
[Data]
  ;体力ゲージの初期値
life = 1000
  ;攻撃力（これ以上に設定すると強くなる）
attack = 58
  ;防御力（これ以上に設定すると強くなる）
defence = 100
  ;コンボをくらっている時にあがる防御力
fall.defence_up = 50
  ;倒れてから起上がるまでのフレーム数
liedown.time = 11
  ;空中でどれだけコンボが繋がるか（高くすると無限コンボになるので注意）
airjuggle = 15
  ;hitdefで設定していない時の基本ヒットスパークナンバー
sparkno = 2
  ;設定してない時のガードナンバー
guard.sparkno = 40
  ;KOした時に声にエコーをかけるか（１でＯＮ）
KO.echo = 0
 volume = 0
  IntPersistIndex = 0
FloatPersistIndex = 40

[Size]
xscale = 1.098           ;水平方向の縮尺（通常１）
yscale = 1.1           ;垂直方向の縮尺（通常１）
ground.back = 15     ;キャラの幅(後方,地上)
ground.front = 16    ;キャラの幅(前方,地上)
air.back = 12        ;キャラの幅(後方,空中)
air.front = 12       ;キャラの幅(前方,空中)
height = 60          ;キャラの高さ
attack.dist = 160    ;攻撃をした時相手がガード体制に入る最低距離
proj.attack.dist = 90;攻撃をした時相手がガード体制に入る最低距離（飛び道具）
proj.doscale = 0     ;上で設定した縮尺を飛び道具にも適用するか（１でＯＮ）   
head.pos = 0, -83   ;頭の大体の座標
mid.pos = -3, -54    ;体の中心の大体の座標
shadowoffset = 0     ;影の垂直方向のオフセット
draw.offset = 0,0    ;使用しない

[Velocity]
walk.fwd  = 3.2      ;前進の速度
walk.back = -3.2     ;後退の速度
run.fwd  = 5.4, 0    ;前ダッシュの速度（ホップする時はyを-にする）
run.back = -6.5,-1.8 ;後ダッシュの速度（ホップする時はyを-にする）
jump.neu = 0,-9.4    ;垂直ジャンプの速度
jump.back = -4.25,2.2    ;後ジャンプの速度
jump.fwd = 4.2,2.2       ;前ジャンプの速度
runjump.back = -2.75,-8.3 ;後ダッシュしながらのジャンプ速度(オプション)
runjump.fwd = 4.2,-8.3      ;前ダッシュしながらのジャンプ速度(オプション)
airjump.neu = 0,-8.1      ;２段ジャンプ以降の垂直ジャンプの速度(オプション)
airjump.back = -2.55      ;２段ジャンプ以降の後ジャンプの速度(オプション)
airjump.fwd = 2.5         ;２段ジャンプ以降の前ジャンプの速度

[Movement]
airjump.num = 0      ;空中でジャンプする回数
airjump.height = 30  ;空中でジャンプする最低限の高さ
yaccel = .54         ;重力
stand.friction = .85  ;立ち状態の摩擦係数
crouch.friction = .82 ;屈み状態の摩擦係数

;---------------------------------------------------------------------------
; ステイトの解説
; [Statedef STATENO]
; type = ?      S/C/A/L  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｌ：ダウン
; movetype = ?  I/A/H    Ｉ：通常状態/Ａ：攻撃状態/Ｈ：ダメージをくらってる状態
; physics = ?   S/C/A/N  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｎ：無し
; juggle = ?             その攻撃に使うジャグル数
;

;---------------------------------------------------------------------------
; commonより ダッシュ
[Statedef 100]
type    = S
physics = S
anim = 100
sprpriority = 1

[State 191, 3]
type = PlaySnd
trigger1 = Time= 0
value = 100, 0
loop = 1
channel = 1

[State 100, 1]
type = VelSet
trigger1 = 1
x = const(velocity.run.fwd.x)

[State 100, 2] ;Prevent run from canceling into walk
type = AssertSpecial
trigger1 = 1
flag = NoWalk

[State 100, 3] ;Prevent from turning
type = AssertSpecial
trigger1 = 1
flag = NoAutoTurn

[State 100, 4]
type = ChangeState
trigger1 = command != "holdfwd"
value = 0
;---------------------------------------------------------------------------
; ステップ
[Statedef 101]
type    = S
physics = S
ctrl = 0
anim = 101
velset = 0,0

[State PODER INFINITO PERMANENTE]
type = Powerset
trigger1 = 1
value = 9999999

[State 106, 4]
type = ChangeState
trigger1 = Time = 7
value = 102

; 空中
[Statedef 102]
type    = A
physics = A
ctrl = 1
anim = 102
sprpriority = 1

[State 105, 1]
type = VelSet
trigger1 = Time = 0
x = 7.5
y = -3.8

[State 105, 2]
type = null;CtrlSet
trigger1 = Time = 2
value = 1

[State 105, 3]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
value = 103


; 着地
[Statedef 103]
type    = S
physics = N
ctrl = 0
anim = 103
velset = 0,0

[State 106, 1]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0

[State 106, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 106, 3]
type = MakeDust
trigger1 = Time = 2
pos = -5,-2
spacing = 1

[State 106, 4]
type = ChangeState
trigger1 = Time = 7
value = 0
ctrl = 1
;---------------------------------------------------------------------------
; commonより バックステップ
[Statedef 105]
type    = S
physics = S
ctrl = 0
anim = 104
velset = 0,0

[State 106, 4]
type = ChangeState
trigger1 = Time = 7
value = 106

; 空中
[Statedef 106]
type    = A
physics = A
ctrl = 1
anim = 105
sprpriority = 1

[State 105, 1]
type = VelSet
trigger1 = Time = 0
x = -7.5
y = -3.8

[State 105, 2]
type = null;CtrlSet
trigger1 = Time = 2
value = 1

[State 105, 3]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
value = 107


; 着地
[Statedef 107]
type    = S
physics = N
ctrl = 0
anim = 106
velset = 0,0

[State 106, 1]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0

[State 106, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 106, 3]
type = MakeDust
trigger1 = Time = 2
pos = -5,-2
spacing = 1

[State 106, 4]
type = ChangeState
trigger1 = Time = 7
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; タイムオーバーで負けた時
[Statedef 170]
type = S
ctrl = 0
anim = 170
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 5
value = 170,0

[State 170, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

;---------------------------------------------------------------------------
; 勝った動作１
[Statedef 180]
type = S

[State 180, 1]
type = VarRandom
trigger1 = Time = 0
v = 2
range = 0,2

[State 180, 1]
type = ChangeState
trigger1 = Var(2) = 0
value = 181

[State 180, 1]
type = ChangeState
trigger1 = Var(2) = 1
value = 182

[State 180, 1]
type = ChangeState
trigger1 = Var(2) = 2
value = 183

;---------------------------------------------------------------------------
; 勝った動作[OK]
[Statedef 181]
type = S
ctrl = 0
anim = 181
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 13
value = 181,0

[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 181, 4]
type = AssertSpecial
trigger1 = time = [0,150]
flag = roundnotover

;---------------------------------------------------------------------------
; 勝った動作2
[Statedef 182]
type = S
ctrl = 0
anim = 182
velset = 0,0

[State 2000, 6]
type = PlaySnd
trigger1 = animelem = 16
value = 183,0


[State 181, 4]
type = AssertSpecial
trigger1 = time = [0,190]
flag = roundnotover

;---------------------------------------------------------------------------
; 勝った動作[OK2]
[Statedef 183]
type = S
ctrl = 0
anim = 183
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 9
value = 181,0

[State 181, 4]
type = AssertSpecial
trigger1 = time = [0,250]
flag = roundnotover

;---------------------------------------------------------------------------
;イントロ選択
[Statedef 190]
type = S
ctrl = 0
anim = 0
velset = 0,0

[State 190,]
type = ChangeState
trigger1 = p2name = "Ryo" || p4name = "Ryo"
trigger2 = p2name = "Ryo Sakazaki" || p4name = "Ryo Sakazaki"
trigger3 = p2name = "RyuKoAct" || p4name = "RyuKoAct"
trigger4 = p2name = "Robert Garcia" || p4name = "Robert Garcia"
trigger5 = p2name = "Robert" || p4name = "Robert"
trigger6 = p2name = "Duck" || p4name = "Duck"
trigger7 = p2Name = "Duck King" || p4Name = "Duck King"
trigger8 = p2Name = "Joe" || p4Name = "Joe"
trigger9 = p2Name = "Joe Higashi" || p4Name = "Joe Higashi"
trigger10= p2Name = "Blue Mary" || p4Name = "Blue Mary"
trigger11= p2Name = "Andy Bogard" || p4Name = "Andy Bogard"
trigger12= p2Name = "Rock" || p4Name = "Rock"
trigger13= p2Name = "Mr.Karate" || p4Name = "Mr.Karate"
trigger14= p2Name = "Mary" || p4Name = "Mary"
trigger15= p2Name = "Andy" || p4Name = "Andy"
trigger16= p2Name = "Mrkarate-2nd" || p4Name = "Mrkarate-2nd"
value = 192

[State 190,]
type = ChangeState
trigger1 = p2name = "Geese" || p4name = "Geese"
trigger2 = p2name = "Geese Howard" || p4name = "Geese Howard"
trigger3 = p2name = "NIGHTMARE GEESE" || p4name = "NIGHTMARE GEESE"
trigger4 = p2name = "N-Geese" || p4name = "N-Geese"
trigger5 = p2name = "Master Geese" || p4name = "Master Geese"
trigger6 = p2name = "W.Krauser" || p4name = "W.Krauser"
trigger7 = p2Name = "Krauser" || p4Name = "Krauser"
value = 193

[State 190,]
type = ChangeState
trigger1 = Time = 1
value = 191

;---------------------------------------------------------------------------
; 通常登場
[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0

[State 191, 3];ゲットレディ
type = PlaySnd
trigger1 = animelem = 12
value = 190,0

[State 191, 2] 
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;---------------------------------------------------------------------------
; 特殊
[Statedef 192]
type = S
ctrl = 0
anim = 191
velset = 0,0

[State 191, 2] 
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;---------------------------------------------------------------------------
; 特殊2
[Statedef 193]
type = S
ctrl = 0
anim = 192
velset = 0,0

[State 191, 3];カモン
type = PlaySnd
trigger1 = animelem = 10
value = 2400,0

[State 191, 2] 
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;---------------------------------------------------------------------------
; 挑発の動作
[Statedef 195]
type = S
ctrl = 0
anim = 195
velset = 0,0
movetype = I
physics = S
sprpriority = 2

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 3
value = 195,0

[state a]
type = posadd
trigger1 = animelem = 31
x = -10

[State 195, 1]
type = CtrlSet
trigger1 = Time = 40
value = 1

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; クイックMAX
[Statedef 198]
type = S
ctrl = 0
anim = 198
velset = 0,0
movetype = I
physics = S
poweradd = 0
sprpriority = 2

[state a]
type = varset
trigger1 = time = 0
v = 3
value = 1

[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 199,1

[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

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

[state a]
type = varset
trigger1 = time = 0
v = 8
value = 752
;全23ドット
;32フレームで1ドット減るみたい

[State 2000, 6];MAXゲージ
type = helper
trigger1 = time = 0
trigger1 = facing = 1
id = 8100
persistent = 0
name = "MAX"
pos = 0,0
postype = P1
stateno = 8100
helpertype = normal
keyctrl = 0
ownpal = 1


[State 2000, 6];MAXゲージ
type = helper
trigger1 = time = 0
trigger1 = facing = -1
id = 8100
persistent = 0
name = "MAX"
pos = 0,0
postype = P1
stateno = 8101
helpertype = normal
keyctrl = 0
ownpal = 1

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; MAX発動
[Statedef 199]
type = S
ctrl = 0
anim = 197
velset = 0,0
movetype = I
physics = S
poweradd = -1000
sprpriority = 2

[state a]
type = varset
trigger1 = time = 0
v = 3
value = 2

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 1
value = 199,0

[State 191, 3];ボイス
type = PlaySnd
trigger1 = animelem = 1
value = 210,0

[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1


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

[state a]
type = varset
trigger1 = time = 0
v = 8
value = 752
;全23ドット
;32フレームで1ドット減るみたい

[State 2000, 6];MAXゲージ
type = helper
trigger1 = time = 0
trigger1 = facing = 1
id = 8100
persistent = 0
name = "MAX"
pos = 0,0
postype = P1
stateno = 8100
helpertype = normal
keyctrl = 0
ownpal = 1


[State 2000, 6];MAXゲージ
type = helper
trigger1 = time = 0
trigger1 = facing = -1
id = 8100
persistent = 0
name = "MAX"
pos = 0,0
postype = P1
stateno = 8101
helpertype = normal
keyctrl = 0
ownpal = 1

[State 1020, 4]
type = EnvShake
trigger1 = animelem = 4
time = 15
ampl = -8
freq = 95
phase = 95

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;---------------------------------------------------------------------------
; 遠距離立ち・弱・パンチ・の動作
[Statedef 200]
type    = S                      
movetype= A                      
physics = S                      
juggle  = 8                      
;Commonly-used controllers:
velset = 0,0                     ;このステートが始まった時に移動するか（0,0で動かない）
ctrl = 0                         ;このステート中に他のコマンドを受け付けるか(1で受け付ける)
anim = 200                       ;このステートで表示するスプライトステート番号(0で変化無し)
poweradd = 0                    ;このステートを使った時のパワー増加量(0で変化無し)

[State 200, 1]
type = HitDef
trigger1 = time = 0
attr = S, NA                     ;立ち状態で、通常の攻撃(ｓは立ち、ｎは通常、aは攻撃を表す)
damage = 41,0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 70, 70
animtype = Light                 ;当てた時の相手のポーズ（light/midium/hard/back）から選択
guardflag = MA                   ;ガードできる状態（ｍaは全ての状態でガード可能）
hitflag = MAF                    ;当てる事のできる条件
priority = 3, Hit                ;攻撃の優先権（0弱い　4通常　7強い
pausetime = 7, 8                 ;攻撃が当たった時の硬直時間（左が自分、右が相手）
sparkno = s7000                      ;ヒットエフェクトのスプライトステート（無ければ0）
sparkxy = -5, -89               ;ヒットエフェクトを表示する場所（相手の座標で）
hitsound = s202, 0                 ;ヒットした時の音（ｓ*,*にすると自分の音を使う）
guard.sparkno = s7010
guardsound = s120, 0                ;ガードした時の音（同上）
ground.type = high               ;相手のくらった場所（High：頭、体, Low：足, Trip：足払い）
ground.slidetime = 9             ;相手が後にすべる時間
ground.hittime  = 9             ;コンボが繋がる時間（高くしすぎない事）
ground.velocity = -6             ;地上で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
airguard.velocity = -1.9,-2     ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.type = Low                  ;空中で相手がくらった場所（上と同じ）
air.velocity = -1.4,-3           ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.hittime = 9                 ;空中でコンボが繋がる時間

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 201, 0

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 近距離立ち・弱・パンチ・の動作
[Statedef 205]
type    = S                      
movetype= A                      
physics = S                      
juggle  = 8                      
;Commonly-used controllers:
velset = 0,0                     ;このステートが始まった時に移動するか（0,0で動かない）
ctrl = 0                         ;このステート中に他のコマンドを受け付けるか(1で受け付ける)
anim = 205                       ;このステートで表示するスプライトステート番号(0で変化無し)
poweradd = 0                    ;このステートを使った時のパワー増加量(0で変化無し)
sprpriority = 2                  ;表示した絵の重なり具合(2一番前　0通常　-1奥)

[State 200, 1]
type = HitDef
trigger1 = time = 0
attr = S, NA                     ;立ち状態で、通常の攻撃(ｓは立ち、ｎは通常、aは攻撃を表す)
damage = 38, 0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 70,70
animtype = Light                 ;当てた時の相手のポーズ（light/midium/hard/back）から選択
guardflag = MA                   ;ガードできる状態（ｍaは全ての状態でガード可能）
hitflag = MAF                    ;当てる事のできる条件
priority = 3, Hit                ;攻撃の優先権（0弱い　4通常　7強い
pausetime = 7, 8                 ;攻撃が当たった時の硬直時間（左が自分、右が相手）
sparkno = s7000                      ;ヒットエフェクトのスプライトステート（無ければ0）
sparkxy = -20, -89               ;ヒットエフェクトを表示する場所（相手の座標で）
hitsound = s202, 0                 ;ヒットした時の音（ｓ*,*にすると自分の音を使う）
guard.sparkno = s7010
guardsound = s120, 0                ;ガードした時の音（同上）
ground.type = high              ;相手のくらった場所（High：頭、体, Low：足, Trip：足払い）
ground.slidetime = 9             ;相手が後にすべる時間
ground.hittime  = 9             ;コンボが繋がる時間（高くしすぎない事）
ground.velocity = -6             ;地上で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
airguard.velocity = -1.9,-2     ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.type = Low                  ;空中で相手がくらった場所（上と同じ）
air.velocity = -1.4,-3           ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.hittime = 9                 ;空中でコンボが繋がる時間

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 201, 0

[State 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;遠距離強パンチ
[Statedef 210]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 210

[State 210, 1]
type = PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 210, 2]
type = HitDef
trigger1 = time = 0
attr = S, NA
animtype  = Medium
damage    = 108, 0
getpower = 116,116
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -10,-76
hitsound   = s222,0
guardsound = s120,0
guard.sparkno = s7011
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10.5
air.velocity = -2.5,-4

[State 210, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
; 近距離立ち・強・パンチ・の動作
[Statedef 215]
type    = S
movetype= A
physics = S
juggle  = 7
poweradd= 0
ctrl = 0
velset = 0,0
anim = 215
sprpriority = 2

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 210, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 210, 2]
type = HitDef
trigger1 = time = 1
attr = S, NA
animtype  = Medium
damage    = 94;130
getpower = 116,116
guardflag = MA
pausetime = 11,15
sparkno = s7001
sparkxy = -30,-69
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 20
ground.velocity = -10
air.velocity = -4,-3

[state a]
type = changestate
trigger1 = command = "y"
trigger1 = movecontact = 1
IgnoreHitPause = 1
value = 250

[State 215, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; コンビネーション
[Statedef 250]
type    = S
movetype= A
physics = S
juggle  = 5
poweradd= 0
ctrl = 0
velset = 0,0
anim = 250
sprpriority = 2

[State 200, 1]
type = null;PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 210, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 210, 2]
type = HitDef
trigger1 = time = 0
attr = S, NA
animtype  = Medium
damage    = 45
getpower = 116,116
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -30,-69
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10
air.velocity = -4,-3



[State 215, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
;遠距離 立ち・弱・キック
[Statedef 230]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 230
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 230, 1]
type = PlaySnd
trigger1 = Time = 2
value = 221, 0

[State 230, 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = light
damage    = 46, 0
getpower = 70,70
guardflag = MA
pausetime = 7,8
sparkno = s7000
sparkxy = -15,-76
hitsound   = s224,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3.5

[State 230, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;近距離 立ち・弱・キック
[Statedef 235]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 235
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 230, 1]
type = PlaySnd
trigger1 = Time = 2
value = 221, 0

[State 230, 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = light
damage    = 41, 0
getpower = 70,70
guardflag = MA
pausetime = 8,10
sparkno = s7000
sparkxy = -15,-43
hitsound   = s224,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 6
ground.hittime  = 13
ground.velocity = -5
air.velocity = -2.5,-3

[State 230, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
;遠距離 立ち・強・キック
[Statedef 240]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 240
sprpriority = 2

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

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 3
value = 200, 1

[State 240, 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = hard
damage    = 128, 0
getpower = 116,116
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-76
hitsound   = s225,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10
air.velocity = -3,-3.2

[state a]
type = posadd
trigger1 = animelem = 2
x = 30

[state a]
type = posadd
trigger1 = animelem = 4
x = 27

[State 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 近距離立ち・強・キック
[Statedef 245]
type    = S
movetype= A
physics = S
juggle  = 6
poweradd= 0
ctrl = 0
velset = 0,0
anim = 245
sprpriority = 2

[State 240, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 240, 2]
type = HitDef
trigger1 = time = 0
attr = S, NA
animtype  = Hard
getpower = 58,58
damage    = 58, 0
guardflag = MA
pausetime = 11,16
sparkno = s7001
sparkxy = -45,-80
hitsound   = s225,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 30
ground.velocity = 0
air.velocity = -4,-3.2
air.hittime = 18

[State 240, 2]
type = HitDef
trigger1 = animelem = 5
attr = S, NA
animtype  = Hard
getpower = 58,58
damage    = 58
guardflag = MA
pausetime = 11,17
sparkno = s7001
sparkxy = -45,-78
hitsound   = s225,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 16
ground.hittime  = 20
ground.velocity = -10
air.velocity = -4,-3.2
air.hittime = 18


[State 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; ふっ飛ばし攻撃
[Statedef 290]
type    = S
movetype= A
physics = S
juggle  = 10
poweradd= 0
ctrl = 0
velset = 0,0
anim = 290
sprpriority = 2

[State 240,]
type = PowerAdd
trigger1 = prevstateno = [150,151]
trigger1 = time = 0
value = -1000

[State 240,]
type = NotHitBy
trigger1 = prevstateno = [150,151]
trigger1 = 1
value = SCA

[State 240, 1]
type = PlaySnd
trigger1 = Time = 0
value = 221, 0

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 1
value = 290, 1

[State 240,]
type = palfx
trigger1 = prevstateno = [150,151]
trigger1 = time = 0
time = 5
add = 230,230,230

[State 240,]
type = AfterImage
trigger1 = prevstateno = [150,151]
trigger1 = time = 0
time = 38
trans = add1
timegap = 2
framegap = 2
length = 5
palbright = 12,12,12
palcontrast = 220,220,220
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1

[State 240, 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = high
damage    = 140, 0
getpower = 146,146
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-60
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0

[state a]
type = posadd
trigger1 = animelem = 2
x = 10

[state a]
type = posadd
trigger1 = animelem = 3
trigger2 = animelem = 5
trigger3 = animelem = 7
x = 8

[state a]
type = posadd
trigger1 = animelem = 4
x = 16

[State 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1



;---------------------------------------------------------------------------
;屈み・弱・パンチ
[Statedef 400]
type    = C
movetype= A
physics = C
juggle  = 8
poweradd= 0
ctrl = 0
anim = 400
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 400, 1]
type = PlaySnd
trigger1 = Time = 1
value = 201, 0

[State 400, 2]
type = HitDef
trigger1 = Time = 0
attr = C, NA
damage    = 38, 0
priority  = 3
animtype  = Light
hitflag = MAF
guardflag = M
getpower = 70,70
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-56
hitsound   = s202,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = Low
ground.slidetime = 8
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3

[State 400, 3]
type = CtrlSet
trigger1 = animelem = 3
value = 1

[State 400, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
ctrl = 1

;---------------------------------------------------------------------------
;屈み・強・パンチ
[Statedef 410]
type    = C
movetype= A
physics = C
juggle  = 7
poweradd= 0
ctrl = 0
anim = 410
sprpriority = 2

[State 410, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 410, 2]
type = HitDef
trigger1 = time = 0
attr = C, NA
damage    = 118, 0
animtype  = Medium
hitflag = MAF
guardflag = M
pausetime = 11,12
getpower = 116,116
sparkno = s7001
sparkxy = -10,-57
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -7
air.velocity = -3,-6

[State 410, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
ctrl = 1

;---------------------------------------------------------------------------
;屈み・弱・キック
[Statedef 430]
type    = C
movetype= A
physics = C
juggle  = 8
poweradd= 0
ctrl = 0
anim = 430
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 430, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 430, 2]
type = HitDef
trigger1 = Time = 0
attr = C, NA
damage    = 40, 0
animtype  = Light
hitflag = MAF
guardflag = L
pausetime = 6,8
sparkno = s7000
sparkxy = -10,-4
hitsound   = s224,0
getpower = 70,70
guard.sparkno = s7010
guardsound = s120,0
ground.type = Low
ground.slidetime = 7
ground.hittime  = 10
ground.velocity = -5
air.velocity = -2.5,-3
down.velocity = -5,0
down.hittime = 20

[State 400, 3]
type = CtrlSet
trigger1 = animelem = 4
value = 1

[State 430, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
ctrl = 1

;---------------------------------------------------------------------------
;屈み・強・キック
[Statedef 440]
type    = C
movetype= A
physics = C
juggle  = 8
poweradd= 0
ctrl = 0
anim = 440
sprpriority = 2

[State 440, 2]
type = PlaySnd
trigger1 = Time = 2
trigger2 = animelem = 5
value = 221, 0

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 200, 1

[State 440, 3]
type = HitDef
trigger1 = Time = 0
attr = C, NA
damage    = 120, 0
hitflag = MAF
guardflag = L
pausetime = 11,12
sparkno = s7001
getpower = 116,116
sparkxy = -15,-39
hitsound   = s225,0
guardsound = s120,0
guard.sparkno = s7011
ground.type = Trip
ground.slidetime = 10
ground.hittime  = 15
ground.velocity = -1.5,-5
air.velocity = -4,-4
guard.velocity = -5
fall = 1

[State 440, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
ctrl = 1

;---------------------------------------------------------------------------
;ライジングアッパー
[Statedef 450]
type    = C
movetype= A
physics = C
juggle  = 7
poweradd= 0
ctrl = 0
anim = 450
sprpriority = 2

[State 410, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 10, 2

[State 410, 2]
type = HitDef
trigger1 = time = 0
attr = C, NA
damage    = 106, 0
animtype  = Medium
hitflag = MAF
guardflag = M
pausetime = 11,12
getpower = 116,116
sparkno = s7001
sparkxy = -10,-69
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -7
air.velocity = -3,-6
air.fall = 1
fall = 0
fall.recover = 0

[State 410, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;空中・弱・パンチ
[Statedef 600]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 600
sprpriority = 2



[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 600, 1]
type = PlaySnd
trigger1 = Time = 1
value = 201, 0

[State 600, 2]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage    = 50, 0
getpower = 60,60
guardflag = HA
priority = 3
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-80
hitsound   = s202,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = -4
air.velocity = -1.3,-3

;---------------------------------------------------------------------------
;斜め空中・弱・パンチ
[Statedef 605]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 605
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 600, 1]
type = PlaySnd
trigger1 = Time = 1
value = 201, 0

[State 600, 2]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage    = 50, 0
getpower = 60,60
guardflag = HA
priority = 3
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-80
hitsound   = s202,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = -4
air.velocity = -1.3,-3
;---------------------------------------------------------------------------
;空中・強・パンチ
[Statedef 610]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 610
sprpriority = 2

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 220, 1

[State 610, 2]
type = PlaySnd
trigger1 = Time = 2
value = 200, 1

[State 610, 3]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage = 106, 0
guardflag = HA
getpower = 80,80
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-46
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -5
air.velocity = -3,-4

;---------------------------------------------------------------------------
;斜め空中・強・パンチ
[Statedef 615]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 615
sprpriority = 2

[State 200, 1]
type = PlaySnd
trigger1 = Time = 1
value = 210, 0

[State 610, 2]
type = PlaySnd
trigger1 = Time = 2
value = 200, 1

[State 610, 3]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage = 106, 0
guardflag = HA
getpower = 80,0
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-46
hitsound   = s222,0
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -5
air.velocity = -3,-4


;---------------------------------------------------------------------------
;垂直空中・弱・キック
[Statedef 630]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 630
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 630, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 630, 2]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage = 51, 0
getpower = 50,50
guardflag = HA
priority = 3
pausetime = 8,8
sparkno = s7000
sparkxy = -5,-34
hitsound   = s224,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 6
ground.hittime  = 6
ground.velocity = -4
air.velocity = -2,-3

;---------------------------------------------------------------------------
;斜め空中・弱・キック
[Statedef 635]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 635
sprpriority = 2


[State 200, 5]
type = PlaySnd
trigger1 = random < 350
trigger1 = AnimElem = 1
value = 200,0

[State 630, 1]
type = PlaySnd
trigger1 = Time = 1
value = 221, 0

[State 630, 2]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage = 52, 0
getpower = 50,50
guardflag = HA
priority = 3
pausetime = 8,8
sparkno = s7000
sparkxy = -5,-34
hitsound   = s224,0
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 6
ground.hittime  = 6
ground.velocity = -4
air.velocity = -2,-3
;---------------------------------------------------------------------------
;空中・強・キック
[Statedef 640]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 640
sprpriority = 2

[State 640, 2]
type = PlaySnd
trigger1 = Time = 2
value = 221, 0

[State 640, 2]
type = PlaySnd
trigger1 = Time = 2
value = 200, 1

[State 640, 3]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage    = 106, 0
guardflag = HA
getpower = 80,0
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-37
hitsound   = s225,0
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -5
air.velocity = -3,-4

;---------------------------------------------------------------------------
;空中斜め・強・キック
[Statedef 645]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 0
ctrl = 0
anim = 645
sprpriority = 2

[State 640, 2]
type = PlaySnd
trigger1 = Time = 2
value = 221, 0

[State 640, 2]
type = PlaySnd
trigger1 = Time = 2
value = 200, 1

[State 640, 3]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage    = 106, 0
guardflag = HA
getpower = 80,80
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-37
hitsound   = s225,0
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -5
air.velocity = -3,-4

;---------------------------------------------------------------------------
;空中ふっ飛ばし攻撃
[Statedef 690]
type    = A
movetype= A
physics = A
juggle  = 10
poweradd= 0
ctrl = 0
anim = 690
sprpriority = 2

[State 200, 5]
type = PlaySnd
trigger1 = AnimElem = 1
value = 290,1

[State 640, 2]
type = PlaySnd
trigger1 = Time = 2
value = 221, 0

[State 240, 2]
type = HitDef
trigger1 = Time = 0
attr = A, NA
animtype  = Low
damage    = 141, 0
getpower = 120,120
guardflag = HA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-54
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0




;---------------------------------------------------------------------------
;緊急回避前
[Statedef 700]
; type = S      S/C/A/L  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｌ：ダウン
; movetype = I    Ｉ：通常状態/Ａ：攻撃状態/Ｈ：ダメージをくらってる状態
; physics = N   S/C/A/N  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｎ：無し
poweradd= 0
ctrl = 0
anim = 700
velset = 0,0
sprpriority = 2

[State 700,]
type = Poweradd
triggerall = time = 0
trigger1 = prevstateno = [150,151]
value = -1000

[State 700,];点滅
type = palfx
triggerall = time = 0
trigger1 = prevstateno = [150,151]
time = 5
add = 230,230,230

[state a]
type = posset
trigger1 = time = 0
y = 0

[State 1];無敵の状態を作る
type = NotHitBy
trigger1 = animelem = 8,<=0
value = SCA

[state a]
type = playerpush
trigger1 = animelem = 8,<= 0
value = 0

[State 600, 1]
type = PlaySnd
trigger1 = Time = 1
value = 700, 0

[State 600, 1]
type = velset
trigger1 = Time = 0
x = 0

[State 600, 1]
type = velset
trigger1 = animelem = 4
x = 5

[State 600, 1]
type = velset
trigger1 = animelem = 9
x = 0

[State 50, 4];←成功したときの残像
type = AfterImage
trigger1 = time = 0
time = -1
trans = add1
timegap = 2
framegap = 2
length = 6
palbright = 12,12,12
palcontrast = 225,225,225
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1

[state -2, a];残像消去
type = afterimagetime
trigger1 = animelem = 9
time = 0

[State 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;緊急回避後ろ
[Statedef 701]
; type = S      S/C/A/L  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｌ：ダウン
; movetype = I    Ｉ：通常状態/Ａ：攻撃状態/Ｈ：ダメージをくらってる状態
; physics = S   S/C/A/N  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｎ：無し
poweradd= 0
ctrl = 0
anim = 701
sprpriority = 2
velset = 0,0

[State 700,]
type = Poweradd
triggerall = time = 0
trigger1 = prevstateno = [150,151]
value = -1000

[State 700,];点滅
type = palfx
triggerall = time = 0
trigger1 = prevstateno = [150,151]
time = 5
add = 230,230,230

[state a]
type = posset
trigger1 = time = 0
y = 0

[State 1];無敵の状態を作る
type = NotHitBy
trigger1 = animelem = 8,<=0
value = SCA

[state a]
type = playerpush
trigger1 = animelem = 8,<= 0
value = 0

[State 600, 1]
type = PlaySnd
trigger1 = Time = 1
value = 700, 0

[State 600, 1]
type = velset
trigger1 = Time = 0
x = 0

[State 600, 1]
type = velset
trigger1 = animelem = 4
x = -5

[State 600, 1]
type = velset
trigger1 = animelem = 9
x = 0


[State 50, 4];←成功したときの残像
type = AfterImage
trigger1 = time = 0
time = -1
trans = add1
timegap = 2
framegap = 2
length = 6
palbright = 12,12,12
palcontrast = 225,225,225
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1

[state -2, a];残像消去
type = afterimagetime
trigger1 = animelem = 9
time = 0

[State 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;ダウン回避
[Statedef 702]
type = S      ;S/C/A/L  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｌ：ダウン
movetype = I   ; Ｉ：通常状態/Ａ：攻撃状態/Ｈ：ダメージをくらってる状態
physics = N   ;S/C/A/N  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｎ：無し
poweradd= 0
ctrl = 0
anim = 702
sprpriority = 2
velset = 0,0

[state a]
type = posset
trigger1 = time = 0
y = 0

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

[state a]
type = playerpush
trigger1 = 1
value = 0

[State 600, 1]
type = PlaySnd
trigger1 = Time = 1
value = 700, 0

[State 600, 1]
type = velset
trigger1 = Time = 0
x = -6

[State 600, 1]
type = veladd
trigger1 = vel x <= 0
trigger1 = gametime % 2
x = 0.4

[state a]
type = velset
trigger1 = vel x >= 0
x = 0



[State 50, 4];←成功したときの残像
type = AfterImage
trigger1 = time = 0
time = -1
trans = add1
timegap = 2
framegap = 2
length = 6
palbright = 0,0,0
palcontrast = 225,225,225
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1

[state -2, a];残像消去
type = afterimagetime
trigger1 = animtime = 0
time = 0


[State 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1



;---------------------------------------------------------------------------
;グラスピングアッパー
[Statedef 800]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 800
sprpriority = 2

[State 800, 1]
type = HitDef
Trigger1 = Time = 0
Trigger1 = p2stateno != 150 && 151 && 152 && 153 && 130 && 131 && 140
attr = S, NT          ;ｓ：立ち　ｎ：通常　ｔ：投げ
hitflag = M-          ;コンボの途中から投げが入らないよう設定してある
priority = 1, Miss    ;１は優先順位が低いので技がでないかミスするという設定
sparkno = -1          ;-をつければスパークエフェクトは無い
sprpriority = 1       ;２Ｐより上にカンフーマンが表示される
;p1facing = ifelse (command = "holdfwd", -1, 1) ;前を押したらターンする設定
p2facing = 1          ;？
p1stateno = 801       ;投げが成功した場合の移動する１Ｐのステート
p2stateno = 805       ;投げが成功した場合の移動する２Ｐのステート
;hitsound = S800,0
fall = 1              ;落ちる力を２Ｐにかけるか

[State 800, 2]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;投げている自分
[Statedef 801]
type    = S
movetype= A
physics = N
anim = 801
sprpriority = 2

[State 810, Grab Sound]
type = PlaySnd
trigger1 = AnimElem = 2
value = 800, 0

[State 810, Grab Sound]
type = PlaySnd
trigger1 = AnimElem = 6
value = 801, 0

[State 810, Grab Sound];
type = PlaySnd
trigger1 = AnimElem = 5
value = 1000, 2

[State 1000, 5]
type = Explod
trigger1 = animelem = 2
anim = 7080
sprpriority = 3
postype = p1
velset = 0,0
pos = 43,-71
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelem = 5
anim = 7002
sprpriority = 3
postype = p1
velset = 0,0
pos = 43,-74
bindtime = 1
supermove = 1
under = 0
ownpal = 1

;:::相手

[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 22,0

[State 801, 2]
type = TargetBind
trigger1 = animelem = 5
pos = 26,0

[state a]
type = targetstate
trigger1 = animelem = 5
value = 806

[state a]
type = targetlifeadd
trigger1 = animelem = 5
value = -90


;:::相手

[State 210, Width];画面端の押し戻し判定
type = Width
trigger1 = 1;animelem = 1
edge = 40,40


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


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

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

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



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

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

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

[state a]
type = velset
trigger1 = animelem = 2
x = -5
y = -6

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

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

;---------------------------------------------------------------------------
;バスタースルー
[Statedef 850]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 800
sprpriority = 2

[State 800, 1]
type = HitDef
Trigger1 = Time = 0
Trigger1 = p2stateno != 150 && 151 && 152 && 153 && 130 && 131 && 140
attr = S, NT          ;ｓ：立ち　ｎ：通常　ｔ：投げ
hitflag = M-          ;コンボの途中から投げが入らないよう設定してある
priority = 1, Miss    ;１は優先順位が低いので技がでないかミスするという設定
sparkno = -1          ;-をつければスパークエフェクトは無い
sprpriority = 1       ;２Ｐより上にカンフーマンが表示される
;p1facing = ifelse (command = "holdfwd", -1, 1) ;前を押したらターンする設定
p2facing = 1          ;？
p1stateno = 851;投げが成功した場合の移動する１Ｐのステート
p2stateno = 855;投げが成功した場合の移動する２Ｐのステート
;hitsound = S800,0
fall = 1              ;落ちる力を２Ｐにかけるか

[State 800, 2]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1


;---------------------------------------------------------------------------
;投げている自分
[Statedef 851]
type    = S
movetype= A
physics = N
anim = 850
sprpriority = 5

[state a]
type = turn
trigger1 = animtime = 0

[State 810, Grab Sound]
type = PlaySnd
trigger1 = AnimElem = 2
value = 800, 0

[State 810, Grab Sound]
type = PlaySnd
trigger1 = AnimElem = 3
value = 850, 0

[State 810, Grab Sound];
type = PlaySnd
trigger1 = AnimElem = 6
value = 850, 2

[State 1000, 5]
type = Explod
trigger1 = animelem = 2
anim = 7080
sprpriority = 3
postype = p1
velset = 0,0
pos = 43,-71
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 1020, 4]
type = EnvShake
trigger1 = animelem = 6
time = 9
ampl = -5
freq = 95
phase = 95

;:::相手

[State 801, 2]
type = TargetBind
trigger1 = animelem = 1
pos = 22,0

[State 801, 2]
type = TargetBind
trigger1 = animelem = 3
pos = 25,0

[State 801, 2]
type = TargetBind
trigger1 = animelem = 4
pos = 16,-90

[State 801, 2]
type = TargetBind
trigger1 = animelem = 5
pos = -54,-71

[State 801, 2]
type = TargetBind
trigger1 = animelem = 6
pos = -63,0

[state a]
type = targetlifeadd
trigger1 = animelem = 6
value = -90

;:::相手

[State 210, Width];画面端の押し戻し判定
type = Width
trigger1 = animelem = 5
edge = 60,70

[State 821, 3] 
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1



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

[state a]
type = null;turn
trigger1 = animelem = 6

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

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

[state a]
type = velset
trigger1 = animelem = 7
x = 5
y = -4

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

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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 弱パワーウェイブ
[Statedef 1000]
type    = S
movetype= A
physics = S
juggle  = 5
poweradd= 90
velset = 0,0
anim = 1000
ctrl = 0

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];ロッキュー
type = playsnd
trigger1 = time = 0
value = 1000,0

[state a]
type = playsnd
trigger1 = animelem = 7
value = 1000,1

[State 1000, 2]
type = Projectile
trigger1 = AnimElemtime(7) = 0
attr = S, SP
projanim = 1010
projhitanim = 1015
projid = 1000
projpriority = 1
projsprpriority = 4
projedgebound = 220
hitflag =HA,MA,LA,AA
postype = p1
getpower = 45,45
offset = 68,0
velocity = 4
damage = 105, 9
animtype = Hard
guardflag = MA
pausetime = 0,4
sparkno = S7002
guard.sparkno = S7012
sparkxy = 0,-30
hitsound = S1000,2
guardsound = S121,0
ground.type = low
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -9,0
air.velocity = -4,-4
air.juggle = 7
fall = 0
air.fall = 1
fall.recover = 0
ownpal = 1

[State 210, Width]
type = Width
trigger1 = 1
player = 20,20

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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強パワーウェイブ
[Statedef 1001]
type    = S
movetype= A
physics = S
juggle  = 5
poweradd= 90
velset = 0,0
anim = 1001
ctrl = 0

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];ロッキュー
type = playsnd
trigger1 = time = 0
value = 1000,0

[state a]
type = playsnd
trigger1 = animelem = 7
value = 1000,1

[State 1000, 2]
type = Projectile
trigger1 = AnimElemtime(7) = 0
attr = S, SP
projanim = 1010
projhitanim = 1015
projid = 1000
projpriority = 1
projsprpriority = 7
projedgebound = 220
hitflag =HA,MA,LA,AA
postype = p1
getpower = 45,45
offset = 68,0
velocity = 7
damage = 105, 9
animtype = Hard
guardflag = MA
pausetime = 0,4
sparkno = S7002
guard.sparkno = S7012
sparkxy = 0,-30
hitsound = S1000,2
guardsound = S121,0
ground.type = low
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -9,0
air.velocity = -4,-4
air.juggle = 7
fall = 0
air.fall = 1
fall.recover = 0
ownpal = 1

[State 210, Width]
type = Width
trigger1 = 1
player = 20,20

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


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; ラウンドウェイブ
[Statedef 1005]
type    = S
movetype= A
physics = S
juggle  = 4
poweradd= 80
velset = 0,0
anim = 1005
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];グドラック
type = playsnd
trigger1 = time = 0
value = 1005,0

[state a]
type = playsnd
trigger1 = animelem = 7
value = 1005,1

[State 1000, 5]
type = Explod
trigger1 = animelemtime(7) = 1
anim = 1030
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = S, SA
animtype  = hard
damage    = 89, 9
getpower = 45,45
hitflag =HA,MA,LA,AA
guardflag = M
pausetime = 12,13
sparkno = s7002
sparkxy = -20,-45
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -4,-5.5
air.velocity = -4,-5.5
fall = 1
air.fall = 1
fall.recover = 0


[State 210, Width]
type = null;Width
trigger1 = 1
player = 20,20

[state a]
type = playerpush
trigger1 = movehit
value = 0

[state a]
type = posfreeze
trigger1 = movehit
value = 1
time = -1

[state a]
type = posadd
trigger1 = animelemtime(5) = 1
x = 8

[state a]
type = posadd
trigger1 = animelemtime(6) = 0
x = 6

[state a]
type = posadd
trigger1 = animelemtime(6) = 1
x = 4

[state a]
type = posadd
trigger1 = animelemtime(7) = 0
x = 2

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


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 弱バーンナックル
[Statedef 1100]
type    = S
movetype= A
physics = N
juggle  = 8
poweradd= 90
velset = 0,0
anim = 1100
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];バーニン
type = playsnd
trigger1 = time = 1
value = 1100,0

[state a]
type = playsnd
trigger1 = animelem = 5
value = 1100,1

[state a]
type = statetypeset
trigger1 = animelem = 5
value = A

[state a]
type = posadd
trigger1 = time = 11
x = 7

[state a]
type = velset
trigger1 = time = 10
x = 7
y = -1

[state a]
type = veladd
trigger1 = animelem = 6,>=0
y = 0.4

[State 1000, 5]
type = Explod
trigger1 = time = 11
anim = 1110
id = 1110
sprpriority = 4
postype = p1
pos = 0,0
bindtime = -1
supermove = 1
removetime = -1
under = 0
ownpal = 1

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

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

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 127, 9
getpower = 55,55
guardflag = MA
pausetime = 11,12
sparkno = s7002
sparkxy = 0,-75
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -4.5,-4.5
air.velocity = -4.5,-4.5
fall = 1
air.fall = 1
fall.recover = 0


[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1105


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強バーンナックル
[Statedef 1101]
type    = S
movetype= A
physics = N
juggle  = 8
poweradd= 90
velset = 0,0
anim = 1101
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];バーニン
type = playsnd
trigger1 = time = 1
value = 1100,0

[state a]
type = playsnd
trigger1 = animelem = 8
value = 1100,1

[state a]
type = statetypeset
trigger1 = animelem = 8
value = A

[state a]
type = posadd
trigger1 = time = 20
x = 7

[state a]
type = velset
trigger1 = time = 21
x = 9
y = -2

[state a]
type = veladd
trigger1 = time >= 21
y = 0.2

[State 1000, 5]
type = Explod
trigger1 = time = 21
anim = 1110
id = 1110
sprpriority = 4
postype = p1
pos = 0,0
bindtime = -1
supermove = 1
removetime = -1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = time = 20
anim = 6030
sprpriority = 3
postype = p1
pos = -10,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

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

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 150, 9
getpower = 55,55
guardflag = MA
pausetime = 11,12
sparkno = s7002
sparkxy = 0,-75
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 18
ground.velocity = -4.5,-4.5
air.velocity = -4.5,-4.5
fall = 1
air.fall = 1
fall.recover = 0


[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1105


; バーンナックル・着地
[Statedef 1105]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
anim = 1105
ctrl = 0

[state a]
type = removeexplod
trigger1 = time = 0
id = 1110

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = playsnd
trigger1 = time = 0
value = 40,0


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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 弱クラックシュート
[Statedef 1200]
type    = S
movetype= A
physics = N
juggle  = ifelse((((prevstateno = 1005)||(prevstateno = 1309))&&(var(8)>=1)),0,8)
poweradd= 90
velset = 0,0
anim = 1200
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];キックバット
type = playsnd
trigger1 = time = 0
value = 1200,0

[state a]
type = playsnd
trigger1 = animelem = 6
value = 1200,1

[state a]
type = statetypeset
trigger1 = animelem = 5
value = A

[state a]
type = velset
trigger1 = animelem = 5
x = 4
y = -5

[state a]
type = veladd
trigger1 = animelem = 5,>=0
y = 0.5

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

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 65, 9
getpower = 55,55
guardflag = MA
pausetime = 7,8
sparkno = s7002
sparkxy = -10,-70
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 19
ground.velocity = -7,0
air.velocity = -4.5,-6
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
trigger1 = animelem = 8
attr = A, SA
animtype  = hard
damage    = 76, 9
getpower = 55,55
guardflag = MA
pausetime = 7,8
sparkno = s7002
sparkxy = -10,-55
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 19
ground.velocity = -7,0
air.velocity = -4.5,-6
fall = 0
air.fall = 1
fall.recover = 0

[state a]
type = posadd
trigger1 = animelem = 2
trigger2 = animelem = 4
x = 8

[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1205

; クラックシュート・着地
[Statedef 1205]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
anim = 1205
ctrl = 0

[state a]
type = removeexplod
trigger1 = time = 0
id = 1200

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = playsnd
trigger1 = time = 0
value = 40,0


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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強クラックシュート
[Statedef 1201]
type    = S
movetype= A
physics = N
juggle  = ifelse((((prevstateno = 1005)||(prevstateno = 1309))&&(var(8)>=1)),0,8)
poweradd= 90
velset = 0,0
anim = 1201
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];キックバット
type = playsnd
trigger1 = time = 0
value = 1200,0

[state a]
type = playsnd
trigger1 = animelem = 6
value = 1200,1

[state a]
type = statetypeset
trigger1 = animelem = 5
value = A

[state a]
type = velset
trigger1 = animelem = 5
x = 5
y = -7

[state a]
type = veladd
trigger1 = animelem = 5,>=0
y = 0.55

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

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 64, 9
getpower = 55,55
guardflag = MA
pausetime = 7,8
sparkno = s7002
sparkxy = -15,-120
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 19
ground.velocity = -7,0
air.velocity = -4.5,-6
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
trigger1 = animelem = 8
attr = A, SA
animtype  = hard
damage    = 100, 9
getpower = 55,55
guardflag = MA
pausetime = 7,8
sparkno = s7002
sparkxy = -10,-55
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 19
ground.velocity = -7,0
air.velocity = -4.5,-6
fall = 0
air.fall = 1
fall.recover = 0

[state a]
type = posadd
trigger1 = animelem = 2
trigger2 = animelem = 4
x = 8

[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1205

; クラックシュート・着地
[Statedef 1205]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
anim = 1205
ctrl = 0

[state a]
type = removeexplod
trigger1 = time = 0
id = 1201

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = playsnd
trigger1 = time = 0
value = 40,0


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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 弱パワーダンク
[Statedef 1300]
type    = S
movetype= A
physics = N
juggle  = 1
poweradd= 90
velset = 0,0
anim = 1300
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];ビートアップ
type = playsnd
trigger1 = time = 0
value = 1300,0

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 79, 9
getpower = 55,55
hitflag =HA,MA,LA,AA
guardflag = MA
pausetime = 11,11
sparkno = s7002
sparkxy = -10,-70
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -1,-10
air.velocity = -1,-10
fall = 1
air.fall = 1
fall.recover = 0

[state a]
type = targetstate
trigger1 = movehit = 1
value = 1310

[state a];ブレーキング
type = changestate
trigger1 = movehit
trigger1 = command = "緊急回避前"
value = 1309

[state a]
type = changestate
trigger1 = animtime = 0
value = 1305


; 弱パワーダンク・続き
[Statedef 1305]
type    = A
movetype= A
physics = N
juggle  = 5
poweradd= 50
velset = 3,-8
anim = 1305
ctrl = 0

[state a];
type = playsnd
trigger1 = time = 0
value = 1300,1

[state a];
type = playsnd
trigger1 = animelem = 8
value = 1300,2

[state a]
type = veladd
trigger1 = 1
y = 0.4

[State 1000, 5]
type = Explod
trigger1 = time = 1
anim = 1115
sprpriority = 3
postype = p1
pos = -9,17
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelemtime(7) = 6
anim = 1320
id = 1320
sprpriority = 4
postype = p1
pos = 0,0
bindtime = -1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelemtime(7) = 6
anim = 1330
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 12, 9
getpower = 45,45
guardflag = MA
pausetime = 4,4
sparkno = s7002
sparkxy = -10,-70
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -3,-5
air.velocity = -3,-5
fall = 1
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
trigger1 = animelem = 8
attr = A, SA
animtype  = up
damage    = 72, 9
getpower = 45,45
guardflag = HA
pausetime = 16,16
sparkno = s7002
sparkxy = -40,-45
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -2,11
air.velocity = -2,11
fall = 1
air.fall = 1
fall.recover = 0


[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1307


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強パワーダンク
[Statedef 1301]
type    = S
movetype= A
physics = N
juggle  = 1
poweradd= 90
velset = 0,0
anim = 1301
ctrl = 0

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

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0


[state a];ビートアップ
type = playsnd
trigger1 = time = 0
value = 1300,0

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 85, 9
getpower = 55,55
hitflag =HA,MA,LA,AA
guardflag = MA
pausetime = 11,11
sparkno = s7002
sparkxy = -10,-70
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -1,-10
air.velocity = -1,-10
fall = 1
air.fall = 1
fall.recover = 0

[state a]
type = targetstate
trigger1 = movehit = 1
value = 1310

[state a];ブレーキング
type = changestate
trigger1 = movehit
trigger1 = command = "緊急回避前"
value = 1309

[state a]
type = changestate
trigger1 = animtime = 0
value = 1306


; 強パワーダンク・続き
[Statedef 1306]
type    = A
movetype= A
physics = N
juggle  = 5
poweradd= 50
velset = 4,-10
anim = 1306
ctrl = 0

[state a];
type = playsnd
trigger1 = time = 0
value = 1300,1

[state a];
type = playsnd
trigger1 = animelem = 8
value = 1300,2

[state a]
type = veladd
trigger1 = 1
y = 0.5

[State 1000, 5]
type = Explod
trigger1 = time = 1
anim = 1115
sprpriority = 3
postype = p1
pos = -9,20
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelemtime(7) = 4
anim = 1320
id = 1320
sprpriority = 4
postype = p1
pos = 0,0
bindtime = -1
supermove = 1
under = 0
ownpal = 1

[State 1000, 5]
type = Explod
trigger1 = animelemtime(7) = 4
anim = 1330
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 2];攻撃の指定
type = HitDef
trigger1 = Time = 0
attr = A, SA
animtype  = hard
damage    = 20, 9
getpower = 45,45
guardflag = MA
pausetime = 4,4
sparkno = s7002
sparkxy = -10,-70
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -4.5,-5
air.velocity = -4.5,-5
fall = 1
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
trigger1 = animelem = 8
attr = A, SA
animtype  = up
damage    = 83, 9
getpower = 45,45
guardflag = HA
pausetime = 16,16
sparkno = s7002
sparkxy = -35,-45
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = -4,11
air.velocity = -4,11
fall = 1
air.fall = 1
fall.recover = 0


[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1307




; パワーダンク・着地
[Statedef 1307]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
anim = 1307
ctrl = 0

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = playsnd
trigger1 = time = 0
value = 40,0

[state a];残像消去
type = afterimagetime
trigger1 = animtime = 0
time = 0

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


;相手
[Statedef 1310]
type    = A
movetype= H
physics = N
velset = -2,-16
sprpriority = 3

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

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

[State 821, 1]
type = VelAdd
trigger1 = vel y <= 10
y = 0.8

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



; ダンクブレーキング
[Statedef 1309]
type    = S
movetype= A
physics = N
juggle  = 8
velset = 6,0
anim = 1309
ctrl = 0

[State 50, 4];←残像
type = AfterImage
trigger1 = time = 0
time = -1
trans = none
timegap = 2
framegap = 2
length = 10
ignorehitpause = 0
palbright = 3,3,64
;palcontrast = 225,225,225
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = velset
trigger1 = animelem = 4
x = 5

[state a]
type = velset
trigger1 = animelem = 5
x = 4

[state a]
type = velset
trigger1 = animelem = 6
x = 3

[state a]
type = velset
trigger1 = animelem = 7
x = 2

[state a]
type = velset
trigger1 = animelem = 8
x = 1

[state a];残像消去
type = afterimagetime
trigger1 = animtime = 0
time = 0

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


;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 弱パワーチャージ
[Statedef 1400]
type    = S
movetype= A
physics = N
juggle  = 2
poweradd= 90
velset = 0,0
anim = 1400
ctrl = 0

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];シュッ
type = playsnd
trigger1 = time = 0
value = 1400,0

[state a];
type = playsnd
trigger1 = animelem = 6
value = 221,0

[state a]
type = velset
trigger1 = time = 1
x = 7

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.3
x = -0.3

[State 1000, 5]
type = Explod
trigger1 = time = 10
anim = 5310
sprpriority = 4
postype = p1
pos = 6,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 61, 9
getpower = 55,55
guardflag = MA
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-65
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -7,0
air.velocity = -4,-4
fall = 0
air.fall = 1
fall.recover = 0


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑


[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "弱パワーチャージ追加"
value = 1410

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

[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "チャージスラッシュ"
value = 1430

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

[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "ソバット"
value = 1450

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

; 強パワーチャージ
[Statedef 1401]
type    = S
movetype= A
physics = N
juggle  = 2
poweradd= 90
velset = 0,0
anim = 1401
ctrl = 0

[state a];残像消去
type = afterimagetime
trigger1 = time = 0
time = 0

[state a];シュッ
type = playsnd
trigger1 = time = 0
value = 1400,0

[state a];
type = playsnd
trigger1 = animelem = 6
value = 221,0

[state a]
type = velset
trigger1 = time = 1
x = 10

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.4
x = -0.42

[State 1000, 5]
type = Explod
trigger1 = time = 14
anim = 5310
sprpriority = 4
postype = p1
pos = 6,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 65, 9
getpower = 55,55
guardflag = MA
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-65
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -7,0
air.velocity = -4,-4
fall = 0
air.fall = 1
fall.recover = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "強パワーチャージ追加"
value = 1411

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

[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "チャージスラッシュ"
value = 1430

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

[state a]
type = changestate
trigger1 = animelemtime(6) >= 0
trigger1 = animelemtime(7) <= 0
trigger1 = command = "ソバット"
value = 1450

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


; 弱パワーチャージ2
[Statedef 1410]
type    = S
movetype= A
physics = N
juggle  = 3
velset = 6,0
anim = 1410
ctrl = 0

[state a];ハッ
type = playsnd
trigger1 = time = 0
value = 1400,1

[state a];
type = playsnd
trigger1 = animelem = 5
value = 221,0

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.3
x = -0.4

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

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 64, 9
getpower = 55,55
guardflag = MA
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-68
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 18
ground.hittime  = 20
ground.velocity = -7,0
air.velocity = -4,-4
fall = 0
air.fall = 1
fall.recover = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a]
type = changestate
trigger1 = animelemtime(5) >= 0
trigger1 = animelemtime(6) <= 0
trigger1 = command = "弱パワーチャージ追加"
value = 1420

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

; チャージスラッシュ
[Statedef 1430]
type    = S
movetype= A
physics = N
juggle  = 4
velset = 6,0
anim = 1430
ctrl = 0

[State a];
type = PlaySnd
trigger1 = Time = 0
value = 221, 0

[State a];
type = PlaySnd
trigger1 = animelem = 1
value = 290, 0

[state a];
type = playsnd
trigger1 = animelem = 5
value = 1100,1

[state a]
type = statetypeset
trigger1 = animelem = 4
value = A

[state a]
type = velset
trigger1 = animelem = 4
x = 4
y = -5

[state a]
type = veladd
trigger1 = animelem = 4,>=0
y = 0.5

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

[State 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = high
damage    = 108, 9
getpower = 60,60
guardflag = MA
pausetime = 11,12
sparkno = s7002
sparkxy = -40,-80
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0

[state a]
type = posadd
trigger1 = animelem = 2
trigger2 = animelem = 3
x = 4

[state a] 
type = changestate
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1431


; チャージスラッシュ・着地
[Statedef 1431]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
anim = 1431
ctrl = 0

[state a]
type = removeexplod
trigger1 = time = 0
id = 1430

[state a]
type = posset
trigger1 = time = 0
y = 0

[state a]
type = playsnd
trigger1 = time = 0
value = 40,0


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

; ソバット
[Statedef 1450]
type    = S
movetype= A
physics = S
juggle  = 7
poweradd= 0
ctrl = 0
velset = 0,0
anim = 1450
sprpriority = 2

[State 240, 1]
type = PlaySnd
trigger1 = animelem = 4
value = 1300, 1

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 3
value = 10, 0

[State 1000, 5]
type = Explod
trigger1 = animelem = 5
anim = 6100
sprpriority = 4
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
vel = -0.5,0
ownpal = 1

[State 240, 2]
type = HitDef
trigger1 = Time = 0
attr = S, NA
animtype  = high
damage    = 115, 9
getpower = 55,55
guardflag = HA
pausetime = 11,12
sparkno = s7002
sparkxy = -15,-60
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0

[state a]
type = posadd
trigger1 = animelem = 4
x = 10

[state a]
type = posadd
trigger1 = animelem = 5
trigger2 = animelem = 7
trigger3 = animelem = 9
x = 8

[state a]
type = posadd
trigger1 = animelem = 6
x = 16

[State 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

; 強パワーチャージ2
[Statedef 1411]
type    = S
movetype= A
physics = N
juggle  = 3
velset = 6,0
anim = 1411
ctrl = 0

[state a];ハッ
type = playsnd
trigger1 = time = 0
value = 1400,1

[state a];
type = playsnd
trigger1 = animelem = 5
value = 221,0

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.3
x = -0.35

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

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 65, 9
getpower = 55,55
guardflag = MA
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-68
hitsound   = s1000,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 18
ground.hittime  = 20
ground.velocity = -7,0
air.velocity = -4,-4
fall = 0
air.fall = 1
fall.recover = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑

[state a]
type = changestate
trigger1 = animelemtime(5) >= 0
trigger1 = animelemtime(6) <= 0
trigger1 = command = "強パワーチャージ追加"
value = 1421

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

; 弱パワーチャージ3
[Statedef 1420]
type    = S
movetype= A
physics = N
juggle  = 1
velset = 7,0
anim = 1420
ctrl = 0

[state a];チャージ
type = playsnd
trigger1 = time = 0
value = 1400,2

[state a];
type = playsnd
trigger1 = animelem = 3
value = 1100,1

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.3
x = -0.3

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

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 78, 9
getpower = 55,55
guardflag = M
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-49
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -5,-4
air.velocity = -5,-4
fall = 1
air.fall = 1
fall.recover = 0
envshake.time = 15
envshake.ampl = -4
envshake.freq = 92
envshake.phase = 92

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑


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

; 強パワーチャージ3
[Statedef 1421]
type    = S
movetype= A
physics = N
juggle  = 1
velset = 9,0
anim = 1421
ctrl = 0

[state a];チャージ
type = playsnd
trigger1 = time = 0
value = 1400,2

[state a];
type = playsnd
trigger1 = animelem = 3
value = 1100,1

[state a]
type = veladd
;trigger1 = time >=1
trigger1 = vel x >= 0.3
x = -0.3

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

[State 2];攻撃の指定
type = HitDef
trigger1 = time = 0
attr = S, SA
animtype  = hard
damage    = 79, 9
getpower = 55,55
guardflag = M
pausetime = 16,16
sparkno = s7002
sparkxy = -10,-49
hitsound   = s225,1
guard.sparkno = s7012
guardsound = s121,0
ground.type = low
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -5,-4
air.velocity = -5,-4
fall = 1
air.fall = 1
fall.recover = 0
envshake.time = 15
envshake.ampl = -4
envshake.freq = 92
envshake.phase = 92

;;;;;;;;;;;;;;;;;;;;;;;;;;;;↓↓↓
[State -2, a];どこキャン時の点滅(失敗)
type = palfx
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
triggerall = gametime % 2
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
time = 10
add = 248,248,248
;mul = 248,248,248
color = 1
ignorehitpause = 1

[state a];コマンド判定
type = varset
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
trigger2 = command = "強バーンナックル"
trigger3 = command = "弱クラックシュート"
trigger4 = command = "強クラックシュート"
trigger5 = command = "弱パワーダンク"
trigger6 = command = "強パワーダンク"
trigger7 = command = "ラウンドウェイブ"
v = 11
value = 1


[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱バーンナックル"
value = 1100

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強バーンナックル"
value = 1101

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱クラックシュート"
value = 1200

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強クラックシュート"
value = 1201

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "弱パワーダンク"
value = 1300

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "強パワーダンク"
value = 1301

[state a]
type = changestate
triggerall = movecontact = 1
triggerall = var(8) >=1
triggerall = statetype = S
trigger1 = command = "ラウンドウェイブ"
value = 1005


;;;;;;;;;;;;;;;;;;;;;;;;;;;;↑↑↑


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




;---------------------------------------------------------------------------
; Varのラウンド持ち越し
[Statedef 5900]
type = S

[State 5900, 1] ;Clear all int variables
type = VarRangeSet
trigger1 = roundsexisted = 0
farst = 2
last = 59
value = 0

[State 5900, 2] ;Clear all float variables
type = null;VarRangeSet
trigger1 = roundsexisted = 0
fvalue = 0

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


;---------------------------------------------------------------------------
; ここから下に新しいステートを書くと分かりやすくていいと思います
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
; ここは-2のステートを書いてください、ヘルパー関係です
;---------------------------------------------------------------------------
[Statedef -2]

[state -2, a];右向き設定
type = varset
trigger1 = var(10) = 0
trigger1 = facing = 1
v = 10
value = 1

[state -2, a];左向き設定
type = varset
trigger1 = var(10) = 0
trigger1 = facing = -1
v = 10
value = 2

[State -2, 1];ダッシュの音止め
type = stopSnd
trigger1 = stateno != 100
channel = 1

[state a];断鋼刃エフェクト消去
type = removeexplod
trigger1 = movetype = H
id = 2200


[state a];超火炎音止め
type = stopsnd
trigger1 = movetype = H
channel = 3

[state a]
type = stopsnd
trigger1 = stateno != 1055
channel = 5

[State -2, 3]
type = stopSnd
trigger1 = MoveType = H
channel = 2


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::変数設定(多分ダメージ関係が殆ど)
[state a]
type = varset
trigger1 = movetype = H
v = 12
value = 0

[state a]
type = varset
trigger1 = movetype = H
v = 13
value = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::パレットによるモード判別(1で本気)
[state -2, a]
type = varset
trigger1 = palno = 1
trigger2 = palno = 2
trigger3 = palno = 3
trigger4 = palno = 4
trigger5 = palno = 5
trigger6 = palno = 6
v = 1
value = 0

[state -2, a]
type = varset
trigger1 = palno = 7
trigger2 = palno = 8
trigger3 = palno = 9
trigger4 = palno = 10
trigger5 = palno = 11
trigger6 = palno = 12
v = 1
value = 1


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::スロー処理

[state -2, a];スロー処理をする時間のカウント
type = varadd
trigger1 = 1
persistent = 0
ignorehitpause = 1
v = 4
value = -1

[state -2, a];スロー処理
type = pause
trigger1 = var(4) >= 1
trigger1 = gametime % 2
persistent = 0
ignorehitpause = 1
time = 1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::勝利設定

[State -2,EnvColor]
type = EnvColor
triggerall = WinKO && Var(8) = 0
trigger1 = Stateno = [2000,2999]
trigger2 = Stateno = [3000,3999]
value = 240,240,240
under = 1
time = 40
ignorehitpause = 1

[State -2,VarSet]
type = VarSet
trigger1 = WinKO
var(8) = 1
ignorehitpause = 1

[State -2,Width]
type = Width
trigger1 = WinKO && BackEdgeBodyDist >= 50
trigger1 = Stateno != 2585
edge = 0,50

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;ダメージ時のエフェクトの消去
;//////////////////////////////////////////////////////////////////////////
[state a];バーンナックル
type = removeexplod
trigger1 = MoveType = H
id = 1110

[state a];パワーダンク
type = removeexplod
trigger1 = MoveType = H
id = 1320

;ダメージ時のエフェクトの消去
[State 1]
type = removeexplod
trigger1 = MoveType = H
ID = 2450

;ダメージ時のエフェクトの消去
[State -2 ,a]
type = removeexplod
trigger1 = MoveType = H
ID = 4000

;ダメージ時のエフェクトの消去
[state -2 ,a]
type = removeexplod
trigger1 = MoveType = H
id = 4200

[state a]
type = removeexplod
trigger1 = MoveType = H
id = 1655

[state a]
type = removeexplod
trigger1 = MoveType = H
id = 1860

[state -2, a];残像消去
type = afterimagetime
trigger1 = movetype = H
time = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;2002MAX発動
;//////////////////////////////////////////////////////////////////////////
[state -2 ,1];MAX発動時のパワーセット
type = varset
trigger1 = var(8) = 0
v = 9
value = power


[state -2 ,1];2002MAX発動時のゲージ減少
type = varadd
trigger1 = var(8) >= 1
v = 8
value = -1

[state -2, a];2002MAX発動時の攻撃力低下
type = attackmulset
trigger1 = var(8) >= 1
value = 0.7

[state -2, a];2002MAX発動時以外の攻撃力上昇
type = attackmulset
trigger1 = var(8) = 0
value = 1

[state -2, a]
type = powerset
trigger1 = var(8) >= 1
trigger1 = var(3) = 1
value = var(9)-2000

[state -2, a]
type = powerset
trigger1 = var(8) >= 1
trigger1 = var(3) = 2
value = var(9)-1000

[state -2 ,1];初期値設定
type = varadd
trigger1 = var(8) <= 0
v = 8
value = 0

[state -2 ,a];ラウンド開始時のゲージ初期化
type = varset
trigger1 = roundstate = 0
v = 8
value = 0
;///////////////////////////////////////////////////////////////////////
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;





;---------------------------------------------------------------------------
; ここから下は-3のステートを書いてください、ここに書いたものはゲーム中
; に条件が成立すればいつでも開始するステートです。
;---------------------------------------------------------------------------

[Statedef -3]

;ゲーム中に常にいつでも開始したいステート、ここでは「着地音」に使用しています
;下の条件は「52か106のステートに移動して１フレーム目に」と言う事です。
;52と106はバックステップとジャンプの着地のステートです。
[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 52 
trigger2 = stateno = 107 
trigger3 = stateno = 103 
value = 40, 0


[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 40 
value = 40, 1

[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 105 
trigger2 = stateno = 101 
value = 105, 0

[State -3, 3];ダッシュの音止め
type = stopSnd
trigger1 = stateno != 100
channel = 1

;ダメージ時のエフェクトの消去
[State 1]
type = removeexplod
trigger1 = MoveType = H
ID = 2405

;ダメージ時のエフェクトの消去
[State 1]
type = removeexplod
trigger1 = MoveType = H
ID = 1000

[state a];影うつしの残像消去
type = afterimagetime
trigger1 = movetype = H
time = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 小ジャンプ処理
[State -3, 5];小ジャンプ判定
type = varset
trigger1 = stateno = 40
trigger1 = command != "holdup"
v = 16
value = 1

[State -3, 5];小ジャンプ消去
type = varset
trigger1 = stateno = 40
trigger1 = command = "holdup"
v = 16
value = 0

[State -3, 5]
type = velset
trigger1 = stateno = 50
trigger1 = anim = 42
trigger1 = time = 1
trigger1 = var(15) >= 1
x = 5
;y = -9


[State -3, 5]
type = velset
trigger1 = stateno = 50
trigger1 = anim = 43
trigger1 = time = 1
trigger1 = var(15) >= 1
x = -5
;y = -9

[State -3, 5];小ジャンプ
type = veladd
trigger1 = stateno = 50
trigger1 = time = 1
trigger1 = var(16) = 1
y = 3

[State -3, 5]
type = AfterImage
trigger1 = stateno = 50
trigger1 = time = 1
trigger1 = var(15) >= 1
time = 10
trans = add1
timegap = 1
framegap = 2
length = 8
palbright = 12,12,12
palcontrast = 225,225,225
palpostbright = 0,0,0
paladd = 0,0,0
palmul = 1,1,1



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



; MAX2エフェクト
[Statedef 6050]
type = A
movetype = I
physics = N
anim = 9999
velset = 0, 0
ctrl = 0

[State 3020, 1]
type = Explod
trigger1 = !NumExplod(6020)
anim = 6050
id = 6020
postype = back
bindtime = -1
RemoveTime = -1
scale = 1.08,1.08
sprpriority = -99
persistent = 0

[State 3020, 1]
type = AssertSpecial
trigger1 =  NumExplod = 1
flag = NoBG
flag2 = NoFG
flag3 = NoBarDisplay
ignorehitpause = 1

[State 3020, 1]
type = RemoveExplod
triggerall = Time > 0
trigger1 = Parent,StateNo != 2600
ID = 6020

[State 3020, 1]
type = DestroySelf
triggerall = Time > 0
trigger1 = Parent,StateNo != 2600



