;変数使用表
;  0 = gametime
;　1 = 
;　2 = 勝利ポーズ変更
;　3 = 
;　4 = スロー処理
;　5 = 強弱ボタン判定
;　6 = 通常攻撃ボイス、乱数指定
;　7 = ミューテイション・コンビネーション、キャンセル判定
;　8 = 
;　9 = 
; 10 = プレイヤーの向き設定
; 11 = 
; 12 = KOサウンド
; 13 = 超ド級ステータスアップ・攻撃力
; 14 = 超ド級ステータスアップ・防御力
; 15 = ハイジャンプ
; 16 = 小ジャンプ
; 17 = ダメージ補正に使用
; 18 = 攻撃値の保存
; 19 = 
; 20 = メモリーカードスラッシュ・ビーストバスター 
; 21 = メモリーカードスラッシュ・ＳＥ・Ｎ・ＧＯ・ＫＵ伝承
; 22 = メモリーカードスラッシュ・サブマリンスクリュー
; 23 = メモリーカードスラッシュ・雷神拳
; 24 = メモリーカードスラッシュ・ファイヤースープレックスホールド
; 25 = 合体変身！チェンジ・アトミックガイ・ネオス　変身用タイムカウント
; 26 = 合体変身！チェンジ・アトミックガイ・ネオス　変身時間タイムカウント
;
; 30 = AI判定(にしたいな…)
;
; 53 = アニメ記憶（混線用
; 54 = ステート記憶（混線用
; 55 = アニメ記憶（ＯＴＨＫ用
; 56 = ステート記憶（ＯＴＨＫ用
; 57 = 発光判断
; 58 = 当身判断
: 59 = ライフ管理

; f(1) = 攻撃補正
; f(2) = 超ド級ステータスアップ・攻撃力増加値

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

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

[Velocity]
walk.fwd  = 2.5      ;前進の速度
walk.back = -2.5     ;後退の速度
run.fwd  = 5.0130434, 0    ;前ダッシュの速度（ホップする時はyを-にする）
run.back = -6.5,-1.8 ;後ダッシュの速度（ホップする時はyを-にする）
jump.neu = 0,-10.4    ;垂直ジャンプの速度
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 = .62         ;重力
stand.friction = .85  ;立ち状態の摩擦係数
crouch.friction = .82 ;屈み状態の摩擦係数

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;---------------------------------------------------------------------------
; 遠距離立ち・弱・パンチ・の動作

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3200
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 200, 1]
type = Hitdef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, NA                     ;立ち状態で、通常の攻撃(ｓは立ち、ｎは通常、aは攻撃を表す)
damage = 38, 0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 61,61
animtype = Light                 ;当てた時の相手のポーズ（light/midium/hard/back）から選択
hitflag = MAFD                    ;当てる事のできる条件
priority = 3, Hit                ;攻撃の優先権（0弱い　4通常　7強い
pausetime = 7, 9                 ;攻撃が当たった時の硬直時間（左が自分、右が相手）
sparkno = s7000                      ;ヒットエフェクトのスプライトステート（無ければ0）
sparkxy = -5, -70               ;ヒットエフェクトを表示する場所（相手の座標で）
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                 ;空中でコンボが繋がる時間
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3205
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, NA                     ;立ち状態で、通常の攻撃(ｓは立ち、ｎは通常、aは攻撃を表す)
damage = 29, 0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 61,61
animtype = Light                 ;当てた時の相手のポーズ（light/midium/hard/back）から選択
hitflag = MAFD                    ;当てる事のできる条件
priority = 3, Hit                ;攻撃の優先権（0弱い　4通常　7強い
pausetime = 7, 9                 ;攻撃が当たった時の硬直時間（左が自分、右が相手）
sparkno = s7000                      ;ヒットエフェクトのスプライトステート（無ければ0）
sparkxy = -20, -73               ;ヒットエフェクトを表示する場所（相手の座標で）
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.7,-2     ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.type = Low                  ;空中で相手がくらった場所（上と同じ）
air.velocity = -1.4,-3           ;空中で攻撃をくらった場合の相手の移動状況（ｘとｙで小数点可）
air.hittime = 12                 ;空中でコンボが繋がる時間
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
anim = 3210
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 210, var(6)
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 220, 0
ignorehitpause = 1

[State 210, 5]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
attr = S, NA
animtype  = hard
damage    = 106
priority = 4, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -10,-63
hitsound   = s310,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10.5
air.velocity = -2.5,-4
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3215
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 210, var(6)
ignorehitpause = 1

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 211, 0
ignorehitpause = 1

[state a]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 250
ignorehitpause = 1

[State 215, 2]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
attr = S, NA
animtype  = hard
damage    = 58
priority = 4, Hit
getpower = 31,31
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -30,-62
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -8
air.velocity = -4,-3
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3230
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(6)
ignorehitpause = 1

