;-| ボタンリマップ（ボタンコンフィグ）|---------------------------------------- 第１部

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
s = s      ;スタートボタン　　　　　　〃

;------------------------------------------------------------------------------
; 例えば「本来Ｘボタンで出す弱パンチをＢボタンに変えたい場合」なら、
;
; x = b
;
; で簡単に出来る。使わないボタンを使っているボタンに割り当てる事も可能。

;==========================================================================
;コマンド関連ファイル
;0805現在　AI以外のコマンド数約40
;==========================================================================
;AI用コマンド
[Command] 
name = "AI0" 
command = x,x,x,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 
[Command] 
name = "AI1" 
command = x,x,x,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b 
time = 0 
[Command] 
name = "AI2" 
command = x,x,x,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c 
time = 0 
[Command] 
name = "AI3" 
command = x,x,x,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b,b 
time = 0 
[Command] 
name = "AI4" 
command = x,x,x,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c,c 
time = 0 
[Command] 
name = "AI5" 
command = x,x,x,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a,a 
time = 0 
[Command] 
name = "AI6" 
command = x,x,x,a,a,a,a,a,a,a,a,a,a,a,a,c,c,b,b 
time = 0 
[Command] 
name = "AI7" 
command = x,x,x,b,b,b,b,b,b,b,b,b,b,b,b,a,a,c,c 
time = 0 
[Command] 
name = "AI8" 
command = x,x,x,c,c,c,c,c,c,c,c,c,c,c,c,b,b,a,a 
time = 0 
[Command] 
name = "AI9" 
command = x,x,x,a,a,a,a,a,a,a,a,a,a,a,a,a,b,a,c 
time = 0 
[Command] 
name = "AI10" 
command = y,y,y,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 
[Command] 
name = "AI11" 
command = y,y,y,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b 
time = 0 
[Command] 
name = "AI12" 
command = y,y,y,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c 
time = 0 
[Command] 
name = "AI13" 
command = y,y,y,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b,b 
time = 0 
[Command] 
name = "AI14" 
command = y,y,y,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c,c 
time = 0 
[Command] 
name = "AI15" 
command = y,y,y,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a,a 
time = 0 
[Command] 
name = "AI16" 
command = y,y,y,a,a,a,a,a,a,a,a,a,a,a,a,c,c,b,b 
time = 0 
[Command] 
name = "AI17" 
command = y,y,y,b,b,b,b,b,b,b,b,b,b,b,b,a,a,c,c 
time = 0 
[Command] 
name = "AI18" 
command = y,y,y,c,c,c,c,c,c,c,c,c,c,c,c,b,b,a,a 
time = 0 
[Command] 
name = "AI19" 
command = y,y,y,a,a,a,a,a,a,a,a,a,a,a,a,a,b,a,c 
time = 0 
[Command] 
name = "AI20" 
command = z,z,z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 
[Command] 
name = "AI21" 
command = z,z,z,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b 
time = 0 
[Command] 
name = "AI22" 
command = z,z,z,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c 
time = 0 
[Command] 
name = "AI23" 
command = z,z,z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b,b 
time = 0 
[Command] 
name = "AI24" 
command = z,z,z,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c,c 
time = 0 
[Command] 
name = "AI25" 
command = z,z,z,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a,a 
time = 0 
[Command] 
name = "AI26" 
command = z,z,z,a,a,a,a,a,a,a,a,a,a,a,a,c,c,b,b 
time = 0 
[Command] 
name = "AI27" 
command = z,z,z,b,b,b,b,b,b,b,b,b,b,b,b,a,a,c,c 
time = 0 
[Command] 
name = "AI28" 
command = z,z,z,c,c,c,c,c,c,c,c,c,c,c,c,b,b,a,a 
time = 0 
[Command] 
name = "AI29" 
command = z,z,z,a,a,a,a,a,a,a,a,a,a,a,a,a,b,a,c 
time = 0 
[Command] 
name = "AI30" 
command = x,y,z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 
[Command] 
name = "AI31" 
command = x,y,z,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b 
time = 0 
[Command] 
name = "AI32" 
command = x,y,z,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c 
time = 0 
[Command] 
name = "AI33" 
command = x,y,z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b,b 
time = 0 
[Command] 
name = "AI34" 
command = x,y,z,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c,c 
time = 0 
[Command] 
name = "AI35" 
command = x,y,z,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a,a 
time = 0 
[Command] 
name = "AI36" 
command = x,y,z,a,a,a,a,a,a,a,a,a,a,a,a,c,c,b,b 
time = 0 
[Command] 
name = "AI37" 
command = x,y,z,b,b,b,b,b,b,b,b,b,b,b,b,a,a,c,c 
time = 0 
[Command] 
name = "AI38" 
command = x,y,z,c,c,c,c,c,c,c,c,c,c,c,c,b,b,a,a 
time = 0 
[Command] 
name = "AI39" 
command = x,y,z,a,a,a,a,a,a,a,a,a,a,a,a,a,b,a,c 
time = 0 
[Command] 
name = "AI40" 
command = y,z,x,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 
[Command] 
name = "AI41" 
command = y,z,x,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b 
time = 0 
[Command] 
name = "AI42" 
command = y,z,x,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c 
time = 0 
[Command] 
name = "AI43" 
command = y,z,x,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b,b 
time = 0 
[Command] 
name = "AI44" 
command = y,z,x,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c,c 
time = 0 
[Command] 
name = "AI45" 
command = y,z,x,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a,a 
time = 0 
[Command] 
name = "AI46" 
command = y,z,x,a,a,a,a,a,a,a,a,a,a,a,a,c,c,b,b 
time = 0 
[Command] 
name = "AI47" 
command = y,z,x,b,b,b,b,b,b,b,b,b,b,b,b,a,a,c,c 
time = 0 
[Command] 
name = "AI48" 
command = y,z,x,c,c,c,c,c,c,c,c,c,c,c,c,b,b,a,a 
time = 0 
[Command] 
name = "AI49" 
command = y,z,x,a,a,a,a,a,a,a,a,a,a,a,a,a,b,a,c 
time = 0 
[Command] 
name = "AI50" 
command = z,x,y,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a 
time = 0 

