
[Defaults]
; 默认接受指令的时间，最小为1。
command.time = 15

; 默认指令蓄力的时间，最小为1，最大为30。
command.buffer.time = 5

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

;-| AI |------------------------------------------------------
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,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,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,b
time = 0
[Command]
name = "AI47"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,b
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,b
time = 0
[Command]
name = "AI49"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,b
time = 0
[Command]
name = "AI50"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,b
time = 0

[command]
name = "buff"
command =  ~s
time = 30
[Command]
name = "236a"
command = ~D,DF,F,a
time = 30

[Command]
name = "236b"
command = ~D,DF,F,b
time = 30

[Command]
name = "236c"
command = ~D,DF,F,c
time = 30

[Command]
name = "236x"
command = ~D,DF,F,x
time = 30
[Command]
name = "236y"
command = ~D,DF,F,y
time = 30


[Command]
name = "214a"
command = ~D,DB,B,a
time = 30

[Command]
name = "214b"
command = ~D,DB,B,b
time = 30
[Command]
name = "214c"
command = ~D,DB,B,c
time = 30
[Command]
name = "214x"
command = ~D,DB,B,x
time = 30
[Command]
name = "214y"
command = ~D,DB,B,y
time = 30
[Command]
name = "214z"
command = ~D,DB,B,z
time = 30




[Command]
name = "xy"
command = x+y
time = 30





;-| 方向＋攻击键 |---------------------------------------------------------
[Command]
name = "Da"
command = /$D,a
time = 1

[Command]
name = "Fa"
command = /$F,a
time = 1
[Command]
name = "Fb"
command = /$F,b
time = 1

[Command]
name = "Ba"
command = /$B,a
time = 1

[Command]
name = "Bb"
command = /$B,b
time = 1

[Command]
name = "Db"
command = /$D,b
time = 1

[command]
name = "DX"
command = /$D,x 
time = 1

[command]
name = "DZ"
command = /$D,y
time = 1

[command]
name = "Fc"
command = /$F,c
time = 1

[command]
name = "Bc"
command = /$B,c
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 = "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 = "fwd"
command = F
time = 1

[command]
name = "back"
command = B
time = 1

[command]
name = "up"
command = U
time = 1

[command]
name = "down"
command = D
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

[Command]
name = "hold x";Required (do not remove)
command = /$x
time = 1

[Command]
name = "hold y";Required (do not remove)
command = /$y
time = 1

;招式部分
[statedef -1]
[State -1, 剑波]
type = ChangeState
value = 700
TriggerAll = Var(59) = 0 
triggerall = command = "236a"
trigger1 = (statetype = S) && ctrl

[State -1, 剑波]
type = ChangeState
value = 1300
TriggerAll = Var(59) = 0 
triggerall = command = "214c"
trigger1 = (statetype = S) && ctrl


[State -1,装甲启动]
type = ChangeState
value = 1100
TriggerAll = Var(59) = 0 
triggerall = command = "buff"
trigger1 = (statetype = S) && ctrl

[State -1,召唤天子]
type = ChangeState
value = 1000
TriggerAll = Var(59) = 0 
triggerall = command = "236y"
trigger1 = (statetype = S) && ctrl

[State -1, 五景崩落（小）]
type = ChangeState
value = 710
TriggerAll = Var(59) = 0 
triggerall = command = "236b"
trigger1 = (statetype = S) && ctrl
trigger2 = stateno <=300 && movecontact

[State -1,五景崩落（中）]
type = ChangeState
value = 715
TriggerAll = Var(59) = 0 
triggerall = command = "236c"
trigger1 = (statetype = S) && ctrl
trigger2 = stateno <=300 && movecontact

[State -1, 五景崩落（大）]
type = ChangeState
value = 720
TriggerAll = Var(59) = 0 
triggerall = command = "236x"
trigger1 = (statetype = S) && ctrl

[State -1, 铁山靠]
type = ChangeState
value = 730 
TriggerAll = Var(59) = 0 
triggerall = command = "214a"
trigger1 = (statetype = S) && ctrl

[State -1, 升龙拳]
type = ChangeState
value = 740
TriggerAll = Var(59) = 0 
triggerall = command = "214b"
trigger1 = (statetype = S) && ctrl


[State -1, 强行DKO]
type = ChangeState
value = 750
TriggerAll = Var(59) = 0 
triggerall = command = "214x"
trigger1 = (statetype = S) && ctrl

[State -1, 上升攻击]
type = ChangeState
value = 910
TriggerAll = Var(59) = 0 
triggerall = command = "214z"
trigger1 = (statetype = S) && ctrl
[State -1, 旋转攻击]
type = ChangeState
value = 900
TriggerAll = Var(59) = 0 
triggerall = command = "214y"
trigger1 = (statetype = S) && ctrl

