;Juli's Commands
;By: The Impaler
;Initial Release: 1/11/2001

;***************SUPER MOTIONS******************
;-|AI Initiation Commands|-------------------------------------------------
[Command]
name = "AIINITIATE1"
command = ~D, DF, F, UF, U, D, x
time = 30

[Command]
name = "AIINITIATE2"
command = ~D, DF, F, UF, U, D, y
time = 30

[Command]
name = "AIINITIATE3"
command = ~D, DF, F, UF, U, D, z
time = 30

[Command]
name = "AIINITIATE4"
command = ~D, DF, F, UF, U, D, a
time = 30

[Command]
name = "AIINITIATE5"
command = ~D, DF, F, UF, U, D, b
time = 30

[Command]
name = "AIINITIATE6"
command = ~D, DF, F, UF, U, D, c
time = 30

[Command]
name = "AI1"
command = ~D, DB, B, UB, U, D, a
time = 30

[Command]
name = "AI2"
command = ~D, DB, B, UB, U, D, b
time = 30

[Command]
name = "AI3"
command = ~D, DB, B, UB, U, D, c
time = 30

[Command]
name = "AI4"
command = ~D, DB, B, UB, U, D, x
time = 50

[Command]
name = "AI5"
command = ~D, DB, B, UB, U, D, y
time = 50

[Command]
name = "AI6"
command = ~D, DB, B, UB, U, D, z
time = 50

;-|Death Cross Dancing|----------------------------------------------------
[Command]
name = "DCDx"
command = ~D, DB, B, D, DB, B, x
time = 30

[Command]
name = "DCDy"
command = ~D, DB, B, D, DB, B, y
time = 30

[Command]
name = "DCDz"
command = ~D, DB, B, D, DB, B, z
time = 30

;-|Cross Crushaa|----------------------------------------------------------
[Command]
name = "CC_x"
command = ~D, DF, F, D, DF, F, x
time = 30

[Command]
name = "CC_y"
command = ~D, DF, F, D, DF, F, y
time = 30

[Command]
name = "CC_z"
command = ~D, DF, F, D, DF, F, z
time = 30

;-|Reverse Shaft Breaker|--------------------------------------------------
[Command]
name = "RSB_a"
command = ~D, DB, B, D, DB, B, a
time = 30

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

[Command]
name = "RSB_c"
command = ~D, DB, B, D, DB, B, c
time = 30

;-|Spin Drive Smasher|-----------------------------------------------------
[Command]
name = "SDS_a"
command = ~D, DF, F, D, DF, F, a
time = 30

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

[Command]
name = "SDS_c"
command = ~D, DF, F, D, DF, F, c
time = 30

;-|Psycho Streak|----------------------------------------------------------
[Command]
name = "psychostreak z"
command = ~60$B, F, B, F, z
time = 30

[Command]
name = "psychostreak y"
command = ~60$B, F, B, F, y
time = 30

[Command]
name = "psychostreak x"
command = ~60$B, F, B, F, x
time = 30

;-| Special Motions |------------------------------------------------------
;-----------------
; HCF
;-|Spin Knuckle|-------------------
[Command]
name = "HCF_x"
command = ~F, DF, D, DB, B, x
time = 15

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

[Command]
name = "HCF_z"
command = ~F, DF, D, DB, B, z
time = 15

; Cannon Spike
[Command]
name = "uppercut_a"
command = ~F, D, F, a

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

[Command]
name = "uppercut_c"
command = ~F, D, F, c

; Spiral Arrow
[Command]
name = "QCF_a"
command = ~D, DF, F, a

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

[Command]
name = "QCF_c"
command = ~D, DF, F, c

;-----------------
; Sniping Arrow
[Command]
name = "QCB_a"
command = ~D, DB, B, a

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

[Command]
name = "QCB_c"
command = ~D, DB, B, c
;--------------------
;Charge_Down_up
[Command]
name = "chargedownup_a"
command = ~60$D, U, a
time = 10

[Command]
name = "chargedownup_b"
command = ~60$D, U, b
time = 10

[Command]
name = "chargedownup_c"
command = ~60$D, U, c
time = 10

[Command]
name = "chargedownup_x"
command = ~60$D, U, x
time = 10

[Command]
name = "chargedownup_y"
command = ~60$D, U, y
time = 10

[Command]
name = "chargedownup_z"
command = ~60$D, U, z
time = 10

