[Remap]
x = y;
y = x;
z = c;
a = b;
b = a;
c = z
s = s

[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 = "a"
command = a
time = 1

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

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

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

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

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

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

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

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

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

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

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

[Command]
name = "hold_z"
command = /z
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
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command = "a" || command = "FF"
triggerall = command != "holddown"
triggerall = command != "hold_c"
trigger1 = ctrl = 1
trigger2 = stateno = 101
trigger3 = stateno = 200
trigger4 = stateno = 201
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 230
trigger8 = stateno = 231
trigger9 = stateno = 232
trigger10 = stateno = 400
trigger11 = stateno = 621
trigger12 = stateno = 631
value = 100

[State -1, ワープ]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command != "hold_c"
trigger1 = ctrl = 1
value = 110

[State -1, 2段ジャンプ]
type = changestate
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = var(3) < 1
triggerall = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 610
trigger3 = stateno = 620
trigger4 = stateno = 630
value = 60

[State -1, ジャンプ]
type = changestate
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command != "hold_c"
triggerall = var(0) <= 0
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 100
trigger3 = stateno = 101
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 210
trigger7 = stateno = 220
trigger8 = stateno = 230
trigger9 = stateno = 231
trigger10 = stateno = 232
trigger11 = stateno = 400
trigger12 = stateno = 621
trigger13 = stateno = 631
trigger14 = stateno = 810
value = 50

[State -1, ゼットセイバー一段目]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = command != "holdup"
triggerall = command != "hold_c"
triggerall = command = "y"
trigger1 = ctrl = 1
trigger1 = stateno != 100
value = 200

[State -1, ゼットセイバー二段目]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
trigger1 = stateno = 200
trigger1 = command = "y"
value = 210

[State -1, ゼットセイバー三段目]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
trigger1 = stateno = 210
trigger1 = command = "y"
value = 220

[State -1, 雷神撃（抜刀有り）]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command != "holdup"
triggerall = command != "holddown"
triggerall = command != "hold_c"
triggerall = command = "x"
trigger1 = ctrl = 1
trigger2 = stateno = 100
trigger2 = time <= 5
value = 230

[State -1, 雷神撃（抜刀無し）]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command != "holdup"
triggerall = command = "x"
trigger1 = stateno = 210
value = 231

[State -1, 龍炎刃]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command = "holdup"
triggerall = command != "hold_c"
triggerall = command = "x"
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger3 = stateno = 210
value = 240

[State -1, 電刃]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = command = "holdup"
triggerall = command != "hold_c"
triggerall = command = "y"
trigger1 = ctrl = 1
value = 250

[State -1, ダークホールド]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = ctrl = 1
trigger1 = command = "holddown"
trigger1 = command = "hold_c"
trigger1 = command = "a"
value = 260

[State -1, 円水斬]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = ctrl = 1
trigger1 = command = "holddown"
trigger1 = command = "x"
value = 270

[State -1, 滅閃光]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command != "hold_c"
trigger1 = command = "z"
value = 290

[State -1, 電刃零]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command != "holdup"
trigger1 = command = "hold_c"
trigger1 = command = "y"
value = 300

[State -1, 幻夢零]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command = "holdup"
trigger1 = command = "hold_c"
trigger1 = command = "y"
value = 310

[State -1, 幻夢零・改]
type = changestate
triggerall = roundstate = 2
triggerall = statetype != a
triggerall = ctrl = 1
trigger1 = command = "holddown"
trigger1 = command = "hold_c"
trigger1 = command = "y"
value = 320

[State -1, 真月輪]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command = "hold_c"
trigger1 = command != "holdup"
trigger1 = command = "x"
value = 330

[State -1, ゼットバスター乱れ撃ち]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command = "hold_c"
trigger1 = command = "holdup"
trigger1 = command = "x"
value = 340

[State -1, 真・滅閃光]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = s
triggerall = ctrl = 1
trigger1 = command = "hold_c"
trigger1 = command = "z"
value = 390

[State -1, しゃがみセイバー]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = c
triggerall = ctrl = 1
trigger1 = command != "hold_c"
trigger1 = command = "y"
value = 400

[State -1, 飛水翔]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = a
triggerall = var(3) < 1
triggerall = command = "a"
trigger1 = ctrl = 1
trigger2 = stateno = 610
trigger3 = stateno = 620
trigger4 = stateno = 630
value = 600

[State -1, 三日月斬]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = a
triggerall = ctrl = 1
trigger1 = command != "holdup"
trigger1 = command != "holddown"
trigger1 = command = "y"
value = 610

[State -1, 氷烈斬]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = a
triggerall = ctrl = 1
trigger1 = command = "holddown"
trigger1 = command = "x"
value = 620

[State -1, 断地炎]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = a
triggerall = ctrl = 1
trigger1 = command = "holddown"
trigger1 = command = "y"
value = 630

[State -1, 旋墜斬]
type = changestate
triggerall = roundstate = 2
triggerall = statetype = a
triggerall = ctrl = 1
trigger1 = command = "holdup"
trigger1 = command = "y"
value = 640

[State -1, 疾風牙]
type = changestate
triggerall = roundstate = 2
triggerall = ctrl = 0
triggerall = statetype = s
trigger1 = stateno = 100
trigger1 = time >= 6
trigger1 = command = "x"
value = 800

[State -1, 疾風]
type = changestate
triggerall = roundstate = 2
triggerall = ctrl = 0
triggerall = statetype = s
trigger1 = stateno = 100
trigger1 = command = "y"
value = 810