[State 230, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 221, 0
ignorehitpause = 1

[State 230, 3]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 230, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, NA
animtype  = light
damage    = 38
priority = 3, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 7,8
sparkno = s7000
sparkxy = -15,-75
hitsound   = s330,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.5
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3235
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(6)
ignorehitpause = 1

[State 230, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 221, 0
ignorehitpause = 1

[State 230, 3]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 230, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
attr = S, NA
animtype  = light
damage    = 29
priority = 3, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 9,10
sparkno = s7000
sparkxy = -30,-24
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -4
air.velocity = -2.5,-3.5
ID = 200
nochainID = 1100
ignorehitpause = 1

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
anim = 3240
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 210, var(6)
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 240, 1
ignorehitpause = 1

[State 1027, 音を鳴らす]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 8
value = F7,2
ignorehitpause = 1

[State 240, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 240, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = S, NA
animtype  = hard
damage    = 115
priority = 4, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-75
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-5
air.velocity = -3,-5.2
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
anim = 3245
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 240, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 221, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 210, var(6)
ignorehitpause = 1

[State 240, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 240, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, NA
animtype  = hard
damage    = 106
priority = 4, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -25,-70
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10
air.velocity = -4,-3
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
; 怒号層拳
[Statedef 250]
type    = S
movetype= A
physics = N
;juggle  = 8
poweradd= 30
ctrl = 0
velset = 0,0
anim = 250
sprpriority = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3250
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 210, var(6)
ignorehitpause = 1

[State 210, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 211, 0
ignorehitpause = 1

[State 215, 2]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 215, 3]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Animelem = 5
value = 1500
ctrl = 1
ignorehitpause = 1

[State 210, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, NA
animtype  = hard
damage    = 58
getpower = 30,30
hitflag = MAFD
pausetime = 11,12
sparkno = s7002
sparkxy = -30,-61
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -9
air.velocity = -4,-3
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
; ミューテイション・コンビネーション１
[Statedef 260]
type    = S
movetype= A
physics = S
;juggle  = 8
velset = 0,0
ctrl = 0
anim = 260
poweradd = 0

[state a];キャンセル判定初期化
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 7
value = 0
ignorehitpause = 1

[state a];キャンセル判定
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "コンビネーション2"
v = 7
value = 1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3260
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3,>=0
value = 261
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, NA
damage = 19, 0
getpower = 61,61
animtype = Light
hitflag = MAFD
priority = 3, Hit
pausetime = 7, 9
sparkno = s7000
sparkxy = -5, -70
hitsound = s310, var(6)
guard.sparkno = s7010
guardsound = s120, 0
ground.type = high
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
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
; ミューテイション・コンビネーション２
[Statedef 261]
type    = S
movetype= A
physics = S
;juggle  = 15
velset = 8,0
ctrl = 0
anim = 261
poweradd = 0

[state a];キャンセル判定初期化
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 7
value = 0
ignorehitpause = 1

[state a];キャンセル判定
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "コンビネーション3"
v = 7
value = 1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3261
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 6,>=0
value = 262
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
attr = S, NA
damage = 19, 0
getpower = 61,61
animtype = Light
hitflag = MAFD
priority = 4, Hit
pausetime = 7, 9
sparkno = s7001
sparkxy = -5, -71
hitsound = s310, var(6)
guard.sparkno = s7010
guardsound = s120, 0
ground.type = low
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
ID = 200
nochainID = 1100

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, NA
damage = 38, 0
getpower = 61,61
animtype = Light
guardflag = MA
hitflag = MAF
priority = 4, Hit
pausetime = 11, 12
sparkno = s7001
sparkxy = -5, -94
hitsound = s310, var(6)
guard.sparkno = s7010
guardsound = s120, 0
ground.type = low
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -2,-6
airguard.velocity = -2,-6
air.type = high
air.velocity = -1.4,-3
air.hittime = 12
fall = 1
fall.recover = 0
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
; ミューテイション・コンビネーション３
[Statedef 262]
type    = S
movetype= A
physics = S
;juggle  = 0
velset = 3,0
ctrl = 0
anim = 262
poweradd = 0

[state a];キャンセル判定初期化
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 7
value = 0
ignorehitpause = 1

[state a];キャンセル判定
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = command = "コンビネーション4"
v = 7
value = 1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3262
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5,>=0
value = 263
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, NA
damage = 58, 0
getpower = 61,61
animtype = hard
hitflag = MAFD
priority = 4, Hit
pausetime = 9, 10
sparkno = s7001
sparkxy = -5, -85
hitsound = s340, var(6)
guard.sparkno = s7010
guardsound = s120, 0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -4,-6
airguard.velocity = -4,-6
air.type = high
air.velocity = -3,-3
air.hittime = 12
fall = 1
fall.recover = 0
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
; ミューテイション・コンビネーション４
[Statedef 263]
type    = A
movetype= A
physics = N
;juggle  = 0
velset = 3,-4
ctrl = 0
anim = 263
poweradd = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7
anim = 3263
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
y = 0.25
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 201, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 2
value = 200,var(6)
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel y > 0
trigger1 = pos y >= 0
value = 52
ignorehitpause = 1

[State 200, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
attr = A, NA
damage = 115, 0
getpower = 61,61
animtype = hard
hitflag = MAFD
priority = 5, Hit
pausetime = 11, 12
sparkno = s7002
sparkxy = -5, -85
hitsound = s340, var(6)
guard.sparkno = s7010
guardsound = s120, 0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -4,-2
air.type = high
air.velocity = -4,-2
air.hittime = 12
fall = 1
fall.recover = 0
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3290
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 240, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 211, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 290, 0
ignorehitpause = 1

[State 240, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 240, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = S, NA
animtype  = high
damage    = 98
priority = 6, Hit
getpower = 136,136
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-74
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
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3290
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 240, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
value = 221, 0
ignorehitpause = 1

[State 200, 1];かばちたれが
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 290, 1
ignorehitpause = 1

[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = 1
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = movehit = 1
persistent = 0
ignorehitpause = 1
time = 2
value = 255,255,255
under = 1
ignorehitpause = 1

[State 240, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 240, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = S, NA
animtype  = diagup
damage    = 39
priority = 6, Hit
getpower = 0,0
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-77
hitsound   = s290,0
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
ID = 200
nochainID = 1100
kill = 0

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3400
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(6)
ignorehitpause = 1

[State 400, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 201, 0
ignorehitpause = 1

[State 400, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 11
ctrl = 1
ignorehitpause = 1

[State 400, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = C, NA
damage    = 19
priority = 3, Hit
animtype  = Light
hitflag = MAFD
getpower = 60,60
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-42
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
ID = 200
nochainID = 1100

;---------------------------------------------------------------------------
;屈み・強・パンチ
[Statedef 410]
type    = C
movetype= A
physics = N
;juggle  = 8
poweradd= 30
ctrl = 0
velset = -2,0
anim = 410
sprpriority = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = -1
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 8
x = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3410
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 410, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 410, 0
ignorehitpause = 1

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 210, var(6)
ignorehitpause = 1

[State 410, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 11
ctrl = 1
ignorehitpause = 1

[State 410, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
attr = C, NA
damage    = 96
priority = 4, Hit
animtype  = hard
hitflag = MAFD
pausetime = 11,12
getpower = 61,61
sparkno = s7001
sparkxy = -10,-37
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-5
air.velocity = -3,-5
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3430
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(6)
ignorehitpause = 1

[State 430, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 221, 0
ignorehitpause = 1

[State 430, 3]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 11
ctrl = 1
ignorehitpause = 1

[State 430, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = C, NA
damage    = 38
priority = 3, Hit
animtype  = Light
hitflag = MAFD
pausetime = 6,8
sparkno = s7000
sparkxy = -10,-38
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
ID = 200
nochainID = 1100

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

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 10
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3440
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 440, 2]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 440, 0
ignorehitpause = 1

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 210,var(6)
ignorehitpause = 1

[State 440, 4]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 11
ctrl = 1
ignorehitpause = 1

[State 440, 3]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = C, NA
damage    = 87
priority = 4, Hit
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
getpower = 91,91
sparkxy = -15,-17
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
fall.recover = 0
ID = 200
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3600
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(1)
ignorehitpause = 1

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 201, 0
ignorehitpause = 1

[State 600, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = A, NA
damage    = 38
priority = 3, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-87
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
ID = 600
nochainID = 1100

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3610
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 610, 0
ignorehitpause = 1

[State 610, 2]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 210, var(6)
ignorehitpause = 1

[State 610, 3]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = A, NA
damage = 106
priority = 5, Hit
hitflag = MAFD
getpower = 61,61
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-78
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = hard
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
ID = 600

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

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3630
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 200,var(6)
ignorehitpause = 1

[State 630, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 221, 0
ignorehitpause = 1

[State 630, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = A, NA
damage = 38
priority = 3, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 8,8
sparkno = s7000
sparkxy = -5,-50
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
ID = 600
nochainID = 1100

;---------------------------------------------------------------------------
;空中・強・キック
[Statedef 640]
type    = A
movetype= A
physics = A
;juggle  = 8
poweradd= 30
ctrl = 0
anim = 640
sprpriority = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3640
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 640, 2]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 221, 0
ignorehitpause = 1

[State 640, 2]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 210, var(6)
ignorehitpause = 1

[State 640, 3]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = A, NA
damage    = 96
priority = 4, Hit
hitflag = MAFD
getpower = 61,61
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-39
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = hard
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
ID = 600
nochainID = 1100

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

[State 200, 5]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 1
value = 210,var(6)
ignorehitpause = 1

[State 640, 2]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 2
value = 211, 0
ignorehitpause = 1

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

[State 240, 2]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
attr = A, NA
animtype  = hard
damage    = 98
getpower = 120,120
hitflag = MAFD
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-75
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
nochainID = 1200

;---------------------------------------------------------------------------
;タクティカルステップ
[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 00, 振り向き]
type = Turn
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = facing != facing
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3700
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 290, 1]
type = poweradd
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
trigger3 = prevstateno = [200,499]
value = -500
ignorehitpause = 1

[State -2, a];点滅
type = palfx
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = time = 0
trigger1 = prevstateno = 150
trigger2 = prevstateno = 151
trigger3 = prevstateno = [200,499]
time = 6
add = 0,0,176
mul = 0,0,176
color = 1
ignorehitpause = 1


[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
value = SCA
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
value = 700, 0
ignorehitpause = 1

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
value = 701, 0
ignorehitpause = 1

[State 600, 1]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
x = 0
ignorehitpause = 1

[State 600, 1]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
x = 8
ignorehitpause = 1

[State 600, 1]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
x = 0
ignorehitpause = 1

[state a]
type = null;ctrlset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1
ignorehitpause = 1

[State 50, 4];←成功したときの残像
type = AfterImage
triggerall = name = "A-Yuki"
triggerall = !ishelper
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
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 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 removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3700
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

[State 1];無敵の状態を作る
type = NotHitBy
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
value = SCA
ignorehitpause = 1

[state a]
type = playerpush
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3,<=0
value = 0
ignorehitpause = 1

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 701, 1
ignorehitpause = 1

[State 600, 1]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
x = -4
ignorehitpause = 1

[State 600, 1]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x <= 0
trigger1 = gametime % 2
x = 0.4
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x >= 0
x = 0
ignorehitpause = 1

[State 50, 4];←成功したときの残像
type = null;AfterImage
triggerall = name = "A-Yuki"
triggerall = !ishelper
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
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 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
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

[State 1];無敵の状態を作る
type = NotHitBy
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
value = SCA
ignorehitpause = 1

[state a]
type = playerpush
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5,<=0
value = 0
ignorehitpause = 1

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 1
value = 181, 0
ignorehitpause = 1

[State 600, 1]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Time = 0
x = -4
ignorehitpause = 1

[State 600, 1]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x <= 0
trigger1 = gametime % 2
x = 0.4
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x >= 0
x = 0
ignorehitpause = 1

[State 50, 4];←成功したときの残像
type = null;AfterImage
triggerall = name = "A-Yuki"
triggerall = !ishelper
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
ignorehitpause = 1

[State 200, 7]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;ファイヤースープレックス
[Statedef 800]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 800
sprpriority = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3800
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 800, 2
ignorehitpause = 1

[State 800, 2]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
Trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 800, 1]
type = Hitdef
triggerall = name = "A-Yuki"
triggerall = !ishelper
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 = "holdback", -1, 1) ;前を押したらターンする設定
p2facing = 1          ;？
p1stateno = 801       ;投げが成功した場合の移動する１Ｐのステート
p2stateno = 805       ;投げが成功した場合の移動する２Ｐのステート
;hitsound = S800,0
fall = 1              ;落ちる力を２Ｐにかけるか

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

[state a]
type = turn
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "holdback"
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3801
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

[State explod];ジャーマン
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
anim = 3805
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
under = 0
ignorehitpause = 1
;---------------------[]

;---------------------[サウンド]
[State 810, Grab Sound];掴み
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 800, 0
ignorehitpause = 1

[State 810, Grab Sound];はっ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 4
value = 801, 0
ignorehitpause = 1

[State 810, Grab Sound];ジャンプ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 40, 2
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 6
y = -6
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4,>=0
y = 0.4
ignorehitpause = 1

;:::相手

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = 52,0
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
pos = -19,0
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
pos = -13,-61
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
time = 8
pos = 9,-72
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
time = -1
pos = 34,-67
ignorehitpause = 1

;:::

[State 210, Width];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1;animelem = 1
edge = 50,0
ignorehitpause = 1

[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 802
ignorehitpause = 1

;---------------------------------------------------------------------------
;投げている自分2
[Statedef 802]
type    = S
movetype= I
physics = N
anim = 802
;juggle  = 8
velset = 0,0
sprpriority = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 3802
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

;---------------------[]
[State 03];画面シェイク
type = EnvShake
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
time = 10
ampl = -8
freq = 95
phase = 95
ignorehitpause = 1

;---------------------[サウンド]
[State 810, Grab Sound];叩きつけ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 850, 2
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
persistent = 0
ignorehitpause = 1
time = 2
value = 255,255,255
under = 1
ignorehitpause = 1

;:::相手

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = 52,0
ignorehitpause = 1

[state a]
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 806
ignorehitpause = 1

[State 810, Hurt 11]
type = TargetLifeAdd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = -173
ignorehitpause = 1

;:::

[State 210, Width];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1;animelem = 1
edge = 80,0
ignorehitpause = 1

[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

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

[state a]
type = turn
triggerall = name != "A-Yuki"
trigger1 = time = 0
trigger1 = p2dist x <=0
ignorehitpause = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 805
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

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

[state a]
type = turn
triggerall = name != "A-Yuki"
trigger1 = time = 0
ignorehitpause = 1

[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name != "A-Yuki"
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 806
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[state a]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 4
x = 3.5
y = -5
ignorehitpause = 1

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

[State 821, 3] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; メモリーカードスラッシュ
[Statedef 1990]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 30
velset = 0,0
anim = 1990
sprpriority = 1
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "a"
v = 5
value = 1
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "y"
v = 5
value = 2
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "b"
v = 5
value = 3
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "start"
v = 5
value = 4
ignorehitpause = 1

;---------------------[カードスラッシュ変数]
[state a];Ａ・ビーストバスター
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0
v = 20
value = 420
ignorehitpause = 1

[state a];Ｂ・ＳＥ・Ｎ・ＧＯ・ＫＵ伝承
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 1
v = 21
value = 420
ignorehitpause = 1

[state a];Ｃ・サブマリンスクリュー
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 2
v = 22
value = 420
ignorehitpause = 1

[state a];Ｄ・雷神拳
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 3
v = 23
value = 420
ignorehitpause = 1

[state a];Ｓ・ファイヤースープレックスホールド
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 4
v = 24
value = 420
ignorehitpause = 1

[state a];アトミックガイ・ネオス
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = var(25) <= 0
trigger1 = var(5) = 0
trigger2 = var(5) = 1
trigger3 = var(5) = 4
v = 25
value = 600

;---------------------[アニメーション変更]
[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = var(5) = 3
value = 1991
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = anim != 1991
anim = 1995
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = anim = 1991
anim = 1996
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];カードの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(6) = 1
anim = 1997
id = 3000
sprpriority = 3
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

;---------------------[効果音]
[state a];チェンジユアポケット
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1990,0
ignorehitpause = 1

[state a];スラッシュ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 6
value = 1990,1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; ビーストバスター
[Statedef 1000]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 0
velset = 0,0
anim = 1000
sprpriority = 1
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "y"
v = 5
value = 1
ignorehitpause = 1

;---------------------[アニメーション変更]
[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = var(5) = 1
value = 1001
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1005+var(5)
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];発射1
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7 && var(5) = 0
trigger2 = animelem = 5 && var(5) = 1
anim = 1010
id = 3000
sprpriority = -1
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
under = 0
ignorehitpause = 1

[State explod];発射2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7 && var(5) = 0
trigger2 = animelem = 5 && var(5) = 1
anim = 1011
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[効果音]
[state a];ビーストバスター
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1000,0
ignorehitpause = 1

[state a];発射
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7 && var(5) = 0
trigger2 = animelem = 5 && var(5) = 1
value = 1000,1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7 && var(5) = 0
id = 1020
persistent = 0
pos = 0,0
postype = P1
stateno = 1020
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 2900, 1];
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5 && var(5) = 1
id = 1021
pos = 0,0
postype = P1
stateno = 1021
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------------------------------------------------------------
; 弱ヘルパー
[Statedef 1020]
type    = A
movetype= A
physics = N
;juggle  = 8
poweradd= 0
velset = 10,0
ctrl = 0
anim = 1020
movehitpersist = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitoverride
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 1025
ignorehitpause = 1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = time = 0
trigger1 = var(58) != 1
attr = A, SP
animtype  = hard
damage    = 87,10
priority = 4, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 16
attr = A, SP
animtype  = hard
damage    = 58,10
priority = 4, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 21
attr = A, SP
animtype  = hard
damage    = 19,10
priority = 4, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 当身感知時代入]
type = Null
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = movereversed
trigger1 = var(58) := 1
ignorehitpause = 1

[state 押し戻し判定解除]
type = Playerpush
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = 0
ignorehitpause = 1

;---------------------[消滅]
[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = frontedgebodydist <= -50
trigger2 = frontedgebodydist >= 370
trigger3 = !alive
trigger4 = movecontact
ignorehitpause = 1

;---------------------------------------------------------------------------
; 強ヘルパー
[Statedef 1021]
type    = A
movetype= A
physics = N
;juggle  = 8
poweradd= 0
velset = 14,0
ctrl = 0
anim = 1020
movehitpersist = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitoverride
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 1025
ignorehitpause = 1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 0
attr = A, SP
animtype  = hard
damage    = 87,10
priority = 4, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 11
attr = A, SP
animtype  = hard
damage    = 58,10
priority = 4, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 15
attr = A, SP
animtype  = hard
damage    = 19,10
priority = 4, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 当身感知時代入]
type = Null
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = movereversed
trigger1 = var(58) := 1
ignorehitpause = 1

[state 押し戻し判定解除]
type = Playerpush
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
trigger1 = 1
value = 0

;---------------------[消滅]
[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = frontedgebodydist <= -50
trigger2 = frontedgebodydist >= 370
trigger3 = !alive
trigger4 = movecontact
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強化版ビーストバスター
[Statedef 1050]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 0
velset = 0,0
anim = 1050
sprpriority = 1
ctrl = 0

;---------------------[変数リセット]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 20
value = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1051
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];発射1
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 15
trigger3 = animelem = 25
anim = 1010
id = 3000
sprpriority = -1
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];発射2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 15
trigger3 = animelem = 25
anim = 1011
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];ビーストバスター
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1000,0
ignorehitpause = 1

[state a];発射
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 15
trigger3 = animelem = 25
value = 1000,1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------[ヘルパー呼び出し]
[State 2900, 1];
type = helper
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
trigger2 = animelem = 15
trigger3 = animelem = 25
id = 1022
pos = 0,0
postype = P1
stateno = 1022
helpertype = player
keyctrl = 0
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------------------------------------------------------------
; 強化版ヘルパー
[Statedef 1022]
type    = A
movetype= A
physics = N
;juggle  = 8
poweradd= 0
velset = 14,0
ctrl = 0
anim = 1020
movehitpersist = 1

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignorehitpause = 1

[state 2901,1]
type = hitoverride
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
attr = SCA,NP,SP,HP
stateno = 1025
ignorehitpause = 1

;---------------------[攻撃の指定]
[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 0
attr = A, SP
animtype  = hard
damage    = 58,10
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 11
attr = A, SP
animtype  = hard
damage    = 58,10
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 2];攻撃の指定
type = HitDef
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = var(58) != 1
trigger1 = time = 15
attr = A, SP
animtype  = hard
damage    = 19,10
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -17,-93
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -8,0
air.velocity = -4,-4.5
fall = 0
air.fall = 1
fall.recover = 0

[State 当身感知時代入]
type = Null
triggerall = name = "A-Yuki"
triggerall = ishelper
triggerall = movereversed
trigger1 = var(58) := 1
ignorehitpause = 1

[state 押し戻し判定解除]
type = Playerpush
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State カメラ固定]
type = Screenbound
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = 0
ignorehitpause = 1

;---------------------[消滅]
[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = time = 200
trigger2 = movecontact
trigger3 = !alive
ignorehitpause = 1

;---------------------------------------------------------------------------
; 飛び道具にヒットした時の消滅用ステート
[Statedef 1025]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 1020

[state ヘルパーライフ]
type = Lifeset
triggerall = name = "A-Yuki"
trigger1 = ishelper
value = 9999999999999999999
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = 1
value = SCA
time = -1
ignorehitpause = 1

;---------------------[消滅]
[state a]
type = destroyself
triggerall = name = "A-Yuki"
triggerall = ishelper
trigger1 = time = 0
ignorehitpause = 1

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; サブマリンスクリュー
[Statedef 1100]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 0
velset = 1.5,0
anim = 1100
sprpriority = 1
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "y"
v = 5
value = 1
ignorehitpause = 1

;---------------------[速度圭さん]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = 0.5
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 9
x = 0
ignorehitpause = 1
;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
anim = 1110
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];発射1
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
anim = 1105
id = 3000
sprpriority = -1
postype = p1
pos = 0,0
bindtime = 1
under = 0
ignorehitpause = 1

[State explod];発射2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(3) = 1
anim = 1106
id = 3000
sprpriority = 3
postype = p1
pos = 19,19
bindtime = 1
under = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];サブマリンスクリュー
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 1100,0
ignorehitpause = 1

;---------------------[飛び道具]
[State 00]
type = Projectile
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 5
attr = S, SP
projanim = 1120
projhitanim = -1
projid = 1010
projhits = 5
projpriority = 1
projedgebound = 220
projremovetime = 16
air.juggle = 8
postype = p1
getpower = 30,30
offset = 16+var(5)*7,-96+var(5)*35
velocity = 0.5,0
damage = 29,8
animtype = Hard
hitflag = MAFD
pausetime = 3,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 0,0
hitsound = S310,var(6)
guardsound = S121,0
ground.type = high
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -3,-6
air.velocity = -3,-6
air.juggle = 7
fall = 0
air.fall = 1
fall.recover = 0
ownpal = 1
nochainID = 1100
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強化版サブマリンスクリュー
[Statedef 1150]
type    = S
movetype= A
physics = N
juggle  = 0
poweradd= 30
velset = 0,0
anim = 1150
sprpriority = 1
ctrl = 0

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4,<=0
value = SCA
ignorehitpause = 1

;---------------------[変数リセット]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 22
value = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1151
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];サブマリンスクリュー
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 8
value = 1100,0
ignorehitpause = 1

[state a];ジャンプ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
value = 1100,2
ignorehitpause = 1

;---------------------[速度圭さん]
[state a]
type = statetypeset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
value = A
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
x = 2
y = -8
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10,>=0
y = 0.4
ignorehitpause = 1

[state a]
type = posadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7
trigger2 = animelem = 9
x = 10
ignorehitpause = 1

[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 50
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state a]
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 14,>=0
value = 1160
ignorehitpause = 1

;---------------------[攻撃判定]
[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
attr = S, SA
animtype  = hard
damage    = 67,5
priority = 6, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,32
sparkno = s7002
sparkxy = -20,-38
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,1)
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,1),-4
fall = 0
air.fall = 1
fall.recover = 0
ID = 1100

[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 9
attr = S, SA
animtype  = hard
damage    = 67,5
priority = 6, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,32
sparkno = s7002
sparkxy = -20,-73
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,1)
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,1),-4
fall = 0
air.fall = 1
fall.recover = 0
ID = 1100

[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
trigger2 = animelem = 11
trigger3 = animelem = 12
trigger4 = animelem = 13
attr = A, SA
animtype  = hard
damage    = 29,5
priority = 6, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,5
sparkno = s7002
sparkxy = -20,-97
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-2),-8
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-2),-8
fall = 0
air.fall = 1
fall.recover = 0
ID = 1100

[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 14
attr = A, SA
animtype  = up
damage    = 58,5
priority = 6, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,12
sparkno = s7002
sparkxy = -20,-97
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-2),-12
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-2),-12
fall = 0
air.fall = 1
fall.recover = 0
ID = 1100

;---------------------[速度計算]
[state a]
type = statetypeset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
value = A
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10
x = 2
y = -8
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 10,>=0
y = 0.4
ignorehitpause = 1

[state a]
type = posadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 7
trigger2 = animelem = 9
x = 10
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)強化版サブマリンスクリューヒット
[Statedef 1160]
type    = A
movetype= I
physics = N
velset = 0,0
sprpriority = 1

[State 01]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 1160
ignorehitpause = 1

[state 02]
type = velset
triggerall = name != "A-Yuki"
trigger1 = time = 0
x = -1.8
y = -15
ignorehitpause = 1

[State 02];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[State 03]
type = VelAdd
triggerall = name != "A-Yuki"
Trigger1 = 1
y = .4
ignorehitpause = 1

[State 04] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; SE・N・GO・KU伝承
[Statedef 1200]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 30
velset = 0,0
anim = 1200
sprpriority = 1
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "a"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "b"
v = 5
value = 1
ignorehitpause = 1

;---------------------[効果音]
[state a];肉を切らせて
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1200,0
ignorehitpause = 1

;---------------------[速度圭さん]
[state a]
type = statetypeset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = A
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
x = 1.5
y= -4
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2,>=0
y = 0.2
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1205
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[無敵処理]
[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0
attr = S, HA
reversal.attr = SA, NA, SA, HA
pausetime = 4,4
p1stateno = 1210
p2stateno = 1220
hitsound = s120,0
ignorehitpause = 1

[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 1
attr = S, HA
reversal.attr = SC, NA, SA, HA
pausetime = 4,4
p1stateno = 1210
p2stateno = 1220
hitsound = s120,0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1201
ignorehitpause = 1

; SE・N・GO・KU伝承・失敗着地
[Statedef 1201]
type    = S
movetype= I
physics = N
juggle  = 8
poweradd= 0
velset = 0,0
anim = 1201
sprpriority = 1
ctrl = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1206
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];着地音
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
value = 40,0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

; SE・N・GO・KU伝承・当て身成功
[Statedef 1210]
type    = S
movetype= I
physics = N
;juggle  = 8
poweradd= 122
velset = 0,0
anim = 1210
sprpriority = 1
ctrl = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1215
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];ヒットエフェクト
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
anim = 7002
sprpriority = 2
postype = p1
pos = 44,-51
bindtime = -1
under = 0
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
persistent = 0
time = 1
value = 0,0,0
under = 1
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(2) = 1
persistent = 0
time = 2
value = 255,255,255
under = 1
ignorehitpause = 1

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

;---------------------[効果音]
[state a];骨を断つ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(2) = 15
value = 1200,1
ignorehitpause = 1

[state a];斬る
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1200,2
ignorehitpause = 1

[state a];斬る効果音
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 220,0
ignorehitpause = 1

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = 52,0
ignorehitpause = 1

[State 801, 2]
type = Targetlifeadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = -192
ignorehitpause = 1

[state a]
type = hitadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)SE・N・GO・KU伝承ヒット
[Statedef 1220]
type    = A
movetype= I
physics = N
velset = 0,0
sprpriority = 1

[State 00]
type = NotHitBy
triggerall = name != "A-Yuki"
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 01]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 1220
ignorehitpause = 1

[state 02]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 2
x = -1
y = -15
ignorehitpause = 1

[State 02];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[State 03]
type = VelAdd
triggerall = name != "A-Yuki"
Trigger1 = animelem = 2,>=0
y = .4
ignorehitpause = 1

[State 04] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強化版SE・N・GO・KU伝承
[Statedef 1250]
type    = S
movetype= I
physics = N
juggle  = 0
poweradd= 30
velset = 0,0
anim = 1250
sprpriority = 1
ctrl = 0

;---------------------[変数リセット]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 21
value = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];肉を切らせて
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1200,0
ignorehitpause = 1

;---------------------[速度圭さん]
[state a]
type = statetypeset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = A
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
x = 3
y= -3
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2,>=0
y = 0.2
ignorehitpause = 1

;---------------------[無敵処理]
[state 2901,1]
type = nothitby
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5,<=0
value = SCA
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1205
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[無敵処理]
[state a]
type = reversaldef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1
attr = S, HA
reversal.attr = SCA, NA, SA, HA
pausetime = 4,4
p1stateno = 1254
p2stateno = 1221
hitsound = s120,0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1201
ignorehitpause = 1

; 強化版SE・N・GO・KU伝承・当て身成功
[Statedef 1254]
type    = S
movetype= I
physics = N
juggle  = 0
poweradd= 122
velset = 0,0
anim = 1254
sprpriority = 1
ctrl = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1255
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];ヒットエフェクト
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
anim = 7002
sprpriority = 2
postype = p1
pos = 44,-51
bindtime = -1
under = 0
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
persistent = 0
time = 1
value = 0,0,0
under = 1
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(2) = 1
persistent = 0
time = 2
value = 255,255,255
under = 1
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];骨を断つ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelemtime(2) = 15
value = 1200,1
ignorehitpause = 1

[state a];斬る
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
trigger2 = animelem = 4
value = 1200,2
ignorehitpause = 1

[state a];斬る効果音
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 610,0
ignorehitpause = 1

;---------------------[相手制御]
[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = 52,0
ignorehitpause = 1

[State 801, 2]
type = Targetlifeadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
;trigger2 = animelem = 4
value = -87
ignorehitpause = 1

[state a]
type = hitadd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;(ENEMY)強化版SE・N・GO・KU伝承ヒット
[Statedef 1221]
type    = A
movetype= I
physics = N
velset = 0,0
sprpriority = 1

[State 01]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 1220
ignorehitpause = 1

[state 02]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 2
x = -1
y = -15
ignorehitpause = 1

[State 02];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[State 03]
type = VelAdd
triggerall = name != "A-Yuki"
Trigger1 = animelem = 2,>=0
y = .4
ignorehitpause = 1

[State 04] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 雷神拳
[Statedef 1300]
type    = A
movetype= I
physics = N
;juggle  = 8
poweradd= 30
;velset = 0,0
anim = 1300
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "a"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "b"
v = 5
value = 1
ignorehitpause = 1

;---------------------[速度]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 1 && time = 0
y = 3
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0 && time = 0
trigger2 = var(5) = 1 && time = 6
x = 0
y = 0
ignorehitpause = 1

;---------------------[効果音]
[state 00];ライトニング
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1300,0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1301
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
trigger2 = Vel Y > 0
trigger2 = Pos Y >= 0
value = 1310
ignorehitpause = 1

;---------------------------------------------------------------------------
; 雷神拳・着地
[Statedef 1310]
type    = S
movetype= A
physics = N
;juggle  = 8
poweradd= 0
velset = 0,0
anim = 1310
sprpriority = 1
ctrl = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];周りの雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1311
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];落雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1312
id = 3000
sprpriority = -2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];着地
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
value = 1300,1
ignorehitpause = 1

