[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 = "konami1"
command = U,U,D,D,B,F,B,F,b,a
time = 200

[Command]
name = "konami2"
command = U,U,D,D,F,B,F,B,b,a
time = 200

name = "konami1"
command = s
time = 10

;---捠忢媄---
[Command]
name = "a"
command = a
time = 1

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

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

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

[Command]
name = "c"
command = c
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 = 420
triggerall = command = "c"
triggerall = numhelper(421) = 0
triggerall = var(5) < 2
triggerall = var(4) < 30
triggerall = palno = [9,12]
trigger1 = ctrl
trigger2 = !ishelper
trigger2 = stateno = [200,410]

[State -1, 儃儉]
type = ChangeState
value = 320
triggerall = command = "c"
triggerall = var(5) < 2
triggerall = var(4) < 30
triggerall = palno = [5,8]
trigger1 = ctrl
trigger2 = !ishelper
trigger2 = stateno = [200,410]

[State -1, 儃儉]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = numhelper(221) = 0
triggerall = var(5) < 2
triggerall = var(4) < 30
triggerall = palno = [1,4]
trigger1 = ctrl
trigger2 = !ishelper
trigger2 = stateno = [200,410]

[State -1, 儗乕僓乕]
type = ChangeState
value = 410
triggerall = command = "holdb"
triggerall = palno = [9,12]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl

[State -1, 儗乕僓乕]
type = ChangeState
value = 310
triggerall = command = "holdb"
triggerall = palno = [5,8]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl

[State -1, 儗乕僓乕]
type = ChangeState
value = 210
triggerall = command = "holdb"
triggerall = palno = [1,4]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl

[State -1, 抏娵3]
type = ChangeState
value = 400
triggerall = command != "holdb"
triggerall = palno = [9,12]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl

[State -1, 抏娵2]
type = ChangeState
value = 300
triggerall = command != "holdb"
triggerall = palno = [5,8]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl

[State -1, 抏娵]
type = ChangeState
value = 200
triggerall = command != "holdb"
triggerall = palno = [1,4]
triggerall = command = "a" || command = "holda"
trigger1 = ctrl