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

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

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

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

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

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

;---------------------------------------------------------------------------
; フロントステップ
[Statedef 100]
type    = S
physics = N
anim = 100
sprpriority = 1

[State 290, 1]
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
value = -500

[State -2, a];点滅
type = palfx
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
time = 1
add = 255,255,255
mul = 255,255,255
color = 1
ignorehitpause = 1

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

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

[State 100, 1]
type = VelSet
trigger1 = animelem = 5
x = 0

[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"
trigger1 = animelem = 5,>=0
value = 101

[State 100, 4]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------
; commonより ダッシュ
[Statedef 101]
type    = S
physics = S
anim = 101
sprpriority = 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




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

[State 191, 3]
type = null;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 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 170, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[state a]
type = changeanim
trigger1 = time = 0
trigger1 = var(1) = 1
value = 171

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

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

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

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


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

[State 180, 1]
type = ChangeState
trigger1 = var(2) = 0
trigger1 = var(1) = 1
value = 184

[State 180, 1]
type = ChangeState
trigger1 = var(2) = 1
trigger1 = var(1) = 1
value = 186

[State 180, 1]
type = ChangeState
trigger1 = var(2) = 2
trigger1 = var(1) = 1
value = 187


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

[State 191, 3];天上天下
type = PlaySnd
trigger1 = time = 50
value = 181,0

[State 1000, 5]
type = Explod
trigger1 = animelem = 1
anim = 182
id = 182
sprpriority = -5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
removetime = -1
under = 0


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

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

;---------------------------------------------------------------------------
; 勝った動作[下の下だな]
[Statedef 183]
type = S
ctrl = 0
anim = 183
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 7
value = 190,1

[State 191, 3]
type = PlaySnd
trigger1 = animelemtime(57) = 12
value = 182,0


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

;---------------------------------------------------------------------------
; 勝った動作[我より、優れる者は無し]
[Statedef 184]
type = S
ctrl = 0
anim = 184
velset = 0,0

[State 191, 3];我より、優れる者は無し
type = PlaySnd
trigger1 = animelem = 9
value = 184,0

[State 1000, 5];足元
type = Explod
trigger1 = animelem = 1
anim = 185
id = 185
sprpriority = -5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
removetime = -1
under = 0

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

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



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

[State 191, 3];斬る
type = PlaySnd
trigger1 = animelem = 5
value = 240,0

[State 1000, 5];出血
type = Explod
trigger1 = animelem = 3
anim = 187
id = 185
sprpriority = 2
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0

[State 3040, 7];画面フラッシュ
type = EnvColor
trigger1 = animelem = 5
persistent = 0
ignorehitpause = 1
time = 2
value = 255,255,255
under = 1

[state a]
type = lifeadd
trigger1 = animelem = 5
value = -200
kill = 0

[state a]
type = poweradd
trigger1 = animelem = 5
value = 1000

[State 1000, 5];足元
type = Explod
trigger1 = animelem = 5
anim = 185
id = 185
sprpriority = -5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
removetime = -1
under = 0

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

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


;---------------------------------------------------------------------------
; 勝った動作[我、ガイアと共にあり]
[Statedef 187]
type = S
ctrl = 0
anim = 183
velset = 0,0

[State 191, 3];効果音
type = PlaySnd
trigger1 = animelem = 6
value = 190,1

[State 191, 3];我
type = PlaySnd
trigger1 = animelem = 6
value = 187,0

[State 191, 3];ガイアと共にあり
type = PlaySnd
trigger1 = animelem = 23
value = 187,1

[State 1000, 5];足元
type = Explod
trigger1 = animelem = 6
anim = 185
id = 185
sprpriority = -5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
removetime = -1
under = 0





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

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

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


[State 191, 3];倒してみせよ
type = PlaySnd
trigger1 = animelem = 11
value = 190,0

[State 191, 3];火柱
type = PlaySnd
trigger1 = animelem = 13
value = 190,1

[State 191, 3];火柱
type = PlaySnd
trigger1 = animelem = 14
value = 190,2


[State 1000, 5]
type = Explod
trigger1 = animelemtime(11) = 1
anim = 191
id = 191
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 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 = changeanim
trigger1 = time = 0
trigger1 = var(1) = 1
value = 196

[State 191, 3];我のみを尊ぶ
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 195,0

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

[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]
type = Projectile
trigger1 = AnimElem = 3
attr = S, NA
projanim = 22134
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = Light
damage = 29, 0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 61,61
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, -69               ;ヒットエフェクトを表示する場所（相手の座標で）
hitsound = s300, var(6)                 ;ヒットした時の音（ｓ*,*にすると自分の音を使う）
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 = 12                 ;空中でコンボが繋がる時間
nochainID = 1200

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

[State 200, 5]
type = PlaySnd
trigger1 = AnimElem = 2
trigger1 = var(1) = 0
value = 200,var(6)

[state a]
type = ctrlset
trigger1 = animelem = 3
value = 1

[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 205]
type = Projectile
trigger1 = AnimElem = 3
attr = S, NA
projanim = 22135
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = Light
damage    = 106
getpower = 30,30
guardflag = MA
pausetime = 8,10
sparkno = s7001
sparkxy = -10,-77
hitsound   = s310,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10.5
air.velocity = -2.5,-4
nochainID = 1200

[State 200, 5]
type = PlaySnd
trigger1 = AnimElem = 2
trigger1 = var(1) = 0
value = 200,var(6)

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

[state a]
type = ctrlset
trigger1 = animelem = 3
value = 1

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

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

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 210, var(6)

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 4
value = 211, 0

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 7
anim = 211
id = 211
sprpriority = 5
postype = p1
pos = -10,0
bindtime = 1
supermove = 0
under = 0

[State 210]
type = Projectile
trigger1 = AnimElem = 8
attr = S, NA
projanim = 22136
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 135
getpower = 61,61
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -30,-75
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -8
air.velocity = -4,-3
nochainID = 1200

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


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

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 2
trigger1 = var(1) = 0
value = 210, var(6)

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 2
value = 211, 0

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

[State 210]
type = Projectile
trigger1 = AnimElem = 6
attr = S, NA
projanim = 22136
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 135
getpower = 61,61
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -30,-75
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -8
air.velocity = -4,-3
nochainID = 1200

[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 = 240
sprpriority = 2

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 200, var(6)

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

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 241
id = 241
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 235]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 38
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,7
sparkno = s7000
sparkxy = 50, -85
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3

[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 = 240
sprpriority = 2

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 200, var(6)

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

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 241
id = 241
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 235]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 38
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,7
sparkno = s7000
sparkxy = 50, -85
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3

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


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

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 210, var(6)

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

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 9900
id = 241
sprpriority = 5
postype = p1
pos = 0,-20
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 235]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 58
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,7
sparkno = s7000
sparkxy = 50, -85
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3

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

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

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

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
trigger1 = var(1) = 0
value = 210, var(6)

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

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 9900
id = 241
sprpriority = 5
postype = p1
pos = 0,-20
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 235]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 38
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,7
sparkno = s7000
sparkxy = 50, -85
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3


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


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

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

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 1
trigger1 = var(1) = 0
value = 290, 0

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 4
anim = 211
id = 211
sprpriority = 5
postype = p1
pos = -36,-18
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 1]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22149
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = Ceil(0.13 * enemy,Const(data.life)) ,Ceil(0.008 * enemy,Const(data.life)) * var(39)
getpower = 80,80
givepower = 0,0
guardflag = H
hitflag = MA
pausetime = 2,0
sparkno = s7001
sparkxy = 30, -85
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6,-6
air.velocity = -6,-6
envshake.time = 8
envshake.ampl = 8
fall = 1
fall.recover = 0

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