[State -1, 大魔法]
type = ChangeState
value = 800
TriggerAll = Var(59) = 0 
triggerall = command = "xy"
trigger1 = palno=[1,2]
trigger1 = (statetype = S) && ctrl

[State -1, 大魔法]
type = ChangeState
value = ifelse(random%8=1,801,800)
TriggerAll = Var(59) = 0 
triggerall = command = "xy"
trigger1 = palno=[3,4]
trigger1 = (statetype = S) && ctrl


[State -1, 大魔法]
type = ChangeState
value = ifelse(random%4=1,801,800)
TriggerAll = Var(59) = 0 
triggerall = command = "xy"
trigger1 = palno=[5,6]
trigger1 = (statetype = S) && ctrl


[State -1, 大魔法]
type = ChangeState
value = ifelse(random%2=1,801,800)
TriggerAll = Var(59) = 0 
triggerall = command = "xy"
trigger1 = palno=[7,8]
trigger1 = (statetype = S) && ctrl

[State -1, 大魔法]
type = ChangeState
value = 801
TriggerAll = Var(59) = 0 
triggerall = command = "xy"
trigger1 = palno>=9
trigger1 = (statetype = S) && ctrl


[State -1, FF]
type = ChangeState
value = 100
TriggerAll = Var(59) = 0 
triggerall = command = "FF" 
trigger1 = (statetype = S) && ctrl

[State -1, BB]
type = ChangeState
value = 105
TriggerAll = Var(59) = 0 
triggerall = command = "BB"
trigger1 = (statetype = S) && ctrl

[State -1, 击倒]
type = ChangeState
value = 300
TriggerAll = Var(59) = 0 
triggerall = command = "Fa"|| command = "Fb"
trigger1 = (statetype = S) && ctrl

[State -1, 站立轻拳]
type = ChangeState
value = 200
TriggerAll = Var(59) = 0 
triggerall = command = "a"
trigger1 = (statetype = S) && ctrl
trigger2 = stateno = [210,215]
trigger2 = movehit = 1

[State -1, 站立轻拳2]
type = ChangeState
value = 205
triggerall = command = "b"
TriggerAll = Var(59) = 0 
trigger1 = (statetype = S) && ctrl
trigger2 = stateno = 210 ||  stateno = 200 || stateno = 215
trigger2 = movehit = 1

[State -1, 站立重拳1]
type = ChangeState
value = 210
triggerall = command = "x"
TriggerAll = Var(59) = 0 
trigger1 = (statetype = S) && ctrl
trigger2 = stateno = 205 ||  stateno = 200 || stateno = 215
trigger2 = movehit = 1

[State -1, 站立重拳2]
type = ChangeState
value = 215
triggerall = command = "y"
TriggerAll = Var(59) = 0 
trigger1 = (statetype = S) && ctrl
trigger2 = stateno = 210 ||  stateno = 200 || stateno = 205
trigger2 = movehit = 1


[State -1, 小地震]
type = ChangeState
value = 240
triggerall = command = "z"
TriggerAll = Var(59) = 0 
trigger1 = (statetype = S) && ctrl



[State -1, 下蹲轻拳]
type = ChangeState
value = 400
TriggerAll = Var(59) = 0 
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = (statetype = C) && ctrl

[State -1, 下蹲重拳]
type = ChangeState
value = 410
TriggerAll = Var(59) = 0 
triggerall = command = "b"
triggerall = command = "holddown"
trigger1= statetype = C
trigger1 = ctrl 

[State -1, 下蹲轻脚]
type = changestate
value = 430
TriggerAll = Var(59) = 0 
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, 下蹲重脚]
type = changestate
value = 440
TriggerAll = Var(59) = 0 
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype =C
trigger1 = ctrl


[State -1, c]
type =changestate 
value = 1200
TriggerAll = Var(59) = 0 
triggerall =command = "c"
trigger1 =statetype = s
trigger1 =ctrl 
[State -1, Az]
type =changestate 
value = 1201
TriggerAll = Var(59) = 0 
triggerall =command = "z"
trigger1 =statetype = A
trigger1 =ctrl 
[State -1, Ay]
type =changestate 
value = 650
TriggerAll = Var(59) = 0 
triggerall = command = "holddown"
triggerall =command = "y"||command = "x"
trigger1 =statetype = A
trigger1 =ctrl 

[State -1, Aa] 
type = changestate
value = 600
TriggerAll = Var(59) = 0 
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Ab]
type = changestate
value = 610
TriggerAll = Var(59) = 0 
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact

[State -1, Ax]
type = changestate
value = 630
TriggerAll = Var(59) = 0 
triggerall = command = "x"
trigger1 =statetype = A
trigger1 =ctrl

[State -1, Ay]
type =changestate 
value = 640
TriggerAll = Var(59) = 0 
triggerall =command = "y"
trigger1 =statetype = A
trigger1 =ctrl 
 
 
