;-| Super Motions |--------------------------------------------------------
[Command]
name = heatsmasher
command = ~D, DF, F, a+b
time = 25
[Command]
name = heatsmasher
command = ~D, DF, F, a+c
time = 25
[Command]
name = heatsmasher
command = ~D, DF, F, b+c
time = 25
[Command]
name = heatsmasher
command = ~D, F, D, F, a
time = 25
[Command]
name = heatsmasher
command = ~D, F, D, F, b
time = 25
[Command]
name = heatsmasher
command = ~D, F, D, F, c
time = 25

[Command]
name = spiralcannon
command = ~D, DB, B, a+b
time = 25
[Command]
name = spiralcannon
command = ~D, DB, B, a+c
time = 25
[Command]
name = spiralcannon
command = ~D, DB, B, b+c
time = 25
[Command]
name = spiralcannon
command = ~D, B, D, B, a
time = 25
[Command]
name = spiralcannon
command = ~D, B, D, B, b
time = 25
[Command]
name = spiralcannon
command = ~D, B, D, B, c
time = 25

[Command]
name = superknuckle
command = ~D, DF, F, x+y
time = 25
[Command]
name = superknuckle
command = ~D, DF, F, x+z
time = 25
[Command]
name = superknuckle
command = ~D, DF, F, y+z
time = 25
[Command]
name = superknuckle
command = ~D, F, D, F, x
time = 25
[Command]
name = superknuckle
command = ~D, F, D, F, y
time = 25
[Command]
name = superknuckle
command = ~D, F, D, F, z
time = 25

[Command]
name = cannonspike
command = ~D, DB, B, a+b
time = 25
[Command]
name = cannonspike
command = ~D, DB, B, a+c
time = 25
[Command]
name = cannonspike
command = ~D, DB, B, b+c
time = 25
[Command]
name = cannonspike
command = ~D, B, D, B, a
time = 25
[Command]
name = cannonspike
command = ~D, B, D, B, b
time = 25
[Command]
name = cannonspike
command = ~D, B, D, B, c
time = 25

[Command]
name = vega2
command = ~50$B, F, x+y
time = 25
[Command]
name = vega2
command = ~50$B, F, x+z
time = 25
[Command]
name = vega2
command = ~50$B, F, y+z
time = 25
[Command]
name = vega2
command = ~50$B, F, B, F, x
time = 25
[Command]
name = vega2
command = ~50$B, F, B, F, y
time = 25
[Command]
name = vega2
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 = 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

;-| 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_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
[State -1]
type = ChangeState
value = 1530
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = heatsmasher

;---------------------------------------------------------------------------
; Spiral Cannon
[State -1]
type = ChangeState
value = 1520
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = spiralcannon

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

;---------------------------------------------------------------------------
; Super Cannon Spike
[State -1]
type = ChangeState
value = 1550
triggerall = power >= 1000
triggerall = statetype = A
triggerall = ctrl = 1
trigger1 = command = cannonspike

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

;---------------------------------------------------------------------------
; Vega Summon_Special 1 (THANKS VK!! This Sprite were ripped by VK)
[State -1]
type = ChangeState
value = 1500
triggerall = power >= 500
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = vega_x

;---------------------------------------------------------------------------
; Vega Summon_Special 2 (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 = vega_y

;---------------------------------------------------------------------------
; Vega Summon_Special 3 (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 = vega_z

;---------------------------------------------------------------------------
; 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_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 = 1010
triggerall = command = tk_b
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 225
trigger2 = movecontact = 1

;---------------------------------------------------------------------------
; Thrust Kick (Hard)
[State -1]
type = ChangeState
value = 1010
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 = 1005
triggerall = command = cd_a
triggerall = Vel X = 0 
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, Moving)
[State -1]
type = ChangeState
value = 1005
triggerall = command = cd_a
triggerall = Vel X != 0 
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 = 1008
triggerall = command = cd_b
triggerall = Vel X = 0 
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, Moving)
[State -1]
type = ChangeState
value = 1008
triggerall = command = cd_b
triggerall = Vel X != 0 
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 = 1000
triggerall = command = cd_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 = 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, Moving)
[State -1]
type = ChangeState
value = 1000
triggerall = command = cd_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 = 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 = 1040
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 = 1040
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

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

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

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = MoveContact = 1 
trigger10 = stateno = 210 
trigger11 = MoveContact = 1 
trigger11 = stateno = 215 
trigger12 = MoveContact = 1 
trigger12 = stateno = 440 
trigger13 = MoveContact = 1 
trigger13 = stateno = 410 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = MoveContact = 1 
trigger10 = stateno = 210 
trigger11 = MoveContact = 1 
trigger11 = stateno = 215 
trigger12 = MoveContact = 1 
trigger12 = stateno = 440 
trigger13 = MoveContact = 1 
trigger13 = stateno = 410 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 

;--------------------------------------------------------------------------- 
; 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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = MoveContact = 1 
trigger10 = stateno = 210 
trigger11 = MoveContact = 1 
trigger11 = stateno = 215 
trigger12 = MoveContact = 1 
trigger12 = stateno = 440 
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 = 400 
trigger5 = MoveContact = 1 
trigger5 = stateno = 205 
trigger6 = MoveContact = 1 
trigger6 = stateno = 200 
trigger7 = MoveContact = 1 
trigger7 = stateno = 430 
trigger8 = movecontact = 1 
trigger8 = stateno = 240 
trigger9 = movecontact = 1 
trigger9 = stateno = 245 
trigger10 = MoveContact = 1 
trigger10 = stateno = 210 
trigger11 = MoveContact = 1 
trigger11 = stateno = 215 
trigger12 = MoveContact = 1 
trigger12 = stateno = 440 
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 

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

;--------------------------------------------------------------------------- 
; Crouch_Roundhouse Kick 
[State -1] 
type = ChangeState 
value = 420 
triggerall = command = c 
triggerall = command = holddown 
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = stateno = 400 
trigger2 = MoveContact = 1 
trigger3 = stateno = 410 
trigger3 = MoveContact = 1 
trigger4 = stateno = 440 
trigger4 = MoveContact = 1 
trigger5 = stateno = 430 
trigger5 = MoveContact = 1 

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

;--------------------------------------------------------------------------- 
; Crouch_Fierce Punch 
[State -1] 
type = ChangeState 
value = 450 
triggerall = command = z 
triggerall = command = holddown 
trigger1 = statetype = C 
trigger1 = ctrl = 1 
trigger2 = stateno = 400 
trigger2 = MoveContact = 1 
trigger3 = stateno = 410 
trigger3 = MoveContact = 1 
trigger4 = stateno = 440 
trigger4 = MoveContact = 1 
trigger5 = stateno = 430 
trigger5 = MoveContact = 1 

;--------------------------------------------------------------------------- 
; 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 = 255
trigger2 = movecontact = 1
