[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s
;---CPU判定---
[Command]
name = "AI1"
command = a,F,F,F,F,F,F,F,F
time = 1

[Command]
name = "AI2"
command = a,F,F,F,F,F,F,F,B
time = 1

[Command]
name = "AI3"
command = a,F,F,F,F,F,F,B,F
time = 1

[Command]
name = "AI4"
command = a,F,F,F,F,F,B,F,F
time = 1

[Command]
name = "AI5"
command = a,F,F,F,F,B,F,F,F
time = 1

[Command]
name = "AI6"
command = a,F,F,F,B,F,F,F,F
time = 1

[Command]
name = "AI7"
command = a,F,F,B,F,F,F,F,F
time = 1

[Command]
name = "AI8"
command = a,F,B,F,F,F,F,F,F
time = 1

[Command]
name = "AI9"
command = a,B,F,F,F,F,F,F,F
time = 1

[Command]
name = "AI10"
command = a,B,B,F,F,F,F,F,F
time = 1

[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI12"
command = b,a,a,a,a,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI13"
command = a,b,a,a,a,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI14"
command = a,a,b,a,a,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI15"
command = a,a,a,b,a,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI16"
command = a,a,a,a,b,a,a,a,a,a,a,a
time = 1

[Command]
name = "AI17"
command = a,a,a,a,a,b,a,a,a,a,a,a
time = 1

[Command]
name = "AI18"
command = a,a,a,a,a,a,b,a,a,a,a,a
time = 1

[Command]
name = "AI19"
command = a,a,a,a,a,a,a,b,a,a,a,a
time = 1

[Command]
name = "AI20"
command = a,a,a,a,a,a,a,a,b,a,a,a
time = 1

[Command]
name = "AI21"
command = a,a,a,a,a,a,a,a,a,b,a,a
time = 1

[Command]
name = "AI22"
command = a,a,a,a,a,a,a,a,a,a,b,a
time = 1

[Command]
name = "AI23"
command = a,a,a,a,a,a,a,a,a,a,a,b
time = 1

[Command]
name = "AI24"
command = b,b,b,b,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI25"
command = c,b,b,b,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI26"
command = b,c,b,b,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI27"
command = b,b,c,b,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI28"
command = b,b,b,c,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI29"
command = b,b,b,b,c,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI30"
command = b,b,b,b,b,c,b,b,b,b,b,b
time = 1

[Command]
name = "AI31"
command = b,b,b,b,b,b,c,b,b,b,b,b
time = 1

[Command]
name = "AI32"
command = b,b,b,b,b,b,b,c,b,b,b,b
time = 1

[Command]
name = "AI33"
command = b,b,b,b,b,b,b,b,c,b,b,b
time = 1

[Command]
name = "AI34"
command = b,b,b,b,b,b,b,b,b,c,b,b
time = 1

[Command]
name = "AI35"
command = b,b,b,b,b,b,b,b,b,b,c,b
time = 1

[Command]
name = "AI36"
command = b,b,b,b,b,b,b,b,b,b,b,c
time = 1

[Command]
name = "AI37"
command = b,b,b,c,b,b,b,b,b,b,b,b
time = 1

[Command]
name = "AI38"
command = b,b,b,b,b,b,c,b,b,b,b,b
time = 1

[Command]
name = "AI39"
command = b,b,b,b,b,b,b,b,c,b,b,b
time = 1

[Command]
name = "AI40"
command = b,b,b,b,b,b,b,b,b,b,c,b,F
time = 1

[Command]
name = "AI41"
command = b,b,b,b,b,c,b,b,b,b,b,b,F
time = 1

[Command]
name = "AI42"
command = b,b,b,b,b,b,c,b,b,b,b,b,F
time = 1

[Command]
name = "AI43"
command = b,b,b,b,b,b,b,c,b,b,b,b,F
time = 1

[Command]
name = "AI44"
command = b,b,b,b,b,b,b,b,c,b,b,b,F
time = 1

[Command]
name = "AI45"
command = b,b,b,b,b,b,b,b,b,c,b,b,F
time = 1

[Command]
name = "AI46"
command = b,b,b,b,b,b,b,b,b,b,c,b,F
time = 1

[Command]
name = "AI47"
command = b,b,b,b,b,b,b,b,b,b,b,c,F
time = 1

[Command]
name = "AI48"
command = b,b,b,c,b,b,b,b,b,b,b,b,F
time = 1

[Command]
name = "AI49"
command = b,b,b,b,b,b,c,b,b,b,b,b,F
time = 1

[Command]
name = "AI50"
command = b,b,b,b,b,b,b,b,c,b,b,b,F
time = 1

;---２度押し系統---
[Command]
name = "FF"
command = F, F
time = 10

[Command]
name = "BB"
command = B, B
time = 10

;---復帰---
[Command]
name = "recovery"
command = x+y
time = 1

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

[Command]
name = "recovery"
command = x
time = 1

[Command]
name = "recovery"
command = a
time = 1

[Command]
name = "recovery"
command = y
time = 1

[Command]
name = "recovery"
command = b
time = 1

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

[Command]
name = "recovery"
command = c
time = 1

;------------------------------------------------------------------------------
;自分の技

[Command]
name = "IGIARI"
command = B, DB, D, DF, F, a
;command = F, DF, D, DB, B, x
time = 33

[Command]
name = "TSUIKYU"
command = B, DB, D, DF, F, c
time = 33

[Command]
name = "Tikubi"
command = ~F, D, DF, a
time = 20

[Command]
name = "Beam"
command = ~D, DF, F, a
time = 20

[Command]
name = "Earthquake"
command = ~D, DB, B, a
time = 20

[Command]
name = "KorH"
command = ~D, DF, F, c
time = 20

[Command]
name = "ST_1"
command = ~D, DB, B, x
time = 20

[Command]
name = "ST_2"
command = ~D, DB, B, y
time = 20

[Command]
name = "ST_3"
command = ~D, DF, F, z
time = 20

[Command]
name = "ST_4"
command = ~D, DB, B, z
time = 20

;---通常技---
[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 = "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

[Command]
name = "start"
command = s
time = 1

;---移動---
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

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

[Command]
name = "holddown"
command = /$D
time = 1

;---技のコマンド---
[Statedef -1]

[State -1, 真・異議あり！]
type = Changestate
value = 3000
triggerall = command = "IGIARI"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = StateNo = 1100 || StateNo = 1200 || StateNo = 1400 || StateNo = 1501 || StateNo = 1502 || StateNo = 1504 
trigger4 = ctrl || StateNo = 100
trigger5 = StateNo = 700

[State -1, 追求〜追いつめられて]
type = Changestate
value = 3100
triggerall = command = "TSUIKYU"
triggerall = statetype != A
triggerall = power >= 2000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = StateNo = 1100 || StateNo = 1200 || StateNo = 1400 || StateNo = 1501 || StateNo = 1502 || StateNo = 1504 
trigger4 = ctrl || StateNo = 100
trigger5 = StateNo = 700

[State -1, ムジュン]
type = Changestate
value = 1100
triggerall = command = "Tikubi"
triggerall = statetype != A
;triggerall = power >= 3000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

[State -1, ビーム]
type = Changestate
value = 1300
triggerall = 0
triggerall = command = "Beam"
triggerall = statetype != A
;triggerall = power >= 3000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl
trigger4 = StateNo = 700

[State -1, 地震]
type = Changestate
value = 1200
triggerall = command = "Earthquake"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

;キャタツは中段、ハシゴは下段
[State -1, キャタツ/ハシゴ]
type = Changestate
value = 1400
triggerall = command = "KorH"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

;御剣怜侍
[State -1, ストライカー1]
type = Changestate
value = 1501
triggerall = command = "ST_1"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

;狩魔冥
[State -1, ストライカー2]
type = Changestate
value = 1502
triggerall = command = "ST_2"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

;ゴドー検事Beam
[State -1, ストライカー3.1]
type = Changestate
value = 1503
triggerall = command = "ST_3"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = StateNo = 1100 || StateNo = 1200 || StateNo = 1400 || StateNo = 1501 || StateNo = 1502 || StateNo = 1504 
trigger4 = ctrl || StateNo = 100
trigger5 = StateNo = 700

;ゴドー検事Fire
[State -1, ストライカー3.2]
type = Changestate
value = 1504
triggerall = command = "ST_4"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 300 || stateno = 310 || stateno = 320
trigger3 = ctrl || StateNo = 100
trigger4 = StateNo = 700

;------------------------------------------------------------------------------
[State -1,5A or 2A]
type = Changestate
value = 200
triggerall = command = "a"
;triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 200 && (movecontact || Time >= 12)
trigger2 = stateno = 300 && (movecontact || Time >= 12)
trigger3 = ctrl

[State -1,5B]
type = Changestate
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [200, 200])
trigger2 = (stateno = [300, 300])
trigger3 = ctrl

[State -1,5C]
type = Changestate
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [200, 210])
trigger2 = (stateno = [300, 310])
trigger3 = ctrl

[State -1,2B]
type = Changestate
value = 310
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [200, 200])
trigger2 = (stateno = [300, 300])
trigger3 = ctrl

