;-| AIスイッチ (入れてるだけ)|--------------------------------------------------------
[Command]
name = "CPU_01"
command = ~U,U,U,U,U,U,U,U,U,U,x
time = 0

[Command]
name = "CPU_02"
command = ~U,U,U,U,U,U,U,U,U,U,y
time = 0

[Command]
name = "CPU_03"
command = ~U,U,U,U,U,U,U,U,U,U,z
time = 0

[Command]
name = "CPU_04"
command = ~U,U,U,U,U,U,U,U,U,U,a
time = 0

[Command]
name = "CPU_05"
command = ~U,U,U,U,U,U,U,U,U,U,b
time = 0

[Command]
name = "CPU_06"
command = ~U,U,U,U,U,U,U,U,U,U,c
time = 0

[Command]
name = "CPU_07"
command = ~F,F,F,F,F,F,F,F,F,F,x
time = 0

[Command]
name = "CPU_08"
command = ~F,F,F,F,F,F,F,F,F,F,y
time = 0

[Command]
name = "CPU_09"
command = ~F,F,F,F,F,F,F,F,F,F,z
time = 0

[Command]
name = "CPU_10"
command = ~F,F,F,F,F,F,F,F,F,F,a
time = 0

[Command]
name = "CPU_11"
command = ~F,F,F,F,F,F,F,F,F,F,b
time = 0

[Command]
name = "CPU_12"
command = ~F,F,F,F,F,F,F,F,F,F,c
time = 0

[Command]
name = "CPU_13"
command = ~D,D,D,D,D,D,D,D,D,D,x
time = 0

[Command]
name = "CPU_14"
command = ~D,D,D,D,D,D,D,D,D,D,y
time = 0

[Command]
name = "CPU_15"
command = ~D,D,D,D,D,D,D,D,D,D,z
time = 0

[Command]
name = "CPU_16"
command = ~D,D,D,D,D,D,D,D,D,D,a
time = 0

[Command]
name = "CPU_17"
command = ~D,D,D,D,D,D,D,D,D,D,b
time = 0

[Command]
name = "CPU_18"
command = ~D,D,D,D,D,D,D,D,D,D,c
time = 0

[Command]
name = "CPU_19"
command = ~B,B,B,B,B,B,B,B,B,B,x
time = 0

[Command]
name = "CPU_20"
command = ~B,B,B,B,B,B,B,B,B,B,y
time = 0

[Command]
name = "CPU_21"
command = ~B,B,B,B,B,B,B,B,B,B,z
time = 0

[Command]
name = "CPU_22"
command = ~B,B,B,B,B,B,B,B,B,B,a
time = 0

[Command]
name = "CPU_23"
command = ~B,B,B,B,B,B,B,B,B,B,b
time = 0

[Command]
name = "CPU_24"
command = ~B,B,B,B,B,B,B,B,B,B,c
time = 0

[Command]
name = "CPU_25"
command = ~U,x,D,b,B,y,F,a
time = 0

[Command]
name = "CPU_26"
command = ~U,U,U,U,U,U,U,U,U,U,x+y
time = 0

[Command]
name = "CPU_27"
command = ~U,U,U,U,U,U,U,U,U,U,y+z
time = 0

[Command]
name = "CPU_28"
command = ~U,U,U,U,U,U,U,U,U,U,z+x
time = 0

[Command]
name = "CPU_29"
command = ~U,U,U,U,U,U,U,U,U,U,a+b
time = 0

[Command]
name = "CPU_30"
command = ~U,U,U,U,U,U,U,U,U,U,b+c
time = 0

[Command]
name = "CPU_31"
command = ~U,U,U,U,U,U,U,U,U,U,c+a
time = 0

[Command]
name = "CPU_32"
command = ~F,F,F,F,F,F,F,F,F,F,x+y
time = 0

[Command]
name = "CPU_33"
command = ~F,F,F,F,F,F,F,F,F,F,y+z
time = 0

