
; Ryu's Command File.


[Command]
name = "CPU0"
command = U,U,D,D,B,F,B,F,s,s
time = 0

[Command]
name = "CPU1"
command = U,U,D,D,B,F,B,F,a,a
time = 0

[Command]
name = "CPU2"
command = U,U,D,D,B,F,B,F,b,b
time = 0

[Command]
name = "CPU3"
command = U,U,D,D,B,F,B,F,c,c
time = 0

[Command]
name = "CPU4"
command = U,U,D,D,B,F,B,F,x,x
time = 0

[Command]
name = "CPU5"
command = U,U,D,D,B,F,B,F,y,y
time = 0

[Command]
name = "CPU6"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU7"
command = U,U,D,D,B,F,B,F,a,b
time = 0

[Command]
name = "CPU8"
command = U,U,D,D,B,F,B,F,b,c
time = 0

[Command]
name = "CPU9"
command = U,U,D,D,B,F,B,F,a,c
time = 0

[Command]
name = "CPU10"
command = U,U,D,D,B,F,B,F,x,y
time = 0

[Command]
name = "CPU11"
command = U,U,D,D,B,F,B,F,y,z
time = 0

[Command]
name = "CPU12"
command = U,U,D,D,B,F,B,F,x,z
time = 0

[Command]
name = "CPU13"
command = U,U,D,D,B,F,B,F,a,x
time = 0

[Command]
name = "CPU14"
command = U,U,D,D,B,F,B,F,a,y
time = 0

[Command]
name = "CPU15"
command = U,U,D,D,B,F,B,F,a,z
time = 0

[Command]
name = "CPU16"
command = U,U,D,D,B,F,B,F,b,x
time = 0

[Command]
name = "CPU17"
command = U,U,D,D,B,F,B,F,b,y
time = 0

[Command]
name = "CPU18"
command = U,U,D,D,B,F,B,F,b,z
time = 0

[Command]
name = "CPU19"
command = U,U,D,D,B,F,B,F,c,x
time = 0

[Command]
name = "CPU20"
command = U,U,D,D,B,F,B,F,c,y
time = 0

[Command]
name = "CPU21"
command = U,U,D,D,B,F,B,F,c,z
time = 0

[Command]
name = "CPU22"
command = U,U,D,D,B,F,B,F,x,a
time = 0

[Command]
name = "CPU23"
command = U,U,D,D,B,F,B,F,x,b
time = 0

[Command]
name = "CPU24"
command = U,U,D,D,B,F,B,F,x,c
time = 0

[Command]
name = "CPU25"
command = U,U,D,D,B,F,B,F,y,a
time = 0

[Command]
name = "CPU26"
command = U,U,D,D,B,F,B,F,y,b
time = 0

[Command]
name = "CPU27"
command = U,U,D,D,B,F,B,F,y,c
time = 0

[Command]
name = "CPU28"
command = U,U,D,D,B,F,B,F,z,a
time = 0

[Command]
name = "CPU29"
command = U,U,D,D,B,F,B,F,z,b
time = 0

[Command]
name = "CPU30"
command = U,U,D,D,B,F,B,F,z,c
time = 0

[Command]
name = "CPU31"
command = U,U,D,D,B,F,B,F,s,s,s
time = 0



;-| Super Motions |--------------------------------------------------------


[Command]
name = "spiralcannon1"
command = ~D, DB, B, D, DB, B, a
time = 25
[Command]
name = "spiralcannon2"
command = ~D, DB, B, D, DB, B, b
time = 25
[Command]
name = "spiralcannon3"
command = ~D, DB, B, D, DB, B, c
time = 25

;[Command]
;name = "spiralcannon4"
;command = ~D, B, D, B, s
;time = 25


[Command]
name = "superknuckle1"
command = ~D, DF, F, D, DF, F, x
time = 25
[Command]
name = "superknuckle2"
command = ~D, DF, F, D, DF, F, y
time = 25
[Command]
name = "superknuckle3"
command = ~D, DF, F, D, DF, F, z
time = 25

[Command]
name = "cannonspike1"
command = ~D, DB, B, D, DB, B, a
time = 25
[Command]
name = "cannonspike2"
command = ~D, DB, B, D, DB, B, b
time = 25
[Command]
name = "cannonspike3"
command = ~D, DB, B, D, DB, B, c
time = 25

