;-| Super Motions |--------------------------------------------------------
[Command]
name = "heatsmasher1"
command = ~D, F, D, F, a
time = 25
[Command]
name = "heatsmasher2"
command = ~D, F, D, F, b
time = 25
[Command]
name = "heatsmasher3"
command = ~D, F, D, F, c
time = 25

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

[Command]
name = "spiralcannon4"
command = ~D, B, D, B, x
time = 25
[Command]
name = "spiralcannon4"
command = ~D, B, D, B, y
time = 25
[Command]
name = "spiralcannon4"
command = ~D, B, D, B, z
time = 25

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

[Command]
name = "cannonspike1"
command = ~D, B, D, B, a
time = 25
[Command]
name = "cannonspike2"
command = ~D, B, D, B, b
time = 25
[Command]
name = "cannonspike3"
command = ~D, B, D, 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, y
time = 25
[Command]
name = "vega23"
command = ~50$B, F, B, F, z
time = 25

;-| Special Motions |------------------------------------------------------
[Command]
name = "vega_x"
command = ~40$B, F, x
time = 10
[Command]
name = "vega_y"
command = ~40$B, F, y
time = 10
[Command]
name = "vega_z"
command = ~40$B, F, z
time = 10

[Command]
name = "sci_a"
command = ~40$B, F, a
time = 10
[Command]
name = "juli_b"
command = ~40$B, F, b
time = 10
[Command]
name = "juni_c"
command = ~40$B, F, c
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_p"
command = ~D, DB, B, y
time = 15
[Command]
name = "sc_p"
command = ~D, DB, B, z
time = 15


[Command]
name = "hc_a"
command = ~F, D, B, a
time = 15
[Command]
name = "hc_b"
command = ~F, D, B, b
time = 15
[Command]
name = "hc_c"
command = ~F, D, B, c
time = 15

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

[Command]
name = "scissor"
command = ~B, F, a
time = 15

[Command]
name = "scissor"
command = ~B, F, b
time = 15

[Command]
name = "scissor"
command = ~B, F, c
time = 15

;-| 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"
command = x+y
time = 1
[Command]
name = "recovery"
command = y+z
time = 1
[Command]
name = "recovery"
command = x+z
time = 1

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

[Command]
name = "yz"
command = y+z
time = 1

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

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

[Command]
name = "fwd_a"
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 = "back_a"
command = /B,a
time = 1
[Command]
name = "back_b"
command = /B,b
time = 1
[Command]
name = "back_c"
command = /B,c
time = 1
[Command]
name = "back_x"
command = /B,x
time = 1
[Command]
name = "back_y"
command = /B,y
time = 1
[Command]
name = "back_z"
command = /B,z
time = 1

[Command]
name = "down_a"
command = /D,a
time = 1
[Command]
name = "down_b"
command = /D,b
time = 1
[Command]
name = "down_c"
command = /D,c
time = 1
[Command]
name = "down_x"
command = /D,x
time = 1
[Command]
name = "down_y"
command = /D,y
time = 1
[Command]
name = "down_z"
command = /D,z
time = 1

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

[Command]
name = "fwd_xy"
command = /F, x+y
time = 1
[Command]
name = "fwd_yz"
command = /F, y+z
time = 1

[Command]
name = "back_xy"
command = /B, x+y
time = 1
[Command]
name = "back_yz"
command = /B, y+z
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1
[Command]
name = "back_bc"
command = /B, b+c
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"
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]

;---------------------------------------------------------------------------
; Heat-Drive Smasher 3
[State -1]
type = ChangeState
value = 1530
triggerall = power >= 3000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "heatsmasher3"
;---------------------------------------------------------------------------
; Heat-Drive Smasher 2
[State -1]
type = ChangeState
value = 2530
triggerall = power >= 2000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "heatsmasher2"
;---------------------------------------------------------------------------
; Heat-Drive Smasher 1
[State -1]
type = ChangeState
value = 3530
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "heatsmasher1"

;---------------------------------------------------------------------------
; 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 Spinning Knuckle
[State -1]
type = ChangeState
value = 1540
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "superknuckle1"

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

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

;---------------------------------------------------------------------------
; 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 >= 2000
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"

;---------------------------------------------------------------------------
; Hooligan ComboA
[State -1]
type = ChangeState
value = 1050
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "hc_a"

;---------------------------------------------------------------------------
; Hooligan ComboB
[State -1]
type = ChangeState
value = 1051
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "hc_b"

;---------------------------------------------------------------------------
; Hooligan ComboC
[State -1]
type = ChangeState
value = 1052
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "hc_c"