;---------------------------------------------------------------------------
; ガードキャンセルふっ飛ばし攻撃
[Statedef 291]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= -500
ctrl = 0
velset = 0,0
anim = 291
sprpriority = 2

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

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 1
trigger1 = var(1) = 0
value = 290, 0

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

[State 3040, 7];画面フラッシュ
type = EnvColor
trigger1 = movehit = 1
persistent = 0
ignorehitpause = 1
time = 2
value = 255,255,255
under = 1

[State 1]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22149
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = Ceil(0.13 * enemy,Const(data.life)) ,Ceil(0.008 * enemy,Const(data.life)) * var(39)
getpower = 80,80
givepower = 0,0
guardflag = H
hitflag = MA
pausetime = 2,0
sparkno = s7001
sparkxy = 30, -85
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6,-6
air.velocity = -6,-6
envshake.time = 8
envshake.ampl = 8
fall = 1
fall.recover = 0

[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 = AnimElem = 1
trigger1 = var(1) = 0
value = 200,var(6)

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


[State 400]
type = Projectile
trigger1 = AnimElem = 2
attr = C, NA
projanim = 22140
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = Light
hitflag = MAF
damage = 20
guardflag = M
getpower = 60,60
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-37
hitsound   = s300,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3
nochainID = 1200

[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  = 8
poweradd= 30
ctrl = 0
anim = 410
sprpriority = 2

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

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 2
trigger1 = var(1) = 0
value = 210, var(6)

[State 410]
type = Projectile
trigger1 = AnimElem = 6 || AnimElem = 7
attr = C, NA
projanim = 22141
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
hitflag = MAF
guardflag = M
pausetime = 11,12
damage = 30
getpower = 30,30
sparkno = s7001
sparkxy = -10,-73
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -7
air.velocity = -3,-6
nochainID = 1200

[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 = AnimElem = 1
trigger1 = var(1) = 0
value = 200,var(6)

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

[State 430]
type = Projectile
trigger1 = AnimElem = 2
attr = C, NA
projanim = 22142
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
damage    = 19
animtype  = Light
hitflag = MAF
guardflag = L
pausetime = 6,8
sparkno = s7000
sparkxy = -10,-12
hitsound   = s330,var(6)
getpower = 30,30
guard.sparkno = s7010
guardsound = s120,0
ground.type = Low
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2,-3
down.velocity = -5,0
down.hittime = 20
nochainID = 1200

[State 400, 3]
type = CtrlSet
trigger1 = animelem = 3
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= 30
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
trigger1 = var(1) = 0
value = 210, var(6)

[State 440]
type = Projectile
trigger1 = AnimElem = 8
attr = C, NA
projanim = 22143
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
damage    = 154
hitflag = MAF
guardflag = L
pausetime = 11,12
sparkno = s7001
getpower = 61,61
sparkxy = -15,-18
hitsound   = s340,var(6)
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
nochainID = 1200

[State 440, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
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 = AnimElem = 1
trigger1 = var(1) = 0
value = 200,var(1)

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

[State 600]
type = Projectile
trigger1 = AnimElem = 2
attr = A, NA
projanim = 22144
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
damage    = 38
getpower = 61,61
guardflag = HA
priority = 3
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-79
hitsound   = s300,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = -4
air.velocity = -1.3,-3
nochainID = 1200

;---------------------------------------------------------------------------
;空中・強・パンチ
[Statedef 610]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 30
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
trigger1 = var(1) = 0
value = 210, var(6)

[State 610]
type = Projectile
trigger1 = AnimElem = 2
attr = A, NA
projanim = 22145
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype = Med
damage = 125
guardflag = HA
getpower = 61,61
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-76
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
nochainID = 1200

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

[State 200, 5]
type = PlaySnd
trigger1 = AnimElem = 1
trigger1 = var(1) = 0
value = 200,var(6)

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

[State 630]
type = Projectile
trigger1 = AnimElem = 2
attr = A, NA
projanim = 22146
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
damage = 36
getpower = 61,61
guardflag = HA
priority = 3
pausetime = 8,8
sparkno = s7000
sparkxy = -5,-51
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 6
ground.hittime  = 6
ground.velocity = -4
air.velocity = -2,-3
nochainID = 1200


;---------------------------------------------------------------------------
;空中・強・キック
[Statedef 640]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 30
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
trigger1 = var(1) = 0
value = 210, var(6)

[State 630]
type = Projectile
trigger1 = AnimElem = 2
attr = A, NA
projanim = 22146
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
damage    = 135
guardflag = HA
getpower = 61,61
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-61
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
nochainID = 1200

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

[State 200, 5]
type = PlaySnd
trigger1 = AnimElem = 1
trigger1 = var(1) = 0
value = 210,var(6)

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

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 211
id = 211
sprpriority = 5
postype = p1
pos = -29,-13
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 1]
type = Projectile
trigger1 = AnimElem = 2
attr = S, NA
projanim = 22149
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = Ceil(0.13 * enemy,Const(data.life)) ,Ceil(0.008 * enemy,Const(data.life)) * var(39)
getpower = 80,80
givepower = 0,0
guardflag = H
hitflag = MA
pausetime = 2,0
sparkno = s7001
sparkxy = 30, -85
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6,-6
air.velocity = -6,-6
envshake.time = 8
envshake.ampl = 8
fall = 1
fall.recover = 0







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

[State 290, 1]
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
trigger3 = prevstateno = [200,499]
value = -500

[State -2, a];点滅
type = palfx
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
trigger3 = prevstateno = [200,499]
time = 5
add = 0,0,176
mul = 0,0,176
color = 1
ignorehitpause = 1

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

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

[state a]
type = null;playerpush
trigger1 = animelem = 7,<=0
value = 0

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

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

[State 600, 1]
type = velset
trigger1 = animelem = 2
x = 8

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

[State 50, 4];←成功したときの残像
type = AfterImage
trigger1 = time = 0
time = 15
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 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 290, 1]
type = poweradd
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
value = -1000

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

[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 = -6

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


[State 50, 4];←成功したときの残像
type = AfterImage
trigger1 = time = 0
time = 33
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 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
;ダウン回避
[Statedef 702]
; type = S      S/C/A/L  Ｓ：立ち/Ｃ：屈み/Ａ：空中/Ｌ：ダウン
; movetype = I    Ｉ：通常状態/Ａ：攻撃状態/Ｈ：ダメージをくらってる状態
; physics = S   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 = animelem = 5,<=0
value = 0

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

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

[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 = null;AfterImage
trigger1 = time = 0
time = 33
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 200, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1








;---------------------------------------------------------------------------
;門客人(あらはばき)
[Statedef 800]
type    = S
movetype= A
physics = S
juggle  = 8
velset = 0,0
ctrl = 0
anim = 800
sprpriority = 2

[State 800]
type = Projectile
trigger1 = AnimElem = 1
trigger1 = p2stateno != 150 && 151 && 152 && 153 && 130 && 131 && 140
attr = S, NA
projanim = 22148
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 3
postype = p1
offset = 0,0
velocity = 0
numhits = 0
givepower = 0,0
hitflag = M
sparkno = -1
guard.sparkno = -1
guardsound = -1
p1facing = ifelse (command = "holdback", -1, 1) 
p2facing = 1        
p1stateno = 801       
p2stateno = 805 
fall = 1

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

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

;---------------------[サウンド]
[State 810, Grab Sound];掴み
type = PlaySnd
trigger1 = time = 3
value = 800, 0

[State 810, Grab Sound];浮き
type = PlaySnd
trigger1 = AnimElem = 2
value = 801, 0

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

[State 810, Grab Sound];
type = PlaySnd
trigger1 = animelemtime(6) = 6
value = 240, 0


[State 3040, 7];画面フラッシュ
type = EnvColor
trigger1 = animelemtime(6) = 6
persistent = 0
ignorehitpause = 1
time = 2
value = 255,255,255
under = 1


[State 1000, 5]
type = Explod
trigger1 = time = 3
anim = 7080
sprpriority = 3
postype = p1
velset = 0,0
pos = 47,-89
bindtime = 1
supermove = 0
under = 0
ownpal = 1


[State 1000, 5];ヒットエフェクト
type = Explod
trigger1 = animelemtime(6) = 6
anim = 7002
sprpriority = 5
postype = p1
velset = 0,0
pos = 60,-129
bindtime = 1
supermove = 0
under = 0
ownpal = 1

[State 1000, 5];足元
type = Explod
trigger1 = animelem = 2
anim = 810
sprpriority = 1
postype = p1
velset = 0,0
pos = 60,0
bindtime = 1
removetime = 40
supermove = 0
under = 0
ownpal = 1

[State 1000, 5];足元消滅
type = Explod
trigger1 = animelem = 5
anim = 811
sprpriority = 1
postype = p1
velset = 0,0
pos = 60,0
bindtime = 1
supermove = 0
under = 0
ownpal = 1

[State 1000, 5];火柱
type = Explod
trigger1 = animelem = 6
anim = 812
sprpriority = 3
postype = p1
velset = 0,0
pos = 60,0
bindtime = 1
supermove = 0
under = 0
ownpal = 1


;:::相手

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


[state a]
type = targetstate
trigger1 = animelemtime(6) = 6
value = 806


[State 810, Hurt 11]
type = TargetLifeAdd
trigger1 = animelemtime(6) = 6
value = -173

;:::

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

[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 a]
type = velset
trigger1 = time = 20
x = -2
y = -3

[state a]
type = veladd
trigger1 = vel x < 0
x = 0.1

[state a]
type = veladd
trigger1 = vel y < 0
y = 0.1

[state b]
type = null;velset
trigger1 = time = 26
x = 0
y = 0


[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 700, 2];無敵の状態を作る
type = NotHitBy
trigger1 = 1
value = SCA

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

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

[state a]
type = velset
trigger1 = animelem = 1
x = -1.5
y = -10

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

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

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

[State 800]
type = Projectile
trigger1 = AnimElem = 1
trigger1 = p2stateno != 150 && 151 && 152 && 153 && 130 && 131 && 140
attr = S, NA
projanim = 22148
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 3
postype = p1
offset = 0,0
velocity = 0
numhits = 0
givepower = 0,0
hitflag = M
sparkno = -1
guard.sparkno = -1
guardsound = -1
p1facing = ifelse (command = "holdback", -1, 1) 
p2facing = 1        
p1stateno = 801       
p2stateno = 805 
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 = 1
value = 800, 0

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


;---------------------[エフェクト]
[State 1000, 5]
type = Explod
trigger1 = time = 3
anim = 7080
sprpriority = 3
postype = p1
velset = 0,0
pos = 47,-89
bindtime = 1
supermove = 0
under = 0
ownpal = 1

;---------------------[位置設定]
[state a]
type = posadd
trigger1 = animelem = 2
x = 8
y = -12

[state a]
type = posadd
trigger1 = animelem = 3
y = 12

[state a]
type = posadd
trigger1 = animelem = 4
trigger2 = animelem = 5
trigger3 = animelem = 6
x = -16

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

[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 = 40,0

[State 801, 2]
type = TargetBind
trigger1 = animelem = 3
pos = 54,-72

[State 801, 2]
type = TargetBind
trigger1 = animelem = 4
pos = 35,-84

[State 801, 2]
type = TargetBind
trigger1 = animelem = 5
pos = -25,-85

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


[State 810, Hurt 11]
type = TargetLifeAdd
trigger1 = animelem = 6
value = -167

;:::相手

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



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

[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 = 9
x = 5
y = -4

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

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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;ジェノサイドダンス
[Statedef 1100]
type    = S
movetype= A
physics = S
juggle  = 0
ctrl = 0
velset = 0,0
anim = 11000
sprpriority = 2

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 4
anim = 11001
id = 241
sprpriority = 5
postype = p1
pos = 10,60
vel = 1,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 11
anim = 11002
id = 241
sprpriority = 5
postype = p1
pos = 30,-200
vel = 1,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 14
anim = 9900
id = 241
sprpriority = 5
postype = p1
pos = 0,-20
vel = 1,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 210, 1]
type = PlaySnd
trigger1 = animelem = 3
value = 1100, 0

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 4 | animelem = 11 | animelem = 14
value = 1100, 1

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 4
value = 4000, 2

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 11
value = 4000, 2
freqmul = 0.8

[State 200, 1]
type = PlaySnd
trigger1 = animelem = 14
value = 4000, 2
freqmul = 0.6

[State 235]
type = Projectile
trigger1 = AnimElem = 4
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 58
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,25
sparkno = s7000
sparkxy = 50, -85
hitsound   = s5000,1
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3

[State 235]
type = Projectile
trigger1 = AnimElem = 11
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 58
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,25
sparkno = s7000
sparkxy = 50, -85
hitsound   = s5000,2
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -6
air.velocity = -1.4,-3

[State 235]
type = Projectile
trigger1 = AnimElem = 16
attr = S, NA
projanim = 22137
projhitanim = -1
projid = 35600
projpriority = 999999999
projsprpriority = 999999999
projremove = 1
projremovetime = 5
postype = p1
offset = 0,0
velocity = 0
animtype  = hard
damage    = 58
getpower = 50,50
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 2,7
sparkno = s7000
sparkxy = 50, -85
hitsound   = s4000,4
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = -3,-9
air.velocity = -1.4,-3
fall = 1

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

[state a]
type = posadd
trigger1 = animelem = 11
x = 20

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

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

[State 240, 3]
type = changestate
trigger1 = power >= 500
trigger1 = command = "ビーム"
trigger1 = time >= 32;animelem >= 12
value = 11000

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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; エクスプローディングスフィア
[Statedef 1300]
type    = S
movetype= A
physics = S
juggle  = 8
ctrl = 0
velset = 0,0
anim = 29080
sprpriority = 2

[State 2001, 無敵]
type = NotHitBy
trigger1 = AnimElemtime(1) >= 0 && AnimElemtime(10) <= 0
value = SCA, AA, AP

[State 1000, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElemTime(6) = 2
value = s4000,1

[State 3000]
type = Projectile
trigger1 = AnimElemTime(6) = 2
projID = 1200
projanim = 29081
projremove = 0
projpriority = 1
projhitanim = -1
projremanim = -1
projsprpriority = 4
projshadow = 0,0,0
projremovetime = 33
numhits = 2
getpower = 20
ownpal = 0
offset = 30,-70
velocity = 0, 0
attr = S, SP
animtype = Hard
damage = 20 ,4
hitflag = MAF
guardflag = M
hitsound = s225,0
guardsound = s120,0
pausetime = 0,3
sparkno = s7001
hitsound = 225,1
guard.sparkno = s7011
sparkxy = 20,0
ground.type = High
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
fall.recover = 0

[State 3000]
type = Projectile
trigger1 = AnimElemTime(7) = 1
projID = 1201
projanim = 29081
projremove = 0
projpriority = 1
projhitanim = -1
projremanim = -1
projsprpriority = 5
projshadow = 0,0,0
projremovetime = 33
numhits = 2
getpower = 20
ownpal = 0
offset = 60,-35
velocity = 0, 0
attr = S, SP
animtype = Hard
damage = 20 ,4
hitflag = MAF
guardflag = M
hitsound = s1,1
guardsound = s120,0
pausetime = 0,3
sparkno = s7001
hitsound = 225,1
guard.sparkno = s7011
sparkxy = 20,0
ground.type = High
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
fall.recover = 0

[State 3000]
type = Projectile
trigger1 = AnimElemTime(7) = 3
projID = 1202
projanim = 29081
projremove = 0
projpriority = 1
projhitanim = -1
projremanim = -1
projsprpriority = 6
projshadow = 0,0,0
projremovetime = 33
numhits = 2
getpower = 20
ownpal = 0
offset = 70,-90
velocity = 0, 0
attr = S, SP
animtype = Hard
damage = 20 ,4
hitflag = MAF
hitosund = 255, 1
guardflag = M
hitsound = s225,1
guardsound = s120,0
pausetime = 0,3
sparkno = s7001
guard.sparkno = s7011
sparkxy = 20,0
ground.type = High
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
fall.recover = 0

[State 3000]
type = Projectile
trigger1 = AnimElemTime(8) = 2
projID = 1203
projanim = 29081
projremove = 0
projpriority = 1
projhitanim = -1
projremanim = -1
projsprpriority = 7
projshadow = 0,0,0
projremovetime = 33
numhits = 2
getpower = 20
ownpal = 0
offset = 105,-45
velocity = 0, 0
attr = S, SP
animtype = Hard
damage = 20 ,4
hitflag = MAF
hitsound = 225,1
guardflag = M
guardsound = s120,0
pausetime = 0,3
sparkno = s7001
guard.sparkno = s7011
guard.sparkno = s4120
sparkxy = 20,0
ground.type = High
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
fall.recover = 0

[State 3000]
type = Projectile
trigger1 = AnimElemTime(9) = 1
projID = 1204
projanim = 29081
projremove = 0
projpriority = 1
projhitanim = -1
projremanim = -1
projsprpriority = 8
projshadow = 0,0,0
projremovetime = 33
numhits = 2
getpower = 20
ownpal = 0
offset = 160,-60
velocity = 0, 0
attr = S, SP
animtype = up
damage = 20 ,4
hitflag = MAF
guardflag = M
hitsound = 225,1
guardsound = s120,0
pausetime = 0,3
sparkno = s7001
guard.sparkno = s7011
guard.sparkno = s4120
sparkxy = 20,0
ground.type = High
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5,-4.8
air.juggle = 2
air.velocity = -4.5,-4.8
fall = 1
fall.recover = 0

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



;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強糺
[Statedef 1301]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= -500
ctrl = 0
velset = 0,0
anim = 1301
sprpriority = 2

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

[State 200, 1];糺
type = PlaySnd
trigger1 = animelem = 4
value = 1300, 0

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 4
anim = 211
id = 211
sprpriority = 5
postype = p1
pos = -36,-18
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0

[State 1700, 0];カウンター判定
type = ReversalDef
trigger1 = time = 0
attr = , SA
reversal.attr = SCA, NA, SA
hitflag = M-
priority = 4, Miss
pausetime = 7,8
sparkno = S7012
hitsound = S121,0
p2facing = 1
p1stateno = 1310

[State 240, 2]
type = HitDef
trigger1 = animelem = 4
attr = , SA
animtype  = diagup
damage    = 96,10
getpower = 0,0
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-77
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -6,-6.5
air.velocity = -6,-6.8
fall = 1
fall.recover = 0


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



; 糺カウンター
[Statedef 1310]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 1310
sprpriority = 2

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

;---------------------[]
[State 200, 1];糺
type = PlaySnd
trigger1 = animelem = 1
value = 1300, 0

[State 240, 1];発射
type = PlaySnd
trigger1 = animelem = 2
value = 1300, 1


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

[State 240, 2]
type = HitDef
trigger1 = animelem = 1
attr = , SA
animtype  = hard
damage    = 48,10
getpower = 0,0
guardflag = MA
pausetime = 0,17
sparkno = s7001
sparkxy = -15,-77
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -6,-6.5
air.velocity = -6,-6.8
fall = 1
fall.recover = 0

;---------------------[飛び道具]
[State 1000, 2]
type = Projectile
trigger1 = AnimElem = 3
attr = A, SP
projanim = 1306
projhitanim = 1015
projid = 1000
projpriority = 1
projsprpriority = 4
projedgebound = 220
;hitflag =HA,MA,LA,AA
postype = p1
getpower = 0,0
offset = 28,-73
velocity = 7
damage = 144,10
animtype = Hard
guardflag = MA
pausetime = 0,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 20,0
hitsound = S190,2
guardsound = S121,0
ground.type = high
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 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; ダークディメンジョナルプロジェクション
[Statedef 1450]
type    = S
movetype= A
physics = S
juggle  = 8
poweradd= 0
ctrl = 0
velset = 0,0
anim = 1450
sprpriority = 2



;---------------------[コマンド判定]
[state a]
type = varset
trigger1 = time = 0
trigger1 = command = "x"
trigger1 = prevstateno != 1450
v = 5
value = 0

[state a]
type = varset
triggerall = time = 0
trigger1 = command = "a"
trigger1 = prevstateno != 1450
v = 5
value = 1

[state a]
type = varset
triggerall = time = 0
trigger1 = command = "y"
trigger1 = prevstateno != 1450
v = 5
value = 2

[state a]
type = varset
triggerall = time = 0
trigger1 = command = "b"
trigger1 = prevstateno != 1450
v = 5
value = 3

[state a]
type = varset
triggerall = time = 0
trigger1 = command = "z"
trigger1 = prevstateno != 1450
v = 5
value = 4


[state a]
type = varset
trigger1 = time != 0
trigger1 = command = "x"
v = 5
value = 0

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

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

[state a]
type = varset
trigger1 = time != 0
trigger1 = command = "b"
v = 5
value = 3

[state a]
type = varset
trigger1 = time != 0
trigger1 = command = "z"
v = 5
value = 4

;---------------------[回数制限]
[state a]
type = varset
trigger1 = time = 0
trigger1 = prevstateno != 1450
v = 18
value = 3

[state a]
type = varadd
trigger1 = time = 0
trigger1 = prevstateno = 1450
v = 18
value = -1


;---------------------[ゲージ増加]
[state a]
type = poweradd
trigger1 = time = 0
value = var(5)*20

;---------------------[ゲージ増加]
[state a]
type = varset
trigger1 = prevstateno != 1450
v = 13
value = 0

[state a]
type = varset
trigger1 = prevstateno = 1450
v = 13
value = 1

;---------------------[変数指定]
[state a];コマンド受付判定初期化
type = varset
trigger1 = time = 0
v = 7
value = 0


[state a];コマンド受付判定
type = varset
trigger1 = time != 0
trigger1 = (command = "x")||(command = "a")||(command = "y")||(command = "b")||(command = "z")
v = 7
value = 1

[state a];コマンド受付判定
type = null;varset
trigger1 = command = "火闌降1"
trigger1 = var(5) = 0
trigger2 = command = "火闌降2"
trigger2 = var(5) = 1
trigger3 = command = "火闌降3"
trigger3 = var(5) = 2
v = 7
value = 1

;---------------------[効果音]
[state a];
type = playsnd
trigger1 = animelem = 1
value = 900,0

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = Animelem = 1
id = 1400
persistent = 0
name = "hasira"
pos = 70*var(5)+40,0
postype = P1
stateno = 1412
helpertype = player
keyctrl = 0
ownpal = 1


;---------------------[連続]
[state a]
type = changestate
triggerall = var(18) >= 0
trigger1 = (var(7) = 1)&&(time >= 10)
;trigger2 = (var(7) = 1)&&(time >= 5)
;trigger3 = (var(7) = 1)&&(var(5) = 0)&&(time >= 5)
value = 1450


;---------------------[立ちステートに戻る]
[State 240, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1



; 火柱
[Statedef 1412]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 1410


[state a];ここだ/そこか/ここか/そこだ
type = playsnd
trigger1 = animelem = 2
value = 1400,var(5)

;---------------------[位置設定]
[state a]
type = posset
trigger1 = time = 0
trigger1 = root,var(5) = 4
x = enemy,pos x 
;---------------------[無敵処理]

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

;---------------------[]
[state a];
type = playsnd
trigger1 = animelem = 12
value = 900,1

[state a];
type = playsnd
trigger1 = animelem = 12
value = 900,2

;---------------------[]
[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 12
anim = 1416
id = 1415
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0

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


;---------------------[攻撃の指定]
[State 1]
type = Projectile
trigger1 = AnimElem = 14
attr = S, NA
projanim = 22150
projhitanim = -1
projid = 35900
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 14
postype = p1
offset = 0,0
velocity = 0
numhits = 1
animtype  = hard
damage    = Ceil(0.07 * enemy,Const(data.life)) * root,var(39),Ceil(0.008 * enemy,Const(data.life)) * root,var(39)
getpower = 20,20
givepower = 0,0
guardflag = H
hitflag = MAF
pausetime = 2,4
sparkno = s22109 + var(35)
sparkxy = -7, -70
hitsound   = s225,1
guard.sparkno = s22113
guardsound = s120,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.5,-17
air.velocity = -0.5,-17
yaccel = .5
fall = 1
fall.recover = 0

[State 1]
type = Projectile
trigger1 = AnimElem = 14
attr = S, NA
projanim = 22150
projhitanim = -1
projid = 35900
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 14
postype = p1
offset = 0,0
velocity = 0
numhits = 1
animtype  = hard
damage    = Ceil(0.07 * enemy,Const(data.life)) * root,var(39),Ceil(0.008 * enemy,Const(data.life)) * root,var(39)
getpower = 20,20
givepower = 0,0
guardflag = H
hitflag = MAFD
pausetime = 2,4
sparkno = s22109 + var(35)
sparkxy = -7, -70
hitsound   = s225,1
guard.sparkno = s22113
guardsound = s120,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.5,-17
air.velocity = -0.5,-17
yaccel = .5
fall = 1
fall.recover = 0
;---------------------[相手]
[state a]
type = targetstate
trigger1 = movehit = 1
value = 1420


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

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; ロトゥスショット
[Statedef 1050]
type    = S
movetype= A
physics = N
juggle  = 8
poweradd= 45
velset = 0,0
anim = 1050
ctrl = 0

;---------------------[効果音]
[state a];発射
type = playsnd
trigger1 = animelem = 7
value = 1050,0

;---------------------[位置設定]
[state a]
type = posadd
trigger1 = animelem = 9
trigger2 = animelem = 10
trigger3 = animelem = 11
x = -8

;---------------------[エフェクト]
[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 7
anim = 211
id = 211
sprpriority = 3
postype = p1
velset = 0,0
pos = -11,-31
bindtime = 1
supermove = 0
persistent = 0
ignorehitpause = 1
under = 0
ownpal = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
trigger1 = Animelem = 8
id = 1050
persistent = 0
name = "sennpuuki"
pos = 76,-96
postype = P1
stateno = 1065
helpertype = player
keyctrl = 0
ownpal = 1

;---------------------[立ちステートに戻る]

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


; 飛び道具ヘルパー
[Statedef 1065]
type    = A
movetype= A
physics = N
juggle  = 0
poweradd= 0
velset = 6,0
ctrl = 0
anim = 1065

[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1

;---------------------[エフェクト]
[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animelem = 2
anim = 1061
id = 211
sprpriority = 5
postype = p1
velset = 0,0
pos = 0,0
bindtime = 1
supermove = 0
;persistent = 0
ignorehitpause = 1
under = 0
ownpal = 1

[State 1000, 5];攻撃エフェクト
type = Explod
trigger1 = animtime = 0
anim = 1063
id = 211
sprpriority = 5
postype = p1
velset = 0,0
pos = 0,0
bindtime = 1
supermove = 0
;persistent = 0
ignorehitpause = 1
under = 0
ownpal = 1

[State 11125]
type = Explod
trigger1 = 1
anim = 22131
postype = p1
pos = 0,0
vel = -7+ (random%14),-7 + (random%14)
facing = -1
id = 22131
scale = 0.25,0.25
ignorehitpause = 1
supermovetime = 2147483647

pausemovetime = 2147483647
[State 11125]
type = Explod
trigger1 = 1
anim = 22131
postype = p1
pos = 0,0
vel = -6+ (random%12),-6 + (random%12)
facing = -1
id = 22131
scale = 0.25,0.25
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 11125]
type = Explod
trigger1 = 1
anim = 22131
postype = p1
pos = 0,0
vel = -5+ (random%10),-5 + (random%10)
facing = -1
id = 22131
scale = 0.25,0.25
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647
;---------------------[攻撃の指定]
[State 1000, 2]
type = Projectile
trigger1 = AnimElem = 2
attr = S, SP
projanim = 1062
;projhitanim = 2011
projremovetime = 16
projid = 1050
projpriority = 16
projsprpriority = 16
projedgebound = 220
;hitflag =HA,MA,LA,AA
air.juggle = 2
postype = p1
getpower = 0,0
offset = 0,0
velocity = 0
damage = 45,10
animtype = hard
guardflag = M
pausetime = 2,2
sparkno = s7002
guard.sparkno = S7012
sparkxy = 0,0
hitsound = S222,0
guardsound = S121,0
ground.type = high
ground.slidetime = 14
ground.hittime = 16
ground.velocity = -5,0
air.velocity = -4,-5
air.fall = 1
fall = 0
fall.recover = 0
ownpal = 1
hitcountpersist = 1

;---------------------[消滅]
[state a]
type = changestate
trigger1 = time = 40
value = 7846

;---------------------------------------------------------------------------
; 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]
type = destroyself
trigger1 = ishelper(1111)
trigger1 = stateno = 0
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State -2]
type = destroyself
trigger1 = ishelper(1111)
trigger1 = stateno = 5000
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State -2]
type = destroyself
trigger1 = ishelper(1111)
trigger1 = stateno = 5001
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State -2]
type = poweradd
trigger1 = (GameTime% 1 ) = 0
triggerall = palno = 12
value = 10

[State -2]
type = lifeadd
trigger1= (GameTime% 1 )=0
triggerall = palno = 12
triggerall = life = 0
value = 999999999
ignorehitpause =1

[State -2]
type = selfstate
trigger1 = hitpausetime
triggerall = palno = 12
value = 50
ctrl = 1
ignorehitpause = 1

[State -2]
type = AssertSpecial
flag = noko
triggerall = palno = 12
trigger1 = p2life != 0

[State -2];見えないように
type = AssertSpecial
trigger1 = Ishelper(1111)
triggerall = palno = 12
triggerall = stateno = 2207
flag = Invisible
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State -2];ステート抜け
type = Selfstate
triggerall = Ishelper(1111)
triggerall = palno = 12
trigger1 = var(1)!=gametime
trigger2 = stateno!=1111
triggerall = stateno = 2207
value = 1111
ctrl = 0
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State -2];ステート抜け
type = Selfstate
triggerall = Ishelper(1112)
triggerall = palno = 12
trigger1 = var(1)!=gametime
trigger2 = stateno!=1112
triggerall = stateno = 2207
value = 1112
ctrl = 0
ignorehitpause = 1
pausemovetime = 99999999
supermovetime = 99999999

[State 1301, 0]
type = HitOverride
triggerall = palno = 12
triggerall = life != 0
triggerall = statetype != A
triggerall = stateno != 1300
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP
stateno = 10051
ignorehitpause = 1

[State 1301, 0]
type = HitOverride
triggerall = palno = 12
triggerall = life != 0
triggerall = var(29) <= 1
triggerall = statetype = A
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP
stateno = 38853
ignorehitpause = 1

[State 1301, 0]
type = HitOverride
triggerall = palno = 12
triggerall = life != 0
triggerall = var(29) <= 1
triggerall = stateno = 40
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP
stateno = 38852
ignorehitpause = 1

[State 1301, 0]
type = HitOverride
triggerall = palno = 12
triggerall = life != 0
triggerall = var(29) >= 1
triggerall = stateno = 40
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP
stateno = 18000
ignorehitpause = 1

[State 1301, 0]
type = HitOverride
triggerall = palno = 12
triggerall = life != 0
triggerall = var(29) >= 1
triggerall = statetype = A
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP
stateno = 18000
ignorehitpause = 1

[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 -2, 4];ハイジャンプ判定
type = varadd
trigger1 = 1
v = 15
value = -1


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

;::::::::ボイス変更の乱数
[State 180, 1]
type = VarRandom
trigger1 = 1
v = 6
range = 0,2

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::パレットによるモード判別(1でオロチ)
[state -2, a]
type = varset
trigger1 = palno = 1
trigger2 = palno = 2
trigger3 = palno = 3
trigger4 = palno = 4
trigger5 = palno = 5
trigger6 = palno = 6
trigger7 = palno = 7
trigger8 = palno = 8
trigger9 = palno = 9
trigger10 = palno = 10
trigger11 = palno = 11
trigger12 = palno = 12
v = 1
value = 0

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

[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 a];
type = removeexplod
trigger1 = MoveType = H
id = 185


;ダメージ時のエフェクトの消去;ハウリングブル
[State 1]
type = removeexplod
trigger1 = MoveType = H
ID = 1470

;ダメージ時のエフェクトの消去
[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 a]
type = stopsnd
trigger1 = MoveType = H
channel = 1

;ダメージ時の残像の消去
[state a];
type = afterimagetime
trigger1 = MoveType = H
time = 0

;///////////////////////////////////////////////////////////////////////
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;コンボによるダメージ補正
;//////////////////////////////////////////////////////////////////////////
; 
;[state a]
;type = varset
;trigger1 = 1
;fvar(0) = 1.0

;[state a]
;type = varset
;trigger1 = enemy,movetype = H
;trigger1 = enemy,gethitvar(hitcount) > 0
;trigger1 = enemy,gethitvar(hitcount) < 100
;fvar(0) = ((100.0-(30.0+(enemy,gethitvar(hitcount)/3.0)*10.0))/100.0)

;[state a]
;type = attackmulset
;trigger1 = 1
;value = fvar(0)



;[state a]
;type = DefenceMulSet
;trigger1 = var(14) = 1
;value = 1
;///////////////////////////////////////////////////////////////////////
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;勝利時のサウンドストップ
;//////////////////////////////////////////////////////////////////////////
;
[State 1]
type = AssertSpecial
;triggerall = Win
trigger1 = RoundState != 2 && RoundsExisted = 0
trigger2 = RoundState >= 3 && RoundsExisted != 0
flag = nomusic

[State 1]
type = varset
;triggerall = Win
trigger1 = RoundState != 2
v = 26
value = 0

[state a]
type = stopsnd
trigger1 = RoundState = 2
channel = 2


[state a]
type = playsnd
trigger1 = WinKO
trigger1 = RoundState = 3
trigger1 = var(12) = 0
IgnoreHitPause = 1
persistent = 0
value = 11,1

[state a]
type = varset
trigger1 = RoundState = 3
IgnoreHitPause = 1
v = 12
value = 1

[state a]
type = varset
trigger1 = RoundState = 2
IgnoreHitPause = 1
v = 12
value = 0

;///////////////////////////////////////////////////////////////////////
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;オロチのＫＯボイス消去(差し替えじゃないから楽だねぇ…)
;//////////////////////////////////////////////////////////////////////////
;
[State a]
type = assertspecial
trigger1 = var(1) = 1
trigger1 = p1name = "Mizuchi"
flag = nokosnd

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

[Statedef -3]

[State -3];gametime
type = varset
trigger1 = 1
triggerall = palno = 12
v = 1
value = gametime
ignorehitpause = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999

;ゲーム中に常にいつでも開始したいステート、ここでは「着地音」に使用しています
;下の条件は「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, 2];ジャンプ音
type = PlaySnd
triggerall = time = 1
trigger1 = stateno = 40 
trigger1 = var(15) <= 0
value = 40, 1

[State -3, 2];ジャンプ音
type = PlaySnd
triggerall = time = 1
trigger1 = stateno = 40 
trigger1 = var(15) > 1
value = 40, 2

[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 105 
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 210, Width];画面端の押し戻し判定
type = Width
trigger1 = 1
edge = 5,0




;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ハイジャンプ処理
[State -3, 5];ハイジャンプ判定
type = varset
trigger1 = stateno = 10
trigger1 = time = 0
trigger2 = stateno = 100
v = 15
value = 20

[State -3, 5];ハイジャンプ消去
type = varset
trigger1 = stateno = 52
trigger1 = time = 0
v = 15
value = 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



; 丈(ジョー)カー背景エフェクト
[Statedef 6050]
type = A
movetype = I
physics = N
anim = 9999
velset = 0, 0
ctrl = 0

[State 3020, 1]
type = Explod
trigger1 = !NumExplod(6022)
anim = 6050
id = 6022
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 != [2700,2701]
ID = 6022

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




; 木の葉背景エフェクト
[Statedef 6051]
type = A
movetype = I
physics = N
anim = 9999
velset = 0, 0
ctrl = 0

[State 3020, 1]
type = Explod
trigger1 = !NumExplod(6022)
anim = 6050
id = 6022
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 != 2610
ID = 6022

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



