;コマンドファイル

;-| 基本コンセプト |-----------------------------------------------------
;咲夜をカスタマイズするに当たっての基本方針は、
;
;１、(OSでは削除)
;２、咲夜の動作画像を全て使い、その動作は原作の表示フレーム数を再現すること。
;　　フレーム数を変える場合はAIRファイルに本来のフレーム数のアニメを残すこと。
;３、エフェクト等を簡略化して質素・軽快にすること。
;４、NAOKの発展型として自分にとっての手本となるように
;　　新たな記述・方法を多く取り入れ、使い方を理解すること。
;
;以上のようになっています。
;
;commonが変えられていないのは１のため、技が少ないのは２で同じ動作の攻撃を省いたため、
;大部分のエフェクトが無いのは１と３のため、各項目の効果や効能が意味不明なのは４のためです。
;
;カンフーマンはMUGENの神。

;-| 標準化 |-------------------------------------------------------
[Defaults]
; Timeを記述しなかった場合、以下の値が参照されます。最小値は1です。
Command.Time = 15

; buffer.Timeの値です。1〜30まで設定できます。
; 普通は1です。
Command.buffer.Time = 1

;-| CPUアルゴリズム用コマンド |------------------------------
;CPUアルゴリズムを使う際に便利な記述です。
;AIを使わないなら必要ありません。


[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,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,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0




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

[Command]
Name = "421_y"
Command = ~B, D, DB, y

[Command]
Name = "623_y"
Command = ~F, D, DF, y

[Command]
Name = "623_a"
Command = ~F, D, DF, a

[Command]
Name = "623_b"
Command = ~F, D, DF, b

[Command]
Name = "236_y"
Command = ~D, DF, F, y

[Command]
Name = "236_a"
Command = ~D, DF, F, a

[Command]
Name = "236_b"
Command = ~D, DF, F, b

[Command]
name = "41236_c"
command = ~B, DB, D, DF, F, c

[Command]
Name = "236_c"
Command = ~D, DF, F, c

[Command]
Name = "214_a"
Command = ~D, DB, B, a

[Command]
Name = "214_b"
Command = ~D, DB, B, b

[Command]
Name = "214_y"
Command = ~D, DB, B, y

[Command]
Name = "214_x"
Command = ~D, DB, B, x

[Command]
Name = "214_c"
Command = ~D, DB, B, c

[Command]
Name = "22_y"
Command = ~D, D, y

[Command]
Name = "jump"    
Command = ~$D,$U
Time = 10

[Command]
Name = "jump"    
Command = /z,U
Time = 10

[command]
name="fwd"
command=F
time=1
[command]
name="back"
command=B
time=1
[command]
name="up"
command=U
time=1
[command]
name="down"
command=D
time=1

;-| 2回押し |-----------------------------------------------------------
[Command]
Name = "FF"     ;消さないように
Command = F, F
Time = 10

[Command]
Name = "FF"     ;消さないように
Command = /z, F
Time = 10

[Command]
Name = "BB"     ;消さなくて良い
Command = B, B
Time = 10

[Command]
Name = "BB"     ;消さなくて良い
Command = /z, B
Time = 10

;-| 2,3ボタン同時押し |-----------------------------------------------

[Command]
Name = "recovery" ;消さないこと
Command = /B,a

[Command]
name = "ab"
command = a+b
time = 1

[Command]
Name = "recovery" ;消さないこと
Command = /B,b

[Command]
Name = "recovery" ;消さないこと
Command = /B,c

[Command]
Name = "recovery" ;消さないこと
Command = /B,z

[Command]
Name = "recovery" ;消さないこと
Command = /a,B

[Command]
Name = "recovery" ;消さないこと
Command = /b,B

[Command]
Name = "recovery" ;消さないこと
Command = /c,B

[Command]
Name = "recovery" ;消さないこと
Command = /z,B

;-| 方向とボタン |---------------------------------------------------------
[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 = "start"
Command = s
Time = 1

;-| 押しっぱなし |--------------------------------------------------------------
[Command]
Name = "holdfwddown";Required (do Not reMove)
Command = /$DF
Time = 1

[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

[Command]
Name = "holdfwdup"
Command = /$UF
Time = 1

[Command]
Name = "hold_x"
Command = /x
Time = 1

[Command]
Name = "hold_a"
Command = /a
Time = 1

[Command]
Name = "hold_y"
Command = /y
Time = 1

[Command]
Name = "hold_b"
Command = /b
Time = 1

[Command]
Name = "hold_z"
Command = /z
Time = 1

[Command]
Name    = "holdz"
Command = /$z
Time    = 1

[Command]
Name = "hold_c"
Command = /c
Time = 1

[Command]
Name = "U"
Command = U
Time = 1

[Command]
Name = "D"
Command = D
Time = 1

[Statedef -1] ;必須記述

[State -1, 213213]
Type = ChangeState
Value = 3400
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "421_y"
TriggerAll = Power >= 1000
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, 213213]
Type = ChangeState
Value = 3100
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "623_y"
TriggerAll = Power >= 1000
TriggerAll = var(39) = 0
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, 213213]
Type = ChangeState
Value = 3105
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "623_y"
TriggerAll = Power >= 1000
TriggerAll = var(39) = 1
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, Jump Light Punch]
type = null;ChangeState
value = 3200
TriggerAll = var(59)=0
triggerall = command = "236_y"
TriggerAll = Power >= 1000
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl
Trigger2 = StateNo = [400,405]
Trigger2 = MoveContact

