
; 汉化版功夫人的cmd文件
;
; 两部分:按键定义和state入口（就是按什么键进入什么state。原谅我吧……想不出好名字了）
; (state入口在按键定义之后)
;
; 1. 按键定义
; ---------------------
; 注意: 按键和招式名分大小写。
; 八个方向分别是:
;   B, DB, D, DF, F, UF, U, UB     (全大写)
;   对应后，下后，下，下前，前，前上，上，上后。
; 六个按键是:
;   a, b, c, x, y, z               (全小写)
;   在默认按键的情况下，xyz在上排，abc在下排。
;   推荐使用xyz作为拳，abc作为脚。
;
; 每一个[Command]定义一个操作指令。
; 这些操作指令可以在cmd和cns里被调用。
; 操作指令的语法规范如下:
;
;   [Command]
;   name = "指令名"
;   command = 按键输入
;   time = 接受指令输入的时间 (可选)
;   buffer.time = 输入缓存的时间 (可选)
;
; - 指令名
;   指令的名字，在调用时需要输入同样的名字，比如trigger1=command="指令名"。
;   指令名区分大小写。(QCB_a和Qcb_a或者QCB_A不同)。
;
; - 按键输入
;   输入的按键的列表。每一个键由逗号隔开。一个方向键或者一个攻击键叫为一个符号。
;   方向键和攻击键之前可以用特殊符号来达到一些效果:
;   斜杠 (/) - 表示之后的一个键必须被按住不放
;          举例, command = /D       ;按住不放下方向键
;               command = /DB, a   ;按住不放下后方向键的时候按a
;   波浪号 (~) - 表示按键被松开
;          举例, command = ~a       ;松开a键
;               command = ~D, F, a ;松开下方向键，按前方向键，再按a
;          如果你想让某个键蓄力一段时间再放开，可以再波浪号之后加入你想保持蓄力的时间(以帧为单位)
;          举例, command = ~30a     ;按住a30帧，再松开
;   美金 ($) - 仅限上下左右方向键。表示包括正和斜方向
;          举例, command = $D       ;包括下，下后和下前
;               command = $B       ;包括后，下后和上后
;   加号 (+) - 仅限攻击键。表示同时按多个键。
;          举例, command = a+b      ;同时按a和b
;               command = x+y+z    ;同时按x，y和z
;   大于号 (>) - 表示上一次按键和这一次按键之中不能掺杂其他的按键
;          举例, command = a, >~a   ;按下a再松开a，而其中不按下或者松开其他键
;   这些符号可以组合使用:
;     举例, command = ~30$D, a+b     ;按住下，下后或者下前30帧，松开，然后同时按a和b
;
;   注意: 连续按方向键的指令会被MUGEN引擎自动理解如下:
;         举例，cmd文件中的定义:
;           command = F, F
;         会被引擎理解成:
;           command = F, >~F, >F
;
;   对于有多个方向键的定义，例如四分之一圈下前，为了让招数能更容易的使出，最好在定义由一个"松开方向键"起始。
;
; - 指令输入时间 (可选)
;   接受指令输入的时间，以帧为单位。默认值可以在[Defaults]条目修改，通常为15。
;
; - 指令缓存时间 (可选)
;   输入的指令被缓存的时间。当一个指令被输入时，它在这段时间里都是有效的。
;   最基本的情况是设置成值为1。这种情况下只有在这一帧输入指令才会执行。如果值更高，比如3或4，输入会提前进入缓存，然后当可以执行时就被执行。这样人物的操作会松快一些，因为玩家可以提前输入指令，比如在还没有击中敌人时就开始取消，或者从受击状态还没有获得控制时就切反。
;   但这也有副作用，因为在缓存的期间会认为一直在输入这个指令。举例来说，把这个值设成30，然后发一个很快的招式，比如功夫人的站轻拳，看它的效果。
;   默认值可以在[Defaults]条目修改。
;   这个参数对蓄力指令不起作用，参数的值会自动当作1。
;
; 如果有多种输入有同样的名子，每一种输入都会读出这个指令。你可以用这个技巧来让一个招式接受不同的输入。
;
; 以下是一些常用指令的输入示例:
;
; [Command] ;下前 + x
; name = "下前x"
; command = ~D, DF, F, x
;
; [Command] ;向后半圈 + a
; name = "后半圈a"
; command = ~F, DF, D, DB, B, a
;
; [Command] ;下前下前 + y
; name = "下前下前y"
; command = ~D, DF, F, D, DF, F, y
;
; [Command] ;连打b
; name = "连打b"
; command = b, b, b, b, b
; time = 30
;
; [Command] ;蓄后，前 + z
; name = "蓄后前z"
; command = ~60$B, F, z
; time = 10
;
; [Command] ;蓄下，上 + c
; name = "蓄下上c"
; command = ~60$D, U, c
; time = 10

;-| AI起動用 |-----------------------------------------------------------------
[Command]
name = "AI1"
command = F, B, B, F, F, B, B, F, F, B, B, F, F, B
time = 1

[Command]
name = "AI2"
command = U, D, D, U, U, D, D, U, U, D, D, U, U, D
time = 1

[Command]
name = "AI3"
command = D, U, U, D, D, U, U, D, D, U, U, D, D, U
time = 1

[Command]
name = "AI4"
command = B, F, F, B, B, F, F, B, B, F, F, B, B, F
time = 1

[Command]
name = "AI5"
command = a, x, x, a, a, x, x, a, a, x, x, a, a, x
time = 1

[Command]
name = "AI6"
command = b, y, y, b, b, y, y, b, b, y, y, b, b, y
time = 1