; Hooligan Combo Scissor Pressure
;[State -1]
;type = ChangeState
;value = 1746
;triggerall = time >= 12
;triggerall = p2bodydist x < 20
;trigger1 = command = "a"
;trigger1 = command = "holdfwd"
;trigger1 = stateno = 1050
;trigger2 = command = "a"
;trigger2 = command = "holdfwd"
;trigger2 = stateno = 1051
;trigger3 = command = "a"
;trigger3 = command = "holdfwd"
;trigger3 = stateno = 1052
;trigger4 = command = "b"
;trigger4 = command = "holdfwd"
;trigger4 = stateno = 1050
;trigger5 = command = "b"
;trigger5 = command = "holdfwd"
;trigger5 = stateno = 1051
;trigger6 = command = "b"
;trigger6 = command = "holdfwd"
;trigger6 = stateno = 1052
;trigger7 = command = "c"
;trigger7 = command = "holdfwd"
;trigger7 = stateno = 1050
;trigger8 = command = "c"
;trigger8 = command = "holdfwd"
;trigger8 = stateno = 1051
;trigger9 = command = "c"
;trigger9 = command = "holdfwd"
;trigger9 = stateno = 1052
;---------------------------------------------------------------------------
; Hooligan Combo_Slide
[State -1]
type = ChangeState
value = 1055
triggerall = time >= 12
trigger1 = command = "a"
trigger1 = stateno = 1050
trigger2 = command = "a"
trigger2 = stateno = 1051
trigger3 = command = "a"
trigger3 = stateno = 1052
trigger4 = command = "b"
trigger4 = stateno = 1050
trigger5 = command = "b"
trigger5 = stateno = 1051
trigger6 = command = "b"
trigger6 = stateno = 1052
trigger7 = command = "c"
trigger7 = stateno = 1050
trigger8 = command = "c"
trigger8 = stateno = 1051
trigger9 = command = "c"
trigger9 = stateno = 1052

;---------------------------------------------------------------------------
; Hooligan Combo_ThrowA
[State -1]
type = ChangeState
value = 1057
triggerall = time >= 12
triggerall = p2bodydist x < 8
trigger1 = command = "x"
trigger1 = command = "holdfwd"
trigger1 = stateno = 1050
trigger2 = command = "x"
trigger2 = command = "holdfwd"
trigger2 = stateno = 1051
trigger3 = command = "x"
trigger3 = command = "holdfwd"
trigger3 = stateno = 1052
trigger4 = command = "y"
trigger4 = command = "holdfwd"
trigger4 = stateno = 1050
trigger5 = command = "y"
trigger5 = command = "holdfwd"
trigger5 = stateno = 1051
trigger6 = command = "y"
trigger6 = command = "holdfwd"
trigger6 = stateno = 1052
trigger7 = command = "z"
trigger7 = command = "holdfwd"
trigger7 = stateno = 1050
trigger8 = command = "z"
trigger8 = command = "holdfwd"
trigger8 = stateno = 1051
trigger9 = command = "z"
trigger9 = command = "holdfwd"
trigger9 = stateno = 1052

;---------------------------------------------------------------------------
; Hooligan Combo_ThrowB
[State -1]
type = ChangeState
value = 1057
triggerall = time >= 12
triggerall = p2bodydist x < 8
trigger1 = command = "x"
trigger1 = command = "holdback"
trigger1 = stateno = 1050
trigger2 = command = "x"
trigger2 = command = "holdback"
trigger2 = stateno = 1051
trigger3 = command = "x"
trigger3 = command = "holdback"
trigger3 = stateno = 1052
trigger4 = command = "y"
trigger4 = command = "holdback"
trigger4 = stateno = 1050
trigger5 = command = "y"
trigger5 = command = "holdback"
trigger5 = stateno = 1051
trigger6 = command = "y"
trigger6 = command = "holdback"
trigger6 = stateno = 1052
trigger7 = command = "z"
trigger7 = command = "holdback"
trigger7 = stateno = 1050
trigger8 = command = "z"
trigger8 = command = "holdback"
trigger8 = stateno = 1051
trigger9 = command = "z"
trigger9 = command = "holdback"
trigger9 = stateno = 1052
;---------------------------------------------------------------------------
; Thrust Kick (Weak)
[State -1]
type = ChangeState
value = 1010
triggerall = command = "tk_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 225
trigger2 = movecontact = 1

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

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

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

;---------------------------------------------------------------------------
; Spinning Knuckle (Medium)
[State -1]
type = ChangeState
value = 1032
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = command = "sn_y"

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

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

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

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

;---------------------------------------------------------------------------
; Cannon Drill (Air)
[State -1]
type = ChangeState
value = 9051;1005
triggerall = command = "cd_a"
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 3, >=0