;-----超必殺-----------------------------------------------------------------
[Command]
name = "狂いの落葉"
;command = z
command = D, DF, F,D, DF, F, a
time = 35

[Command]
name = "嵐といふらむ"
command = D, DF, F,D, DF, F, b
time = 35

[Command]
name = "神のまにまにa"
command = F, DF, D, DB, B, F, a
time = 35

[Command]
name = "神のまにまにb"
command = F, DF, D, DB, B, F, b
time = 35
;------------------------------------------------------------
[Command]
name = "雁行"
command = D, DF, F, a
time = 30

[Command]
name = "雁行b"
command = D, DF, F, b
time = 30

[Command]
name = "千秋楽"
command = a+b
;command = y
time = 30

[Command]
name = "晴鶴"
command = F, D, DF, a
;command = y
time = 30

[Command]
name = "晴鶴b"
command = F, D, DF, b
time = 30

[Command]
name = "群燕"
command = D, DB, B, a
time = 30

[Command]
name = "群燕b"
command = D, DB, B, b
;command = y
time = 30

[Command]
name = "白楊"
command = B, D, DB, b
;command = y
time = 30

[Command]
name = "紅十字"
command = D, DB, B, c
;command = y
time = 30

[Command]
name = "コマンドダッシュ前"
command = /z,F
time = 1

[Command]
name = "コマンドダッシュ後ろ"
command = /z,B
time = 1

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF";Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB2"
command = /x, B, B
time = 10

[Command]
name = "BB";Required (do not remove)
command = B, B
time = 10

[Command]
name = "high jump"
command = D, U
time = 30

[Command]
name = "kouyoujin"
command = D, D, a,
time = 40