;[Command]
;name = "vega21"
;command = ~50$B, F, B, F, x
;time = 25
[Command]
name = "vega22"
command = ~50$B, F, B, F, s
time = 25
;[Command]
;name = "vega23"
;command = ~50$B, F, B, F, z
;time = 25

;-| Special Motions |------------------------------------------------------


;[Command]
;name = "sci_a"
;command = ~40$B, F, z
;time = 10
;[Command]
;name = "juli_b"
;command = ~40$B, F, x
;time = 10
;[Command]
;name = "juni_c"
;command = ~40$B, F, y
;time = 10

[Command]
name = "cd_a"
command = ~D, DF, F, a
time = 20
[Command]
name = "cd_b"
command = ~D, DF, F, b
time = 20
[Command]
name = "cd_c"
command = ~D, DF, F, c
time = 20

[Command]
name = "tk_a"
command = ~F, D, DF, a
time = 15
[Command]
name = "tk_b"
command = ~F, D, DF, b
time = 15
[Command]
name = "tk_c"
command = ~F, D, DF, c
time = 15

[Command]
name = "sc_a"
command = ~D, DB, B, a
time = 15
[Command]
name = "sc_b"
command = ~D, DB, B, b
time = 15
[Command]
name = "sc_c"
command = ~D, DB, B, c
time = 15

[Command]
name = "sc_p"
command = ~D, DB, B, x
time = 15
[Command]
name = "sc_p1"
command = ~D, DB, B, y
time = 15
[Command]
name = "sc_p2"
command = ~D, DB, B, z
time = 15




[Command]
name = "sn_x"
;command = ~B, DB, D, DF, F, x
command = ~F, D, DF, x
;time = 20
[Command]
name = "sn_y"
;command = ~B, DB, D, DF, F, y
command = ~F, D, DF, y
;time = 20
[Command]
name = "sn_z"
;command = ~B, DB, D, DF, F, z
command = ~F, D, DF, z
;time = 20


;-| Double Tap |-----------------------------------------------------------
;[Command]
;name = "FF"
;command = F, F
;time = 10

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

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery" ;Required (do not remove)
command = a+b
time = 1
[Command]
name = "recovery"
command = x+y
time = 1



;-| Dir + Button |---------------------------------------------------------


