[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 = "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, 1]
type = ChangeState
value = 200
triggerall = command = "a"
trigger1 = palno = 1
trigger1 = ctrl

[State -1, 2]
type = ChangeState
value = 300
triggerall = command = "a"
trigger1 = palno = 2
trigger1 = ctrl

[State -1, 3]
type = ChangeState
value = 400
triggerall = command = "a"
trigger1 = palno = 3
trigger1 = ctrl

[State -1, 4]
type = ChangeState
value = 500
triggerall = command = "a"
trigger1 = palno = 4
trigger1 = ctrl

[State -1, 5]
type = ChangeState
value = 1030
triggerall = command = "b"
triggerall = statetype = S
trigger1 = palno = 5
trigger1 = ctrl

[State -1, 5]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = statetype = S
trigger1 = palno = 5
trigger1 = ctrl


[State -1, 7];嫮壔
type = ChangeState
value = 700
triggerall = command = "a"
trigger1 = palno = 7
trigger1 = ctrl

[State -1, 7];弖娫堏摦
type = ChangeState
value = 1010
triggerall = command = "b"
trigger1 = palno = 7
trigger1 = ctrl

[State -1, 7];帺柵
type = ChangeState
value = 3010
triggerall = command = "z"
triggerall = var(52) = 1
trigger1 = palno <= 6
trigger1 = RoundNo = 3
trigger1 = power >= 500000000
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 900
triggerall = command = "a"
trigger1 = palno = 6
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 901
triggerall = command = "b"
trigger1 = palno = 6
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 902
triggerall = command = "c"
trigger1 = palno = 6
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 1500
triggerall = command = "x"
triggerall = numhelper(1500) = 0
trigger1 = palno = 8
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 1500
triggerall = command = "x"
triggerall = numhelper(1500) < 7
trigger1 = palno = 9
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 1499
triggerall = command = "c"
triggerall = numhelper(1501) < 7
trigger1 = palno = 9
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 19999
triggerall = command = "y"
trigger1 = palno = 8 || palno = 9
trigger1 = Numhelper(30000) = 0
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 6];恖憖嶌梡
type = ChangeState
value = 990
triggerall = command = "a"
trigger1 = palno = 8 || palno = 9
trigger1 = var(59) = 0
trigger1 = ctrl


[State -1, 6];恖憖嶌梡
type = ChangeState
value = 47714
triggerall = command = "b"
trigger1 = palno = 8 || palno = 9
trigger1 = var(59) = 0
trigger1 = ctrl

[State -1, 7];帺柵
type = ChangeState
value = 11485;3010;1011
triggerall = command = "z"
trigger1 = palno = 9
trigger1 = ctrl