;---------------------[飛び道具]
[State 00]
type = Projectile
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, SP
projanim = 1315
projhitanim = -1
projid = 1300
projpriority = 1
projedgebound = 220
projremovetime = 12
air.juggle = 8
postype = p1
getpower = 30,30
offset = 0,0
velocity = 0,0
damage = 58,10
animtype = up
hitflag = MAFD
pausetime = 0,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 20,-50
hitsound = S1300,2
guardsound = S121,0
ground.type = high
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -5,-5
air.velocity = -5,-5
air.juggle = 8
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------[攻撃判定]
[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, SA
animtype  = up
damage    = 115,10
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 5,6
sparkno = s7002
sparkxy = -20,-38
hitsound   = s1300,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ID = 1100
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 強化版雷神拳
[Statedef 1350]
type    = A
movetype= A
physics = N
;juggle  = 8
poweradd= 30
velset = 0,0
anim = 1350
ctrl = 0

;---------------------[変数リセット]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 23
value = 0
ignorehitpause = 1

;---------------------[効果音]
[state 00];ライトニング
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1300,0
ignorehitpause = 1

[state 00];雷
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1300,1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1301
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
trigger2 = Vel Y > 0
trigger2 = Pos Y >= 0
value = 1355
ignorehitpause = 1

;---------------------[攻撃判定]
[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, SA
animtype  = up
damage    = 77,5
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 0,3
sparkno = s7002
sparkxy = -20,-38
hitsound   = s1300,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = 0,8
air.velocity = 0,8
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ID = 1100

;---------------------------------------------------------------------------
; 強化版雷神拳・着地
[Statedef 1355]
type    = S
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
anim = 1310
sprpriority = 1
ctrl = 0

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];周りの雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1311
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];落雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1312
id = 3000
sprpriority = -2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];落雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
anim = 1360
id = 3000
sprpriority = 2
postype = p1
vel = 2,0
pos = 15,0
bindtime = 1
under = 0
ignorehitpause = 1