[Command]
name = "AI7"
command = c, z, z, c, c, z, z, c, c, z, z, c, c, z
time = 1

[Command]
name = "AI8"
command = x, a, a, x, x, a, a, x, x, a, a, x, x, a
time = 1

[Command]
name = "AI9"
command = y, b, b, y, y, b, b, y, y, b, b, y, y, b
time = 1

[Command]
name = "AI10"
command = z, c, c, z, z, c, c, z, z, c, c, z, z, c
time = 1

[Command]
name = "AI11"
command = F, B, F, B, F, B, F, B, F, B, F, B, F, B
time = 1

[Command]
name = "AI12"
command = U, D, U, D, U, D, U, D, U, D, U, D, U, D
time = 1

[Command]
name = "AI13"
command = D, U, D, U, D, U, D, U, D, U, D, U, D, U
time = 1

[Command]
name = "AI14"
command = B, F, B, F, B, F, B, F, B, F, B, F, B, F
time = 1

[Command]
name = "AI15"
command = a, x, a, x, a, x, a, x, a, x, a, x, a, x
time = 1

[Command]
name = "AI16"
command = b, y, b, y, b, y, b, y, b, y, b, y, b, y
time = 1

[Command]
name = "AI17"
command = c, z, c, z, c, z, c, z, c, z, c, z, c, z
time = 1

[Command]
name = "AI18"
command = x, a, x, a, x, a, x, a, x, a, x, a, x, a
time = 1

[Command]
name = "AI19"
command = y, b, y, b, y, b, y, b, y, b, y, b, y, b
time = 1

[Command]
name = "AI20"
command = z, c, z, c, z, c, z, c, z, c, z, c, z, c
time = 1

[Command]
name = "AI21"
command = F, B, F, B, F, B, F, B, F, B
time = 1

[Command]
name = "AI22"
command = U, D, U, D, U, D, U, D, U, D
time = 1

[Command]
name = "AI23"
command = D, U, D, U, D, U, D, U, D, U
time = 1

[Command]
name = "AI24"
command = B, F, B, F, B, F, B, F, B, F
time = 1

[Command]
name = "AI25"
command = D, U, B, F, D, U, B, F, D
time = 1


;-| 重新排列按键 |-----------------------------------------------------
; 这一段可以让玩家简单的重新排列攻击按键。格式是:
;  以前对应的键 = 修改后的键
; 如果不填写修改后的键，则以前对应的键将失效。
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

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

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


;-| 超必杀技 |--------------------------------------------------------
;下面有两个技能是一样的，但是输入不同。
;两种输入都会触发command = 三连功夫掌"。
;为了方便玩家操作，指令接受时间不是默认的15，而是20。
;

[Command]
name = "白羅滅精三气"
command = ~D, DF,D, DF, z
time = 30
[Command]
name = "白羅滅精三气"
command = x+z
time = 30

[Command]
name = "白羅滅精二气"
command = ~D, DF,D, DF, y
time = 30
[Command]
name = "白羅滅精二气"
command = y+z
time = 30

[Command]
name = "白羅滅精"
command = ~D, DF,D, DF, x
time = 30
[Command]
name = "白羅滅精"
command = x+y
time = 30

[Command]
name = "命运"
command = ~D, DF,D, DF, a
time = 30
[Command]
name = "命运"
command = a+b
time = 30

[Command]
name = "命运-主动"
command = ~D, DF,D, DF, b
time = 30
[Command]
name = "命运-主动"
command = b+c
time = 30

;-| 特殊技 |------------------------------------------------------

[Command]
name = "致命打击"
command = ~D, F, z
time = 13

[Command]
name = "邪灵之刃"
command = ~D, B, y
time = 13

[Command]
name = "邪灵之箭"
command = ~D, B, x
time = 13

[Command]
name = "无尽崩塌-近"
command = ~D, B, a
time = 13

[Command]
name = "无尽崩塌-远"
command = ~D, B, b
time = 13

[Command]
name = "无尽崩塌-空中"
command = ~D, F, a
time = 13

[Command]
name = "斬風燕破-鳳牙"
command = ~D, DF, a
time = 13

[Command]
name = "斬風燕破-鳳牙二式"
command = ~D, DF, b
time = 13

[Command]
name = "斬風燕破-鳳牙-空袭一式"
command = ~D, DF, x
time = 13

[Command]
name = "斬風燕破-鳳牙-空袭二式"
command = ~D, DF, y
time = 13

[Command]
name = "斬風燕破-殺魔"
command = ~D, DF, F, x
time = 13

[Command]
name = "斬風燕破-叛鏡"
command = ~D, DF, F, y
time = 13

[Command]
name = "瞬狱杀"
command = ~D, DF, F, c
time = 13

[Command]
name = "陨落"
command = ~D, DB, B, c
time = 13

[Command]
name = "陨灭"
command = ~D, DF, F, s
time = 13

[Command]
name = "升腾之阵-空中"
command = s
time = 13

[Command]
name = "升腾之阵"
command = ~D, DB, B, s
time = 13

[Command]
name = "厄运"
command = ~D, DB, B, z
time = 13

[Command]
name = "暗潮涌动-空中-后退"
command = ~D, B, a
time = 13

[Command]
name = "暗潮涌动-空中-背后"
command = ~D, B, y
time = 13

[Command]
name = "暗潮涌动-空中-下方"
command = ~D, B, x
time = 13

[Command]
name = "暗潮涌动-空中-背空"
command = ~D, B, b
time = 13

[Command]
name = "暗潮涌动-空中-前空"
command = ~D, B, c
time = 13

[Command]
name = "暗潮涌动-空中-前移"
command = ~D, B, z
time = 13