[Command]
name = "白秋"
command = D, D, b,
time = 40

[Command]
name = "枯れ薄、弾幕Ⅱ"
command = D, D, c,
time = 40

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = a+b

[Command]
Name    = "recovery"
Command = a+c
Time    = 1

[Command]
Name    = "recovery"
Command = a+x
Time    = 1

[Command]
Name    = "recovery"
Command = b+c
Time    = 1

[Command]
Name    = "recovery"
Command = b+x
Time    = 1

[Command]
Name    = "recovery"
Command = c+x
Time    = 1
time = 1

[Command]
Name    = "recovery"
Command = x+z
Time    = 1

[Command]
Name    = "recovery"
Command = y+z
Time    = 1

;-| Dir + Button |---------------------------------------------------------
;前＋ボタン
[Command]
name = "fwd_a"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

;しゃがみ攻撃
[Command]
name = "down_a"
command = /$D,a
time = 1

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

[Command]
name = "down_c"
command = /$D,c
time = 1

[Command]
name = "back_x"
command = /$B,x
time = 1

;-| 攻撃ボタン押しっぱなし |-----------------------------------------------
[Command]
name = "/x"
command = /x
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 = "+b"
;command = ~30b
;time = 1
;-| Single Button |---------------------------------------------------------
[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 = "s"
command = s
time = 1

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

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup";Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]


;===========================================================================
;コマンド実行部分（優先順位が高いものを先に表記）
;===========================================================================
;AI用
[State -1, AI]
type = Varset
triggerall = Var(59) = 0
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = command = "AI25"
trigger26 = command = "AI26"
trigger27 = command = "AI27"
trigger28 = command = "AI28"
trigger29 = command = "AI29"
trigger30 = command = "AI30"
trigger31 = command = "AI31"
trigger32 = command = "AI32"
trigger33 = command = "AI33"
trigger34 = command = "AI34"
trigger35 = command = "AI35"
trigger36 = command = "AI36"
trigger37 = command = "AI37"
trigger38 = command = "AI38"
trigger39 = command = "AI39"
trigger40 = command = "AI40"
trigger41 = command = "AI41"
trigger42 = command = "AI42"
trigger43 = command = "AI43"
trigger44 = command = "AI44"
trigger45 = command = "AI45"
trigger46 = command = "AI46"
trigger47 = command = "AI47"
trigger48 = command = "AI48"
trigger49 = command = "AI49"
trigger50 = command = "AI50"
trigger51 = command = "AI0"
v = 59
value = 1
;===================================================================
超必殺技
;===================================================================
;狂いの落葉
[State -1]
type = ChangeState
value = 2000
TriggerAll	= Var(59) = 0
triggerall = power >= 1000
triggerall = command = "狂いの落葉"
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = Stateno = 790
Trigger2 = (AnimElem = 4) || (movecontact)
;-------------------------------------------------------------------
;嵐といふらむ
[State -1]
type = ChangeState
value = 2600
TriggerAll	= Var(59) = 0
triggerall = power >= 1000
triggerall = command = "嵐といふらむ"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 970
trigger2 = Time >= 32
;---------------------------------------------------------------------------
;神のまにまにa
[State -1]
type = ChangeState
value = 2099
TriggerAll	= Var(59) = 0
triggerall = power >= 1000
triggerall = NumHelper(2100) = 0
triggerall = command = "神のまにまにa"
trigger1 = statetype = S
trigger1 = ctrl = 1
;----------------------------------------------------------------
;神のまにまにb
[State -1]
type = ChangeState
value = 2098
TriggerAll	= Var(59) = 0
triggerall = power >= 1000
triggerall = NumHelper(2100) = 0
triggerall = command = "神のまにまにb"
trigger1 = statetype = S
trigger1 = ctrl = 1
;-----------------------------------------------------------------
;===========================================================================
;　必殺技
;===========================================================================
;晴鶴　対空
[State -1]
type = ChangeState
value = 840
TriggerAll	= Var(59) = 0
triggerall = NumHelper(2300) = 0
triggerall = command = "晴鶴"
Triggerall = var(7) <= 3
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
Trigger4 = stateno = 880
Trigger4 = Movecontact
Trigger4 = Time = [24,44]
;----------------------------------------------------------------
;晴鶴ｂ　対空
[State -1]
type = ChangeState
value = 845
TriggerAll	= Var(59) = 0
triggerall = NumHelper(2300) = 0
triggerall = command = "晴鶴b"
Triggerall = var(7) <= 3
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
Trigger4 = stateno = 880
Trigger4 = Movecontact
Trigger4 = Time = [24,44]
;----------------------------------------------------------------
;雁行a
[State -1]
type = ChangeState
value = 820
TriggerAll	= Var(59) = 0
triggerall = command = "雁行"
triggerall = var(34) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200 ;a
trigger2 = movecontact
;----------------------------------------------------------------
;雁行b 
[State -1]
type = ChangeState
value = 823
TriggerAll	= Var(59) = 0
triggerall = command = "雁行b"
triggerall = var(34) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
;----------------------------------------------------------------
;白楊
[State -1]
type = ChangeState
value = 880
TriggerAll	= Var(59) = 0
triggerall = command = "白楊"
Triggerall = var(7) <= 3
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 204
trigger4 = movecontact
;----------------------------------------------------------------
;随嵐
[State -1]
type = ChangeState
value = 870
TriggerAll	= Var(59) = 0
triggerall = command = "晴鶴"
Triggerall = var(7) <= 3
Triggerall = Stateno != 870
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = Vel X  >= 0
trigger2 = (stateno = 600) || (stateno = 810) || (stateno = 640)
trigger2 = movecontact
trigger3 = stateno = 842
trigger3 = movecontact
Trigger3 = Time = [15,20]
;-----------------------------------------------------------------
;紅十字
[State -1]
type = ChangeState
value = 1400
Triggerall = var(7) <= 3
TriggerAll	= Var(59) = 0
triggerall = command = "紅十字"
triggerall = var(50) >= 36
Triggerall = Pos Y <= -20
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = (stateno = 842) || (stateno = 847)
trigger3 = movecontact
Trigger3 = Time = [15,20]
;-----------------------------------------------------------------
;群燕
[State -1]
type = ChangeState
value = 810
Triggerall = var(7) <= 3
TriggerAll	= Var(59) = 0
triggerall = var(1) < 2
triggerall = command = "群燕"
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 842
trigger3 = movecontact
Trigger3 = Time = [15,20]
trigger4 = stateno = 847
trigger4 = movecontact
Trigger4 = Time = [15,20]
;----------------------------------------------------------------
;群燕b
[State -1]
type = ChangeState
value = 811
Triggerall = var(7) <= 3
TriggerAll	= Var(59) = 0
triggerall = var(1) < 2
triggerall = command = "群燕b"
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact
;-----------------------------------------------------------------
;巴投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 910
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
;----------------------------------------------------------------
;白秋
[State -1]
type = ChangeState
value = 790
TriggerAll	= Var(59) = 0
Triggerall = var(7) <= 3
triggerall = statetype != A
triggerall = command = "白秋"
trigger1 = ctrl
trigger2 = (stateno = 201) ||(stateno = 203) ||(stateno = 204)
trigger2 = movecontact
Trigger3 = stateno = 880
Trigger3 = Movecontact
Trigger3 = Time = [24,44]
;-------------------------------------------------------------
;ダッキングからの突き上げ
[State -1]
type = ChangeState
value = 752
TriggerAll	= Var(59) = 0
Trigger1 = command = "recovery"
trigger1 = stateno = 751
;-------------------------------------------------------------
;千秋楽
[State -1]
type = ChangeState
value = 720
TriggerAll	= Var(59) = 0
triggerall = statetype = S
Triggerall = fvar(1) >= 0.7
trigger1 = command = "fwd_a"
trigger1 = command != "holddown"
Trigger1 = fvar(1) < 1
trigger1 = ctrl = 1
Trigger2 = command = "千秋楽"
trigger2 = (ctrl = 1) || (stateno = 200) || (StateNo = 100) || (stateno = 240) || (stateno = 270)
;----------------------------------------------------------------
;紅葉陣
[State -1]
type = ChangeState
value = 1100
TriggerAll	= Var(59) = 0
triggerall = command = "kouyoujin"
triggerall = var(34) = 0
triggerall = var(50) >= 36
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
;-----------------------------------------------------------------
;弾幕Ⅱ
[State -1]
type = ChangeState
value = 1300
TriggerAll	= Var(59) = 0
triggerall = command = "枯れ薄、弾幕Ⅱ"
triggerall = var(34) = 0
triggerall = var(50) >= 36
triggerall = statetype = A
trigger1 = ctrl
;-------------------------------------------------------------
;枯れ薄
[State -1]
type = ChangeState
value = 970
TriggerAll	= Var(59) = 0
triggerall = command = "枯れ薄、弾幕Ⅱ"
triggerall = var(34) = 0
triggerall = var(50) >= 36
triggerall = statetype != A
triggerall = NumProjID(2490) = 0
trigger1 = ctrl
;===========================================================================
;　通常技：左右キー入力
;===========================================================================
;しゃがみ後ろｂ
[State -1]
type = ChangeState
value = 470
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = command = "holdback"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
;-------------------------------------------------------------
;横+パンチ　ストレート
[State -1]
type = ChangeState
value = 210
TriggerAll	= Var(59) = 0
triggerall = command = "fwd_a"
triggerall = statetype = S
trigger1 = ctrl = 1
trigger2 = (stateno = 200) || (StateNo = 100) || (stateno = 240)
trigger2 = movecontact
Trigger3 = (StateNo = 100) || (Stateno = 102)
;-------------------------------------------------------------
;ニールキック　一部技の後の繋がりはこちらになる。コンボ用
[State -1]
type = ChangeState
value = 700
TriggerAll	= Var(59) = 0
triggerall = command = "fwd_b"
triggerall = command != "holddown"
Triggerall = Stateno != 700
Triggerall = PrevStateno != 700 
;trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 203 && Time = [7,14]
trigger3 = stateno = 240 && Time >= 15
;-------------------------------------------------------------
;横＋キック　踵落とし　現在未実装
[State -1]
type = ChangeState
value = 700
TriggerAll	= Var(59) = 0
triggerall = command = "fwd_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 270
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
;-------------------------------------------------------------
;横＋ｃ　紅葉胡蝶弾
[State -1]
type = ChangeState
value = 1010
TriggerAll	= Var(59) = 0
triggerall = command = "fwd_c"
triggerall = command != "holddown"
triggerall = NumHelper(22461) = 0
triggerall = var(34) = 0
triggerall = var(50) >= 27
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger3 = stateno = 270
trigger3 = movecontact
;-------------------------------------------------------------
;屈→c
[State -1]
type = ChangeState
value = 1020
TriggerAll	= Var(59) = 0
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = statetype = C
triggerall = var(34) = 0
triggerall = var(50) >= 27
triggerall = NumHelper(22461) = 0
trigger1 = ctrl
;===========================================================================
;　通常技：上下キー入力
;===========================================================================
;-------------------------------------------------------------
;キック　チェーン」1-②スライディング/ダッシュ↓キック
[State -1]
type = ChangeState
value = 206
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = stateno = 204
trigger1 = movecontact
trigger2 =stateno =100
;-------------------------------------------------------------
;空中↓ｂ
[State -1]
type = ChangeState
value = 670
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 810
Trigger2 = Time >= 11
;-------------------------------------------------------------
;ジャンプ↓c
[State -1]
type = ChangeState
value = 1205
TriggerAll	= Var(59) = 0
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype = A
triggerall = var(34) = 0
triggerall = var(50) >= 27
trigger1 = ctrl
;===========================================================================
;基本動作
;===========================================================================
;飛翔　前・上
[State -1]
type = changestate
value = 80
Triggerall = command = "holdfwd"
Triggerall = command = "holdup"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　前・下
[State -1]
type = changestate
value = 81
Triggerall = command = "holdfwd"
Triggerall = command = "holddown"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　後・上
[State -1]
type = changestate
value = 82
Triggerall = command = "holdback"
Triggerall = command = "holdup"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　後・下
[State -1]
type = changestate
value = 83
Triggerall = command = "holdback"
Triggerall = command = "holddown"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　前
[State -1]
type = changestate
value = 76
Triggerall = statetype = A
Triggerall = command = "holdfwd"
Triggerall = command = "/x"
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　後
[State -1]
type = changestate
value = 77
Triggerall = command = "holdback"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　上
[State -1]
type = changestate
value = 78
Triggerall = command = "holdup"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;飛翔　下
[State -1]
type = changestate
value = 79
Triggerall = command = "holddown"
Triggerall = command = "/x"
Triggerall = statetype = A
triggerall = var(50) >= 18
triggerall = var(1) < 3
Triggerall = PrevStateno != [105,109]
triggerall = stateno != [105,109]
Trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;ダッキング
[State -1]
type = ChangeState
value = 103
TriggerAll	= Var(59) = 0
triggerall = command = "FF"
triggerall = command = "/x"
triggerall = statetype = S
trigger1 = stateno = 305
trigger2 = ctrl 
;---------------------------------------------------------------------------
;ダッキング:その場
[State -1]
type = ChangeState
value = 102
TriggerAll	= Var(59) = 0
triggerall = command = "holddown"
triggerall = command = "/x"
triggerall = statetype = S
trigger1 = stateno = 305
trigger2 = ctrl 
;---------------------------------------------------------------------------
;前方ダッシュ
[State -1]
type = ChangeState
value = 100
TriggerAll	= Var(59) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;大バックステップ
[State -1]
type = ChangeState
value = 107
TriggerAll	= Var(59) = 0
triggerall = command = "BB"
triggerall = command = "/x"
triggerall = statetype = S
trigger1 = stateno = 305
trigger2 = ctrl 
;---------------------------------------------------------------------------
;バックステップ
[State -1]
type = ChangeState
value = 105
TriggerAll	= Var(59) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = command = "狂いの落葉"
Trigger2 = Stateno = 790
Trigger2 = (AnimElem = 4) || (movecontact)
Trigger2 = power <= 1000
;---------------------------------------------------------------------------
;空中ダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 110
TriggerAll	= Var(59) = 0
triggerall = var(1) < 2
triggerall = Pos Y <= -30
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115
;---------------------------------------------------------------------------
;空中バックダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 115
TriggerAll	= Var(59) = 0
triggerall = var(1) < 2
triggerall = Pos Y <= -30
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115
;---------------------------------------------------------------------------
;ガード反撃
[State -1]
type = ChangeState
value = 8000
TriggerAll = command = "x"
TriggerAll = Statetype = S
Trigger1 = (StateNo = 151) || (StateNo = 153)
triggerall = power >= 800
;----------------------------------------------------------------------------
;===========================================================================
;　通常技：単発ボタン
;===========================================================================
;---------------------------------------------
;キック　チェーン」2-②吹き飛ばし前蹴り
[State -1]
type = ChangeState
value = 205
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = stateno = 204
trigger1 = movecontact
;---------------------------------------------
;キック　チェーン2-①蹴込み
[State -1]
type = ChangeState
value = 204
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = movecontact
;---------------------------------------------
;パンチ　チェーン1-③　
[State -1]
type = ChangeState
value = 202
TriggerAll	= Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 203
trigger1 = movecontact
;---------------------------------------------
;パンチ　チェーン1-③　
[State -1]
type = ChangeState
value = 203
TriggerAll	= Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = movecontact
;---------------------------------------------
;パンチ　チェーン1-①　
[State -1]
type = ChangeState
value = 201
TriggerAll	= Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 200
trigger1 = movecontact
;---------------------------------------------
;パンチ　ジャブ
[State -1]
type = ChangeState
value = 200
TriggerAll	= Var(59) = 0
triggerall = command = "a"
trigger1 = statetype = S
trigger1 = command != "holddown"
trigger1 = ctrl = 1
trigger2 = stateno = 102
trigger2 = Time >= 4
;-------------------------------------------------------------
;キック　蹴込み
[State -1]
type = ChangeState
value = 240
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = (stateno = 200) || (StateNo = 250) ;250踵落し未実装
trigger2 = movecontact
Trigger3 = (StateNo = 100) || (StateNo = 101)
;-----------------------------------------------------------------
;ｃ　紅葉蝶弾
[State -1]
type = ChangeState
value = 1005
TriggerAll	= Var(59) = 0
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = NumHelper(21005) = 0
triggerall = var(34) = 0
triggerall = var(50) >= 18
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
Trigger3 = Stateno = 880
Trigger3 = Time = [24,44]
;-------------------------------------------------------------------
;しゃがみパンチ
[State -1]
type = ChangeState
value = 400
TriggerAll	= Var(59) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
Trigger4 = StateNo = 400
trigger4 = Time >= 10
;---------------------------------------------------------------------
;しゃがみキック
[State -1]
type = ChangeState
value = 440
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
;-------------------------------------------------------------
;屈c
[State -1]
type = ChangeState
value = 1015
TriggerAll	= Var(59) = 0
triggerall = command = "c"
triggerall = statetype = C
triggerall = NumHelper(22459) = 0
triggerall = var(34) = 0
triggerall = var(50) >= 18
trigger1 = ctrl
;---------------------------------------------------------------------------
;ジャンプa
[State -1]
type = ChangeState
value = 600
TriggerAll	= Var(59) = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = Time >= 7
;-----------------------------------------------------------------
;ジャンプc
[State -1]
type = ChangeState
value = 1200
TriggerAll	= Var(59) = 0
triggerall = command = "c"
triggerall = statetype = A
triggerall = NumHelper(22459) = 0
triggerall = var(34) = 0
triggerall = var(50) >= 18
trigger1 = ctrl
;-----------------------------------------------------------------
;ジャンプキック
[State -1]
type = ChangeState
value = 640
TriggerAll	= Var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
;----------------------------------------------------------------
挑発

[State -1]
type = ChangeState
value = 195
TriggerAll	= Var(59) = 0
triggerall = command = "s"
triggerall = statetype = S
trigger1 = ctrl
;現在製作中。
;[State -1]
;type = ChangeState
;value = 1600
;TriggerAll	= Var(59) = 0
;triggerall = command = "s"
;Triggerall = NumHelper(11600) = 0
;triggerall = statetype = S
;triggerall = var(50) >= 50
;trigger1 = ctrl

;[State -1]
;type = ChangeState
;value = 1601
;TriggerAll	= Var(59) = 0
;triggerall = command = "s"
;Triggerall = NumHelper(11600) != 0
;triggerall = statetype = S
;triggerall = var(50) >= 50
;trigger1 = ctrl

;[State -1]
;type = ChangeState
;value = 1600
;TriggerAll	= Var(59) = 0
;triggerall = command = "s"
;Triggerall = NumHelper(11600) = 0
;triggerall = statetype = A
;triggerall = var(50) >= 50
;trigger1 = ctrl

;[State -1]
;type = ChangeState
;value = 1601
;TriggerAll	= Var(59) = 0
;triggerall = command = "s"
;Triggerall = NumHelper(11600) != 0
;triggerall = statetype = A
;triggerall = var(50) >= 50
;trigger1 = ctrl