;--------------------
;Charge_Back_fwd
[Command]
name = "chargebackfwd_a"
command = ~60$B, F, a
time = 10

[Command]
name = "chargebackfwd_b"
command = ~60$B, F, b
time = 10

[Command]
name = "chargedownup_c"
command = ~60$D, U, c
time = 10

[Command]
name = "chargedownup_x"
command = ~60$D, U, x
time = 10

[Command]
name = "chargedownup_y"
command = ~60$D, U, y
time = 10

[Command]
name = "chargedownup_z"
command = ~60$D, U, z
time = 10

[Command]
name = "ESMASH"
command = ~B, F, x
time = 10

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "GREENBALLFAST"
command = ~F, F, a+b
time = 20

[Command]
name = "GREENBALLSLOW"
command = ~B, B, a+b
time = 20

[Command]
name = "TELEA"
command = ~D, D, a
time = 20

[Command]
name = "TELEB"
command = ~D, D, b
time = 20

[Command]
name = "TELEX"
command = ~D, D, x
time = 20

[Command]
name = "TELEY"
command = ~D, D, y
time = 20

[Command]
name = "ACID"
command = ~F, F, b
time = 20

[Command]
name = "LOWSPEAR"       
command = F, F, a
time = 18

[Command]
name = "SPEAR"       
command = B, B, a
time = 18

[Command]
name = "AICLONETHROW"
command = ~F, F, x
time = 15

[Command]
name = "AISHADOWSLAM"
command = ~B, B, x
time = 15

[Command]
name = "FF"       ;Required (do not remove)
command = F, F
time = 15

[Command]
name = "BB"       ;Required (do not remove)
command = B, B
time = 15

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "psychochargealpha"
command = x+y+z
time = 1

[Command]
name = "psychochargegamma"
command = a+b+c
time = 1

[Command]
name = "recovery" ;Required (do not remove)
command = a+b
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "THROW1"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

[Command]
name = "fwd_z"
command = /F,z
time = 1

[Command]
name = "Roundhouse"
command = /B,y
time = 1

[Command]
name = "THROW2"
command = /B,a
time = 1

[Command]
name = "back_z"
command = /B,z
time = 1

[Command]
name = "back_c"
command = /B,c
time = 1

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

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

[Command]
name = "CLK"
command = /$D,x
time = 1

[Command]
name = "CHK"
command = /$D,y
time = 1

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

[Command]
name = "SLIDE"
command = /B, a+x
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

;-| 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

[Statedef -1]

;***************AI'S BLOCKING*********************
[State -1, AI]
type = varset
trigger1 = command = "AIINITIATE1" || command = "AIINITIATE2" || command = "AIINITIATE3" || command = "AIINITIATE4" || command = "AIINITIATE5" || command = "AIINITIATE6"
trigger1 = var(50) != 1
V = 50
value = 1

[State -1, AI]
type = varset
trigger1 = command = "AI1" || command = "AI2" || command = "AI3" || command = "AI4" || command = "AI5" || command = "AI6"
trigger1 = var(50) != 1
V = 50
value = 1

[State -1, AI knowledge]
type = explod
triggerall = var(50) != 1
trigger1 = command = "AIINITIATE1" || command = "AIINITIATE2" || command = "AIINITIATE3" || command = "AIINITIATE4" || command = "AIINITIATE5" || command = "AIINITIATE6"
trigger2 = command = "AI1" || command = "AI2" || command = "AI3" || command = "AI4" || command = "AI5" || command = "AI6"
postype = left
pos = 10, 10
sprpriority = 2


;***********Hyper Attacks*************
;-|Death Cross Dancing X, Y & Z Level 3 Only|--------------------------
[State -1]
type = changestate
value = 4500
triggerall = command = "DCDx" || command = "DCDy" || command = "DCDz"
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger1 = power >= 3000 ;Level 3

;-|Psycho Streak X|----------------------------------------------------
[state -1]
type = changestate
value = 3800
triggerall = command = "psychostreak x"
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
triggerall = p2name != "M. Bison"
triggerall = p4name != "M. Bison"
triggerall = p2name != "Vega"
triggerall = p4name != "Vega"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger1 = power >= 1000 ;Level 1