[State explod];落雷
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
anim = 1360
id = 3000
sprpriority = 2
postype = p1
vel = -2,0
pos = 15,0
bindtime = 1
under = 0
ignorehitpause = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[効果音]
[state a];着地
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
value = 1300,1
ignorehitpause = 1

[state a];着地
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
value = 1300,1
ignorehitpause = 1

;---------------------[飛び道具]
[State 00]
type = Projectile
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
attr = S, SP
projanim = 1316
projhitanim = -1
projid = 1300
projpriority = 3
projedgebound = 220
projremovetime = 20
projhits = 2
air.juggle = 0
postype = p1
getpower = 30,30
offset = 15,0
velocity = 2,0
damage = 58,10
animtype = up
hitflag = MAFD
pausetime = 2,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 20,-50
hitsound = S1300,2
guardsound = S121,0
ground.type = high
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -5,-5
air.velocity = -5,-5
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ownpal = 1
ignorehitpause = 1

[State 00]
type = Projectile
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 5
attr = S, SP
projanim = 1316
projhitanim = -1
projid = 1300
projpriority = 3
projedgebound = 220
projremovetime = 20
projhits = 2
air.juggle = 0
postype = p1
getpower = 30,30
offset = 15,0
velocity = -2,0
damage = 58,10
animtype = up
hitflag = MAFD
pausetime = 2,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 20,-50
hitsound = S1300,2
guardsound = S121,0
ground.type = high
ground.slidetime = 17
ground.hittime = 17
ground.velocity = 5,-5
air.velocity = 5,-5
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ownpal = 1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------[攻撃判定]
[State a]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
attr = S, SA
animtype  = up
damage    = 58,10
priority = 5, Hit
getpower = 30,30
hitflag = MAFD
pausetime = 5,6
sparkno = s7002
sparkxy = -20,-38
hitsound   = s1300,2
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 0
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-5),-4
fall = 1
air.fall = 1
fall.recover = 0
palfx.time =25
palfx.mul = 230,230,250
palfx.sinadd = 255,255,255,5;palfx.sinadd = 63,65,68,5
palfx.add = 16,16,16
palfx.color = 1
palfx.invertall = 1
ID = 1100

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; ライディングヒーロー
[Statedef 1400]
type    = A
movetype= I
physics = N
;juggle  = 8
poweradd= 30
velset = 0,0
anim = 1400
ctrl = 0