;---------------------------------------------------------------------------
; Cannon Drill (Air)
[State -1]
type = ChangeState
value = 9054
triggerall = command = "cd_b"
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 3, >=0
;---------------------------------------------------------------------------
; Cannon Drill (Air)
[State -1]
type = ChangeState
value = 9056
triggerall = command = "cd_c"
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 3, >=0
;---------------------------------------------------------------------------
; Spike Cannon (Weak)
[State -1]
type = ChangeState
value = 1043
triggerall = command = "sc_a"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 2, >=0

;---------------------------------------------------------------------------
; Spike Cannon (Medium)
[State -1]
type = ChangeState
value = 1040
triggerall = command = "sc_b"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 2, >=0

;---------------------------------------------------------------------------
; Spike Cannon (Hard)
[State -1]
type = ChangeState
value = 1042
triggerall = command = "sc_c"
triggerall = pos Y < -30
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 620 
trigger4 = MoveContact = 1 
trigger5 = stateno = 630 
trigger5 = MoveContact = 1 
trigger6 = stateno = 640 
trigger6 = MoveContact = 1 
trigger7 = stateno = 650 
trigger7 = MoveContact = 1 
trigger8 = stateno = 1013
trigger8 = AnimElem = 2, >=0
;---------------------------------------------------------------------------
; MVC2 Reverse
[State -1]
type = ChangeState
value = 1840
triggerall = command = "sc_p"
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
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Throw_Suplex
[State -1]
type = ChangeState
value = 2060
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "fwd_yz";Command
trigger2 = command = "back_yz";Command
trigger3 = command = "fwd_z";Near
trigger3 = p2bodydist X < 5
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger4 = command = "fwd_z";Near
trigger4 = p2bodydist X < 5
trigger4 = p2statetype = C
trigger4 = p2movetype != H
trigger5 = command = "back_z";Near
trigger5 = p2bodydist X < 5
trigger5 = p2statetype = S
trigger5 = p2movetype != H
trigger6 = command = "back_z";Near
trigger6 = p2bodydist X < 5
trigger6 = p2statetype = C
trigger6 = p2movetype != H

;---------------------------------------------------------------------------
; Throw_Frankensteiner
[State -1]
type = ChangeState
value = 2050
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "fwd_bc";Command
trigger2 = command = "back_bc";Command
trigger3 = command = "fwd_c";Near
trigger3 = p2bodydist X < 5
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger4 = command = "fwd_z";Near
trigger4 = p2bodydist X < 5
trigger4 = p2statetype = C
trigger4 = p2movetype != H
trigger5 = command = "back_z";Near
trigger5 = p2bodydist X < 5
trigger5 = p2statetype = S
trigger5 = p2movetype != H
trigger6 = command = "back_z";Near
trigger6 = p2bodydist X < 5
trigger6 = p2statetype = C
trigger6 = p2movetype != H

;--------------------------------------------------------------------------- 
; Short Kick 
[State -1] 
type = ChangeState 
value = 200 
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2bodydist X > 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 

;--------------------------------------------------------------------------- 
; Short Kick (Close) 
[State -1] 
type = ChangeState 
value = 205 
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 

;--------------------------------------------------------------------------- 
; Forward Kick 
[State -1] 
type = ChangeState 
value = 210 
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2bodydist X > 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 

;--------------------------------------------------------------------------- 
; Forward Kick (Close) 
[State -1] 
type = ChangeState 
value = 215 
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 

;--------------------------------------------------------------------------- 
; Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 220 
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X > 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 
trigger14 = movecontact = 1 
trigger14 = stateno = 250 
trigger15 = movecontact = 1 
trigger15 = stateno = 255 
trigger16 = movecontact = 1 
trigger16 = stateno = 450 

;--------------------------------------------------------------------------- 
; 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 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 
trigger14 = movecontact = 1 
trigger14 = stateno = 250 
trigger15 = movecontact = 1 
trigger15 = stateno = 255 
trigger16 = movecontact = 1 
trigger16 = stateno = 450 

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

;--------------------------------------------------------------------------- 
; Jab Punch (Close) 
[State -1] 
type = ChangeState 
value = 235 
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 

;--------------------------------------------------------------------------- 
; Strong Punch 
[State -1] 
type = ChangeState 
value = 240 
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X > 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 

;--------------------------------------------------------------------------- 
; Strong Punch (close) 
[State -1] 
type = ChangeState 
value = 245 
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 

;--------------------------------------------------------------------------- 
; Fierce Punch 
[State -1] 
type = ChangeState 
value = 250 
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2bodydist X > 36 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 

