[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 = "gairiki"
command = B,D,F,a
time = 33

[Command]
name = "issen"
command = F,D,B,a
time = 33

[Command]
name = "pad1"
command = B,D,F,b
time = 33

[Command]
name = "pad2"
command = F,D,B,b
time = 33

[Command]
name = "spark"
command = B,D,F,c
time = 33

[Command]
name = "tabete"
command = F,D,B,c
time = 33

[Command]
name = "agattea"
command = D,DB,B,a
time = 22

[Command]
name = "agatteb"
command = D,DB,B,b
time = 22

[Command]
name = "agattec"
command = D,DB,B,c
time = 22

[Command]
name = "subettea"
command = D,DF,F,a
time = 22

[Command]
name = "subetteb"
command = D,DF,F,b
time = 22

[Command]
name = "subettec"
command = D,DF,F,c
time = 22

;---通常技---
[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 = "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 = 1200
triggerall = command = "issen"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,アレイアード・スペシャル！！！]
type = Changestate
value = 1100
triggerall = command = "tabete"
triggerall = statetype != A
triggerall = power >= 3000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,古代魔導「アレイアード」]
type = Changestate
value = 1000
triggerall = command = "spark"
triggerall = statetype != A
triggerall = power >= 2000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,大失言「I want you !」下側]
type = Changestate
value = 800
triggerall = command = "pad1"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,大失言「I want you !」上側]
type = Changestate
value = 900
triggerall = command = "pad2"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,六連「闇の剣よ…」]
type = Changestate
value = 700
triggerall = command = "gairiki"
triggerall = statetype != A
triggerall = power >= 1000
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = numhelper(510) > 0
trigger3 = helper(510),movecontact
trigger4 = numhelper(511) > 0
trigger4 = helper(511),movecontact
trigger5 = numhelper(512) > 0
trigger5 = helper(512),movecontact
trigger6 = ctrl

[State -1,お前が欲しい！（横）A]
type = Changestate
value = 600
triggerall = command = "subettea"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1,空お前が欲しい！（横）A]
type = Changestate
value = 650
triggerall = command = "subettea"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 400 && movecontact) || (stateno = 401 && movecontact) || (stateno = 402 && movecontact)
trigger2 = ctrl

[State -1,お前が欲しい！（横）B]
type = Changestate
value = 601
triggerall = command = "subetteb"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1,空お前が欲しい！（横）B]
type = Changestate
value = 651
triggerall = command = "subetteb"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 400 && movecontact) || (stateno = 401 && movecontact) || (stateno = 402 && movecontact)
trigger2 = ctrl

[State -1,お前が欲しい！（横）C]
type = Changestate
value = 602
triggerall = command = "subettec"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1,空お前が欲しい！（横）C]
type = Changestate
value = 652
triggerall = command = "subettec"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 400 && movecontact) || (stateno = 401 && movecontact) || (stateno = 402 && movecontact)
trigger2 = ctrl

[State -1,お前が欲しい！（上）A]
type = Changestate
value = 500
triggerall = command = "agattea"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1,お前が欲しい！（上）B]
type = Changestate
value = 501
triggerall = command = "agatteb"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1,お前が欲しい！（上）C]
type = Changestate
value = 502
triggerall = command = "agattec"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact) || (stateno = 202 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact) || (stateno = 302 && movecontact)
trigger3 = ctrl

[State -1, レビテーション];投げ技
type = ChangeState
value = 205
triggerall = command = "c"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 40
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 45
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

[State -1,5A]
type = Changestate
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact)
trigger2 = (stateno = 300 && movecontact)
trigger3 = ctrl

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

[State -1,5C]
type = Changestate
value = 202
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact)
trigger3 = ctrl

[State -1,2A]
type = Changestate
value = 300
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact)
trigger2 = (stateno = 300 && movecontact)
trigger3 = ctrl

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

[State -1,2C]
type = Changestate
value = 302
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = Var(59) = 0
trigger1 = (stateno = 200 && movecontact) || (stateno = 201 && movecontact)
trigger2 = (stateno = 300 && movecontact) || (stateno = 301 && movecontact)
trigger3 = ctrl

[State -1,JA]
type = Changestate
value = 400
triggerall = command = "a"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 400 && movecontact)
trigger2 = ctrl

[State -1,JB]
type = Changestate
value = 401
triggerall = command = "b"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 400 && movecontact)
trigger2 = ctrl

[State -1,JC]
type = Changestate
value = 402
triggerall = command = "c"
triggerall = statetype = A
triggerall = Var(59) = 0
trigger1 = (stateno = 401 && movecontact)
trigger2 = ctrl

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

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

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

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