;==========================================================================
;コマンド関連ファイル
;==========================================================================

[Command]
name = "双滅銃剣"
command = ~F, DF, D, DB, B, F,z
time = 45

[Command]
name = "運命ヲ突キ破ル螺旋"
command = ~B, DB, D, DF, F, z
time = 45

[Command]
name = "神ノ羽衣"
command = ~F, DF, D, DB, B, z
time = 45

[Command]
name = "神光扇"
command = D, DF, F, z
time = 30

[Command]
name = "剣ノ降ル日"
command = D, DB, B, z
time = 30

[Command]
name = "兎飛び"
command = F, D, DF, a
time = 45

[Command]
name = "兎飛び２"
command = F, D, DF, b
time = 45

[Command]
name = "天ヲ突ク螺旋"
command = D, DF, F, a
time = 30

[Command]
name = "地ヲ割ル銃剣"
command = D, DF, F, b
time = 30

[Command]
name = "紅眼"
command = D, DF, F, x
time = 30

[Command]
name = "神速兎"
command = D, DB, B, a
time = 30

[Command]
name = "雷針"
command = D, DB, B, b
time = 30

[Command]
name = "クラッシュ拳"
command = D, D, a
time = 45

[Command]
name = "クラッシュキック"
command = D, D, b
time = 45

[Command]
name = "霊撃"
command = D, D, c
time = 45

;-| 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 = "recovery";Required (do not remove)
command = a+b
time = 1

[Command]
name = "ab"
command = a+b
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 = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

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


[Command]
name = "downfwd_a"
command = /DF,a
time = 1

[Command]
name = "downfwd_b"
command = /DF,b
time = 1

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

[Command]
name = "back_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
time = 1

[Command]
name = "back_c"
command = /B,c
time = 1

[Command]
name = "back_z"
command = /B,z
time = 1

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

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

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

[Command]
name = "down_x"
command = /$D,x
time = 1

[Command]
name = "down_y"
command = /$D,y
time = 1

[Command]
name = "down_z"
command = /$D,z
time = 1

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1

;-| 攻撃ボタン押しっぱなし |-----------------------------------------------

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

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

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

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

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

[Command]
name = "hold_x"
command = /y
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 = "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


[Command]
name = "f_a"
command = F, a
time = 15

[Command]
name = "f_b"
command = F, b
time = 15

[Command]
name = "f_c"
command = F, c
time = 15

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


;===========================================================================
;コマンド実行部分（優先順位が高いものを先に表記）
;===========================================================================
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;前方ダッシュ
[State -1]
type = ChangeState
value = 100
triggerall = command = "FF"
triggerall = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;バックステップ
[State -1]
type = ChangeState
value = 105
triggerall = command = "BB"
triggerall = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;空中ダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 110
triggerall = command = "FF"
triggerall = statetype = A
triggerall = var(1) < 2
triggerall = Pos Y <= -30
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115

;---------------------------------------------------------------------------
;空中バックダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 115
triggerall = command = "BB"
triggerall = statetype = A
triggerall = var(1) < 2
triggerall = Pos Y <= -30
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115
;===================================================================
超必殺技
;==============================================================================
;---------------------------------------------------------------------
;---------------------------------------------------------------------------
;双滅銃剣
[State -1]
type = ChangeState
value = 950
triggerall = power >= 2000
triggerall = command = "双滅銃剣"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;----------------------------------------------------------------
;---------------------------------------------------------------------------
;双滅銃剣　空中
[State -1]
type = ChangeState
value = 960
triggerall = power >= 2000
triggerall = command = "双滅銃剣"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact
trigger4 = stateno = 840
trigger4 = movecontact
trigger5 = stateno = 850
trigger5 = movecontact
trigger6 = stateno = 860
trigger6 = movecontact

;----------------------------------------------------------------

;---------------------------------------------------------------------------
;運命ヲ突キ破ル螺旋
[State -1]
type = ChangeState
value = 920
triggerall = power >= 1500
triggerall = command = "運命ヲ突キ破ル螺旋"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;----------------------------------------------------------------
;---------------------------------------------------------------------------
;神ノ羽衣
[State -1]
type = ChangeState
value = 940
triggerall = power >= 1500
triggerall = command = "神ノ羽衣"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact


;----------------------------------------------------------------
;---------------------------------------------------------------------------
;神光扇
[State -1]
type = ChangeState
value = 900
triggerall = power >= 1000
triggerall = command = "神光扇"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;----------------------------------------------------------------
;---------------------------------------------------------------------------
;剣ノ降ル日
[State -1]
type = ChangeState
value = 910
triggerall = power >= 1000
triggerall = command = "剣ノ降ル日"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;----------------------------------------------------------------

;---------------------------------------------------------------------------

;===================================================================
;===========================================================================
;　必殺技
;===========================================================================