[Command]
name = "暗潮涌动-地面-后退"
command = ~D, D, a
time = 13

[Command]
name = "暗潮涌动-地面-背空"
command = ~D, D, b
time = 13

[Command]
name = "暗潮涌动-地面-背后"
command = ~D, D, y
time = 13

[Command]
name = "暗潮涌动-地面-前移-远"
command = ~D, D, z
time = 13

[Command]
name = "暗潮涌动-地面-前移"
command = ~D, D, x
time = 13

[Command]
name = "暗潮涌动-地面-前空"
command = ~D, D, c
time = 13

[Command]
name = "精防"
command = F
time = 13

[command]
name = "CD"
command = b+y
buffer.time = 1
[command]
name = "CD"
command =  c
buffer.time = 1


;-| 按两次 |-----------------------------------------------------------
[Command]
name = "FF"     ;必须包括 (不要删除)
command = F, F
time = 10

[Command]
name = "BB"     ;必须包括 (不要删除)
command = B, B
time = 10

[Command]
name = "前前"
command = F, F
time = 10

[Command]
name = "后后"
command = B, B
time = 10

;-| 同时按键 |-----------------------------------------------
[Command]
name = "recovery";必须包括 (不要删除)
command = x+a
time = 1
[Command]
name = "recovery";必须包括 (不要删除)
command = z
time = 1

[Command]
name = "受身"
command = x+y
time = 1

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

[Command]
name = "下+b"
command = /$D,b
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 = "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 = "holda"     ;必须包括 (不要删除)
command = /$a
time = 3

[Command]
name = "holdb"     ;必须包括 (不要删除)
command = /$b
time = 1

[Command]
name = "holdc"     ;必须包括 (不要删除)
command = /$c
time = 1

[Command]
name = "holdx"    ;必须包括 (不要删除)
command = /$x
time = 1

[Command]
name = "holdy"    ;必须包括 (不要删除)
command = /$y
time = 1

[Command]
name = "holdz"    ;必须包括 (不要删除)
command = /$z
time = 1

[Command]
name = "蓄上方向"
command = /$F
time = 1

[Command]
name = "蓄后方向"
command = /$B
time = 1

[Command]
name = "蓄前方向"
command = /$U
time = 1

[Command]
name = "蓄下方向"
command = /$D
time = 1

[Command]
name = "jump"    
command = D, $U
time = 12

;-| AI Helper |----------------------------------------------------------------
[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

;---------------------------------------------------------------------------
; 2. state入口
; --------------
; 在这一段里，人物会依据输入来转到相应的state里。
;
; 入口示例如下:
;   [State -1, 标签]           ;标签可以是任意你想要来标注这个入口的名字
;   type = ChangeState          ;不要改
;   value = 要跳转到的state
;   trigger1 = command = "招式名"
;   . . .  (其他trigger)
;
; - 一些常用的trigger:
;   - statetype
;       S, C or A : 现在人物的状态 (站立, 下蹲, 空中)
;   - ctrl
;       0 or 1 : 如果人物可控，则值为1，否则为0。除非取消另一个招数，否则出招是一般要求ctrl=1
;   - stateno
;       现在人物的state号 - 在取消招数时常用。
;   - movecontact
;       0 or 1 : 如果上一个招数接触到了敌人，则值为1，否则为0。在取消招数时常用。
;
; 注意: 入口的顺序很重要。
;   如果指令A是指令B的一部分，则指令B的入口应排在指令A前。
;   比如说，下前下前XY应该排在下前XY之前，下前XY应该排在下前X之前，下前X应该排在X之前。
;
; 关于trigger的详细解释，请参阅MUGEN自带的cns参考说明。
;
; 提示:
; 这部分是cns的延伸。-1这个state是一个特殊state，无论人物实际上在哪个state，-1这个state每一帧都会执行。


; 不要删除下面这行。语法标准要求CMD文件必须包括这行。
[Statedef -1]
[state ]
type = null
trigger1 = roundno = 1
trigger1 = roundstate = 0;（或者1）
value = powermax

;---------------------------------------------------------------------------


;===========================================================================
;这个控制器不触发招数。如果人物可以从普通技取消到必杀技，这个控制器会把var(1)设置成1。下面必杀技的控制器会用到这个变量。
;Since a lot of special moves rely on the same conditions, this reduces
;redundant logic.
[State 变量清零]
type = VarSet
trigger1 = 1
var(1) = 0

[State 检查可否取消]
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
var(1) = 1

;---------------------------------------------------------------------------
;白羅滅精三气
[State 白羅滅精三气]
type = ChangeState
value = 3900
triggerall = !var(59)
triggerall = command = "白羅滅精三气"
triggerall = power >= 3000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,499]) && movecontact
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2203
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2204
trigger5 = animelem = 2 ,>=0 
trigger6 = stateno = 2206
trigger6 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;白羅滅精二气
[State 白羅滅精二气]
type = ChangeState
value = 3300
triggerall = !var(59)
triggerall = command = "白羅滅精二气"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,499]) && movecontact
trigger3 = 2050 && movecontact
trigger4 = 2000 && movecontact
trigger5 = 1500 && movecontact
trigger6 = 1451 && movecontact
trigger6 = animelem = 11 ,>=0
trigger7 = 1450
trigger7 = animelem = 10 ,>=0
trigger8 = 1400
trigger8 = animelem = 5 ,>=0
trigger9 = 1330 && movecontact
trigger10 = 1320 && movecontact
trigger11 = 1310 && movecontact
trigger12 = 1300 && movecontact
trigger13 = 1155 && movecontact
trigger14 = 1150 && movecontact 
trigger15 = 1100 && movecontact 
trigger16 = stateno = 2200 
trigger16 = animelem = 2 ,>=0
trigger17 = stateno = 2203
trigger17 = animelem = 2 ,>=0
trigger18 = stateno = 2204
trigger18 = animelem = 2 ,>=0 
trigger19 = stateno = 2206
trigger19 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;白羅滅精
[State 白羅滅精]
type = ChangeState
value = 3100
triggerall = !var(59)
triggerall = command = "白羅滅精"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,499]) && movecontact
trigger3 = 2050 && movecontact
trigger4 = 2000 && movecontact
trigger5 = 1500 && movecontact
trigger6 = 1451 && movecontact
trigger6 = animelem = 11 ,>=0
trigger7 = 1450
trigger7 = animelem = 10 ,>=0
trigger8 = 1400
trigger8 = animelem = 5 ,>=0
trigger9 = 1330 && movecontact
trigger10 = 1320 && movecontact
trigger11 = 1310 && movecontact
trigger12 = 1300 && movecontact
trigger13 = 1155 && movecontact
trigger14 = 1150 && movecontact 
trigger15 = 1100 && movecontact 
trigger16 = stateno = 2200 
trigger16 = animelem = 2 ,>=0
trigger17 = stateno = 2203
trigger17 = animelem = 2 ,>=0
trigger18 = stateno = 2204
trigger18 = animelem = 2 ,>=0 
trigger19 = stateno = 2206
trigger19 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;命运-主动
[State 命运-主动]
type = ChangeState
value = 3400
triggerall = !var(59)
triggerall = command = "命运-主动"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,499]) && movecontact
trigger3 = 2050 && movecontact
trigger4 = 2000 && movecontact
trigger5 = 1500 && movecontact
trigger6 = 1451 && movecontact
trigger6 = animelem = 11 ,>=0
trigger7 = 1450
trigger7 = animelem = 10 ,>=0
trigger8 = 1400
trigger8 = animelem = 5 ,>=0
trigger9 = 1330 && movecontact
trigger10 = 1320 && movecontact
trigger11 = 1310 && movecontact
trigger12 = 1300 && movecontact
trigger13 = 1155 && movecontact
trigger14 = 1150 && movecontact 
trigger15 = 1100 && movecontact 
trigger16 = stateno = 2200 
trigger16 = animelem = 2 ,>=0
trigger17 = stateno = 2203
trigger17 = animelem = 2 ,>=0
trigger18 = stateno = 2204
trigger18 = animelem = 2 ,>=0 
trigger19 = stateno = 2206
trigger19 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;命运
[State 命运]
type = ChangeState
value = 3200
triggerall = !var(59)
triggerall = command = "命运"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;暗潮涌动-空中-后退
[State 暗潮涌动-空中-后退]
type = ChangeState
value = 2254
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-后退"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2250 
trigger5 = stateno = 2251 
trigger6 = stateno = 2252 
trigger7 = stateno = 2253
trigger8 = stateno = 2205
trigger8 = animelem = 2 ,>=0
trigger9 = stateno = 2111
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2150
trigger10 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger11 = stateno = 2151 
trigger11 = animelem = 7 ,>=0 && animelem = 8 ,<=4
trigger12 = stateno = 2255