;-|Psycho Streak Y|-----------------------------------------------------
[state -1]
type = changestate
value = 3850
triggerall = command = "psychostreak y"
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
triggerall = p2name != "M. Bison"
triggerall = p4name != "M. Bison"
triggerall = p2name != "Vega"
triggerall = p4name != "Vega"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger1 = power >= 2000 ;Level 2

;-|Psycho Streak Z|----------------------------------------------------------
[state -1]
type = changestate
value = 3860
triggerall = command = "psychostreak z"
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
triggerall = p2name != "M. Bison"
triggerall = p4name != "M. Bison"
triggerall = p2name != "Vega"
triggerall = p4name != "Vega"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger1 = power >= 3000 ;Level 3

;-|Cross Crushaa x|--------------------------------------------------------
[State -1]
type = changestate
value = 3260
triggerall = command = "CC_x"
triggerall = power >= 1000 ;Level 1
triggerall = ctrl = 1
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = Statetype = S
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Cross Crushaa y|--------------------------------------------------------
[State -1]
type = changestate
value = 3250
triggerall = command = "CC_y"
triggerall = power >= 2000 ;Level 2
triggerall = ctrl = 1
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = Statetype = S
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Cross Crushaa z|--------------------------------------------------------
[State -1]
type = changestate
value = 3200
triggerall = command = "CC_z"
triggerall = power >= 3000 ;Level 3
triggerall = ctrl = 1
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = Statetype = S
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Reverse Shaft Breaker C|------------------------------------------------
[State -1]
type = ChangeState
value = 3000
triggerall = command = "RSB_c"
triggerall = power >= 3000 ;Level 3
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Reverse Shaft Breaker B|------------------------------------------------
[State -1]
type = ChangeState
value = 3010
triggerall = command = "RSB_b"
triggerall = power >= 2000 ;Level 2
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208
trigger15 = movecontact = 1
trigger15 = stateno = 3121

;-|Reverse Shaft Breaker A|------------------------------------------------
[State -1]
type = ChangeState
value = 3020
triggerall = command = "RSB_a"
triggerall = power >= 1000 ;Level 1
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208
trigger15 = movecontact = 1
trigger15 = stateno = 3121
trigger16 = movecontact = 1
trigger16 = stateno = 3111

;-|Spin Drive Smasher C|---------------------------------------------------
[State -1]
type = ChangeState
value = 3100
triggerall = command = "SDS_c"
triggerall = power >= 3000 ;Level 3
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Spin Drive Smasher B|---------------------------------------------------
[State -1]
type = ChangeState
value = 3110
triggerall = command = "SDS_b"
triggerall = power >= 2000 ;Level 2
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;-|Spin Drive Smasher A|---------------------------------------------------
[State -1]
type = ChangeState
value = 3120
triggerall = command = "SDS_a"
triggerall = power >= 1000 ;Level 1
triggerall = numhelper(3300) = 0
triggerall = numhelper(3310) = 0
triggerall = numhelper(3400) = 0
triggerall = numhelper(3410) = 0
triggerall = numhelper(3500) = 0
triggerall = numhelper(3510) = 0
triggerall = numhelper(3810) = 0
triggerall = numhelper(3820) = 0
triggerall = numhelper(3830) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;**********Special Attacks***********
;Psycho Charge Alpha
[State -1]
type = changestate
value = 6200
triggerall = command = "psychochargealpha"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Psycho Charge Gamma
[State -1]
type = changestate
value = 6202
triggerall = command = "psychochargegamma"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Cannon Spike
[State -1]
type = changestate
value = 1000
triggerall = command = "uppercut_a"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

[State -1]
type = changestate
value = 1005
triggerall = command = "uppercut_b"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

[State -1]
type = changestate
value = 1006
triggerall = command = "uppercut_c"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Spiral Arrow A
[State -1]
type = changestate
value = 1100
triggerall = command = "QCF_a"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208


;Spiral Arrow B
[State -1]
type = changestate
value = 1110
triggerall = command = "QCF_b"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Spiral Arrow C
[State -1]
type = changestate
value = 1120
triggerall = command = "QCF_c"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Sniping Arrow A
[State -1]
type = changestate
value = 2000
triggerall = command = "QCB_a"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Sniping Arrow B
[State -1]
type = changestate
value = 2010
triggerall = command = "QCB_b"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Sniping Arrow C
[State -1]
type = changestate
value = 2020
triggerall = command = "QCB_c"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Spin Knuckle x
[State -1]
type = changestate
value = 1030
triggerall = command = "HCF_x"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Spin Knuckle y
[State -1]
type = changestate
value = 1032
triggerall = command = "HCF_y"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;Spin Knuckle z
[State -1]
type = changestate
value = 1033
triggerall = command = "HCF_z"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405
trigger10 = movecontact = 1
trigger10 = stateno = 203
trigger11 = movecontact = 1
trigger11 = stateno = 206
trigger12 = movecontact = 1
trigger12 = stateno = 402
trigger13 = movecontact = 1
trigger13 = stateno = 406
trigger14 = movecontact = 1
trigger14 = stateno = 208