;--------------------------------------------------------------------------- 
; Fierce Punch (Close) 
[State -1] 
type = ChangeState 
value = 255 
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 36 
trigger1 = statetype = S 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 

;--------------------------------------------------------------------------- 
; Crouch_Short Kick 
[State -1] 
type = ChangeState 
value = 400 
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 

;--------------------------------------------------------------------------- 
; Crouch_Foward Kick 
[State -1] 
type = ChangeState 
value = 410 
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 

;--------------------------------------------------------------------------- 
; Crouch_Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 420 
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 
trigger14 = movecontact = 1 
trigger14 = stateno = 250 
trigger15 = movecontact = 1 
trigger15 = stateno = 255 
trigger16 = movecontact = 1 
trigger16 = stateno = 450 

;--------------------------------------------------------------------------- 
; 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 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 

;--------------------------------------------------------------------------- 
; Crouch_Fierce Punch 
[State -1] 
type = ChangeState 
value = 450 
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = movecontact = 1 
trigger2 = stateno = 230 
trigger3 = movecontact = 1 
trigger3 = stateno = 235 
trigger4 = movecontact = 1 
trigger4 = stateno = 430 
trigger5 = movecontact = 1 
trigger5 = stateno = 200 
trigger6 = movecontact = 1 
trigger6 = stateno = 205 
trigger7 = movecontact = 1 
trigger7 = stateno = 400 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = movecontact = 1 
trigger10 = stateno = 440 
trigger11 = movecontact = 1 
trigger11 = stateno = 210 
trigger12 = movecontact = 1 
trigger12 = stateno = 215 
trigger13 = movecontact = 1 
trigger13 = stateno = 410 

;--------------------------------------------------------------------------- 
; Air_Short Kick 
[State -1] 
type = ChangeState 
value = 600 
triggerall = command = "a"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 630 
trigger2 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; Air_Short Kick (moving) 
[State -1] 
type = ChangeState 
value = 600 
triggerall = command = "a"
triggerall = Vel X != 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 630 
trigger2 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; Air_Forward Kick 
[State -1] 
type = ChangeState 
value = 610 
triggerall = command = "b"
triggerall = statetype = A 
trigger1 = ctrl = 1 
trigger1 = Vel X = 0 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 630 
trigger3 = MoveContact = 1 
trigger4 = stateno = 640 
trigger4 = MoveContact = 1 


;--------------------------------------------------------------------------- 
; Air_Forward Kick (moving) 
[State -1] 
type = ChangeState 
value = 610 
triggerall = command = "b"
triggerall = statetype = A 
trigger1 = ctrl = 1 
trigger1 = Vel X != 0 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 630 
trigger3 = MoveContact = 1 
trigger4 = stateno = 640 
trigger4 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; Air_Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 620 
triggerall = command = "c"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 630 
trigger4 = MoveContact = 1 
trigger5 = stateno = 640 
trigger5 = MoveContact = 1 
;trigger6 = stateno = 650 
;trigger6 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; Air_Roundhouse Kick (moving) 
[State -1] 
type = ChangeState 
value = 620 
triggerall = command = "c"
triggerall = Vel X != 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 630 
trigger4 = MoveContact = 1 
trigger5 = stateno = 640 
trigger5 = MoveContact = 1 
;trigger6 = stateno = 650 
;trigger6 = MoveContact = 1 

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

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

;--------------------------------------------------------------------------- 
; Air_Strong Punch 
[State -1] 
type = ChangeState 
value = 640 
triggerall = command = "y"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 630 
trigger3 = MoveContact = 1 
trigger4 = stateno = 640 
trigger4 = MoveContact = 1 

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

;--------------------------------------------------------------------------- 
; Air_Fierce Punch 
[State -1] 
type = ChangeState 
value = 650 
triggerall = command = "z"
triggerall = Vel X = 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 630 
trigger4 = MoveContact = 1 
trigger5 = stateno = 640 
trigger5 = MoveContact = 1 
;trigger6 = stateno = 620 
;trigger6 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; Air_Fierce Punch (moving) 
[State -1] 
type = ChangeState 
value = 650 
triggerall = command = "z"
triggerall = Vel X != 0 
trigger1 = statetype = A 
trigger1 = ctrl = 1 
trigger2 = stateno = 600 
trigger2 = MoveContact = 1 
trigger3 = stateno = 610 
trigger3 = MoveContact = 1 
trigger4 = stateno = 630 
trigger4 = MoveContact = 1 
trigger5 = stateno = 640 
trigger5 = MoveContact = 1 
;trigger6 = stateno = 620 
;trigger6 = MoveContact = 1 

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