;---------------------------------------------------------------------------
;暗潮涌动-空中-后退
[State 暗潮涌动-空中-前移]
type = ChangeState
value = 2255
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-前移"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2250 
trigger5 = stateno = 2251 
trigger6 = stateno = 2252 
trigger7 = stateno = 2253
trigger8 = stateno = 2205
trigger8 = animelem = 2 ,>=0
trigger9 = stateno = 2111
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2150
trigger10 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger11 = stateno = 2151 
trigger11 = animelem = 7 ,>=0 && animelem = 8 ,<=4
trigger12 = stateno = 2254

;---------------------------------------------------------------------------
;暗潮涌动-空中-背后
[State 暗潮涌动-空中-背后]
type = ChangeState
value = 2253
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-背后"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2250 
trigger5 = stateno = 2251 
trigger6 = stateno = 2254 
trigger7 = stateno = 2205
trigger7 = animelem = 2 ,>=0
trigger8 = stateno = 2111
trigger8 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger9 = stateno = 2150
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2151 
trigger10 = animelem = 7 ,>=0 && animelem = 8 ,<=4

;---------------------------------------------------------------------------
;暗潮涌动-空中-下方
[State 暗潮涌动-空中-下方]
type = ChangeState
value = 2252
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-下方"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2250 
trigger5 = stateno = 2251 
trigger6 = stateno = 2254 
trigger7 = stateno = 2205
trigger7 = animelem = 2 ,>=0
trigger8 = stateno = 2111
trigger8 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger9 = stateno = 2150
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2151 
trigger10 = animelem = 7 ,>=0 && animelem = 8 ,<=4
trigger11 = stateno = 2255

;---------------------------------------------------------------------------
;暗潮涌动-地面-背空
[State 暗潮涌动-空中-背空]
type = ChangeState
value = 2251
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-背空"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2250 
trigger5 = stateno = 2252 
trigger6 = stateno = 2253 
trigger7 = stateno = 2254 
trigger8 = stateno = 2205
trigger8 = animelem = 2 ,>=0
trigger9 = stateno = 2111
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2150 
trigger10 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger11 = stateno = 2151
trigger11 = animelem = 7 ,>=0 && animelem = 8 ,<=4
trigger12 = stateno = 2255

