;==============================================================================
;-| 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 = "AI51"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,x
time = 0
[Command]
name = "AI52"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,x
time = 0
[Command]
name = "AI53"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI54"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,x
time = 0
[Command]
name = "AI55"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,x
time = 0
[Command]
name = "AI56"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,x
time = 0
[Command]
name = "AI57"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,x
time = 0
[Command]
name = "AI58"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,x
time = 0
[Command]
name = "AI59"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,x
time = 0
[Command]
name = "AI60"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,x
time = 0

;-| 一撃BASARA技 |--------------------------------------------------------
[Command]
name = "屍二堕ツル城"
command = ~D, B, D, F, z
time = 35

;-| BASARA技 |--------------------------------------------------------

[Command]
name = "死二至ル病"
command = ~D, B, D, B, z
time = 28

[Command]
name = "苦ヲ喰ム紅"
command = ~D, F, D, F, z
time = 28

;-| 必殺技 |------------------------------------------------------
[Command]
name = "厄災ノ棘"
command = ~D, F, z

[Command]
name = "遠雷遥"
command = ~D, F, x

[Command]
name = "慟哭スル魂"
command = ~D, B, z

[Command]
name = "上反斬り"
command = ~D, F, y

;------------------------------------------------------------------------
;ハイジャンプ
[Command]
name = "jump"    
command = D, $U
time = 20

[Command]
name = "Engun"    
command = a, a
time = 20

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

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

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "ichigeki"
command = x+y+z

[Command]
name = "roman"
command = a+b+y

[Command]
name = "dead"
command = /F,y+z
time = 1

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

[Command]
name = "recover";Required (do not remove)
command = z
time = 1
[Command]
name = "recover";Required (do not remove)
command = x
time = 1
[Command]
name = "recover";Required (do not remove)
command = y
time = 1

[Command]
name = "dust";Required (do not remove)
command = y+b
time = 1

[Command]
name = "慣性ジャンプ"
command = U, F
time = 10

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

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

[Command]
name = "holdK"
command = /a
time = 1

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

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

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

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

[Command]
name = "burst"
command = c+a
time = 1

[Command]
name = "burst"
command = c+b
time = 1

[Command]
name = "burst"
command = c+x
time = 1

[Command]
name = "burst"
command = c+y
time = 1

[Command]
name = "burst"
command = /$F,z
time = 1

[Command]
name = "justDS"
command = B
time = 1

[Command]
name = "justDC"
command = DB
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
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 = "y"
command = y
time = 1

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

[Command]
name = "start"
command = s
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


;追加
[Command]
name = "holdUF"
command = /UF
time = 1

[Command]
name = "holdUB"
command = /UB
time = 1

[Command]
name = "holdU"
command = /U
time = 1

[Command]
name = "holdDB"
command = /DB
time = 1

[Command]
name = "holdDF"
command = /DF
time = 1

[Command]
name = "holdD"
command = /D
time = 1

[Command]
name = "holdB"
command = /B
time = 1

[Command]
name = "holdF"
command = /F
time = 1

[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
; Don't remove the following line. It's required by the CMD standard.
;-------------------------
;[Statedef -1]
;意味：
;	コマンド入力が可能ならば常時実行されるstate
[Statedef -1] ;この一行は削除しないで下さい

;===========================================================================
;                                 一撃BASARA技
;===========================================================================
[State -1, 屍二堕ツル城]
type = ChangeState
value = 3500
triggerall = Var(59) = 0
triggerall = command = "屍二堕ツル城"
triggerall = var(24) > 1
triggerall = !var(13)
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 260
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900
;---------------------------------------------------------------------------
[State -1, 一撃BASARA発動準備]
type = ChangeState
value = 3499
triggerall = Var(59) = 0
triggerall = command = "b"||command = "ichigeki"
triggerall = fvar(30) >= 2
triggerall = var(24) = 0
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)

;===========================================================================
;                                 BASARA技
;===========================================================================
[State -1, 苦ヲ喰ム紅]
type = ChangeState
value = 3000
triggerall = Var(59) = 0
triggerall = power >= 1000
triggerall = command = "苦ヲ喰ム紅"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 260
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

[State -1, 死二至ル病]
type = null;ChangeState
value = 3100
triggerall = Var(59) = 0
triggerall = power >= 1000
triggerall = command = "死二至ル病"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 260
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;===========================================================================
;                                 システム関連
;===========================================================================

