
;---|AI Commands|-----------------------------------------------------------
[Command]
Name = "AI_00"
Command = a, a
Time = 0
[Command]
Name = "AI_01"
Command = a, b
Time = 0
[Command]
Name = "AI_02"
Command = a, c
Time = 0
[Command]
Name = "AI_03"
Command = a, x
Time = 0
[Command]
Name = "AI_04"
Command = a, y
Time = 0
[Command]
Name = "AI_05"
Command = a, z
Time = 0
[Command]
Name = "AI_06"
Command = a, s
Time = 0
[Command]
Name = "AI_07"
Command = b, a
Time = 0
[Command]
Name = "AI_08"
Command = b, b
Time = 0
[Command]
Name = "AI_09"
Command = b, c
Time = 0
[Command]
Name = "AI_10"
Command = b, x
Time = 0
[Command]
Name = "AI_11"
Command = b, y
Time = 0
[Command]
Name = "AI_12"
Command = b, z
Time = 0
[Command]
Name = "AI_13"
Command = b, s
Time = 0
[Command]
Name = "AI_14"
Command = c, a
Time = 0
[Command]
Name = "AI_15"
Command = c, b
Time = 0
[Command]
Name = "AI_16"
Command = c, c
Time = 0
[Command]
Name = "AI_17"
Command = c, x
Time = 0
[Command]
Name = "AI_18"
Command = c, y
Time = 0
[Command]
Name = "AI_19"
Command = c, z
Time = 0
[Command]
Name = "AI_20"
Command = c, s
Time = 0
[Command]
Name = "AI_21"
Command = x, a
Time = 0
[Command]
Name = "AI_22"
Command = x, b
Time = 0
[Command]
Name = "AI_23"
Command = x, c
Time = 0
[Command]
Name = "AI_24"
Command = x, x
Time = 0
[Command]
Name = "AI_25"
Command = x, y
Time = 0
[Command]
Name = "AI_26"
Command = x, z
Time = 0
[Command]
Name = "AI_27"
Command = x, s
Time = 0
[Command]
Name = "AI_28"
Command = y, a
Time = 0
[Command]
Name = "AI_29"
Command = y, b
Time = 0
[Command]
Name = "AI_30"
Command = y, c
Time = 0
[Command]
Name = "AI_31"
Command = y, x
Time = 0
[Command]
Name = "AI_32"
Command = y, y
Time = 0
[Command]
Name = "AI_33"
Command = y, z
Time = 0
[Command]
Name = "AI_34"
Command = y, s
Time = 0
[Command]
Name = "AI_35"
Command = s, a
Time = 0
[Command]
Name = "AI_36"
Command = s, b
Time = 0
[Command]
Name = "AI_37"
Command = s, c
Time = 0
[Command]
Name = "AI_38"
Command = s, x
Time = 0
[Command]
Name = "AI_39"
Command = s, y
Time = 0
[Command]
Name = "AI_40"
Command = s, z
Time = 0
[Command]
Name = "AI_41"
Command = s, s
Time = 0
[Command]
Name = "AI_42"
Command = U, U
Time = 0
[Command]
Name = "AI_43"
Command = U, F
Time = 0
[Command]
Name = "AI_44"
Command = U, D
Time = 0
[Command]
Name = "AI_45"
Command = U, B
Time = 0
[Command]
Name = "AI_46"
Command = F, U
Time = 0
[Command]
Name = "AI_47"
Command = F, F
Time = 0
[Command]
Name = "AI_48"
Command = F, D
Time = 0
[Command]
Name = "AI_49"
Command = F, B
Time = 0

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

