; 汉化版功夫人的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


;-| 重新排列按键 |-----------------------------------------------------
; 这一段可以让玩家简单的重新排列攻击按键。格式是:
;  以前对应的键 = 修改后的键
; 如果不填写修改后的键，则以前对应的键将失效。
[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
;------------------------------------------------------------------------------
;-| MAX2超必殺技 |--------------------------------------------------------------

[Command]
name = "超能力组合曲"
command = ~D, DF, F, D, DF, F, z
time = 25

[Command]
name = "超能力爆弹"
command = ~D, DF, F, D, DF, F, c
time = 25


;------------------------------------------------------------------------------
;-| MAX2超必殺技 |--------------------------------------------------------------


[Command]
name = "MAX闪光水晶击"
command = ~D, DB, B, D, DB, B, x+y
time = 25

[Command]
name = "空中MAX闪光水晶击"
command = ~D, DB, B, D, DB, B, x+y
time = 25

[Command]
name = "超能力9"
command = ~D, DF, F, D, DF, F, x+y
time = 25

;------------------------------------------------------------------------------
;-| 超必殺技 |--------------------------------------------------------------

[Command]
name = "闪光水晶击"
command = ~D, DB, B, D, DB, B, x
time = 25

[Command]
name = "闪光水晶击"
command = ~D, DB, B, D, DB, B, y
time = 25

[Command]
name = "空中闪光水晶击"
command = ~D, DB, B, D, DB, B, x
time = 25

[Command]
name = "空中闪光水晶击"
command = ~D, DB, B, D, DB, B, y
time = 25

[Command]
name = "弱凤凰锐箭"
command = ~D, DF, F, D, DF, F, a
time = 25

[Command]
name = "強凤凰锐箭"
command = ~D, DF, F, D, DF, F, b
time = 25

;-| 必杀技 |------------------------------------------------------
[Command]
name = "弱超能力射击"
command = ~D, D, x

[Command]
name = "強超能力射击"
command = ~D, D, y

[Command]
name = "空中弱超能力光剑"
command = ~F, D, DF, x

[Command]
name = "空中強超能力光剑"
command = ~F, D, DF, y

[Command]
name = "弱超能力光剑"
command = ~F, D, DF, x

[Command]
name = "強超能力光剑"
command = ~F, D, DF, y

[Command]
name = "弱超能力球击"
command = ~D, DB, B, x

[Command]
name = "強超能力球击"
command = ~D, DB, B, y

[Command]
name = "禁锢术"
command = ~D, DF, F, x

[Command]
name = "超能力传送·影击"
command = ~D, DF, F, y

[Command]
name = "超能力反射"
command = ~D, DB, B, a

[Command]
name = "超能力传送·虚幻"
command = ~D, DB, B, b

[Command]
name = "空中弱超能力传送"
command = ~D, DF, F, a

[Command]
name = "空中強超能力传送"
command = ~D, DF, F, b

[Command]
name = "弱超能力传送"
command = ~D, DF, F, a

[Command]
name = "強超能力传送"
command = ~D, DF, F, b

[Command]
name = "弱凤凰箭"
command = ~D, DB, B, a

[Command]
name = "強凤凰箭"
command = ~D, DB, B, b

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

;-| 按两次 |-----------------------------------------------------------
[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 = y+b
time = 1

[Command]
name = "ふっとばし"
command = c
time = 1

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

[Command]
name = "a+b"
command = a+b
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 = "蓄上方向"
command = /$F
time = 1

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

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

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

[Command]
name = "holdxy"
command = /$x+y
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 = "longjump"
command = ~D, $U
time = 11
;---------------------------------------------------------------------------
; 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]

;===========================================================================
;---------------------------------------------------------------------------


;===========================================================================
;这个控制器不触发招数。如果人物可以从普通技取消到必杀技，这个控制器会把var(1)设置成1。下面必杀技的控制器会用到这个变量。
;Since a lot of special moves rely on the same conditions, this reduces
;redundant logic.
;---------------------------------------------------------------------------
;超能力爆弹
[State -1, 超能力爆弹]
type = ChangeState
value = 3100
triggerall = command = "超能力爆弹"
triggerall = power >= 3000 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 
;---------------------------------------------------------------------------
;超能力组合曲
[State -1, 超能力组合曲]
type = ChangeState
value = 3000
triggerall = command = "超能力组合曲"
triggerall = power >= 3000 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;---------------------------------------------------------------------------
;超能力9
[State -1, 超能力9]
type = ChangeState
value = 2500
triggerall = command = "超能力9"
triggerall = power >= 2000 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;---------------------------------------------------------------------------
;MAX闪光水晶击
[State -1, MAX闪光水晶击]
type = ChangeState
value = 2300
triggerall = command = "MAX闪光水晶击"
triggerall = power >= 2000 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;空中MAX闪光水晶击
[State -1, 空中MAX闪光水晶击]
type = ChangeState
value = 2400
triggerall = command = "空中MAX闪光水晶击"
triggerall = power >= 2000 
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact
trigger14 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger15 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger16 = stateno = 1305 && movecontact
trigger17 = stateno = 1315 && movecontact

;---------------------------------------------------------------------------
;闪光水晶击
[State -1, 闪光水晶击]
type = ChangeState
value = 2000
triggerall = command = "闪光水晶击"
triggerall = power >= 1000 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;空中闪光水晶击
[State -1, 空中闪光水晶击]
type = ChangeState
value = 2100
triggerall = command = "空中闪光水晶击"
triggerall = power >= 1000 
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact
trigger14 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger15 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger16 = stateno = 1305 && movecontact
trigger17 = stateno = 1315 && movecontact
;------------------------------------------------------------------------------
;弱凤凰锐箭
[State -1, 弱凤凰锐箭]
type = ChangeState
value = 2200
triggerall = command = "弱凤凰锐箭"
triggerall = power >= 1000 
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact
trigger14 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger15 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger16 = stateno = 1305 && movecontact
trigger17 = stateno = 1315 && movecontact

;強凤凰锐箭
[State -1, 強凤凰锐箭]
type = ChangeState
value = 2210
triggerall = command = "強凤凰锐箭"
triggerall = power >= 1000 
triggerall = statetype = A
trigger1 = ctrl
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact
trigger14 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger15 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger16 = stateno = 1305 && movecontact
trigger17 = stateno = 1315 && movecontact
;------------------------------------------------------------------------------
;弱凤凰箭
[State -1,  弱凤凰箭]
type = ChangeState
value = 1100
triggerall = command = "弱凤凰箭"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger11 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger12 = stateno = 1305 && movecontact
trigger13 = stateno = 1315 && movecontact


;強凤凰箭
[State -1, 強凤凰箭]
type = ChangeState
value = 1110
triggerall = command = "強凤凰箭"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger13 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger14 = stateno = 1305 && movecontact
trigger15 = stateno = 1315 && movecontact

;------------------------------------------------------------------------------
;超能力反射
[State -1, 超能力反射]
type = ChangeState
value = 1200
triggerall = command = "超能力反射"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger18 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger19 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger20 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;------------------------------------------------------------------------------
;弱超能力光剑
[State -1, 弱超能力光剑]
type = ChangeState
value = 1300
triggerall = command = "弱超能力光剑"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger19 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;強超能力光剑
[State -1, 強超能力光剑]
type = ChangeState
value = 1310
triggerall = command = "強超能力光剑"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger19 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;空中弱超能力光剑
[State -1, L 空中弱超能力光剑]
type = ChangeState
value = 1305
triggerall = command = "空中弱超能力光剑"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact



;空中強超能力光剑
[State -1, 空中強超能力光剑]
type = ChangeState
value = 1315
triggerall = command = "空中強超能力光剑"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1101 && movecontact
trigger13 = stateno = 1115 && movecontact

;------------------------------------------------------------------------------
;弱超能力射击
[State -1, 弱超能力射击]
type = ChangeState
value = 1500
triggerall = command = "弱超能力射击"
triggerall = statetype != A
triggerall = !numprojID(1500)
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact

;強超能力射击
[State -1, 強超能力射击]
type = ChangeState
value = 1510
triggerall = command = "強超能力射击"
triggerall = statetype != A
triggerall = !numprojID(1500)
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact


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

;弱超能力球击
[State -1, 弱超能力球击]
type = ChangeState
value = 1000
triggerall = command = "弱超能力球击"
triggerall = statetype != A
triggerall = !numprojID(1000)
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1112 && movecontact
Trigger15 = stateno = 1205 && time = [1,20]
Trigger16 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger17 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger18 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger19 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;強超能力球击
[State -1, 強超能力球击]
type = ChangeState
value = 1050
triggerall = command = "強超能力球击"
triggerall = statetype != A
triggerall = !numprojID(1000)
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1112 && movecontact
Trigger15 = stateno = 1205 && time = [1,20]
Trigger16 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger17 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger18 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger19 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

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

;弱超能力传送
[State -1, 弱超能力传送]
type = ChangeState
value = 1400
triggerall = command = "弱超能力传送"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;強超能力传送
[State -1, 強超能力传送]
type = ChangeState
value = 1410
triggerall = command = "強超能力传送"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;超能力传送·虚幻
[State -1, 超能力传送·虚幻]
type = ChangeState
value = 1450
triggerall = command = "超能力传送·虚幻"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;空中弱超能力传送
[State -1, 空中弱超能力传送]
type = ChangeState
value = 1460
triggerall = command = "空中弱超能力传送"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger13 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger14 = stateno = 1305 && movecontact
trigger15 = stateno = 1315 && movecontact


;空中強超能力传送
[State -1, 空中強超能力传送]
type = ChangeState
value = 1470
triggerall = command = "空中強超能力传送"
triggerall = statetype = A
trigger1 = ctrl 
Trigger2 = stateno = 240 && AnimElemtime(2) > 0 && AnimElemtime(8) < 0 && movecontact
trigger3 = stateno = 600 && movecontact
trigger4 = stateno = 605 && movecontact
trigger5 = stateno = 610 && movecontact
trigger6 = stateno = 615 && movecontact
trigger7 = stateno = 630 && movecontact
trigger8 = stateno = 635 && movecontact
trigger9 = stateno = 640 && movecontact
trigger10 = stateno = 645 && movecontact
trigger11 = stateno = 660 && movecontact
trigger12 = stateno = 1300 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger13 = stateno = 1310 && AnimElemtime(6) > 0 && AnimElemtime(13) < 0 && movecontact
trigger14 = stateno = 1305 && movecontact
trigger15 = stateno = 1315 && movecontact


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

;超能力传送·影击
[State -1, 超能力传送·影击]
type = ChangeState
value = 1600
triggerall = command = "超能力传送·影击" 
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101]) 
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 
;---------------------------------------------------------------------------
;禁锢术
[State -1, 禁锢术]
type = ChangeState
value = 1700
triggerall = command = "禁锢术"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 220 && movecontact
trigger7 = stateno = 230 && movecontact
trigger8 = stateno = 235 && movecontact
trigger9 = stateno = 300 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact
Trigger14 = stateno = 1000 && AnimElemtime(7) > 0 && AnimElemtime(10) < 0 
Trigger15 = stateno = 1050 && AnimElemtime(7) > 0 && AnimElemtime(11) < 0 
Trigger16 = stateno = 1112 && movecontact
Trigger17 = stateno = 1205 && time = [1,20]
Trigger18 = stateno = 1300 && AnimElemtime(2) > 0 && AnimElemtime(4) < 0 && movecontact
Trigger19 = stateno = 1310 && AnimElemtime(2) > 0 && AnimElemtime(5) < 0 && movecontact
Trigger20 = stateno = 1500 && AnimElemtime(7) > 0 && AnimElemtime(12) < 0 
Trigger21 = stateno = 1510 && AnimElemtime(7) > 0 && AnimElemtime(16) < 0 