;------------------------------------------------------------------------------------
;ガーキャン
[State -1, dead angle attack]
type = ChangeState
value = 910
triggerall = Var(59) = 0
triggerall = command = "dead"
triggerall = Power >= 1000
triggerall = command != "holddown"
trigger1 = Stateno = 150
trigger2 = Stateno = 151
trigger3 = Stateno = 152
trigger4 = Stateno = 153

;-------------------------------------------------------------------------------------
[State -1, FD]
type = varset
var(26) = 1
triggerall = Var(59) = 0
trigger1 = command = "holdback" 
trigger1 = command = "holdC"
trigger1 = (StateNo = [120,165])||movetype != H
trigger1 = power > 10
ignorehitpause = 1

[State -1, FD]
type = varset
var(26) = 2
triggerall = Var(59) = 0
trigger1 = command = "holdback" 
trigger1 = command = "holdP" && command = "holdS"
trigger1 = (StateNo = [120,165])||movetype != H
trigger1 = power > 10
ignorehitpause = 1


[state 120x,]
type = varset
triggerall = Var(59) = 0
triggerall = var(45) <= 2
triggerall = power > 10
triggerall = var(26)
triggerall = command = "holdback" 
trigger1 = ctrl || fvar(0) || (stateno = 52 && time > 0)||stateno = 100||stateno = 103
var(45)  = 2
ignorehitpause = 1

[State -1, FD];パーフェクト
type = ChangeState
value = 120
triggerall = Var(59) = 0
triggerall = var(45) <= 2
triggerall = power > 10  && !var(58)
triggerall = var(26)
triggerall = command = "holdback" 
trigger1 = ctrl || fvar(0) || (stateno = 52 && time > 0)||stateno = 100||stateno = 103

;------------------------------------------------------------------------------------
;パーフェクト
[State -1, foltless]
type = ChangeState
value = 120
triggerall = Var(59) = 0
triggerall = var(26)
triggerall = command != "c"
triggerall = command != "start"
triggerall = Power > 10
trigger1 = ctrl || fvar(0)
trigger1 = stateno !=[101,102];空中ダッシュ中
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 450 || stateno = 650
trigger4 = var(59) = 0
trigger4 = time <= 2
;------------------------------------------------------------------------------------
;直前ガード
[state -1,tyokuga]
type = varset
triggerall = !var(35)
trigger1 = Var(59) = 0
trigger1 = command = "justDS" || command = "justDC"
trigger2 = Var(26)
trigger2 = Numhelper(11040)= 0
var(35)  = 30
ignorehitpause = 1