;---------------------------------------------------------------------------
;暗潮涌动-空中-前空
[State 暗潮涌动-空中-前空]
type = ChangeState
value = 2250
triggerall = !var(59)
triggerall = command = "暗潮涌动-空中-前空"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 2 ,>=0
trigger3 = (stateno = [600,699])
trigger4 = stateno = 2251 
trigger5 = stateno = 2252 
trigger6 = stateno = 2253 
trigger7 = stateno = 2254 
trigger8 = stateno = 2205
trigger8 = animelem = 2 ,>=0
trigger9 = stateno = 2111
trigger9 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger10 = stateno = 2150 
trigger10 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger11 = stateno = 2151
trigger11 = animelem = 7 ,>=0 && animelem = 8 ,<=4
trigger12 = stateno = 1705
trigger13 = stateno = 2255 

;---------------------------------------------------------------------------
;暗潮涌动-地面-前移
[State 暗潮涌动-地面-前移-远]
type = ChangeState
value = 2206
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-前移-远"
triggerall = power >= 330
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2204
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 1500 && movecontact
trigger6 = stateno = 1450 
trigger7 = animelem = 10 ,>=0
trigger8 = stateno = 1451 
trigger9 = animelem = 11 ,>=0
trigger10 = stateno = 1400 
trigger10 = animelem = 5 ,>=0
trigger11 = stateno = 1150 && movecontact
trigger12 = stateno = 1155 && movecontact
trigger13 = stateno = 1100 && movecontact
trigger14 = stateno = 1105 && movecontact 
trigger15 = stateno = 1330 && movecontact
trigger16 = stateno = 2203
trigger16 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;暗潮涌动-地面-前空
[State 暗潮涌动-地面-前空]
type = ChangeState
value = 2205
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-前空"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2203
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2204 
trigger5 = animelem = 2 ,>=0
trigger6 = stateno = 1500 && movecontact
trigger7 = stateno = 1450 
trigger7 = animelem = 10 ,>=0
trigger8 = stateno = 1451 
trigger8 = animelem = 11 ,>=0
trigger9 = stateno = 1400 
trigger9 = animelem = 5 ,>=0
trigger10 = stateno = 1150 && movecontact
trigger11 = stateno = 1155 && movecontact
trigger12 = stateno = 1100 && movecontact
trigger13 = stateno = 1105 && movecontact 
trigger14 = stateno = 1330 && movecontact
trigger15 = stateno = 2206
trigger15 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;暗潮涌动-地面-后退
[State 暗潮涌动-地面-后退]
type = ChangeState
value = 2204
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-后退"
trigger1 = var(1) ;在可以取消时
trigger2 = stateno = 2206
trigger2 = animelem = 2 ,>=0
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2203
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 1500 && movecontact
trigger6 = stateno = 1450 
trigger6 = animelem = 10 ,>=0
trigger7 = stateno = 1451 
trigger7 = animelem = 11 ,>=0
trigger8 = stateno = 1400 
trigger8 = animelem = 5 ,>=0
trigger9 = stateno = 1150 && movecontact
trigger10 = stateno = 1155 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 1105 && movecontact
trigger13 = stateno = 1330 && movecontact 

;---------------------------------------------------------------------------
;暗潮涌动-地面-前移
[State 暗潮涌动-地面-前移]
type = ChangeState
value = 2203
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-前移"
triggerall = power >= 330
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2204
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 1500 && movecontact
trigger6 = stateno = 1450 
trigger7 = animelem = 10 ,>=0
trigger8 = stateno = 1451 
trigger9 = animelem = 11 ,>=0
trigger10 = stateno = 1400 
trigger10 = animelem = 5 ,>=0
trigger11 = stateno = 1150 && movecontact
trigger12 = stateno = 1155 && movecontact
trigger13 = stateno = 1100 && movecontact
trigger14 = stateno = 1105 && movecontact 
trigger15 = stateno = 1330 && movecontact
trigger16 = stateno = 2206
trigger16 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;暗潮涌动-地面-背空
[State 暗潮涌动-地面-背空]
type = ChangeState
value = 2201
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-背空"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2203
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2204 
trigger5 = animelem = 2 ,>=0
trigger6 = stateno = 1500 && movecontact
trigger7 = stateno = 1450 
trigger7 = animelem = 10 ,>=0
trigger8 = stateno = 1451 
trigger8 = animelem = 11 ,>=0
trigger9 = stateno = 1400 
trigger9 = animelem = 5 ,>=0
trigger10 = stateno = 1150 && movecontact
trigger11 = stateno = 1155 && movecontact
trigger12 = stateno = 1100 && movecontact
trigger13 = stateno = 1105 && movecontact 
trigger14 = stateno = 1330 && movecontact
trigger15 = stateno = 2206
trigger15 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;暗潮涌动-地面-背后
[State 暗潮涌动-地面-背后]
type = ChangeState
value = 2200
triggerall = !var(59)
triggerall = command = "暗潮涌动-地面-背后"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 2203 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2204
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 1500 && movecontact
trigger6 = stateno = 1450 
trigger7 = animelem = 10 ,>=0
trigger8 = stateno = 1451 
trigger9 = animelem = 11 ,>=0
trigger10 = stateno = 1400 
trigger10 = animelem = 5 ,>=0
trigger11 = stateno = 1150 && movecontact
trigger12 = stateno = 1155 && movecontact
trigger13 = stateno = 1100 && movecontact
trigger14 = stateno = 1105 && movecontact 
trigger15 = stateno = 1330 && movecontact
trigger16 = stateno = 2206
trigger16 = animelem = 2 ,>=0