;===========================================================================
;後緊急回避
[State -1, T S]
type = ChangeState
value = 710
triggerall = command = "recovery" && command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl || (stateno = [100,101]) || (fvar(1)= [1,2])
trigger2 = power >= 1000
trigger2 = stateno = [150,151]

;---------------------------------------------------------------------------
;前緊急回避
[State -1, T S]
type = ChangeState
value = 700
triggerall = command = "recovery"
trigger1 = statetype = S
trigger1 = ctrl || (stateno = [100,101]) || (fvar(1)= [1,2])
trigger2 = power >= 1000
trigger2 = stateno = [150,151]

;---------------------------------------------------------------------------
;受身
[State -1, UKEMI]
type = ChangeState
value = 5201
triggerall = command = "recovery"
triggerall = alive = 1
trigger1 = stateno = 5050
trigger1 = pos y > -30
trigger1 = vel y > 0 && vel y < 9

;ふっとばし
[State -1, Throw]
type = ChangeState
value = 300
triggerall = command = "ふっとばし"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = ctrl
trigger2 = power >= 1000
trigger2 = stateno = [150,151]
trigger3 = stateno = 200 && movecontact
trigger4 = stateno = 205 && movecontact
trigger5 = stateno = 210 && movecontact
trigger6 = stateno = 215 && movecontact
trigger7 = stateno = 220 && movecontact
trigger8 = stateno = 230 && movecontact
trigger9 = stateno = 235 && movecontact
trigger10 = stateno = 400 && movecontact
trigger11 = stateno = 410 && movecontact
trigger12 = stateno = 430 && movecontact
trigger13 = stateno = 440 && movecontact