;---------------------------------------------------------------------------
;ブーストダッシュ
[State -1, Boost]
type = ChangeState
value = 3900
triggerall = Var(59) = 0
triggerall = command = "holdfwd"
triggerall = var(5)
trigger1 = stateno = 291 && movehit
;===========================================================================
;                                 必殺技
;===========================================================================
;---------------------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------
[State -1, 遠雷遥（空中）]
type = ChangeState
value = 1020
triggerall = Var(59) = 0
triggerall = command = "遠雷遥"
trigger1 = statetype = A
trigger1 = ctrl||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 630
trigger4 = movecontact
trigger5 = stateno = 660
trigger5 = movecontact
trigger6 = stateno = 670
trigger6 = movecontact
;---------------------------------------------------------------------------------------------
[State -1, 上反斬り]
type = ChangeState
value = 1300
triggerall = Var(59) = 0
triggerall = command = "上反斬り"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 250
trigger11 = movecontact
trigger11 = stateno = 260
Trigger12 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger13 = stateno = 3900
;---------------------------------------------------------------------------------------------
[State -1, 慟哭スル魂]
type = null;ChangeState
value = 1200
triggerall = Var(59) = 0
triggerall = command = "慟哭スル魂"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 250
trigger11 = movecontact
trigger11 = stateno = 260
Trigger12 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger13 = stateno = 3900
;---------------------------------------------------------------------------------------------
[State -1, 厄災ノ棘]
type = ChangeState
value = 1100
triggerall = Var(59) = 0
triggerall = command = "厄災ノ棘"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 250
trigger11 = movecontact
trigger11 = stateno = 260
Trigger12 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger13 = stateno = 3900
;---------------------------------------------------------------------------------------------
[State -1, 遠雷遥]
type = ChangeState
value = 1000
triggerall = Var(59) = 0
triggerall = command = "遠雷遥"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = movecontact
trigger10 = stateno = 250
trigger11 = movecontact
trigger11 = stateno = 260
Trigger12 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger13 = stateno = 3900
;-------------------------------------------------------------------------------------------
[State -1, 穿タレル深紅・陽]
type = ChangeState
value = 1400
triggerall = Var(59) = 0
triggerall = Stateno = 150
triggerall = Life > 80
triggerall = command != "holddown"
trigger1 = command = "x"
trigger2 = command = "y"
trigger3 = command = "z"
;------------------------------------------------------------------------------------
[State -1, 穿タレル深紅・陰]
type = ChangeState
value = 1410
triggerall = Var(59) = 0
triggerall = Stateno = 151||Stateno = 153
triggerall = Life > 80
triggerall = command = "holddown"
trigger1 = command = "x"
trigger2 = command = "y"
trigger3 = command = "z"
;===========================================================================
;                                 システム関連
;===========================================================================
;---------------------------------------------------------------------------------------------
;グレイブシュート
[State -1, dust attack]
type = ChangeState
value = 850
triggerall = Var(59) = 0
TriggerAll = command = "c"||(command = "z"&&command = "y")
triggerAll = command = "holddown" 
triggerAll = command != "holdfwd" 
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 103
trigger3 = stateno = 100
Trigger4 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger5 = stateno = 3900
;------------------------------------------------------------------------------------
;ハイジャンプ
[State -1]
type = ChangeState
value = 900
triggerall = Var(59) = 0
triggerall = command = "jump"
triggerall = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = [100,103]

;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = Var(59) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)

;---------------------------------------------------------------------------
[State -1, air dash];空中ダッシュ
type = ChangeState
value = 101
triggerall = Var(59) = 0
triggerall = command = "FF"
triggerall = command != "holdback" 
triggerall = Var(4) = 0
triggerall = statetype = A
triggerall = Var(2) <= 1||Var(2) = 5
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = Var(8)
trigger3 = stateno = 610
trigger3 = movecontact
Trigger3 = Var(8)
trigger4 = stateno = 630
trigger4 = movecontact
Trigger4 = Var(8)
trigger5 = stateno = 670
trigger5 = movecontact
Trigger5 = Var(8)
trigger6 = stateno = 660
trigger6 = movecontact
Trigger6 = Var(8)
;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = Var(59) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)