[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 = var(58)<=0
triggerall = command = "FF"
triggerall = statetype = S
trigger1 = ctrl = 1

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

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;空中ダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 110
triggerall = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=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 = 840
triggerall = var(58)<=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 = 820
triggerall = var(58)<=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 = 880 && Time >= 50

;-----------------------------------------------------------------
;---------------------------------------------------------------------------
;地ヲ割ル銃剣
[State -1]
type = ChangeState
value = 800
triggerall = var(58)<=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 = 810
triggerall = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

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

;-------------------------------------------------------------
;神撃
[State -1]
type = ChangeState
value = 710
triggerall = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 300
trigger2 = movecontact


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

;---------------------------------------------------------------------------
;しゃがみ攻撃
[State -1]
type = ChangeState
value = 210
triggerall = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
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 = var(58)<=0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 840
trigger2 = movecontact

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

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

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

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


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


;AI Command Check
[State -1, AI Command]
Type = VarSet
TriggerAll = Var(58)=0 && !isHelper
trigger1 = command = "AI_01" || command = "AI_02" || command = "AI_03" || command = "AI_04"
trigger2 = command = "AI_05" || command = "AI_06" || command = "AI_07" || command = "AI_08"
trigger3 = command = "AI_09" || command = "AI_10" || command = "AI_11" || command = "AI_12"
trigger4 = command = "AI_13" || command = "AI_14" || command = "AI_15" || command = "AI_16"
trigger5 = command = "AI_17" || command = "AI_18" || command = "AI_19" || command = "AI_20"
Trigger6 = Command = "AI_21" || Command = "AI_22" || Command = "AI_23" || Command = "AI_24"
Trigger7 = Command = "AI_24" || Command = "AI_26" || Command = "AI_27" || Command = "AI_28"
Trigger8 = Command = "AI_29" || Command = "AI_30" || Command = "AI_31" || Command = "AI_32"
Trigger9 = Command = "AI_33" || Command = "AI_34" || Command = "AI_35" || Command = "AI_36"
Trigger10 = Command = "AI_37" || Command = "AI_38" || Command = "AI_39" || Command = "AI_40"
Trigger11 = Command = "AI_41" || Command = "AI_42" || Command = "AI_43" || Command = "AI_44"
Trigger12 = Command = "AI_45" || Command = "AI_46" || Command = "AI_47" || Command = "AI_48"
Trigger13 = Command = "AI_49" || Command = "AI_00"
Trigger14 = 1;AI即起動スイッチ

V = 58
Value = 1;AIレベルっぽいの
IgnoreHitPause = 1

;---------------------------------------------------------------------------
;オプションっぽいもの
;---------------------------------------------------------------------------

[state -1,];霊撃弾頭
type = varset
triggerall = var(58)>=1
trigger1 = 1
var(57) = 1;デフォルト1

[state -1,];神速兎
type = varset
triggerall = var(58)>=1
trigger1 = 1
var(56) = 0;デフォルト0

;---------------------------------------------------------------------------
;双滅銃剣
[State -1]
type = ChangeState
value = 950
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = power >= 3000
trigger1 = ctrl = 1
trigger1 = p2bodydist x >= -5
trigger1 = p2bodydist y = [-70,70]
trigger1 = p2movetype = A
trigger1 = life <= var(58)*334
trigger1 = random = [900,929]
trigger2 = ctrl = 1
trigger2 = var(50) = var(58)
trigger2 = roundno >= 3
trigger2 = p2movetype = H
trigger2 = var(58) = 2

;双滅銃剣　空中
[State -1]
type = ChangeState
value = 960
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 3000
triggerall = statetype = A
trigger1 = ctrl = 1
trigger1 = p2bodydist y = [-70,70]
trigger1 = p2bodydist x >= -5
trigger1 = p2movetype = A
trigger1 = life <= var(58)*334
trigger1 = random >= life

;剣山
[State -1]
type = ChangeState
value = 890
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype = S
triggerall = ctrl
triggerall = p2movetype = A
trigger1 = p2bodydist x <= 45
trigger1 = random <= var(58)*100
trigger1 = var(58) = [1,2]
trigger2 = p2bodydist x = [-50,50]
trigger2 = var(58) = 3

;兎飛び
[State -1]
type = ChangeState
value = 840
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype != A
trigger1 = p2movetype = A
trigger1 = ctrl = 1
trigger1 = p2bodydist x <= 50
trigger1 = random = [100,159]
trigger1 = var(58) = [1,2]
trigger2 = stateno = 800 && Time >= 23
trigger2 = movehit

;運命ヲ突キ破ル螺旋
[State -1]
type = ChangeState
value = 920
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 2500
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = p2movetype = A
trigger1 = p2statetype != A
trigger1 = p2bodydist x <= 110
trigger1 = random = [500,529]
trigger2 = stateno = 820 && Time = 41
trigger2 = movehit
trigger2 = var(57) = 0
trigger2 = p2movetype = H
trigger3 = p2statetype = A
trigger3 = stateno = 820 && Time = 29
trigger3 = movehit
trigger3 = var(57) = 0

[State -1,ガード]
type = ChangeState
value = 120
triggerall = var(58) > 0 && roundstate = 2
triggerall = statetype != A
triggerall = ctrl
triggerall = stateno != [120,155]
triggerall = var(58)>=1
trigger1 =! enemynear,hitdefattr = ,NT,ST,HT
trigger1 = inguarddist

[State -1,ガード]
type = ChangeState
value = 120
triggerall = var(58) > 0 && roundstate = 2
triggerall = prevstateno = [120,140]
triggerall = inguarddist && ctrl && !time
triggerall = var(58)>=1
trigger1 = stateno = 20
trigger2 = stateno = 10
trigger3 = stateno = 12
trigger4 = stateno = 40

[State -1, ジャグル]
type = varset
;trigger1 = !numtarget
trigger1 = p2movetype = I
var(50) = 0
ignorehitpause = 1

[State -1, ジャグル]
type = varset
trigger1 = time <= 1
var(51) = 0
ignorehitpause = 1

[State -1, ジャグル]
type = varset
triggerall = var(51) = 0
;triggerall = movecontact = 1
triggerall = P2statetype = A
triggerall = P2movetype = H
trigger1 = stateno = 880
trigger1 = var(50) := var(50) +1
trigger2 = stateno = 910
trigger2 = var(50) := var(50) +1
var(51) = 1
ignorehitpause = 1

;剣ノ降ル日
[State -1]
type = ChangeState
value = 910
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = var(57) >= 1
trigger1 = p2movetype = H
trigger1 = var(50) = var(58)
trigger1 = var(58)=1

;霊撃弾頭
[State -1]
type = ChangeState
value = 880
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = NumHelper(1001) = 0
triggerall = NumHelper(1002) = 0
triggerall = NumHelper(1003) = 0
triggerall = NumHelper(2302) = 0
triggerall = power >= 200
triggerall = statetype != A
triggerall = var(57) >= 1
trigger1 = ctrl = 1
trigger1 = p2movetype = H
trigger1 = p2statetype = A
trigger1 = var(50) < var(58)
trigger1 = p2bodydist y = [-100,-20]
trigger2 = stateno = 820 && Time = 41
trigger2 = movehit
trigger2 = p2movetype = H
trigger3 = ctrl = 1
trigger3 = p2movetype = H
trigger3 = p2statetype = A
trigger3 = (life <= 200)||(var(58)>=3)
trigger3 = var(58) >= 2
trigger3 = p2bodydist y = [-100,-20]

;雷針
[State -1]
type = ChangeState
value = 830
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
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 = statetype != A
trigger1 = ctrl = 1
trigger1 = var(57) >= 1 && p2movetype != H
trigger1 = random <= var(58)*10
trigger1 = p2statetype != A
trigger1 = p2movetype != A
trigger1 = var(58) >= 2
trigger2 = stateno = 200
trigger2 = moveguarded
trigger2 = (var(56) = 0)||(NumHelper(1010) >= 1)
trigger3 = stateno = 820
trigger3 = moveguarded
trigger3 = (var(56) = 0)||(NumHelper(1010) >= 1)
trigger4 = var(57) >= 1
trigger4 = ctrl = 1
trigger4 = p2movetype = H
trigger4 = var(50) = var(58)
trigger4 = (var(58)=1&&power<1000)||(var(58)=2&&life<=600)
trigger5 = ctrl = 1
trigger5 = var(57) >= 1 && p2movetype != H
trigger5 = random = [300,399]
trigger5 = p2statetype != A
trigger5 = p2movetype != A
trigger5 = var(58) >= 3

;神速兎
[State -1]
type = ChangeState
value = 810
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = NumHelper(1010) = 0
triggerall = NumHelper(2700) = 0
triggerall = statetype != A
triggerall = var(56) >= 1
trigger1 = (var(58)>=3)||(var(58)>=1&&life<=var(58)*200)
trigger1 = ctrl = 1
trigger1 = (p2statetype = S)||(p2statetype = C)
trigger1 = random = [900,939]
trigger2 = stateno = 200
trigger2 = (moveguarded)||(movehit&&p2movetype != H)
trigger2 = (var(58)>=2&&random<=30&&life<=500)||(var(58)>=3)
trigger3 = stateno = 820
trigger3 = (moveguarded)||(movehit&&p2movetype != H)
trigger3 = (var(58)>=2&&random<=30&&life<=700)||(var(58)>=3)
trigger4 = ctrl = 1
trigger4 = p2statetype = L
trigger4 = var(58) = 1
trigger4 = random = [900,939]
trigger5 = p2movetype != H
trigger5 = ctrl = 1
trigger5 = p2bodydist x >= 200
trigger5 = random = [950,969]
trigger6 = ctrl = 1
trigger6 = var(57) >= 1 && p2movetype != H
trigger6 = random = [400,599]
trigger6 = var(58) >= 3

;弱パンチ
[State -1]
type = ChangeState
value = 200
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype = S
triggerall = p2bodydist x = [-5,50]
triggerall = p2statetype != L
trigger1 = ctrl = 1
trigger1 = p2statetype != A
trigger1 = random = [100,149]
trigger2 = stateno = 200
trigger2 = movehit
trigger2 = p2movetype = H
trigger3 = ctrl = 1
trigger3 = p2movetype = H
trigger3 = p2bodydist y = [-70,-25]

;天ヲ突ク螺旋
[State -1]
type = ChangeState
value = 820
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype != A
triggerall = p2bodydist x = [49,114]
trigger1 = ctrl = 1
trigger1 = random = [150,199]
trigger1 = (p2statetype = S)||(p2statetype = C)
trigger2 = stateno = 200
trigger2 = movecontact

;銃剣召喚
[State -1]
type = ChangeState
value = 600
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = NumHelper(1060) = 0
triggerall = NumHelper(1061) = 0
triggerall = power >= 100
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = p2bodydist x >= 130
trigger1 = (p2statetype = S)||(p2statetype = C)
trigger1 = random = [50,99]
trigger1 = var(57) = 0
trigger2 = p2bodydist x >= 130
trigger2 = (p2statetype = S)||(p2statetype = C)
trigger2 = random = [50,99]
trigger2 = var(57) >= 1
trigger2 = p2movetype != H

;紅眼
[State -1]
type = ChangeState
value = 870
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 100
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = random = [950,999]
trigger1 = p2bodydist x >= 230
trigger1 = p2movetype = A
trigger1 = var(58) >= 2
trigger2 = stateno = 820 && Time >= 41
trigger2 = movehit
trigger2 = var(57) = 0
trigger2 = var(58) >= 2
trigger3 = ctrl = 1
trigger3 = p2bodydist x >= 130
trigger3 = random = [100,129]
trigger3 = p2movetype = A
trigger3 = var(58) <= 2

;地ヲ割ル銃剣
[State -1]
type = ChangeState
value = 800
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = p2bodydist x >= 130
trigger1 = random = [130,159]
trigger1 = (p2statetype = S)||(p2statetype = C)
trigger1 = var(58) = 1
trigger1 = var(56) >= 1
trigger2 = stateno = 820 && Time >= 41
trigger2 = movehit
trigger2 = var(58) = 1
trigger3 = var(56) = 0
trigger3 = var(58) >= 2
trigger3 = ctrl = 1
trigger3 = random = [130,159]
trigger3 = p2bodydist x >= 116
trigger3 = (p2statetype = S)||(p2statetype = C)

;霊撃
[State -1]
type = ChangeState
value = 700
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype = S || statetype = C
trigger1 = ctrl = 1
trigger1 = p2bodydist x = [-100,100]
trigger1 = p2movetype = A
trigger1 = power <= 2000
trigger1 = var(58)=1
trigger1 = random = [900,959]
trigger2 = ctrl = 1
trigger2 = p2bodydist x = [-100,100]
trigger2 = power <= 1000
trigger2 = var(58)=1
trigger2 = random = [900,939]

;神撃
[State -1]
type = ChangeState
value = 710
triggerall = var(58)=1
triggerall = power >= 1000
trigger1 = stateno = 820
trigger1 = movehit
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = frontedgedist <= 110
trigger1 = power >= 2300

;断空斬
[State -1]
type = ChangeState
value = 860
;triggerall = 0
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype = A
trigger1 = stateno = 840 && Time >=20
trigger1 = movehit

;ジャンプ銃剣召喚2
[State -1]
type = ChangeState
value = 621
triggerall = var(58)>=1 && roundstate = 2
triggerall = power >= 100
triggerall = statetype = A
triggerall = ctrl
triggerall = random = [51,100]
trigger1 = p2movetype = H
trigger2 = p2bodydist x >= 70

[State ]
type = changestate
value = 0
triggerall = var(58)>=1
triggerall = (statetype = S || statetype = C) && ctrl && !time
trigger1 = stateno = 40
trigger2 = stateno = 10
ctrl = 1

;バックステップ
[State -1]
type = ChangeState
value = 105
triggerall = var(58)>=1 && roundstate = 2
triggerall = statetype = S
trigger1 = ctrl = 1
trigger1 = p2statetype = L
trigger1 = p2bodydist x <= 50
trigger1 = FrontEdgeBodyDist <= 70