;---------------------------------------------------------------------------
;斬風燕破-鳳牙-空袭二式
[State 斬風燕破-鳳牙-空袭二式]
type = ChangeState
value = 2151
triggerall = !var(59)
triggerall = command = "斬風燕破-鳳牙-空袭二式"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,699])
trigger3 = stateno = 2201 
trigger4 = stateno = 2205 
trigger5 = stateno = 2250 
trigger6 = stateno = 2251 
trigger7 = stateno = 2254 
trigger8 = stateno = 2255 

;---------------------------------------------------------------------------
;斬風燕破-鳳牙-空袭一式
[State 斬風燕破-鳳牙-空袭一式]
type = ChangeState
value = 2150
triggerall = !var(59)
triggerall = command = "斬風燕破-鳳牙-空袭一式"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,699])
trigger3 = stateno = 2201 
trigger4 = stateno = 2205 
trigger5 = stateno = 2250 
trigger6 = stateno = 2251 
trigger7 = stateno = 2254 
trigger8 = stateno = 2255 

;---------------------------------------------------------------------------
;斬風燕破-鳳牙二式
[State 斬風燕破-鳳牙二式]
type = ChangeState
value = 2110
triggerall = !var(59)
triggerall = command = "斬風燕破-鳳牙二式"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1500 && movecontact
trigger4 = stateno = 1450 
trigger4 = animelem = 10 ,>=0
trigger5 = stateno = 1451 
trigger5 = animelem = 11 ,>=0
trigger6 = stateno = 1340 
trigger6 = animelem = 6 ,>=0
trigger7 = stateno = 1150 && movecontact
trigger8 = stateno = 1155 && movecontact
trigger9 = stateno = 1100 && movecontact 
trigger10 = stateno = 1105 && movecontact 
trigger11 = stateno = 1330 && movecontact
trigger12 = stateno = 1705 && movecontact

;---------------------------------------------------------------------------
;斬風燕破-鳳牙
[State 斬風燕破-鳳牙]
type = ChangeState
value = 2100
triggerall = !var(59)
triggerall = command = "斬風燕破-鳳牙"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1500 && movecontact
trigger4 = stateno = 1300 && movecontact
trigger5 = stateno = 1310 && movecontact
trigger6 = stateno = 1320 && movecontact
trigger7 = stateno = 1150 && movecontact
trigger8 = stateno = 1100 && movecontact
trigger9 = stateno = 1705 && movecontact
trigger10 = stateno = 1940 

;---------------------------------------------------------------------------
;斬風燕破-叛鏡
[State 斬風燕破-叛鏡]
type = ChangeState
value = 2050
triggerall = !var(59)
triggerall = command = "斬風燕破-叛鏡"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1500 && movecontact
trigger4 = stateno = 1300 && movecontact
trigger5 = stateno = 1310 && movecontact
trigger6 = stateno = 1320 && movecontact
trigger7 = stateno = 1150 && movecontact
trigger8 = stateno = 1100 && movecontact
trigger9 = stateno = 1705 && movecontact
trigger10 = stateno = 1940 

;---------------------------------------------------------------------------
;斬風燕破-殺魔
[State 斬風燕破-殺魔]
type = ChangeState
value = 2000
triggerall = !var(59)
triggerall = command = "斬風燕破-殺魔"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1500 && movecontact
trigger4 = stateno = 1300 && movecontact
trigger5 = stateno = 1310 && movecontact
trigger6 = stateno = 1320 && movecontact
trigger7 = stateno = 1150 && movecontact
trigger8 = stateno = 1100 && movecontact
trigger9 = stateno = 1705 && movecontact
trigger10 = stateno = 1940 

;---------------------------------------------------------------------------
;陨落
[State 陨落]
type = ChangeState
value = 1900
triggerall = !var(59)
triggerall = command = "陨落"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1450 
trigger4 = stateno = 1451 
trigger5 = (stateno = [1300,1330]) && movecontact
trigger6 = stateno = 1500 && movecontact

;---------------------------------------------------------------------------
;无尽崩塌-空中
[State 无尽崩塌-空中]
type = ChangeState
value = 1700
triggerall = !var(59)
triggerall = command = "无尽崩塌-空中"
triggerall = statetype = A
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [600,699])
trigger3 = stateno = 2201 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2205
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2111
trigger5 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger6 = stateno = 2250
trigger6 = animelem = 3 ,>=0 
trigger7 = stateno = 2251 
trigger7 = animelem = 3 ,>=0 
trigger8 = stateno = 2254 
trigger8 = animelem = 3 ,>=0 
trigger9 = stateno = 2255 
trigger9 = animelem = 3 ,>=0 
trigger10 = ctrl

;---------------------------------------------------------------------------
;厄运
[State 厄运]
type = ChangeState
value = 1600
triggerall = !var(59)
triggerall = command = "厄运"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])

;---------------------------------------------------------------------------
;精防
[State 精防]
type = hitoverride
triggerall = !var(59)
triggerall = command = "精防"
triggerall = roundstate = 2 && statetype = S
triggerall = !(StateNo = 120)
trigger1 = (ctrl || (stateno = 160))
attr = SA,AA,AP
stateno = 160
slot = 0
time = 8

[State 精防]
type = hitoverride
triggerall = !var(59)
triggerall = command = "精防"
triggerall = roundstate = 2 && statetype = C
triggerall = !(StateNo = 121)
trigger1 = (ctrl || (stateno = 161))
attr = SA,AA,AP
stateno = 161
slot = 0
time = 8

[State 精防]
type = hitoverride
triggerall = !var(59)
triggerall = command = "精防"
triggerall = roundstate = 2 && statetype = A
triggerall = !(StateNo = 122)
trigger1 = (ctrl || (stateno = 162))
attr = SA,AA,AP
stateno = 162
slot = 0
time = 8