;空中ふっとばし
[State -1, CD]
type = ChangeState
value = 660
triggerall = command = "ふっとばし"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact
trigger3 = stateno = 605 && movecontact
trigger4 = stateno = 610 && movecontact
trigger5 = stateno = 615 && movecontact
trigger6 = stateno = 630 && movecontact
trigger7 = stateno = 635 && movecontact
trigger8 = stateno = 640 && movecontact
trigger9 = stateno = 645 && movecontact

;---------------------------------------------------------------------------
;------------------------------------------------------------------------------
;P投げ
[State -1, Throw]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = p2bodydist X < 15
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl

;K投げ
[State -1, Throw]
type = ChangeState
value = 805
triggerall = command = "b"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype = S
triggerall = stateno != 100
trigger1 = p2bodydist X < 15
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl
;------------------------------------------------------------------------------
;凤凰盾
[State -1, NARAKU]
type = ChangeState
value = 650
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 105

;------------------------------------------------------------------------------
;连环腿
[State -1]
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl|| (stateno = [100,101])
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact

;========================================================================================
;ダッシュ
[State -1, Dash]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;バックステップ
[State -1, Back Step]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl 

;==============================================================================
;近距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype = S
triggerall = p2bodydist X < 18
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && MoveContact
trigger3 = stateno = 205 && MoveContact