[Command]
name = "CPU_34"
command = ~F,F,F,F,F,F,F,F,F,F,z+x
time = 0

[Command]
name = "CPU_35"
command = ~F,F,F,F,F,F,F,F,F,F,a+b
time = 0

[Command]
name = "CPU_36"
command = ~F,F,F,F,F,F,F,F,F,F,b+c
time = 0

[Command]
name = "CPU_37"
command = ~F,F,F,F,F,F,F,F,F,F,c+a
time = 0

[Command]
name = "CPU_38"
command = ~D,D,D,D,D,D,D,D,D,D,x+y
time = 0

[Command]
name = "CPU_39"
command = ~D,D,D,D,D,D,D,D,D,D,y+z
time = 0
;--------------------------------------------------------
[Command]
name = "1"
command = ~D,F,x
time = 30

[Command]
name = "2"
command = ~D,F,y
time = 30

[Command]
name = "10"
command = ~D,F,c
time = 30

[Command]
name = "3"
command = ~D,F,a
time = 30

[Command]
name = "4"
command = ~D,F,b
time = 30

[Command]
name = "5"
command = ~D,F,z
time = 30

[Command]
name = "6"
command = ~D,B,x
time = 30

[Command]
name = "7"
command = ~D,B,y
time = 30

[Command]
name = "8"
command = ~D,B,z
time = 30

[Command]
name = "9"
command = ~D,B,a
time = 30

[Command]
name = "11"
command = ~D,B,b
time = 30

[Command]
name = "12"
command = ~D,B,c
time = 30

[Command]
name = "13"
command = ~B,F,B,F,x
time = 30

[Command]
name = "14"
command = ~B,F,B,F,y
time = 30

[Command]
name = "15"
command = ~B,F,B,F,a
time = 30

[Command]
name = "16"
command = ~B,F,B,F,b
time = 30

[Command]
name = "17"
command = ~B,F,B,F,z
time = 30

[Command]
name = "18"
command = ~B,F,B,F,c
time = 30

[Command]
name = "19"
command = ~F,B,F,B,z
time = 30

[Command]
name = "20"
command = ~F,B,F,B,c
time = 30

[Command]
name = "21"
command = ~s
time = 30

[Command]
name = "DASH_ATTACK"
command = ~B,DB,D,DF,F, b

[Command]
name = "DASH_ATTACK"
command = ~B,DB,D,DF,F, a
;--------------------------------------------------------
[Command]
name = "死祟"
command = ~D,DF,F, s


[Command]
name = "強御大"
command = ~D,DB,B, y


[Command]
name = "弱御大"
command = ~D,DB,B, x



[Command]
name = "強糺"
command = ~F,DF,D,DB,B,F, b
time = 25

[Command]
name = "弱糺"
command = ~F,DF,D,DB,B,F, a
time = 25


[Command]
name = "火闌降4"
command = ~F,D,z
time = 40

[Command]
name = "火闌降3"
command = ~F,D,b
time = 40

[Command]
name = "火闌降2"
command = ~F,D,y
time = 40

[Command]
name = "火闌降1"
command = ~F,D,a
time = 40

[Command]
name = "火闌降0"
command = ~F,D,x
time = 40


[Command]
name = "強オロチ鏡斜め"
command = ~B,D,DB, y

[Command]
name = "弱オロチ鏡斜め"
command = ~B,D,DB, x


[Command]
name = "オロチ飛び道具"
command = ~D,DF,F, y

[Command]
name = "オロチ飛び道具"
command = ~D,DF,F, x


;-----------------------------------------------------------------------
[Command]
name = "TELEPORT"
command = ~D,D, x

[Command]
name = "TELEPORT"
command = ~D,D, a

[Command]
name = "TELEPORT"
command = ~D,D, y

[Command]
name = "TELEPORT"
command = ~D,D, b

[Command]
name = "TELEPORT"
command = ~D,D, z

[Command]
name = "TELEPORT"
command = ~D,D, c



[Command]
name = "緊急回避前"
command = x+a
time = 1

