[Rmap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s


[defaults]
command.time = 15
command.buffer.tiem = 1

;AI
[command]
name = "AI1"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0

[command]
name = "AI2"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0

[command]
name = "AI3"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0

[command]
name = "AI4"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0

[command]
name = "AI5"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0

[command]
name = "AI6"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0

[command]
name = "AI7"
command = a,a,a,a,a,a,a,a,b,b,b,b,b,b,b,b,b,b,b
time = 0

[command]
name = "AI8"
command = a,a,a,a,a,a,a,a,c,c,c,c,c,c,c,c,c,c,c
time = 0

[command]
name = "AI9"
command = a,a,a,a,a,a,a,a,x,x,x,x,x,x,x,x,x,x,x
time = 0

[command]
name = "AI10"
command = a,a,a,a,a,a,a,a,y,y,y,y,y,y,y,y,y,y,y
time = 0

[command]
name = "AI11"
command = a,a,a,a,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z
time = 0

[command]
name = "AI12"
command = b,b,b,b,b,b,b,b,b,b,b,c,c,c,c,c,c,c,c
time = 0

[command]
name = "AI13"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,b
time = 0

[command]
name = "AI14"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,c
time = 0

[command]
name = "AI15"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,x
time = 0

[command]
name = "AI16"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,y
time = 0

[command]
name = "AI17"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z
time = 0

[command]
name = "AI18"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,a
time = 0

[command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,c
time = 0

[command]
name = "AI20"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,x
time = 0

[command]
name = "AI21"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,y
time = 0

[command]
name = "AI22"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,z
time = 0

[command]
name = "AI23"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,a
time = 0

[command]
name = "AI24"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,b
time = 0

;僐儅儞僪擖椡or摨帪墴偟宯
[command]
name = "reiryoku"
command = a+b+c

[command]
name = "EX-onmyoudama"
command = ~$B,F,b+c

[command]
name = "EX-onmyoudama2"
command = b+c

[command]
name = "EX-keriage"
command = ~$D,$U,b+c

[command]
name = "EX-keriage2"
command = b+c

[command]
name = "keriage-A"
command = ~$D,$U,a

[command]
name = "keriage-B"
command = ~$D,$U,b

[command]
name = "keriage-C"
command = ~$D,$U,c

[command]
name = "onmyou-A"
command = $B,F,a

[command]
name = "onmyou-B"
command = $B,F,b

[command]
name = "onmyou-C"
command = $B,F,c

[command]
name = "DDa"
command = $D,$D,a

[command]
name = "DDb"
command = $D,$D,b

[command]
name = "a+b"
command = a+b

[command]
name = "b+c"
command = b+c

[command]
name = "x+y+z"
command = x+y+z


; 2kainyuuryoku(hissu)
[command]
name = "FF"
command = F,F
time = 10

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

;douji(hissu)
[command]
name = "recovery"
command = x+y

;tannpatu
[command]
name = "a"
command = a

[command]
name = "b"
command = b

[command]
name = "c"
command = c

[command]
name = "x"
command = x

[command]
name = "y"
command = y

[command]
name = "z"
command = z

[command]
name = "s"
command = s

[command]
name = "F"
command = $F

[command]
name = "Back"
command = $B

[command]
name = "hold-abc"
command = /a+b+c

; houkou(hissu)
[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 = var(59) = 0
triggerall = command = "reiryoku"
triggerall = statetype != A
triggerall = power >= 3000
trigger1 = ctrl = 1 || stateno = 12 ||stateno = 40
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410 ||  stateno = 1300 ||  stateno = 1310 ||  stateno = 1320 ;|| stateno = 1110 ||
trigger2 = movecontact
value = 2600

[state -1,EX堿梲嬍]
type = changestate
triggerall = var(59) = 0
triggerall = command = "EX-onmyoudama"
triggerall = statetype != A
triggerall = command != "holdback"
triggerall = command != "holdup"
triggerall = var(21) != 0
triggerall = power >= 1000
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110 ||
trigger2 = movecontact
value = 2000

[state -1,EX堿梲嬍2]
type = changestate
triggerall = var(59) = 0
triggerall = command = "EX-onmyoudama2"
triggerall = statetype != A
triggerall = command != "holdback"
triggerall = command != "holdup"
triggerall = command = "holdfwd"
triggerall = var(21) != 0
triggerall = power >= 1000
trigger1 = var(17) = 1
trigger1 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410 ||  stateno = 1300 ||  stateno = 1310 ||  stateno = 1320 ;|| stateno = 1110 ||
trigger1 = movecontact
trigger2 = var(17) = 1
trigger2 = stateno = 1200 || stateno = 1210 || stateno = 1220
value = 2000

[state -1,EX僼儔僋僩]
type = changestate
triggerall = var(59) = 0
triggerall = command = "EX-keriage"
triggerall = statetype != A
triggerall = command != "holdfwd"
triggerall = command = "holdup"
triggerall = var(22) != 0
triggerall = power >= 1000
trigger1 = ctrl = 1 || stateno = 12 || stateno = 40
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110 ||
trigger2 = movecontact
value = 2100

[state -1,EX僼儔僋僩2]
type = changestate
triggerall = var(59) = 0
triggerall = command = "EX-keriage2"
triggerall = statetype != A
triggerall = command != "holdfwd"
triggerall = command = "holdup"
triggerall = var(22) != 0
triggerall = power >= 1000
trigger1 = var(17) = 1
trigger1 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410 || stateno = 1300 || stateno = 1310 ||  stateno = 1320 ;|| stateno = 1110 ||
trigger1 = movecontact
trigger2 = var(17) = 1
trigger2 = stateno = 1200 || stateno = 1210 || stateno = 1220
value = 2100

[state -1,抧忋搳偘]
type = changestate
triggerall = var(59) = 0
triggerall = command = "a+b"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command != "holddown"
value = 800

[state -1,抧忋搳偘]
type = changestate
triggerall = var(59) = 0
triggerall = command = "a+b"
triggerall = statetype = A
trigger1 = ctrl = 1
value = 810

[state -1,A堿梲嬍]
type = changestate
triggerall = var(59) = 0
triggerall = command = "onmyou-A"
triggerall = statetype != A
triggerall = var(21) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1200

[state -1,B堿梲嬍]
type = changestate
triggerall = var(59) = 0
triggerall = command = "onmyou-B"
triggerall = statetype != A
triggerall = var(21) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1210

[state -1,C堿梲嬍]
type = changestate
triggerall = var(59) = 0
triggerall = command = "onmyou-C"
triggerall = statetype != A
triggerall = var(21) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1220

[state -1,A僼儔僋僩]
type = changestate
triggerall = var(59) = 0
triggerall = command = "keriage-A"
triggerall = statetype != A
triggerall = var(22) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1300

[state -1,B僼儔僋僩]
type = changestate
triggerall = var(59) = 0
triggerall = command = "keriage-B"
triggerall = statetype != A
triggerall = var(22) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1310

[state -1,C僼儔僋僩]
type = changestate
triggerall = var(59) = 0
triggerall = command = "keriage-C"
triggerall = statetype != A
triggerall = var(22) != 0
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410;|| stateno = 1110
trigger2 = movecontact
value = 1320

[state -1,嬻拞峌惃杊嫐]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b+c"
triggerall = statetype = A
trigger1 = ctrl = 1
value = 3020

[state -1,棫偪峌惃杊嫐]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b+c"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command != "holddown"
value = 3000

[state -1,偟傖偑傒峌惃杊嫐]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b+c"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holddown"
value = 3010

[state -1,楢懕峌惃杊嫐]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b+c"
triggerall = time > 10
trigger1 = stateno = [3003,3004]
trigger2 = stateno = [3013,3014]
trigger3 = stateno = [3023,3024]
value = ifelse(statetype = A,3020,ifelse(command = "holddown",3010,3000))

[state -1,挧敪]
type = changestate
triggerall = command = "s"
triggerall = statetype != A
trigger1 = ctrl = 1
value = 195

[state -1,攷楉尪塭嵞愰尵]
type = changestate
triggerall = var(59) = 0
triggerall = command = "x+y+z"
triggerall = statetype != A
triggerall = palno != 6
trigger1 = ctrl = 1
trigger1 = power >= 2000
value = 10000

[state -1,旘傃崬傒廟傝]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holdfwd"
trigger1 = statetype != C
trigger2 = var(17) != 0
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410
trigger2 = movecontact
trigger2 = command = "holdfwd"
value = 1000


;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;扨儃僞儞宯亄兛
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
[state -1,棫偪嬤C]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype != A
triggerall = p2bodydist x <= 25
trigger1 = ctrl = 1
trigger1 = command != "holddown"
value = 225

[state -1,棫偪嬤B]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype != A
triggerall = p2bodydist x <= 25
trigger1 = ctrl = 1
trigger1 = command != "holddown"
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact
trigger2 = command != "holddown"
value = 215

[state -1,摜傒崬傒廟傝]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holdback"
trigger1 = statetype != C
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 ||  stateno = 410
trigger2 = movecontact
trigger2 = command = "holdback"
value = 1010

[state -1,嬻拞夞偟廟傝乮慜乯]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
triggerall = command = "holdfwd"
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 600 || stateno = 610
trigger2 = movecontact
value = 1020

[state -1,嬻拞夞偟廟傝乮屻傠乯]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
triggerall = command = "holdback"
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 600 || stateno = 610
trigger2 = movecontact
value = 1021

[state -1,棫偪A]
type = changestate
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command != "holddown"
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact
trigger2 = command != "holddown"
trigger3 = stateno = 200
trigger3 = animelem = 4, >= 2
trigger3 = command != "holddown"
trigger4 = stateno = 400
trigger4 = animelem = 3, >= 2
trigger4 = command != "holddown"
value = 200

[state -1,棫偪墦B]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype != A
triggerall = p2bodydist x > 25
trigger1 = ctrl = 1
trigger1 = command != "holddown"
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact
trigger2 = command != "holddown"
value = 210

[state -1,棫偪墦C]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype != A
triggerall = p2bodydist x > 25
trigger1 = ctrl = 1
trigger1 = command != "holddown"
value = 220

[state -1,偟傖偑傒A]
type = changestate
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holddown"
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact
trigger2 = command = "holddown"
trigger3 = stateno = 200
trigger3 = animelem = 4, >= 2
trigger3 = command = "holddown"
trigger4 = stateno = 400
trigger4 = animelem = 3, >= 2
trigger4 = command = "holddown"
value = 400

[state -1,偟傖偑傒B]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holddown"
trigger2 = var(17) = 1
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact
trigger2 = command = "holddown"
value = 410

[state -1,偟傖偑傒C]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "holddown"
value = 420

[state -1,嬻拞A]
type = changestate
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl = 1
value = 600

[state -1,嬻拞B]
type = changestate
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl = 1
trigger2 = var(17) = 1
trigger2 = stateno = 600
trigger2 = movecontact
value = 610

[state -1,嬻拞C]
type = changestate
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl = 1
value = 620


;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;堏摦娭學orAI娭學
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
[state -1,慜僗僥僢僾]
type = changestate
triggerall = var(59) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1
value = 100

[state -1,屻傠僗僥僢僾]
type = changestate
triggerall = var(59) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
value = 105

[state -1,庴恎]
type = changestate
triggerall = var(59) = 0
triggerall = var(30) = 0
triggerall = stateno = 5100
triggerall = alive = 1
trigger1 = command = "a"
trigger2 = command = "b"
trigger3 = command = "c"
trigger4 = command = "x"
trigger5 = command = "y"
trigger6 = command = "z"
value = 4000


;AI-on
[state -1,AI]
type = varset
triggerall = var(59) = 0
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = palno = 12
var(59) = 1