;遠距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && MoveContact
trigger3 = stateno = 205 && MoveContact

;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype = S
triggerall = p2bodydist X < 18
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 205 && MoveContact
trigger3 = stateno = 400 && MoveContact
trigger4 = stateno = 430 && MoveContact

;遠距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && MoveContact
trigger3 = stateno = 205 && MoveContact
trigger4 = stateno = 400 && MoveContact
trigger5 = stateno = 430 && MoveContact

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

;遠距離立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 220
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && MoveContact
trigger3 = stateno = 205 && MoveContact
trigger4 = stateno = 400 && MoveContact
trigger5 = stateno = 430 && MoveContact

;近距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 235
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S
triggerall = p2bodydist X < 15
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 205 && MoveContact
trigger3 = stateno = 215 && MoveContact

;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 230
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 200 && MoveContact
trigger3 = stateno = 220 && MoveContact

;------------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,101])

;------------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 400 && MoveContact
trigger3 = stateno = 430 && MoveContact

;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 400 && MoveContact
trigger3 = stateno = 430 && MoveContact
;------------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 400 && MoveContact
trigger3 = stateno = 430 && MoveContact

;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl || (stateno = [100,101])
trigger2 = stateno = 400 && MoveContact
trigger3 = stateno = 430 && MoveContact

;------------------------------------------------------------------------------
;ジャンプ弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = stateno != 105
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Vel X = 0

[State -1, Jump Light Punch]
type = ChangeState
value = 605
triggerall = command = "x"
triggerall = stateno != 105
trigger1 = statetype = A
trigger1 = ctrl

;ジャンプ強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = stateno != 105
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Vel X = 0

[State -1, Jump Strong Punch]
type = ChangeState
value = 615
triggerall = command = "y"
triggerall = stateno != 105
trigger1 = statetype = A
trigger1 = ctrl

;------------------------------------------------------------------------------
;垂直ジャンプ弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = stateno != 105
triggerall = vel X = 0
trigger1 = statetype = A
trigger1 = ctrl

;斜めジャンプ弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 635
triggerall = command = "a"
triggerall = stateno != 105
triggerall = vel X != 0
trigger1 = statetype = A
trigger1 = ctrl

;垂直ジャンプ強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
triggerall = stateno != 105
triggerall = vel X = 0
trigger1 = statetype = A
trigger1 = ctrl

;斜めジャンプ強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 645
triggerall = command = "b"
triggerall = stateno != 105
triggerall = vel X != 0
trigger1 = statetype = A
trigger1 = ctrl


;この下、一行以上空ける事！