[state 00, 振り向き]
type = Turn
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = facing != facing
ignorehitpause = 1

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "y"
v = 5
value = 1
ignorehitpause = 1

;---------------------[アニメーション変更]
[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = var(5) = 1
value = 1401
ignorehitpause = 1

;---------------------[効果音]
[state a];飛ばすぜ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
value = 1400,0
ignorehitpause = 1

[state a];ダッシュ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
value = 1400,1
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1410
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0 && animelem = 7
trigger2 = var(5) = 1 && animelem = 10
anim = 1411
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

[State explod];ダッシュ
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
anim = 1405
id = 3000
sprpriority = -2
postype = p1
pos = -29,-86
bindtime = 1
under = 0
ignorehitpause = 1

;---------------------[速度計算]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
trigger1 = var(5) = 0
x = 8
y= -1.5
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
trigger1 = var(5) = 1
x = 6
y= -1.5
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2,>=0
y = 0.1
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5,>=0 && var(5) = 0
trigger2 = animelem = 8,>=0 && var(5) = 1
y = 0.35
ignorehitpause = 1

;---------------------[コントロールの設定]
[state a]
type = ctrlset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = var(5) = 0 && animelem = 6
trigger2 = var(5) = 1 && animelem = 9
value = 1
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 50
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
; 爆裂拳
[Statedef 1500]
type    = S
movetype= A
physics = N
;juggle  = 8
poweradd= 30
velset = 0,0
anim = 1500
ctrl = 0

;---------------------[コマンド判定]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "x"
v = 5
value = 0
ignorehitpause = 1

[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = command = "y"
v = 5
value = 1
ignorehitpause = 1

;---------------------[アニメーション変更]
[state a]
type = changeanim
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = var(5) = 1
value = 1501
ignorehitpause = 1

;---------------------[ゲージ増加量調整]
[state a]
type = poweradd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger1 = var(5) = 1
value = 61
ignorehitpause = 1

;---------------------[効果音]
[state a];爆裂
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
value = 1500,0
ignorehitpause = 1

[state a];ダッシュ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 1500,1
ignorehitpause = 1

[state a];パンチ
type = playsnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 9
value = 1500,2
ignorehitpause = 1

;---------------------[速度計算]
[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
x = 6+var(5)*4
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
trigger1 = vel x > 0 
trigger1 = animelem = 4,>=0
trigger1 = var(5) = 0
x = -0.2
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x > 0 
trigger1 = animelem = 4,>=0
trigger1 = var(5) = 1
x = -0.4
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = vel x <= 0
x = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1505
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];ブレスレットの光2
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
anim = 1506
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1

[State explod];パンチ
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 9
anim = 1510+var(5)
id = 1500
sprpriority = 2
postype = p1
pos = 66,-93
bindtime = 1
under = 0
ignorehitpause = 1

[State explod];パンチ
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 9
trigger1 = var(5) = 0
trigger1 = var(24) >= 1
anim = 1512
id = 1500
sprpriority = 2
postype = p1
pos = 66,-93
bindtime = 1
under = 0
ignorehitpause = 1

;---------------------[立ちステートに戻る]
[state 00]
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

;---------------------[飛び道具]
[State 00];強
type = Projectile
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 9
trigger1 = var(5) = 1
attr = S, SP
projanim = 1520
projhitanim = -1
projid = 1010
projpriority = 1
projedgebound = 220
projremovetime = 13
air.juggle = 0
postype = p1
getpower = 61,61
offset = 66,-93
velocity = 0,0
damage = 173,10
animtype = Hard
hitflag = MAFD
pausetime = 3,12
sparkno = S7002
guard.sparkno = S7012
sparkxy = 0,0
hitsound = S310,var(6)
guardsound = S121,0
ground.type = high
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -4,-6
air.velocity = -4,-6
fall = 1
air.fall = 1
fall.recover = 0
ownpal = 1
nochainID = 1100
ignorehitpause = 1

;---------------------[攻撃判定]
[State a];弱
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = animelem = 9
trigger1 = var(5) = 0
trigger2 = prevstateno = 250
attr = S, SA
animtype  = hard
damage    = 135,10
priority = 5, Hit
getpower = 61,61
hitflag = MAFD
pausetime = 0,11
sparkno = s7002
sparkxy = -20,-88
hitsound   = s310,var(6)
guard.sparkno = s7012
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-4),-5
air.velocity = ifelse(enemy,BackEdgeBodyDist <= 10,0,-4),-5
fall = 1
air.fall = 1
fall.recover = 0
ID = 1100

;---------------------------------------------------------------------------
;ファイヤースープレックスホールド
[Statedef 1600]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 1600
sprpriority = 1

;---------------------[変数リセット]
[state a]
type = varset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
v = 24
value = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1601
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

[State 600, 1]
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
value = 800, 2
ignorehitpause = 1

[State 800, 2]
type = ChangeState
triggerall = name = "A-Yuki"
triggerall = !ishelper
Trigger1 = AnimTime = 0
value = 0
ctrl = 1
ignorehitpause = 1

[State 800, 1]
type = HitDef
triggerall = name = "A-Yuki"
triggerall = !ishelper
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 = 1605       ;投げが成功した場合の移動する１Ｐのステート
p2stateno = 1610       ;投げが成功した場合の移動する２Ｐのステート
;hitsound = S800,0
fall = 1              ;落ちる力を２Ｐにかけるか

;---------------------------------------------------------------------------
;投げている自分1
[Statedef 1605]
type    = S
movetype= I
physics = N
anim = 1605
;juggle  = 8
sprpriority = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1607
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

[State explod];ジャーマン
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
anim = 1609
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
under = 0
ignorehitpause = 1
;---------------------[]

;---------------------[サウンド]
[State 810, Grab Sound];掴み
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 2
value = 800, 0
ignorehitpause = 1

[State 810, Grab Sound];はっ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = AnimElem = 4
value = 801, 0
ignorehitpause = 1

[State 810, Grab Sound];ジャンプ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
value = 40, 2
ignorehitpause = 1

[state a]
type = velset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
x = -6
y = -6
ignorehitpause = 1

[state a]
type = veladd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4,>=0
y = 0.4
ignorehitpause = 1

;:::相手

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = 52,0
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
trigger1 = animelem = 2
pos = 19,0
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 3
pos = 13,-61
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 4
time = 8
pos = -9,-72
ignorehitpause = 1

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 5
time = -1
pos = -34,-67
ignorehitpause = 1

;:::

[State 210, Width];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1;animelem = 1
edge = 50,50
ignorehitpause = 1

[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 1606
ignorehitpause = 1

;---------------------------------------------------------------------------
;投げている自分2
[Statedef 1606]
type    = S
movetype= I
physics = N
anim = 1606
;juggle  = 8
velset = 0,0
sprpriority = 1

[state a]
type = posset
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
y = 0
ignorehitpause = 1

;---------------------[腕のエフェクト]
[State removeexplod];前のステートの光消去
type = removeexplod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
ID = 3000
ignorehitpause = 1

[State explod];ブレスレットの光
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1608
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = -1
removetime = -1
under = 0
ignorehitpause = 1

[State explod];連打!!!
type = Explod
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
anim = 1620
id = 3000
sprpriority = 2
postype = p1
pos = -30,-100
bindtime = -1
under = 0
ignorehitpause = 1

;---------------------[]
[State 03];画面シェイク
type = EnvShake
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
time = 10
ampl = -8
freq = 95
phase = 95
ignorehitpause = 1

;---------------------[サウンド]
[State 810, Grab Sound];叩きつけ
type = PlaySnd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 850, 2
ignorehitpause = 1

[State 3040, 7];画面フラッシュ
type = EnvColor
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 0
trigger2 = time = 15
trigger3 = time = 25
trigger4 = time = 35
;persistent = 0
time = 2
value = 255,255,255
under = 1
ignorehitpause = 1

;:::相手

[State 801, 2]
type = TargetBind
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
pos = -52,0
ignorehitpause = 1

[state a]
type = targetstate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = 1611
ignorehitpause = 1

[State 810, Hurt 11]
type = TargetLifeAdd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animelem = 1
value = -173
kill = 0
ignorehitpause = 1

[State 810, Hurt 11]
type = TargetLifeAdd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 15
trigger2 = time = 25
value = -15
kill = 0
ignorehitpause = 1

[State 810, Hurt 11]
type = TargetLifeAdd
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = time = 35
value = -10
ignorehitpause = 1

;:::

[State 210, Width];画面端の押し戻し判定
type = Width
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = 1;animelem = 1
edge = 80,80
ignorehitpause = 1

[state a] 
type = changestate
triggerall = name = "A-Yuki"
triggerall = !ishelper
trigger1 = animtime = 0
value = 0
ctrl = 1
ignorehitpause = 1

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

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 1610
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

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

[State 700, 2];無敵の状態を作る
type = NotHitBy
triggerall = name != "A-Yuki"
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 820, 1]
type = ChangeAnim2
triggerall = name != "A-Yuki"
Trigger1 = Time = 0
value = 1611
ignorehitpause = 1

[State 1];カメラ固定
type = screenbound
triggerall = name != "A-Yuki"
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[state a]
type = velset
triggerall = name != "A-Yuki"
trigger1 = animelem = 9
x = 3.5
y = -5
ignorehitpause = 1

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

[State 821, 3] 
type = SelfState
triggerall = name != "A-Yuki"
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 
ignorehitpause = 1