;---------------------------------------------------------------------------
;致命打击
[State 致命打击]
type = ChangeState
value = 1500
triggerall = !var(59)
triggerall = command = "致命打击"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1340 
trigger3 = animelem = 5 ,>=0
trigger4 = stateno = 1450 
trigger4 = animelem = 10 ,>=0
trigger5 = stateno = 1451 
trigger5 = animelem = 11 ,>=0
trigger6 = stateno = 1940 
trigger7 = stateno = 1200 && movecontact

;---------------------------------------------------------------------------
;邪灵之刃
[State 邪灵之刃]
type = ChangeState
value = 1450
triggerall = !var(59)
triggerall = command = "邪灵之刃"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1400 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 1340 
trigger4 = animelem = 6 ,>=0
trigger5 = stateno = 1330 && movecontact
trigger6 = stateno = 2050
trigger6 = animelem = 11 ,>=0
trigger7 = stateno = 1100 && movecontact
trigger8 = stateno = 1150 && movecontact
trigger9 = stateno = 1705 && movecontact
trigger10 = stateno = 1940 

;---------------------------------------------------------------------------
;邪灵之箭
[State 邪灵之箭]
type = ChangeState
value = 1400
triggerall = !var(59)
triggerall = command = "邪灵之箭"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1340 
trigger3 = animelem = 6 ,>=0
trigger4 = stateno = 1330 && movecontact
trigger5 = stateno = 1100 && movecontact
trigger6 = stateno = 1150 && movecontact
trigger7 = stateno = 1705 && movecontact
trigger8 = stateno = 1940 

;---------------------------------------------------------------------------
;瞬狱杀
[State 瞬狱杀]
type = ChangeState
value = 1300
triggerall = !var(59)
triggerall = command = "瞬狱杀"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 1500 && movecontact
trigger4 = stateno = 1940 

;---------------------------------------------------------------------------
;陨灭
[State 陨灭]
type = ChangeState
value = 1200
triggerall = !var(59)
triggerall = statetype != A
triggerall = p2statetype != A
triggerall = command = "陨灭"
trigger1 = ctrl

;---------------------------------------------------------------------------
;无尽崩塌-远
[State 无尽崩塌-远]
type = ChangeState
value = 1150
triggerall = !var(59)
triggerall = command = "无尽崩塌-远"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 801 
trigger3 = animelem = 14 ,>=0
trigger4 = stateno = 1940 

;---------------------------------------------------------------------------
;无尽崩塌-近
[State 无尽崩塌-近]
type = ChangeState
value = 1100
triggerall = !var(59)
triggerall = command = "无尽崩塌-近"
trigger1 = var(1) ;在可以取消时
trigger2 = (stateno = [200,499])
trigger3 = stateno = 801 
trigger3 = animelem = 14 ,>=0
trigger4 = stateno = 1940 

;---------------------------------------------------------------------------
;升腾之阵-空中
[State 无尽崩塌-空中]
type = ChangeState
value = 1030
triggerall = !var(59)
triggerall = command = "升腾之阵-空中"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,699])&& movecontact
trigger3 = stateno = 2201 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2205
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2111
trigger5 = animelem = 5 ,>=0 && animelem = 6 ,<=4
trigger6 = stateno = 2250
trigger6 = animelem = 2 ,>=0 
trigger7 = stateno = 2251 
trigger7 = animelem = 2 ,>=0 
trigger8 = stateno = 2254 
trigger8 = animelem = 2 ,>=0 
trigger9 = stateno = 2255 
trigger9 = animelem = 3 ,>=0

;---------------------------------------------------------------------------
;升腾之阵
[State 升腾之阵]
type = ChangeState
value = 1000
triggerall = !var(59)
triggerall = statetype != A
triggerall = command = "升腾之阵"
trigger1 = ctrl
trigger2 = (stateno = [200,499])&& movecontact
trigger3 = stateno = 2200 
trigger3 = animelem = 2 ,>=0
trigger4 = stateno = 2203
trigger4 = animelem = 2 ,>=0
trigger5 = stateno = 2204
trigger5 = animelem = 2 ,>=0 
trigger6 = stateno = 2206
trigger6 = animelem = 2 ,>=0
trigger7 = stateno = 2250
trigger7 = animelem = 2 ,>=0 
trigger8 = stateno = 2252 
trigger8 = animelem = 3 ,>=0 
trigger9 = stateno = 2253 
trigger9 = animelem = 3 ,>=0  

;---------------------------------------------------------------------------
;功夫格挡 (High)

;---------------------------------------------------------------------------
;功夫格挡格挡 (下段)

;---------------------------------------------------------------------------
;功夫格挡 (空中)

;===========================================================================
;---------------------------------------------------------------------------
;前跑
[State 前跑]
type = ChangeState
value = 100
triggerall = !var(59)
trigger1 = command = "前前"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;后跑
[State 后跑]
type = ChangeState
value = 105
triggerall = !var(59)
trigger1 = command = "后后"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;投技—邪骸喰刹
[State 邪骸喰刹]
type = ChangeState
value = 800
triggerall = !var(59)
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "蓄上方向"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "蓄后方向"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
;---------------------------------------------------------------------------
;立轻拳
[State 立轻拳]
type = ChangeState
value = 200
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = (stateno = 1501) && time > 6

;---------------------------------------------------------------------------
;立重拳近
[State 立重拳近]
type = ChangeState
value = 210
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;立重拳远
[State 立重拳远]
type = ChangeState
value = 215
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;立轻脚
[State 立轻脚]
type = ChangeState
value = 230
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = (stateno = 1501) && time > 6
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;立重脚近
[State 立重脚近]
type = ChangeState
value = 240
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;立重脚远
[State 立重脚远]
type = ChangeState
value = 245
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl || stateno = 100
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;挑拨
[State 挑拨]
type = ChangeState
value = 195
triggerall = !var(59)
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl || stateno = 100