[State -1,2C]
type = Changestate
value = 320
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [200, 210])
trigger2 = (stateno = [300, 310])
trigger3 = ctrl

[State -1,JA]
type = Changestate
value = 600
triggerall = command = "a"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 600 && (MoveContact || Time >= 12)
trigger2 = ctrl

[State -1,JB]
type = Changestate
value = 610
triggerall = command = "b"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = stateno = 600
trigger2 = ctrl

[State -1,JC]
type = Changestate
value = 620
triggerall = command = "c"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [600, 610])
trigger2 = ctrl

[State -1,地上jc]
type = Changestate
value = 40
triggerall = command = "holdup"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = (stateno = [200, 220]) && movecontact
trigger2 = (stateno = [300, 320]) && movecontact

[State -1,空中jc]
type = Changestate
value = 45
triggerall = command = "holdup"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
triggerall = Var(2) = 0
trigger1 = (stateno = [600, 620]) && movecontact

[State -1,ダッシュ]
type = Changestate
value = 100
triggerall = command = "FF"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = ctrl

[State -1,バックダッシュ]
type = Changestate
value = 105
triggerall = command = "BB"
triggerall = statetype != A
triggerall = Var(59) = -1
triggerall = !IsHelper
trigger1 = ctrl

[State -1,空中ダッシュ]
type = Changestate
value = 110
triggerall = command = "FF"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
triggerall = Var(2) = 0
trigger1 = ctrl

[State -1,空中バックダッシュ]
type = Changestate
value = 115
triggerall = command = "BB"
triggerall = statetype = A
triggerall = Var(59) = -1
triggerall = !IsHelper
triggerall = Var(2) = 0
trigger1 = ctrl