[Command]
name = "緊急回避前"
command = z
time = 1

[Command]
name = "緊急回避後"
command = /$B,x+a
time = 1

[Command]
name = "緊急回避後"
command = /$B,z
time = 1

;-| ２回押し技 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

[Command]
name = "BB"     
command = B, B
time = 10

;-| ２・３個の同時押し技 |-----------------------------------------------
[Command]
name = "ゲージ溜め発動"
command = z+c
time = 1

[Command]
name = "recovery"
command = x+y
time = 1

[Command]
name = "投げ"
command = y+b
time = 1

[Command]
name = "ふっ飛ばし"
command = c
time = 1

[Command]
name = "MAX"
command = a+y
time = 1

[Command]
name = "ストライカー"
command = a+y
time = 1

[Command]
name = "おしっぱなしx"
command = /$x
time = 1

[Command]
name = "おしっぱなしy"
command = /$y
time = 1

[Command]
name = "おしっぱなしa"
command = /$a
time = 1

[Command]
name = "おしっぱなしb"
command = /$b
time = 1

[Command]
name = "おしっぱなしz"
command = /$z
time = 1

[Command]
name = "おしっぱなしc"
command = /$c
time = 1

;-| 方向とボタンで出す技 |---------------------------------------------------------
[Command]
name = "ローキック"
command = /$F,a
time = 1

[Command]
name = "スライディング"
command = /$DF,a
time = 1

[Command]
name = "夏の思ひで"
command = /$D,b
time = 1


[Command]
name = "氷柱割り"
command = /$F,x
time = 1

[Command]
name = "下段受け"
command = /$DF,a
time = 1

[Command]
name = "上段受け"
command = /$F,a
time = 1

[Command]
name = "避け攻撃"
command = /$B,x
time = 1

[Command]
name = "ダッキング攻撃"
command = /$B,a
time = 1

[Command]
name = "大回転蹴り"
command = /$F,x
time = 1

[Command]
name = "棒高跳び蹴り"
command = /$F,a
time = 1


