
[command]
name = "crow-bite-super"
command = D, DF, F,D, DF, F, x
time = 40

[command]
name = "diamond-edge-super"
command = D, DF, F,D, DF, F, y
time = 40

[command]
name = "disappear with wind"
command = D, DF, F,D, DF, F, z
time = 40

[command]
name = "supuro"
command = D, DF, F, x+y
time = 40

[command]
name = "trycicle edge"
command = D, DF, F,D, DF, F, a
time = 40

[command]
name = "rufushi kamui emishi-ufun"
command = D, DB, B, D, DB, B, x
time = 40

[command]
name = "rufushi kamui emishi-nishi"
command = D, DB, B, D, DB, B, y
time = 40

[command]
name = "rufushi kamui emishi-toitoi"
command = D, DB, B, D, DB, B, z
time = 40

[command]
name = "rufushi kamui emishi"
command = D, DB, B, D, DB, B, a
time = 40

[command]
name = "sin-sefuken"
command = D, D, D, DF, F, s
time = 40

;-| super motions |--------------------------------------------------------

[command]
name = "rupushi"
command = D, DF, F, x
time = 20

[command]
name = "mem"
command = D, DF, F, y
time = 20

[command]
name = "sitsuki"
command = D, DF, F, z
time = 20

[command]
name = "suizan"
command = D, DF, F, a
time = 20

[command]
name = "crow-bite"
command = F, D, DF, x
time = 25

[command]
name = "nonno"
command = F, D, DF, y
time = 25

[command]
name = "kori-gen"
command = F, D, DF, z
time = 25

[command]
name = "shutup"
command = F, D, DF, a
time = 25

[command]
name = "diamond-edge"
command = D, DB, B, x
time = 20

[command]
name = "diamond-edge2"
command = D, DB, B, y
time = 20

[command]
name = "diamond-edge3"
command = D, DB, B, z
time = 20

[Command]
name = "ufun"
command = x,x,x,x
time = 30

[Command]
name = "ufun"
command = y,y,y,y
time = 30

[Command]
name = "ufun"
command = z,z,z,z
time = 30

[command]
name = "rufushi-arm"
command = F, DF, D, DB, B, F, a
time = 25

;-| special motions |------------------------------------------------------

;-| DoUBle tap |-----------------------------------------------------------
[command]
name = "ff"     ;required (do not remove)
command = F, F
time = 10

[command]
name = "bb"     ;required (do not remove)
command = B, B
time = 10

;-| 2/3 button combination |-----------------------------------------------
[command]
name = "recovery";required (do not remove)
command = x+y
time = 1	

;-| Dir + button |---------------------------------------------------------
[command]
name = "down_a"
command = /$D,a
time = 1
543w
[command]
name = "down_b"
command = /$D,b
time = 1