;---------------------------------------------------------------------------
[State -1, air dash];空中後ダッシュ
type = ChangeState
value = 102
triggerall = Var(59) = 0
triggerall = command = "BB"
triggerall = command != "holdfwd" 
triggerall = Var(4) = 0
triggerall = statetype = A
triggerall = Var(2) <= 1||Var(2) = 5
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = Var(8)
trigger3 = stateno = 610
trigger3 = movecontact
Trigger3 = Var(8)
trigger4 = stateno = 630
trigger4 = movecontact
Trigger4 = Var(8)
trigger5 = stateno = 670
trigger5 = movecontact
Trigger5 = Var(8)
trigger6 = stateno = 660
trigger6 = movecontact
Trigger6 = Var(8)
;---------------------------------------------------------------------------
;吹き飛ばし攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 290
triggerall = Var(59) = 0
TriggerAll = command = "c"||(command = "z"&&command = "y")
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl|| fvar(0)
trigger2 = stateno = 260 && movecontact
trigger3 = stateno = 100
trigger4 = stateno = 103
Trigger5 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger6 = stateno = 3900
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;投げ
[State -1, Throw]
type = ChangeState
value = 800
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = statetype = S
triggerall = ctrl || fvar(0)
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X <= 20
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X <= 20
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
;                                 通常技
;===========================================================================
;---------------------------------------------------------------------------
;立ち→中
[State -1, Stand K]
type = ChangeState
value = 250
triggerall = Var(59) = 0
triggerall = command = "y"
triggerall = command != "z"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = stateno = 3900
;---------------------------------------------------------------------------
;立ち→強
[State -1, Stand K]
type = ChangeState
value = 260
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command != "y"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 430
trigger10 = stateno = 3900
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;立ち弱
[State -1, Stand Slash]
type = ChangeState
value = 200
triggerall = Var(59) = 0
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = stateno = 3900
;---------------------------------------------------------------------------
;立ち中
[State -1, Stand Slash]
type = ChangeState
value = 210
triggerall = Var(59) = 0
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 400
trigger6 = stateno = 3900
;---------------------------------------------------------------------------
;立ち強
[State -1, Stand Kick]
type = ChangeState
value = 230
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = stateno = 3900
;---------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = Var(59) = 0
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 3900
;---------------------------------------------------------------------------
;しゃがみ弱
[State -1, Crouching Jak]
type = ChangeState
value = 400
triggerall = Var(59) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = stateno = 3900
;---------------------------------------------------------------------------
;しゃがみ中
[State -1, Crouching Chu]
type = ChangeState
value = 410
triggerall = Var(59) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 400
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 210
trigger7 = stateno = 3900
;---------------------------------------------------------------------------
;しゃがみ強
[State -1, Crouching Kyou]
type = ChangeState
value = 430
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = stateno = 3900
;---------------------------------------------------------------------------
;エリアルスパイク
[State -1, Jump dust]
type = ChangeState
value = 650
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command = "holddown"
Triggerall = Var(8)
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 630
trigger4 = movecontact
trigger5 = stateno = 660
trigger5 = movecontact
trigger6 = stateno = 670
trigger6 = movecontact
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;空中弱
[State -1, Jump Punch]
type = ChangeState
value = 600
triggerall = Var(59) = 0
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = !Var(8)
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 630
trigger4 = movecontact
Trigger4 = Var(8)
;---------------------------------------------------------------------------
;空中中
[State -1, Jump Slash]
type = ChangeState
value = 610
triggerall = Var(59) = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 630
trigger3 = movecontact
Trigger3 = Var(8)
;---------------------------------------------------------------------------
;空中強
[State -1, Jump Kick]
type = ChangeState
value = 630
triggerall = Var(59) = 0
triggerall = command = "z"
triggerall = command != "holdup"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
;---------------------------------------------------------------------------
[State 50, 0];二段ジャンプ
type = ChangeState
triggerall = Var(59) = 0
triggerall = command = "holdup"
triggerall = command != "z"
triggerall = stateno = 50
triggerall = Ctrl = 1
trigger1 = numhelper(6030) = 0
trigger1 = var(2) = 1
trigger2 = var(48) = 3
value = 45
ctrl = 1
;---------------------------------------------------------------------------
;空中ハイジャンプキャンセル
[State -1, Air Jump cansel]
type = varset
triggerall = Var(59) = 0
triggerall = command = "jump"
triggerall = statetype = A
triggerall = var(2) <= 1
trigger1 = stateno = 610
trigger1 = movecontact
v = 3
value = 1
ignorehitpause = 1

;空中ジャンプキャンセル
[State -1, Air Jump cansel]
type = ChangeState
value = 45
triggerall = Var(59) = 0
triggerall = command = "holdup"
triggerall = statetype = A
triggerall = var(2) <= 1
trigger1 = stateno = 610
trigger1 = movecontact
;---------------------------------------------------------------------------
;ハイジャンプキャンセル
[State -1, Jump cansel]
type = ChangeState
value = 900
triggerall = Var(59) = 0
triggerall = command = "jump"
triggerall = statetype = S
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 250
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 410
trigger4 = movecontact
trigger5 = stateno = 260
trigger5 = movecontact
trigger6 = stateno = 1402
trigger6 = movecontact
;---------------------------------------------------------------------------
;ジャンプ仕込み
[State -1, Jump cansel]
type = varset
var(48) = 1
triggerall = Var(59) = 0
triggerall = command = "holdup"
triggerall = command != "jump"
triggerall = statetype != A
triggerall = stateno != 900
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 250
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 410
trigger4 = movecontact
trigger5 = stateno = 260
trigger5 = movecontact
ignorehitpause = 1
;---------------------------------------------------------------------------
;ジャンプキャンセル
[State -1, Jump cansel]
type = ChangeState
value = 40
triggerall = Var(59) = 0
triggerall = command = "holdup"
triggerall = statetype != A
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 250
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 410
trigger4 = movecontact
trigger5 = stateno = 260
trigger5 = movecontact
trigger6 = stateno = 1402
trigger6 = movecontact