;---------------------------------------------------------------------------
;蹲轻拳
[State 蹲轻拳]
type = ChangeState
value = 400
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl 
trigger2 = statetype != A && (ctrl || stateno = 100)

;---------------------------------------------------------------------------
;蹲重拳
[State 蹲重拳]
type = ChangeState
value = 410
triggerall = !var(59)
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)
trigger3 = statetype != A && (ctrl || stateno = 100)

;---------------------------------------------------------------------------
;蹲轻脚
[State 蹲轻脚]
type = ChangeState
value = 430
triggerall = !var(59)
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl 
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)
trigger3 = statetype != A && (ctrl || stateno = 100)

;---------------------------------------------------------------------------
;蹲重脚
[State 蹲重脚]
type = ChangeState
value = 440
triggerall = !var(59)
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl 
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)
trigger3 = statetype != A && (ctrl || stateno = 100)

;---------------------------------------------------------------------------
;跳轻拳
[State 跳轻拳]
type = changestate
value = 600
triggerall = !var(59)
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 4 ,>=0
trigger3 = stateno = 2205 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 2250 
trigger4 = animelem = 4 ,>=0
trigger5 = stateno = 2251 
trigger5 = animelem = 4 ,>=0
trigger6 = stateno = 2254 
trigger6 = animelem = 4 ,>=0
trigger7 = stateno = 2255 
trigger7 = animelem = 4 ,>=0

;---------------------------------------------------------------------------
;跳重拳
[State 跳重拳]
type = ChangeState
value = 610
triggerall = !var(59)
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 4 ,>=0
trigger3 = stateno = 2205 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 2250 
trigger4 = animelem = 4 ,>=0
trigger5 = stateno = 2251 
trigger5 = animelem = 4 ,>=0
trigger6 = stateno = 2254 
trigger6 = animelem = 4 ,>=0
trigger7 = stateno = 2255 
trigger7 = animelem = 4 ,>=0

;---------------------------------------------------------------------------
;跳轻脚
[State 跳轻脚]
type = ChangeState
value = 630
triggerall = !var(59)
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 4 ,>=0
trigger3 = stateno = 2205 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 2250 
trigger4 = animelem = 4 ,>=0
trigger5 = stateno = 2251 
trigger5 = animelem = 4 ,>=0
trigger6 = stateno = 2254 
trigger6 = animelem = 4 ,>=0
trigger7 = stateno = 2255 
trigger7 = animelem = 4 ,>=0

;---------------------------------------------------------------------------
;跳重脚
[State 跳重脚]
type = ChangeState
value = 640
triggerall = !var(59)
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 4 ,>=0
trigger3 = stateno = 2205 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 2250 
trigger4 = animelem = 4 ,>=0
trigger5 = stateno = 2251 
trigger5 = animelem = 4 ,>=0
trigger6 = stateno = 2254 
trigger6 = animelem = 4 ,>=0
trigger7 = stateno = 2255 
trigger7 = animelem = 4 ,>=0

;---------------------------------------------------------------------------
;跳CD
[state 跳CD]
type = changestate
value = 650
triggerall = !var(59)
triggerall = command = "CD"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 2201 
trigger2 = animelem = 4 ,>=0
trigger3 = stateno = 2205 
trigger3 = animelem = 4 ,>=0
trigger4 = stateno = 2250 
trigger4 = animelem = 4 ,>=0
trigger5 = stateno = 2251 
trigger5 = animelem = 4 ,>=0
trigger6 = stateno = 2254 
trigger6 = animelem = 4 ,>=0
trigger7 = stateno = 2255 
trigger7 = animelem = 4 ,>=0

;---------------------------------------------------------------------------
;刚CD
[state CD]
type=changestate
value  = 351
triggerall = !var(59)
triggerall = command = "CD"
triggerall = statetype != a
triggerall = power >= 1000
trigger1 = stateno = [140,155]

;---------------------------------------------------------------------------
;站CD
[state CD]
type = changestate
value = 350
triggerall = !var(59)
triggerall = command = "CD"
triggerall = statetype != a
trigger1 = ctrl || stateno = 100

;--------------------------------
; 后闪避（耗气）
[State 后闪避（耗气）]
type = ChangeState
value = 826
triggerall = !var(59)
triggerall = command = "recovery"
triggerall = command = "holdback"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = stateno = [140,155]

;--------------------------------
; 后闪避
[State 后闪避]
type = ChangeState
value = 825
triggerall = !var(59)
triggerall = command = "recovery"
triggerall = command = "holdback"
trigger1 = statetype != A && (ctrl || stateno = 100)

;--------------------------------
; 前闪避（耗气）
[State 前闪避（耗气）]
type = ChangeState
value = 821
triggerall = !var(59)
triggerall = command = "recovery"
triggerall = command = "holdfwd"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = stateno = [140,155]

;--------------------------------
; 前闪避
[State 前闪避]
type = ChangeState
value = 820
triggerall = !var(59)
triggerall = command = "recovery"
triggerall = command = "holdfwd"
trigger1 = statetype != A && (ctrl || stateno = 100)

;--------------------------------
; 原地闪避
[State 原地闪避]
type = ChangeState
value = 830
triggerall = !var(59)
triggerall = command = "recovery"
trigger1 = statetype != A && (ctrl || stateno = 100)

;-------------------------------------------------------------------------------
