;-|supermove |--------------------------------------------------------
[Command]
name = "super1"
command = ~D,DF,F,D,DF,F,a
time = 30

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

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

[Command]
name = "trans"
command = ~D,DB,B,D,DB,B,b
time = 30

[Command]
name = "super4"
command = ~D,DB,B,DB,D,DF,F,y
time = 35

[Command]
name = "super3"
command = ~D,DB,B,DB,D,DF,F,x
time = 35

;-| specialmove |------------------------------------------------------
[Command]
name = "special2"
command = ~D,DF,F,y

[Command]
name = "special1"
command = ~D,DF,F,x


[Command]
name = "special4"
command = ~D,DB,B,b

[Command]
name = "special3"
command = ~D,DB,B,a

[Command]
name = "special5"
command = ~D,DF,F,b

[Command]
name = "special6"
command = ~D,DF,F,a

[Command]
name = "special7"
command = ~F,D,DF,y

[Command]
name = "special8"
command = ~F,D,DF,x

;-| forward and back |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

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

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

;-|Dir+button|-------------------------------------------------------
[Command]
name = "forward_a"
command = /$F,a
time = 1


[Command]
name = "down_a"
command = /$D,a
time = 1

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


[Command]
name = "hold_x"
command = /x
time = 1

[Command]
name = "hold_y"
command = /y
time = 1

;-| dir|---------------------------------------------------------
[Command]
name = "DF"
command = DF
time = 1

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

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

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

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

[Command]
name = "F"
command = F
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

;-| dirhold |-------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup" 
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1
 
;必杀和超必杀
[Statedef -1]
[State -1]
type = ChangeState
value = 3003
triggerall = power >= 1000
triggerall = command = "super1"
triggerall = statetype != A
trigger1 = ctrl = 1

; super3
[State -1]
type = ChangeState
value = 8150
triggerall =command = "super3" && power >= 1000 
trigger1 = statetype != A && ctrl

; super4
[State -1]
type = ChangeState
value = 8155
triggerall =  command = "super4" &&  power >= 2000
trigger1 = statetype != A && ctrl

;飞行道具（rock）
[State -1]
type = ChangeState
value = 740
triggerall = command = "special1"
triggerall = NumProjID(1000) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1

;飞行道具（rock）
[State -1]
type = ChangeState
value = 740
triggerall = command = "special2"
triggerall = NumProjID(1000) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1

;WING（rock）
[State -1]
type = ChangeState
value = 700
triggerall = command = "special3"
triggerall = command != "trans"
trigger1 = statetype != A
trigger1 = ctrl = 1

;WING（rock）
[State -1]
type = ChangeState
value = 700
triggerall = command != "trans"
triggerall = command = "special4"
trigger1 = statetype != A
trigger1 = ctrl = 1

;变身
[State -1]
type = ChangeState
value = 800
triggerall= var(1)= 0
triggerall = command = "trans"
triggerall = power >= 1000
triggerall = life <= 500
trigger1 = statetype != A
trigger1 = ctrl = 1

;基本动作
;快跑
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;急退
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;轻拳
[State -1, 轻拳]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl


;重拳
[State -1, 重拳]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl

;轻拳2
[State -1, 轻拳2]
type = ChangeState
value = 220
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl

;重拳2
[State -1, 重拳2]
type = ChangeState
value = 230
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl

;下蹲轻拳
[State -1, 下蹲轻拳]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

;下蹲重拳
[State -1, 下蹲重拳]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

;下蹲轻拳2
[State -1, 下蹲轻拳2]
type = ChangeState
value = 420
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

;下蹲重拳2
[State -1,下蹲重拳2]
type = ChangeState
value = 430
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

;跳跃轻拳
[State -1, 跳跃轻拳]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;跳跃重拳
[State -1, 跳跃重拳]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;跳跃轻拳2
[State -1, 跳跃轻拳2]
type = ChangeState
value = 620
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;跳跃重拳2
[State -1, 跳跃重拳2]
type = ChangeState
value = 630
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

