[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| ボタン設定（いじらない）|---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "BURST"
command = s
time = 1

;-| 押しっぱなし設定（いじらない）-------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup" 
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1


; 下の記述↓は絶対に消さないでください。
[Statedef -1]
;・変数使用
;　1 = キャラクターのモード変更
;　2 = 勝利ポーズ変更
;　3 = クイックMAX判定
;　4 = スロー処理
;　5 = 強弱ボタン判定
;　6 = 通常攻撃ボイス、乱数指定
;　7 = 火闌降コマンド受付判定
;　8 = MAX発動判定
;　9 = MAX発動時のパワーセット(仮)
; 10 = プレイヤーの向き設定
; 11 = MAX発動コマンド判定
; 12 = KOサウンド
; 13 = 火闌降連続ダメージ規制
; 14 = 混ヒットカウント関係
; 15 = ハイジャンプ
; 16 = 小ジャンプ
; 17 = ダメージ補正に使用
; 18 = オロチ火柱回数
; 19 = 背景のフェードイン、フェードアウト
; 20 = MAX超ヒット判定
;
; 30 = AI判定(にしたいな…)



;AI用スイッチ
[State -1, AIflg]
type = VarSet
triggerall = var(30) != 1
trigger1 = command = "CPU_01"
trigger2 = command = "CPU_02"
trigger3 = command = "CPU_03"
trigger4 = command = "CPU_04"
trigger5 = command = "CPU_05"
trigger6 = command = "CPU_06"
trigger7 = command = "CPU_07"
trigger8 = command = "CPU_08"
trigger9 = command = "CPU_09"
trigger10= command = "CPU_10"
trigger11= command = "CPU_11"
trigger12= command = "CPU_12"
trigger13= command = "CPU_13"
trigger14= command = "CPU_14"
trigger15= command = "CPU_15"
trigger16= command = "CPU_16"
trigger17= command = "CPU_17"
trigger18= command = "CPU_18"
trigger19= command = "CPU_19"
trigger20= command = "CPU_20"
trigger21= command = "CPU_21"
trigger22= command = "CPU_22"
trigger23= command = "CPU_23"
trigger24= command = "CPU_24"
trigger25= command = "CPU_25"
trigger26= command = "CPU_26"
trigger27= command = "CPU_27"
trigger28= command = "CPU_28"
trigger29= command = "CPU_29"
trigger30= command = "CPU_30"
trigger31= command = "CPU_31"
trigger32= command = "CPU_32"
trigger33= command = "CPU_33"
trigger34= command = "CPU_34"
trigger35= command = "CPU_35"
trigger36= command = "CPU_36"
trigger37= command = "CPU_37"
trigger38= command = "CPU_38"
trigger39= command = "CPU_39"
v =  30
value = 1

;===========================================================================
[State -1]
type = ChangeState
value = 1050
triggerall = command = "1"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1250
triggerall = command = "2"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 11600
triggerall = command = "3"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 11500
triggerall = command = "4"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 9300
triggerall = command = "5"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1500
triggerall = command = "6"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 22170
triggerall = command = "7"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1070
triggerall = command = "8"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 12300
triggerall = command = "9"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 93000
triggerall = command = "10"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1301
triggerall = command = "11"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1700
triggerall = command = "12"
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 3000
triggerall = statetype != A
triggerall = command = "13"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 3300
triggerall = statetype != A
triggerall = command = "14"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 3400
triggerall = statetype != A
triggerall = command = "15"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 3500
triggerall = statetype != A
triggerall = command = "16"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 9000
triggerall = statetype != A
triggerall = command = "17"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 9100
triggerall = statetype != A
triggerall = command = "18"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 9200
triggerall = statetype != A
triggerall = command = "19"
trigger1 = ctrl

[State -1]
type = ChangeState
value = 9400
triggerall = statetype != A
triggerall = command = "20"
trigger1 = ctrl

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1800
triggerall = command = "TELEPORT"
trigger1 = ctrl
;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 22115
triggerall = command = "x"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 221155
triggerall = command = "y"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1045
triggerall = command = "a"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1025
triggerall = command = "z"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1020
triggerall = command = "b"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1450
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;！？・死祟
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1999
triggerall = command = "死祟"
triggerall = statetype != A
triggerall = var(1) = 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------
;強？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1251
triggerall = command = "強オロチ鏡斜め"
triggerall = numhelper(1050) = 0
triggerall = enemy,stateno != 1205
triggerall = var(1) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------
;弱？？？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1250
triggerall = command = "弱オロチ鏡斜め"
triggerall = numhelper(1050) = 0
triggerall = var(1) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;？
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1050
triggerall = command = "オロチ飛び道具"
triggerall = numhelper(1050) = 0
triggerall = enemy,stateno != 1205
triggerall = var(1) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = command = "21"
trigger1 = ctrl
;---------------------------------------------------------------------------
;緊急回避後
[State -1, Taunt]
type = null;ChangeState
value = 701
triggerall = command = "緊急回避後"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;ガードキャンセル緊急回避後
[State -1, 701]
type = null;ChangeState
value = 701
triggerall = command = "緊急回避後"
triggerall = power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
;---------------------------------------------------------------------------
;ガードキャンセルフロントステップ
[State -1, 700]
type = ChangeState
value = 100
triggerall = command = "FF"
triggerall = power >= 500
trigger1 = stateno = 150
trigger2 = stateno = 151
;---------------------------------------------------------------------------
;ACタクティカルステップ
[State -1, 700]
type = ChangeState
value = 700
triggerall = command = "緊急回避前"
triggerall = power >= 1000
trigger1 = stateno = [200,249]
;---------------------------------------------------------------------------
;ダウン回避
[State -1, Taunt]
type = ChangeState
value = 702
triggerall = command = "緊急回避前"
trigger1 = stateno = 5050
trigger1 = pos y >=-40
;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl


;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;近距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0
;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0


;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