;---------------------------------------------------------------------------
;兎飛び
[State -1]
type = ChangeState
value = 840
triggerall = command = "兎飛び"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;兎飛び２
[State -1]
type = ChangeState
value = 840
triggerall = command = "兎飛び２"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact


;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;天ヲ突ク螺旋
[State -1]
type = ChangeState
value = 820
triggerall = command = "天ヲ突ク螺旋"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
Trigger10 = StateNo = 880 && Time >= 50

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;地ヲ割ル銃剣
[State -1]
type = ChangeState
value = 800
triggerall = command = "地ヲ割ル銃剣"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;神速兎
[State -1]
type = ChangeState
value = 810
triggerall = NumHelper(1010) = 0
triggerall = NumHelper(2700) = 0
triggerall = command = "神速兎"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;雷針
[State -1]
type = ChangeState
value = 830
triggerall = NumHelper(1067) = 0
triggerall = NumHelper(1068) = 0
triggerall = NumHelper(1069) = 0
triggerall = NumHelper(1079) = 0
triggerall = NumHelper(1072) = 0
triggerall = NumHelper(1073) = 0
triggerall = NumHelper(1500) = 0
triggerall = command = "雷針"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;断空斬
[State -1]
type = ChangeState
value = 860
triggerall = command = "天ヲ突ク螺旋"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact
trigger4 = stateno = 840
trigger4 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;空中キャノン
[State -1]
type = ChangeState
value = 850
triggerall = command = "地ヲ割ル銃剣"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact
trigger4 = stateno = 860
trigger4 = movecontact
trigger5 = stateno = 840
trigger5 = movecontact

;-----------------------------------------------------------------

;-------------------------------------------------------------
;霊撃
[State -1]
type = ChangeState
value = 700
triggerall = command = "霊撃"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
Trigger10 = StateNo = 880 && Time >= 50

;-----------------------------------------------------------------


;---------------------------------------------------------------------------
;紅眼
[State -1]
type = ChangeState
value = 870
triggerall = power >= 100
triggerall = command = "fwd_x"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;霊撃弾頭
[State -1]
type = ChangeState
value = 880
triggerall = NumHelper(1001) = 0
triggerall = NumHelper(1002) = 0
triggerall = NumHelper(1003) = 0
triggerall = NumHelper(2302) = 0
triggerall = power >= 200
triggerall = command = "back_x"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 800
trigger10 = movecontact
trigger11 = stateno = 820
trigger11 = movecontact

;-----------------------------------------------------------------

;-------------------------------------------------------------
;銃剣狙撃１
[State -1]
type = ChangeState
value = 500
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------
;-------------------------------------------------------------
;銃剣狙撃２
[State -1]
type = ChangeState
value = 501
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 500 && Time >= 9
Trigger3 = StateNo = 503 && Time >= 6

;-----------------------------------------------------------------
;-------------------------------------------------------------
;銃剣狙撃３
[State -1]
type = ChangeState
value = 502
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 501 && Time >= 6

;-----------------------------------------------------------------
;-------------------------------------------------------------
;銃剣狙撃４
[State -1]
type = ChangeState
value = 503
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 502 && Time >= 6

;-----------------------------------------------------------------


;---------------------------------------------------------------------------
;しゃがみ銃剣狙撃１
[State -1]
type = ChangeState
value = 510
triggerall = var(2) < 15
triggerall = power >= 150
triggerall = command = "x"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ銃剣狙撃２
[State -1]
type = ChangeState
value = 511
triggerall = var(2) < 15
triggerall = power >= 150
triggerall = command = "x"
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 510 && Time >= 16
Trigger3 = StateNo = 513 && Time >= 6

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ銃剣狙撃３
[State -1]
type = ChangeState
value = 512
triggerall = var(2) < 15
triggerall = power >= 150
triggerall = command = "x"
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 511 && Time >= 6

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ銃剣狙撃４
[State -1]
type = ChangeState
value = 513
triggerall = var(2) < 15
triggerall = power >= 150
triggerall = command = "x"
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 512 && Time >= 6

;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;ジャンプ銃剣狙撃
[State -1]
type = ChangeState
value = 520
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ銃剣狙撃２
[State -1]
type = ChangeState
value = 521
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = StateNo = 520 && Time >= 18
Trigger3 = StateNo = 523 && Time >= 6

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ銃剣狙撃３
[State -1]
type = ChangeState
value = 522
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = StateNo = 521 && Time >= 6

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ銃剣狙撃４
[State -1]
type = ChangeState
value = 523
triggerall = var(2) < 15
triggerall = power >= 30
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = StateNo = 522 && Time >= 6

;-----------------------------------------------------------------