[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

[Command]
name = "fwd_xy"
command = /F, x+y
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 = "s"
command = s
time = 1

;-| Hold Button |-----------------------------------------------------------
[Command]
name = "hold_x"
command = /x
time = 1

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

[Command]
name = "hold_z"
command = /z
time = 1

[Command]
name = "hold_a"
command = /a
time = 1

[Command]
name = "hold_b"
command = /b
time = 1

[Command]
name = "hold_c"
command = /c
time = 1

[Command]
name = "start"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[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


;=| Commands |=============================================================
;---------------------------------------------------------------------------

[Statedef -1]

[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 50
value = 1

;---------------------------------------------------------------------------
; Super Spinning Knuckle
[State -1]
type = ChangeState
value = 1540
triggerall = power >= 1000
triggerall = statetype = S
trigger1 = ctrl ;= 1
triggerall = command = "superknuckle1"

[State -1, hurricane2_b]
type = ChangeState
value = 1540
triggerall = power >= 1000
triggerall = command = "superknuckle1"
triggerall = statetype = S
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440
trigger13 = stateno = 420
trigger14 = stateno = 450
trigger15 = stateno = 225


; Super Spinning Knuckle2
[State -1]
type = ChangeState
value = 11540
triggerall = power >= 2000
triggerall = statetype = S
trigger1 = ctrl ;= 1
triggerall = command = "superknuckle2"

[State -1, hurricane2_b]
type = ChangeState
value = 11540
triggerall = power >= 2000
triggerall = command = "superknuckle2"
triggerall = statetype = S
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440
trigger13 = stateno = 420
trigger14 = stateno = 450
trigger15 = stateno = 225

; Super Spinning Knuckle3
[State -1]
type = ChangeState
value = 21540
triggerall = power >= 3000
triggerall = statetype = S
trigger1 = ctrl ;= 1
triggerall = command = "superknuckle3"

[State -1, hurricane2_b]
type = ChangeState
value = 21540
triggerall = power >= 3000
triggerall = command = "superknuckle3"
triggerall = statetype = S
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440
trigger13 = stateno = 420
trigger14 = stateno = 450
trigger15 = stateno = 225



;---------------------------------------------------------------------------
; Spiral Cannon
[State -1]
type = ChangeState
value = 1520
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "spiralcannon1"
;---------------------------------------------------------------------------
; Spiral Cannon2
[State -1]
type = ChangeState
value = 1525
triggerall = power >= 2000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "spiralcannon2"
;---------------------------------------------------------------------------
; Spiral Cannon3
[State -1]
type = ChangeState
value = 1527
triggerall = power >= 3000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "spiralcannon3"

;---------------------------------------------------------------------------
; Killer Bee
;[State -1]
;type = ChangeState
;value = 8888
;triggerall = power >= 3000
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "spiralcannon4"



;---------------------------------------------------------------------------
; Super Cannon Spike
[State -1]
type = ChangeState
value = 9551
triggerall = power >= 1000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = "cannonspike1"
;---------------------------------------------------------------------------
; Super Cannon Spike
[State -1]
type = ChangeState
value = 9550
triggerall = power >= 2000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = "cannonspike2"
;---------------------------------------------------------------------------
; Super Cannon Spike
[State -1]
type = ChangeState
value = 1550
triggerall = power >= 3000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = "cannonspike3"
;---------------------------------------------------------------------------
; Vega Summon_SUPER (THANKS VK!! This Sprite were ripped by VK)
;[State -1]
;type = ChangeState
;value = 1504
;triggerall = power >= 1000
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "vega21"
;---------------------------------------------------------------------------
; Vega Summon_SUPER (THANKS VK!! This Sprite were ripped by VK)
[State -1]
type = ChangeState
value = 1505
triggerall = power >= 3000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "vega22"
;---------------------------------------------------------------------------
; Vega Summon_SUPER (THANKS VK!! This Sprite were ripped by VK)
;[State -1]
;type = ChangeState
;value = 1503
;triggerall = power >= 3000
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "vega23"
;;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; Vega Summon_Scissor Kick
;[State -1]
;type = ChangeState
;value = 1605
;triggerall = power >= 1000
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "sci_a"

;---------------------------------------------------------------------------
; Juli_Summon
;[State -1]
;type = ChangeState
;value = 1020
;triggerall = power >= 500
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "juli_b"

;---------------------------------------------------------------------------
; Juni_Summon
;[State -1]
;type = ChangeState
;value = 1510
;triggerall = power >= 500
;triggerall = statetype = S
;triggerall = ctrl = 1
;trigger1 = command = "juni_c"


;---------------------------------------------------------------------------
; Thrust Kick (Weak)
[State -1]
type = ChangeState
value = 1010
triggerall = command = "tk_a"
trigger1 = statetype != A
trigger1 = ctrl = 1



;---------------------------------------------------------------------------
; Thrust Kick (Medium)
[State -1]
type = ChangeState
value = 2010
triggerall = command = "tk_b"
trigger1 = statetype != A
trigger1 = ctrl = 1

[State -1, asraf_2pai]
type = ChangeState
value = 2010
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 20 && p2bodydist X < 40



;---------------------------------------------------------------------------
; Thrust Kick (Hard)
[State -1]
type = ChangeState
value = 2110
triggerall = command = "tk_c"
trigger1 = statetype != A
trigger1 = ctrl = 1

[State -1, asraf_2pai]
type = ChangeState
value = 2110
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 60 && p2bodydist X < 70



;---------------------------------------------------------------------------
; Spinning Knuckle (Weak)
[State -1]
type = ChangeState
value = 1030
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = "sn_x"

[State -1, asraf_2pai]
type = ChangeState
value = 1030
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 70 && p2bodydist X < 80

[State -1, hurricane2_b]
type = ChangeState
value = 1030
triggerall = command = "sn_x"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440
;---------------------------------------------------------------------------
; Spinning Knuckle (Medium)
[State -1]
type = ChangeState
value = 1032
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = "sn_y"

[State -1, hurricane2_b]
type = ChangeState
value = 1032
triggerall = command = "sn_y"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440

;---------------------------------------------------------------------------
; Spinning Knuckle (Hard)
[State -1]
type = ChangeState
value = 1033
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = "sn_z"

[State -1, asraf_2pai]
type = ChangeState
value = 1033
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 130 && p2bodydist X < 140

[State -1, hurricane2_b]
type = ChangeState
value = 1033
triggerall = command = "sn_z"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
trigger7 = stateno = 235
trigger8 = stateno = 255
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 430
trigger12 = stateno = 440



;---------------------------------------------------------------------------
; Cannon Drill (Weak)
[State -1]
type = ChangeState
value = 1005
triggerall = statetype != A
triggerall = ctrl ;= 1
trigger1 = command = "cd_a"

[State -1, asraf_2pai]
type = ChangeState
value = 1005
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 90 && p2bodydist X < 100

[State -1, hurricane2_b]
type = ChangeState
value = 1005
triggerall = command = "cd_a"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger7 = stateno = 235
trigger7 = stateno = 255
trigger8 = stateno = 400
trigger9 = stateno = 410
trigger10 = stateno = 430
trigger11 = stateno = 440
trigger12 = stateno = 235


;---------------------------------------------------------------------------
; Cannon Drill (Medium)
[State -1]
type = ChangeState
value = 1008
triggerall = statetype != A
triggerall = ctrl ;= 1
trigger1 = command = "cd_b"

[State -1, asraf_2pai]
type = ChangeState
value = 1008
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 90 && p2bodydist X < 100

[State -1, hurricane2_b]
type = ChangeState
value = 1008
triggerall = command = "cd_b"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger7 = stateno = 235
trigger7 = stateno = 255
trigger8 = stateno = 400
trigger9 = stateno = 410
trigger10 = stateno = 430
trigger11 = stateno = 440
trigger12 = stateno = 235

;---------------------------------------------------------------------------
; Cannon Drill (Hard)
[State -1]
type = ChangeState
value = 1000
triggerall = statetype != A
triggerall = ctrl ;= 1
trigger1 = command = "cd_c"

[State -1, asraf_2pai]
type = ChangeState
value = 1000
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 120 && p2bodydist X < 135

[State -1, hurricane2_b]
type = ChangeState
value = 1000
triggerall = command = "cd_c"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 220 
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger7 = stateno = 235
trigger7 = stateno = 255
trigger8 = stateno = 400
trigger9 = stateno = 410
trigger10 = stateno = 430
trigger11 = stateno = 440
trigger12 = stateno = 235




;---------------------------------------------------------------------------
; Spike Cannon (Weak)
[State -1]
type = ChangeState
value = 1043
triggerall = command = "sc_a"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl ;= 1


;---------------------------------------------------------------------------
; Spike Cannon (Medium)
[State -1]
type = ChangeState
value = 1040
triggerall = command = "sc_b"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl ;= 1


;---------------------------------------------------------------------------
; Spike Cannon (Hard)
[State -1]
type = ChangeState
value = 1042
triggerall = command = "sc_c"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl ;= 1

;---------------------------------------------------------------------------
; MVC2 Reverse
[State -1]
type = ChangeState
value = 1840
triggerall = Power >= 200
triggerall = command = "sc_p"
trigger1 = statetype = S
trigger1 = ctrl ;= 1

;---------------------------------------------------------------------------
; MVC2 Reverse
[State -1]
type = ChangeState
value = 18401
triggerall = Power >= 400
triggerall = command = "sc_p1"
trigger1 = statetype = S
trigger1 = ctrl ;= 1

;---------------------------------------------------------------------------
; MVC2 Reverse
[State -1]
type = ChangeState
value = 18402
triggerall = Power >= 600
triggerall = command = "sc_p2"
trigger1 = statetype = S
trigger1 = ctrl ;= 1
;---------------------------------------------------------------------------
; Run Foward
;[State -1]
;type = ChangeState
;value = 100
;trigger1 = command = "FF"
;trigger1 = statetype = S
;trigger1 = ctrl = 1
;---------------------------------------------------------------------------
; Hop Backward
;[State -1]
;type = ChangeState
;v;alue = 105
;trigger1 = command = "BB"
;trigger1 = statetype = S
;trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Throw_Suplex
[State -1]
type = ChangeState
value = 2060
triggerall = P2BodyDist X <= 20
triggerall = statetype = S
triggerall = ctrl ;= 1
trigger1 = command = "fwd_xy";Command



;---------------------------------------------------------------------------
; Throw_Frankensteiner
[State -1]
type = ChangeState
value = 2050
triggerall = P2BodyDist X <= 20
triggerall = statetype = S
triggerall = ctrl ;= 1
trigger1 = command = "fwd_ab";Command





;--------------------------------------------------------------------------- 
; Short Kick (Close) 
[State -1] 
type = ChangeState 
value = 205 
triggerall = command = "a"
triggerall = command != "holddown" 
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Forward Kick (Close) 
[State -1] 
type = ChangeState 
value = 215 
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Forward Kick 
[State -1] 
type = ChangeState 
value = 2101233
triggerall = command = "c"
triggerall = command = "holdfwd" 
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Forward Kick 
[State -1] 
type = ChangeState 
value = 210 
triggerall = command = "c"
triggerall = command = "holdback"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Roundhouse Kick (close) 
[State -1] 
type = ChangeState 
value = 225 
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22 
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 220 
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Jab Punch 
[State -1] 
type = ChangeState 
value = 230 
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Strong Punch 
[State -1] 
type = ChangeState 
value = 240 
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 






;--------------------------------------------------------------------------- 
; Fierce Punch 
[State -1] 
type = ChangeState 
value = 250 
triggerall = command = "z"
triggerall = command = "holdfwd" 
triggerall = command != "holddown" 
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Strong Punch (close) 
[State -1] 
type = ChangeState 
value = 245 
triggerall = command = "z"
triggerall = command = "holdback"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Fierce Punch (Close) 
[State -1] 
type = ChangeState 
value = 235 
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2BodyDist X < 20
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Jab Punch (Close) 
[State -1] 
type = ChangeState 
value = 255  
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Crouch_Short Kick 
[State -1] 
type = ChangeState 
value = 400 
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Crouch_Foward Kick 
[State -1] 
type = ChangeState 
value = 410 
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Crouch_Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 420 
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 

[State -1, asraf_2pai]
type = ChangeState
value = 420
triggerall = Var(50) = 1
triggerall = statetype != A
;triggerall = statetype != S
triggerall = P2BodyDist X <= 80
trigger1 = p2statetype = C
;trigger1 = (enemynear, p2Bodydist x <= 40 && enemynear, movetype != A)
;trigger1 = random >= 100 && random < 299 || random >= 800 && random <= 959
;trigger1 = statetype = C
trigger1 = ctrl

[State -1, asraf_2pai]
type = ChangeState
value = 131
triggerall = Var(50) = 1
triggerall = statetype != A
;triggerall = statetype != S
triggerall = p2bodydist X < 80
trigger1 = p2statetype = C
;trigger1 = (enemynear, p2Bodydist x <= 60 && enemynear, movetype != A)
;trigger1 = random >= 100 && random < 299 || random >= 800 && random <= 959
;trigger1 = statetype = C
trigger1 = ctrl


;--------------------------------------------------------------------------- 
; Crouch_Jab Punch 
[State -1] 
type = ChangeState 
value = 430 
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Crouch_Strong Punch 
[State -1] 
type = ChangeState 
value = 440 
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 




;--------------------------------------------------------------------------- 
; Crouch_Fierce Punch 
[State -1] 
type = ChangeState 
value = 450 
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Air_Short Kick 
[State -1] 
type = ChangeState 
value = 600 
triggerall = command = "a"
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Air_Forward Kick 
[State -1] 
type = ChangeState 
value = 620 
triggerall = command = "b"
triggerall = statetype = A 
trigger1 = ctrl ;= 1 
 

;-----------------------------------------------------------------
;--------------------------------------------------------------------------- 
; Air_Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 610 
triggerall = command = "c"
triggerall = Vel X > 0 || Vel X < 0
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Air_Roundhouse Kick (moving) 
[State -1] 
type = ChangeState 
value = 6201123 
triggerall = command = "c"
triggerall = Vel X = 0
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Air_Jab Punch 
[State -1] 
type = ChangeState 
value = 630 
triggerall = command = "x"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Air_Jab Punch (moving) 
[State -1] 
type = ChangeState 
value = 630 
triggerall = command = "x"
triggerall = Vel X != 0 
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Air_Strong Punch 
[State -1] 
type = ChangeState 
value = 640 
triggerall = command = "y"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 

;--------------------------------------------------------------------------- 
; Air_Strong Punch (moving) 
[State -1] 
type = ChangeState 
value = 640 
triggerall = command = "y"
triggerall = Vel X != 0 
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 


;--------------------------------------------------------------------------- 
; Air_Fierce Punch 
[State -1] 
type = ChangeState 
value = 650 
triggerall = command = "z"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 



;--------------------------------------------------------------------------- 
; Crouch_Fierce Punch 
[State -1] 
type = ChangeState 
value = 450111
triggerall = command = "z"
triggerall = Vel X > 0 || Vel X < 0
trigger1 = statetype = A 
trigger1 = ctrl ;= 1 

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

;---------------------------------------------------------------------------
; Aerial Rave Jump
;[State -1]
;type = ChangeState
;value = 40
;triggerall = command = "holdup"
;trigger1 = stateno = 225
;trigger1 = MoveContact
;trigger2 = stateno = 450
;trigger2 = MoveContact

;-----------------------------------------------------------------
;TAUNT
[State -1, TAUNT]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl


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

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 60 && p2bodydist X < 70



[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 90 && p2bodydist X < 100

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 120 && p2bodydist X < 130

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 =  p2bodydist X > 150 && p2bodydist X < 160

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 175 && p2bodydist X < 185

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 195 && p2bodydist X < 205

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 240 && p2bodydist X < 250


[State -1, 対地 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
triggerall = p2statetype = S
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,24]        
trigger2 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [10,39]
trigger3 = enemy,teammode = simul 
trigger3 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger3 = var(51) = [0,39]
trigger4 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger4 = enemy,hitdefattr = S, NA,SA,HA 
trigger4 = Random < 400
trigger5 = Enemy,NumProj > 0
trigger5 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger5 = Random < 400

[State -1, 対空 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
triggerall = p2statetype = A
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,25]
trigger2 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,34]
trigger3 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = enemy,hitdefattr = A, NA,SA,HA
trigger3 = Random < 400
trigger4 = Enemy,NumProj > 0
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger4 = Random < 400




[State -1, しゃがみガード]
type  = ChangeState
value = 131
triggerall = InGuardDist
triggerall = statetype = C
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = ctrl
trigger1 = p2statetype = C
trigger1 = p2bodydist X > 60 && p2bodydist X < 70
trigger1 = var(51) = [0,34]
trigger2 = p2statetype = C
trigger2 = p2bodydist X > 120 && p2bodydist X < 130
trigger2 = var(51) = [0,35]
trigger3 = p2statetype = S      
trigger3 = p2bodydist X > 150 && p2bodydist X < 160
trigger3 = var(51) = [0,29]
trigger4 = p2statetype = C
trigger4 = enemy,teammode = simul
trigger4 = p2bodydist X > 175 && p2bodydist X < 185
trigger4 = var(51) = [0,45]
trigger5 = p2bodydist X > 195 && p2bodydist X < 205
trigger5 = enemy,hitdefattr = C, NA,SA,HA
trigger5 = Random < 400
trigger6 = Enemy,NumProj > 0
trigger6 = p2bodydist X > 240 && p2bodydist X < 250
trigger6 = Random < 400



[State -1, しゃがみガード]
type  = ChangeState
value = 131
triggerall = InGuardDist
triggerall = statetype = C
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
trigger1 = p2statetype = C
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(85*const(size.xscale))]
trigger1 = var(51) = [0,34]
trigger2 = p2statetype = C
trigger2 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,35]
trigger3 = p2statetype = S      
trigger3 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = var(51) = [0,29]
trigger4 = p2statetype = C
trigger4 = enemy,teammode = simul
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger4 = var(51) = [0,45]
trigger5 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger5 = enemy,hitdefattr = C, NA,SA,HA
trigger5 = Random < 400
trigger6 = Enemy,NumProj > 0
trigger6 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger6 = Random < 400









[State -1, velset]
type = velset
trigger1 = var(50) = 1
trigger1 = stateno = [120,132]
trigger1 = statetype != A
x = 0