;************Throws******************
; German Suplex
[State -1]
type = ChangeState
value = 2060
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = command = "fwd_z"
trigger1 = command = "fwd_z";Near
trigger1 = p2bodydist X < 12
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = command = "fwd_z";Near
trigger2 = p2bodydist X < 12
trigger2 = p2statetype = C
trigger2 = p2movetype != H
trigger3 = command = "back_z";Near
trigger3 = p2bodydist X < 12
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger4 = command = "back_z";Near
trigger4 = p2bodydist X < 12
trigger4 = p2statetype = C
trigger4 = p2movetype != H


; Head Scissors
[State -1]
type = ChangeState
value = 2050
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = command = "fwd_c"
trigger1 = command = "fwd_c";Near
trigger1 = p2bodydist X < 12
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = command = "fwd_c";Near
trigger2 = p2bodydist X < 12
trigger2 = p2statetype = C
trigger2 = p2movetype != H
trigger3 = command = "back_c";Near
trigger3 = p2bodydist X < 12
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger4 = command = "back_c";Near
trigger4 = p2bodydist X < 12
trigger4 = p2statetype = C
trigger4 = p2movetype != H

;**********Standing Attacks**********
;Jab
[State -1,6]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Strong
[State -1,7]
type = ChangeState
value = 201
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 


;Fierce
[State -1,8]
type = ChangeState
value = 202
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405

;Short
[State -1,10]
type = ChangeState
value = 204
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Forward
[State -1,11]
type = ChangeState
value = 205
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 


;Roundhouse
[State -1,12]
type = ChangeState
value = 206
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205 
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405


;******************Top Down Attacks**************
;Heel Kick
[State -1]
type = ChangeState
value = 208
triggerall = command = "fwd_b"
trigger1 = command != "holddown"
trigger1 = statetype != A
triggerall = ctrl = 1

;*****************Crouching Attacks******************
;Jab
[State -1,16]
type = Changestate
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Strong
[State -1,17]
type = changestate
value = 401
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Fierce
[State -1]
type = changestate
value = 402
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405

;Short
[State -1,19]
type = ChangeState
value = 404
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Forward
[State -1,19]
type = ChangeState
value = 405
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204
trigger4 = movecontact = 1
trigger4 = stateno = 404
trigger5 = movecontact = 1
trigger5 = stateno = 400 

;Roundhouse
[State -1,20]
type = ChangeState
value = 406
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact = 1 
trigger2 = stateno = 200 
trigger3 = movecontact = 1 
trigger3 = stateno = 204 
trigger4 = movecontact = 1 
trigger4 = stateno = 201 
trigger5 = movecontact = 1 
trigger5 = stateno = 205
trigger6 = movecontact = 1 
trigger6 = stateno = 404
trigger7 = movecontact = 1
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 401
trigger9 = movecontact = 1
trigger9 = stateno = 405 


;**************Jumping Attacks***************
;Jab
[State -1,21]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Strong
[State -1,23]
type = ChangeState
value = 601
trigger1 = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Fierce
[State -1,24]
type = ChangeState
value = 602
trigger1 = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Short
[State -1]
type = ChangeState
value = 604
trigger1 = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Forward
[State -1]
type = ChangeState
value = 605
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1

;Roundhouse
[State -1]
type = ChangeState
value = 606
trigger1 = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1

[State -1,Overhead Throw]
type = ChangeState
value = 800
trigger1 = command = "c"
triggerall = P2bodydist X < 5
triggerall = P2statetype != A
triggerall = p2statetype = S
triggerall = ctrl = 1
triggerall = statetype = S

[State -1, Taunt]
type = changestate
value = 250
triggerall = command = "s"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger1 = statetype != A

[State -1, Back Dash]
type = changestate
value = 105
triggerall = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