;-------------------------------------------------------------
;銃剣召喚
[State -1]
type = ChangeState
value = 600
triggerall = NumHelper(1060) = 0
triggerall = NumHelper(1061) = 0
triggerall = power >= 100
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;銃剣召喚　しゃがみ
[State -1]
type = ChangeState
value = 610
triggerall = power >= 100
triggerall = command = "y"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ銃剣召喚2
[State -1]
type = ChangeState
value = 621
triggerall = power >= 100
triggerall = command = "down_y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ銃剣召喚
[State -1]
type = ChangeState
value = 620
triggerall = power >= 100
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact

;-----------------------------------------------------------------

;-------------------------------------------------------------
;剣山
[State -1]
type = ChangeState
value = 890
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;-----------------------------------------------------------------

;-------------------------------------------------------------
;神撃
[State -1]
type = ChangeState
value = 710
triggerall = power >= 1000
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 211
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22
trigger10 = stateno = 340
trigger10 = movecontact
trigger11 = stateno = 800
trigger11 = movecontact
trigger12 = stateno = 820
trigger12 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプ神撃
[State -1]
type = ChangeState
value = 720
triggerall = power >= 1000
triggerall = command = "c"
triggerall = statetype = A
trigger1 = stateno = 220
trigger1 = movecontact
trigger2 = stateno = 320
trigger2 = movecontact
trigger3 = stateno = 840
trigger3 = movecontact
trigger4 = stateno = 850
trigger4 = movecontact
trigger5 = stateno = 860
trigger5 = movecontact


;-----------------------------------------------------------------


;-----------------------------------------------------------------
;===========================================================================
;　通常技
;===========================================================================

;-------------------------------------------------------------
;クラッシュ拳
[State -1]
type = ChangeState
value = 240
triggerall = command = "クラッシュ拳"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 300
trigger6 = movecontact
Trigger7 = StateNo = 301 && Time >= 14
Trigger8 = StateNo = 310 && Time >= 22
Trigger9 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------
;-------------------------------------------------------------
;クラッシュキック
[State -1]
type = ChangeState
value = 340
triggerall = command = "クラッシュキック"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 300
trigger7 = movecontact
Trigger8 = StateNo = 301 && Time >= 14
Trigger9 = StateNo = 310 && Time >= 22
Trigger10 = StateNo = 330 && Time >= 22

;-----------------------------------------------------------------

;-------------------------------------------------------------
;横弱パンチ
[State -1]
type = ChangeState
value = 230
triggerall = command = "fwd_a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 211
trigger4 = movecontact
Trigger5 = StateNo = 100
Trigger6 = StateNo = 101

;-----------------------------------------------------------------
;-------------------------------------------------------------
;横キック
[State -1]
type = ChangeState
value = 330
triggerall = NumHelper(1000) = 0
triggerall = command = "fwd_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 300
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 200
trigger4 = movecontact
Trigger5 = StateNo = 100
Trigger6 = StateNo = 101
trigger7 = stateno = 210
trigger7 = movecontact
trigger8 = stateno = 211
trigger8 = movecontact

;-----------------------------------------------------------------

;-------------------------------------------------------------
;弱パンチ
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact
Trigger3 = StateNo = 100
Trigger4 = StateNo = 101
trigger5 = stateno = 200
trigger5 = movecontact
trigger6 = stateno = 211
trigger6 = movecontact

;-------------------------------------------------------------------------


;-------------------------------------------------------------
;強攻撃１
[State -1]
type = ChangeState
value = 300
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 310
trigger4 = movecontact
Trigger5 = StateNo = 100
Trigger6 = StateNo = 101
trigger7 = stateno = 211
trigger7 = movecontact
trigger8 = stateno = 230
trigger8 = movecontact

;-----------------------------------------------------------------
;-------------------------------------------------------------
;強攻撃２
[State -1]
type = ChangeState
value = 301
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 300
trigger2 = movecontact


;-----------------------------------------------------------------

;---------------------------------------------------------------------------
;しゃがみ攻撃
[State -1]
type = ChangeState
value = 210
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 100
Trigger3 = StateNo = 101
trigger4 = stateno = 200
trigger4 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみ攻撃2
[State -1]
type = ChangeState
value = 211
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 211
trigger3 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;しゃがみキック
[State -1]
type = ChangeState
value = 310
triggerall = NumHelper(1050) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact
Trigger3 = StateNo = 100
Trigger4 = StateNo = 101
trigger5 = stateno = 211
trigger5 = movecontact

;-----------------------------------------------------------------


;---------------------------------------------------------------------------
;ジャンプ攻撃
[State -1]
type = ChangeState
value = 220
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 840
trigger2 = movecontact

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;ジャンプキック
[State -1]
type = ChangeState
value = 320
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 840
trigger3 = movecontact

;-----------------------------------------------------------------

;----------------------------------------------------------------
ジャンプキャンセル

[State -2]
type = Changestate
triggerall = command = "holdup"
trigger1 = (stateno = 340) && movecontact
Trigger2 = StateNo = 310 && Time >= 22
Trigger3 = StateNo = 880 && Time >= 50
value = 40
;----------------------------------------------------------------