;-| single button |---------------------------------------------------------
[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

;-| hold Dir |--------------------------------------------------------------
[command]
name = "holdfwd";required (do not remove)
command = /$F
time = 1

[command]
name = "holdback";required (do not remove)
command = /$B
time = 1

[command]
name = "holdup" ;required (do not remove)
command = /$U
time = 1

[command]
name = "holddown";required (do not remove)
command = /$D
time = 1

[Command]
name = "holda"
command = /$a
time = 1


;---------------------------------------------------------------------------
; 2. state entry
; --------------


; Don't remove the Following line. it's required by the cmd standard.
[statedef -1]

;===========================================================================

;===========================================================================

;===========================================================================

[state -1]
type = changestate
value = 3800
triggerall = command = "sin-sefuken"
triggerall = power >= 3000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3700
triggerall = command = "rufushi kamui emishi"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3600
triggerall = command = "rufushi kamui emishi-toitoi"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3500
triggerall = command = "rufushi kamui emishi-nishi"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3400
triggerall = command = "rufushi kamui emishi-ufun"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3300
triggerall = command = "trycicle edge"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3200
triggerall = command = "disappear with wind"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3100
triggerall = command = "diamond-edge-super"
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 3000
triggerall = command = "crow-bite-super"  
triggerall = power >= 1000
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1400
triggerall = command = "rufushi-arm"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1300
triggerall = command = "ufun"  
triggerall = command = "holdfwd"
triggerall = statetype != a 
trigger1 = ctrl 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1200
triggerall = command = "diamond-edge" || command = "diamond-edge2" || command = "diamond-edge3"
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1130
triggerall = command = "shutup"  
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1120
triggerall = command = "kori-gen"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1110
triggerall = command = "nonno"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1510
triggerall = command = "nonno"  
triggerall = statetype = a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1500
triggerall = command = "crow-bite"  
triggerall = statetype = a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1100
triggerall = command = "crow-bite"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;---------------------------------------------------------------------------
;jump strong kick
;空中強キック
[state -1, jump strong kick]
type = changestate
value = 1106
triggerall = command = "a"
trigger1 = stateno = 1100 
trigger1 = animelem = 9,>0 && animelem = 9,<4

;===========================================================================

[state -1]
type = changestate
value = 1050
triggerall = command = "suizan"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1040
triggerall = command = "sitsuki"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1030
triggerall = command = "mem"  
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;===========================================================================

[state -1]
type = changestate
value = 1000
triggerall = command = "rupushi"  
triggerall = numhelper(1010) = 0
triggerall = statetype != a 
trigger1 = ctrl = 1 
trigger2 = movecontact && (stateno = 200)
trigger3 = movecontact && (stateno = 205)
trigger4 = movecontact && (stateno = 210)
trigger5 = movecontact && (stateno = 215)
trigger6 = movecontact && (stateno = 225)
trigger7 = movecontact && (stateno = 240)

;---------------------------------------------------------------------------
;run Fwd
;?ッシュ
[state -1, run Fwd]
type = changestate
value = 542
trigger1 = command = "ff"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;run back
;後退?ッシュ
[state -1, run back]
type = changestate
value = 543
trigger1 = command = "bb"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;run Fwd
;?ッシュ
[state -1, run Fwd]
type = changestate
value = 100
trigger1 = command = "ff"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;run back
;後退?ッシュ
[state -1, run back]
type = changestate
value = 105
trigger1 = command = "bb"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;kung Fu throw
;投げ
[state -1, kung Fu throw]
type = changestate
value = 900
triggerall = command = "z" 
triggerall = statetype = a
triggerall = ctrl
triggerall = stateno != 100
triggerall = pos y < -66 
trigger1 = (facing != enemynear, Facing)
trigger1 = command = "holdfwd"
trigger1 = p2bodydist x < 3
trigger1 = p2statetype = a
trigger1 = p2movetype != h
trigger2 = command = "holdback"
trigger2 = p2bodydist x < 5
trigger2 = p2statetype = a
trigger2 = p2movetype != h
trigger3 = command = "holddown"
trigger3 = p2bodydist x < 5
trigger3 = p2statetype = a
trigger3 = p2movetype != h

;---------------------------------------------------------------------------
;kung Fu throw
;投げ
[state -1, kung Fu throw]
type = changestate
value = 800
triggerall = command = "z"
triggerall = statetype = s
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist x < 3
trigger1 = (p2statetype = s) || (p2statetype = c)
trigger1 = p2movetype != h
trigger2 = command = "holdback"
trigger2 = p2bodydist x < 5
trigger2 = (p2statetype = s) || (p2statetype = c)
trigger2 = p2movetype != h

;---------------------------------------------------------------------------
;taunt
;挑発
[state -1, taunt]
type = changestate
value = 522
triggerall = command = "c"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;taunt
;挑発
[state -1, taunt]
type = changestate
value = 521
triggerall = command = "c"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;taunt
;挑発
[state -1, taunt]
type = changestate
value = 520
triggerall = command = "c"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;taunt
;挑発
[state -1, taunt]
type = changestate
value = 510
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = p2bodydist X < 6
trigger1 = statetype != a
trigger1 = ctrl

;---------------------------------------------------------------------------
;taunt
;挑発
[state -1, taunt]
type = changestate
value = 500
triggerall = command = "b"
trigger1 = statetype != a
trigger1 = ctrl

;===========================================================================

;---------------------------------------------------------------------------
;stand strong punch
;立ち強パン?
[state -1, stand strong punch]
type = changestate
value = 260
triggerall = command = "y" && command = "a"
triggerall = command != "holddown"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;stand light punch
;立ち弱パン?
[state -1, stand light punch]
type = changestate
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;stand strong punch
;立ち強パン?
[state -1, stand strong punch]
type = changestate
value = 250
triggerall = command = "y"
triggerall = command = "holdfwd"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;stand strong punch
;立ち強パン?
[state -1, stand strong punch]
type = changestate
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;stand strong punch
;立ち強パン?
[state -1, stand strong punch]
type = changestate
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;stand light kick
;立ち弱キック
[state -1, stand light kick]
type = changestate
value = 240
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;crouching light punch
;しゃがみ弱パン?
[state -1, crouching light punch]
type = changestate
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;crouching strong punch
;しゃがみ強パン?
[state -1, crouching strong punch]
type = changestate
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;crouching strong punch
;しゃがみ強パン?
[state -1, crouching strong punch]
type = changestate
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;crouching light kick
;しゃがみ弱キック
[state -1, crouching light kick]
type = changestate
value = 450
triggerall = command = "a"
triggerall = command = "holdfwd"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;crouching light kick
;しゃがみ弱キック
[state -1, crouching light kick]
type = changestate
value = 440
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = c
trigger1 = ctrl

;---------------------------------------------------------------------------
;jump light punch
;空中弱パン?
[state -1, jump light punch]
type = changestate
value = 600
triggerall = command = "x"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;jump strong punch
[state -1, jump strong punch]
type = changestate
value = 610
triggerall = command = "y"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;jump strong punch
[state -1, jump strong punch]
type = changestate
value = 620
triggerall = command = "z"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;jump strong kick
;空中強キック
[state -1, jump strong kick]
type = changestate
value = 650
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = a
trigger1 = ctrl

;---------------------------------------------------------------------------
;jump strong kick
;空中強キック
[state -1, jump strong kick]
type = changestate
value = 640
triggerall = command = "a"
trigger1 = statetype = a
trigger1 = ctrl