[State -1, 213213]
Type = ChangeState
Value = 3530
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236_y"
TriggerAll = Power >= 2000
TriggerAll = var(39) = 0
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, 213213]
Type = ChangeState
Value = 3500
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214_y"
TriggerAll = Power >= 2000
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, 213213]
Type = ChangeState
Value = 3300
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "22_y"
TriggerAll = Power >= 2000
triggerall = var(6) >= 1
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "623_b"
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1020;6080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "41236_a"
triggerall = var(6) >= 1
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1000
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236_a" 
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1050
TriggerAll = var(59)=0
triggerall = statetype = A
triggerall = command = "236_a" 
triggerall = stateno !=[100,105]
triggerall = var(6) >= 1
trigger1 = ctrl
Trigger2 = StateNo = [200,405]
Trigger2 = MoveContact
Trigger3 = StateNo = [225,226]
Trigger3 = Time >= 16

[State -1]
type = null;ChangeState
value = 1010;6080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "214_a"
triggerall = numhelper(1011) = 0
trigger1 = ctrl

[State -1]
type = ChangeState
value = 1075
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "41236_c"
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1070
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236_c"
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1]
type = ChangeState
value = 1040;6080
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "236_b"
triggerall = var(6) >= 1
trigger1 = ((stateno = [210,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 20

[State -1]
type = ChangeState
value = 1030
TriggerAll = var(59)=0
triggerall = command = "214_b"
trigger1 = ((stateno = [210,405]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 20
Trigger5 = StateNo = [225,226]
Trigger5 = Time >= 16

[State -1]
type = ChangeState
value = 1090
TriggerAll = var(59)=0
triggerall = command = "214_c"
triggerall = stateno != 1092
trigger1 = ((stateno = [210,405]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger2 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)
trigger3 = ctrl
Trigger4 = StateNo = [220,222]
Trigger4 = Time >= 22

[State -1, Teleport]
type = ChangeState
value = 1060
triggerall = command = "ab"
TriggerAll = var(59)=0
TriggerAll = alive
trigger1 = var(6) >= 1
trigger1 = ctrl = 1
Trigger2 = prevstateno = [5000,5110]
trigger2 = time != 0
trigger2 = var(6) >= 5
Trigger3 = StateNo = [220,222]
Trigger3 = Time >= 22
Trigger4 = prevstateno = [120,155]
trigger4 = time != 0
trigger4 = var(6) >= 5

[State -1, Throw]
type = ChangeState
value = 800
TriggerAll = var(59)=0
triggerall = command = "b"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = p2bodydist X < 20
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl

[State -1]
type = ChangeState
value = 230
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "b" && command != "holddown" && command = "holdfwd"
trigger1 = ctrl  
trigger2 = ((stateno = [200,215]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 215
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "a" && command != "holddown" && command = "holdfwd"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1, Jump Light Punch]
type = ChangeState
value = 226
TriggerAll = var(59)=0
triggerall = command = "c" && command = "holddown"
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl
Trigger2 = StateNo = [400,405]
Trigger2 = MoveContact

[State -1, Jump Light Punch]
type = ChangeState
value = 225
TriggerAll = var(59)=0
triggerall = command = "c" && command != "holddown"
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl
Trigger2 = StateNo = [400,405]
Trigger2 = MoveContact

[State -1]
type = ChangeState
value = 220
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "c"
trigger1 = ctrl  
trigger2 = ((stateno = [200,230]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 222
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "c"  
Trigger1 = StateNo = 220
Trigger1 = Time >= 22


[State -1]
type = ChangeState
value = 200
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "a" && command != "holddown"
trigger1 = ctrl 
trigger2 = (stateno = 200) && (movecontact || animelemtime(3) > 2)
trigger3 = (stateno = 300) && (movecontact || animelemtime(3) > 2)

;5B
[State -1]
type = ChangeState
value = 210
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "b" && command != "holddown"
trigger1 = ctrl  
trigger2 = ((stateno = [200,210]) && movecontact) || ((stateno = 300) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 300
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "a" && command = "holddown"
trigger1 = ctrl  
trigger2 = (stateno = 200) && (movecontact || animelemtime(3) > 2)
trigger3 = (stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1]
type = ChangeState
value = 310
TriggerAll = var(59)=0
triggerall = statetype != A
triggerall = command = "b" && command = "holddown"
trigger1 = ctrl  
trigger2 = ((stateno = [200,215]) && movecontact) || ((stateno = [300,320]) && movecontact)
trigger3 = (stateno = 200 || stateno = 300) && (movecontact || animelemtime(3) > 2)

[State -1, Jump Light Punch]
type = ChangeState
value = 400
TriggerAll = var(59)=0
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl
Trigger2 = StateNo = 400
Trigger2 = MoveContact

[State -1, Jump Light Punch]
type = ChangeState
value = 405
TriggerAll = var(59)=0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = stateno != 105
trigger1 = ctrl
Trigger2 = StateNo = 400
Trigger2 = MoveContact

;挑発
[State -1]
Type = ChangeState
Value = 195
TriggerAll = var(59)=0
TriggerAll = RoundState = 2
TriggerAll = Command = "start"
Trigger1 = Statetype != A
Trigger1 = Ctrl

;===========================================================================
;ダッシュ
[State -1, Run Fwd]
Type = ChangeState
Value = 100
TriggerAll = var(59)=0
TriggerAll = Command = "FF" || Command = "holdz" && Command = "holdfwd"
Trigger1 = StateType = S && Ctrl
Trigger1 = stateno != 100

;バックステップ
[State -1, Run Back]
Type = ChangeState
Value = 105
TriggerAll = var(59)=0
triggerall = (command = "BB" || (command = "holdz"&& command = "holdback"))
Trigger1 = StateType = S && Ctrl

[State -1, Fwd Air Dash]
Type = ChangeState
Value = 103
TriggerAll = var(59)=0
TriggerAll = Command = "FF" || Command = "holdz" && Command = "holdfwd"
triggerall = statetype = A
triggerall = var(2) >= 0
triggerall = anim != 103
Trigger1 = StateNo = 50 
Trigger2 = StateNo = 103 && Time > 15
Trigger3 = StateNo = 108 && Time > 15
Trigger4 = StateNo = 1050
Trigger4 = Time >= 14
Trigger5 = StateNo = [225,226]
Trigger5 = Time >= 16
Trigger6 = StateNo = 400
Trigger6 = Time >= 8
Trigger7 = StateNo = 405
Trigger7 = Time >= 16

;空中後ダッシュ
[State -1, Back Air Dash]
Type = ChangeState
Value = 108
TriggerAll = var(59)=0
TriggerAll = Command = "BB" || Command = "holdz" && Command = "holdback"
triggerall = statetype = A
triggerall = var(2) >= 0
triggerall = anim != 108
Trigger1 = StateNo = 50 
Trigger2 = StateNo = 103 && Time > 15
Trigger3 = StateNo = 108 && Time > 15
Trigger4 = StateNo = 1050
Trigger4 = Time >= 14
Trigger5 = StateNo = [225,226]
Trigger5 = Time >= 16
Trigger6 = StateNo = 400
Trigger6 = Time >= 8
Trigger7 = StateNo = 405
Trigger7 = Time >= 16