;-| Super Motions |--------------------------------------------------------
[Command]
name = "superupperkick_a"
command = ~D, DB, B, D, DB, B, a
time = 30

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

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

[Command]
name = "superkikko_x"
command = ~D, DF, F, D, DF, F, x
time = 30

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

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

;[Command]
;name = "superkick_a"
;command = ~30$B, F, B, F, a
;time = 30

;[Command]
;name = "superkick_b"
;command = ~30$B, F, B, F, b
;time = 30

;[Command]
;name = "superkick_c"
;command = ~30$B, F, B, F, c
;time = 30


;-| Special Motions |------------------------------------------------------
[Command]
name = "risingkick_a"
command = ~20$D, U, a
time = 10
[Command]
name = "risingkick_b"
command = ~20$D, U, b
time = 10
[Command]
name = "risingkick_c"
command = ~20$D, U, c
time = 10

[Command]
name = "kikkoken_x"
command = ~B, DB, D, DF, F, x
time = 15
[Command]
name = "kikkoken_y"
command = ~B, DB, D, DF, F, y
time = 15
[Command]
name = "kikkoken_z"
command = ~B, DB, D, DF, F, z
time = 15

[Command]
name = "lightningkick_a"
command = a, a, a
time = 30
[Command]
name = "lightningkick_aa"
command = a, a
time = 12
[Command]
name = "lightningkick_b"
command = b, b, b
time = 20
[Command]
name = "lightningkick_bb"
command = b, b
time = 12
[Command]
name = "lightningkick_c"
command = c, c, c
time = 15
[Command]
name = "lightningkick_cc"
command = c, c
time = 12

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

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

[Command]
name = "spinningkick_c"
command = ~F, DF, D, DB, B, 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";Required (do not remove)
command = x+y
time = 1
[Command]
name = "recovery";Extra recovery commands (optional)
command = y+z
time = 1
[Command]
name = "recovery";Extra recovery commands (optional)
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 = "downfwd_c"
command = /DF,c
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]
;===========================================================================
;SUPER_upper_KICK (Level 1)
[State -1]
type = ChangeState
value = 9999
triggerall = command = "superupperkick_a"
triggerall = power >= 1000 ;Level 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;===========================================================================
;SUPER_upper_KICK (Level 2)
[State -1]
type = ChangeState
value = 9997
triggerall = command = "superupperkick_b"
triggerall = power >= 2000 ;Level 2
trigger1 = ctrl = 1
trigger1 = statetype != A

;===========================================================================
;SUPER_upper_KICK (Level 3)
[State -1]
type = ChangeState
value = 9499
triggerall = command = "superupperkick_c"
triggerall = power >= 3000 ;Level 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;SuperKikko_Z
[State -1]
type = ChangeState
value = 1600	;1500
triggerall = command = "superkikko_z";-------
triggerall = power >= 3000 ;Level 3
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;SuperKikko_Y
[State -1]
type = ChangeState
value = 1600
triggerall = command = "superkikko_y";-------
triggerall = power >= 2000 ;Level 2
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 1650
trigger2 = AnimElem = 5, >= 0
trigger3 = stateno = 1700
trigger3 = AnimElem = 5, >= 0
trigger4 = stateno = 1701
trigger4 = AnimElem = 5, >= 0

;---------------------------------------------------------------------------
;SuperKikko_X
[State -1]
type = ChangeState
value = 1650
triggerall = command = "superkikko_x"
triggerall = power >= 1000 ;Level 1
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 1600
trigger2 = AnimElem = 5, >= 0
trigger3 = stateno = 1700
trigger3 = AnimElem = 5, >= 0
trigger4 = stateno = 1701
trigger4 = AnimElem = 5, >= 0

;---------------------------------------------------------------------------
;SuperLightning_C
;[State -1]
;type = ChangeState
;value = 1702
;triggerall = command = "superkick_c"
;triggerall = power >= 3000 ;Level 3
;trigger1 = statetype != A
;trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;SuperLightning_B
;[State -1]
;type = ChangeState
;value = 1701
;triggerall = command = "superkick_b"
;triggerall = power >= 2000 ;Level 2
;trigger1 = statetype != A
;trigger1 = ctrl = 1
;trigger2 = stateno = 1700
;trigger2 = AnimElem = 5, >= 0
;trigger3 = stateno = 1700
;trigger3 = AnimElem = 5, >= 0
;trigger4 = stateno = 1701
;trigger4 = AnimElem = 5, >= 0

;---------------------------------------------------------------------------
;SuperLightning_A
;[State -1]
;type = ChangeState
;value = 1700
;triggerall = command = "superkick_a"
;triggerall = power >= 1000 ;Level 1
;trigger1 = statetype != A
;trigger1 = ctrl = 1
;trigger2 = stateno = 1701
;trigger2 = AnimElem = 5, >= 0
;trigger3 = stateno = 1700
;trigger3 = AnimElem = 5, >= 0
;trigger4 = stateno = 1701
;trigger4 = AnimElem = 5, >= 0

;---------------------------------------------------------------------------
;RisingKick_A
[State -1]
type = ChangeState
value = 1030
triggerall = command = "risingkick_a";-------
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 40
trigger3 = stateno = 400
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 440
trigger5 = movecontact = 1
trigger6 = stateno = 450
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1

;---------------------------------------------------------------------------
;RisingKick_B
[State -1]
type = ChangeState
value = 1033
triggerall = command = "risingkick_b";-------
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 40
trigger3 = stateno = 400
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 440
trigger5 = movecontact = 1
trigger6 = stateno = 450
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1

;---------------------------------------------------------------------------
;RisingKick_C
[State -1]
type = ChangeState
value = 1036
triggerall = command = "risingkick_c"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 40
trigger3 = stateno = 400
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1
trigger5 = stateno = 440
trigger5 = movecontact = 1
trigger6 = stateno = 450
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1

;---------------------------------------------------------------------------
;Kikkoken_x
[State -1]
type = ChangeState
value = 1020
triggerall = command = "kikkoken_x"
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1

;---------------------------------------------------------------------------
;Kikkoken_Y
[State -1]
type = ChangeState
value = 1021
triggerall = command = "kikkoken_y"
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1

;---------------------------------------------------------------------------
;Kikkoken_Z
[State -1]
type = ChangeState
value = 1022
triggerall = numproj = 0
triggerall = command = "kikkoken_z"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1

;---------------------------------------------------------------------------
;LightningKick_A
[State -1]
type = ChangeState
value = 1000
triggerall = command = "lightningkick_a";-------
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;LightningKick_B
[State -1]
type = ChangeState
value = 1001
triggerall = command = "lightningkick_b"
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;LightningKick_A (continue)
[State -1]
type = ChangeState
value = 1004
triggerall = command = "lightningkick_aa"
triggerall = command != "holddown"
trigger1 = stateno = 1000
trigger1 = animelem = 8, >=0
trigger2 = stateno = 1004
trigger2 = animelem = 7, >=0

;---------------------------------------------------------------------------
;LightningKick_B (continue)
[State -1]
type = ChangeState
value = 1006
triggerall = command = "lightningkick_bb"
triggerall = command != "holddown"
trigger1 = stateno = 1001
trigger1 = animelem = 11, >=0
trigger2 = stateno = 1004
trigger2 = animelem = 7, >=0

;---------------------------------------------------------------------------
;LightningKick_C
[State -1]
type = ChangeState
value = 1001	;1002
triggerall = command = "lightningkick_c"
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;LightningKick_C (continue)
[State -1]
type = ChangeState
value = 1006	;1003
triggerall = command = "lightningkick_cc"
triggerall = command != "holddown"
trigger1 = stateno = 1002
trigger1 = animelem = 11, >=0
trigger2 = stateno = 1003
trigger2 = animelem = 8, >=0

;---------------------------------------------------------------------------
; Spinning Kick_a
[State -1]
type = ChangeState
value = 1081
triggerall = command = "spinningkick_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1
;---------------------------------------------------------------------------
; Spinning Kick_b
[State -1]
type = ChangeState
value = 1082
triggerall = command = "spinningkick_b"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1
;---------------------------------------------------------------------------
; Spinning Kick_C
[State -1]
type = ChangeState
value = 1083
triggerall = command = "spinningkick_c"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 220
trigger4 = movecontact = 1
trigger5 = stateno = 230
trigger5 = movecontact = 1
trigger6 = stateno = 240
trigger6 = movecontact = 1
trigger7 = stateno = 250
trigger7 = movecontact = 1
trigger6 = stateno = 400
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 420
trigger8 = movecontact = 1
trigger9 = stateno = 430
trigger9 = movecontact = 1
trigger10 = stateno = 440
trigger10 = movecontact = 1

;===========================================================================
;special jump_C
[State -1]
type = ChangeState
value = 999
triggerall = command = "holddown"
triggerall = command = "downfwd_c"
trigger1 = statetype = C
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;RunFwd
;[State -1]
;type = ChangeState
;value = 100
;trigger1 = command = "FF"
;trigger1 = statetype = S
;trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;RunB
;[State -1]
;type = ChangeState
;value = 105
;trigger1 = command = "BB"
;trigger1 = statetype = S
;trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Air_Throw2
[State -1]
type = ChangeState
value = 9699
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = p2statetype = A
triggerall = p2bodydist X < 10
trigger1 = command = "holdfwd"
trigger1 = command = "z"
trigger2 = command = "holdfwd"
trigger2 = command = "y"
trigger3 = command = "holdback"
trigger3 = command = "z"
trigger4 = command = "holdback"
trigger4 = command = "y"
;===========================================================================
; Throw
[State -1]
type = ChangeState
value = 800
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger1 = p2bodydist X <= 10
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger1 = command = "fwd_z"
trigger2 = statetype = S
trigger2 = ctrl = 1
trigger2 = p2bodydist X <= 10
trigger2 = p2statetype = S
trigger2 = p2movetype != H
trigger2 = command = "fwd_y"
trigger3 = statetype = S
trigger3 = ctrl = 1
trigger3 = p2bodydist X <= 13
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger3 = command = "back_y"
trigger4 = statetype = S
trigger4 = ctrl = 1
trigger4 = p2bodydist X <= 13
trigger4 = p2statetype = S
trigger4 = p2movetype != H
trigger4 = command = "back_z"
;---------------------------------------------------------------------------
;Stand_A
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 240
trigger3 = movecontact = 1
trigger4 = stateno = 245
trigger4 = movecontact = 1
trigger5 = stateno = 250
trigger5 = movecontact = 1
trigger6 = stateno = 210
trigger6 = movecontact = 1
trigger7 = stateno = 100
trigger7 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_B
[State -1]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 240
trigger3 = movecontact = 1
trigger4 = stateno = 245
trigger4 = movecontact = 1
trigger5 = stateno = 250
trigger5 = movecontact = 1
trigger6 = stateno = 200
trigger6 = movecontact = 1
trigger7 = stateno = 100
trigger7 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_C
[State -1]
type = ChangeState
value = 220	;225
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X > 22
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 240
trigger3 = movecontact = 1
trigger4 = stateno = 245
trigger4 = movecontact = 1
trigger5 = stateno = 250
trigger5 = movecontact = 1
trigger6 = stateno = 200
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 100
trigger8 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_C (close)
[State -1]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 22
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 240
trigger3 = movecontact = 1
trigger4 = stateno = 245
trigger4 = movecontact = 1
trigger5 = stateno = 250
trigger5 = movecontact = 1
trigger6 = stateno = 200
trigger6 = movecontact = 1
trigger7 = stateno = 210
trigger7 = movecontact = 1
trigger8 = stateno = 225
trigger8 = movecontact = 1
trigger9 = stateno = 100
trigger9 = movecontact = 0
;---------------------------------------------------------------------------

;Stand_X
[State -1]
type = ChangeState
value = 230
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 100
trigger3 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_Y
[State -1]
type = ChangeState
value = 240	;245
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X > 21
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 210
trigger3 = movecontact = 1
trigger4 = stateno = 230
trigger4 = movecontact = 1
trigger5 = stateno = 240
trigger5 = movecontact = 1
trigger6 = stateno = 100
trigger6 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_Y (close)
[State -1]
type = ChangeState
value = 240
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 21
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact = 1
trigger4 = stateno = 210
trigger4 = movecontact = 1
trigger5 = stateno = 100
trigger5 = movecontact = 0
;---------------------------------------------------------------------------
;Stand_Z
[State -1]
type = ChangeState
value = 250
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact = 1
trigger3 = stateno = 240
trigger3 = movecontact = 1
trigger4 = stateno = 245
trigger4 = movecontact = 1
trigger5 = stateno = 200
trigger5 = movecontact = 1
trigger6 = stateno = 210
trigger6 = movecontact = 1
trigger7 = stateno = 225
trigger7 = movecontact = 1
trigger8 = stateno = 220
trigger8 = movecontact = 1
trigger9 = stateno = 100
trigger9 = movecontact = 0
;---------------------------------------------------------------------------
;Crouch_A
[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

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

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

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

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

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

;---------------------------------------------------------------------------
;Jump_A
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = Vel X = 0
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_A (moving)
[State -1]
type = ChangeState
value = 605
triggerall = command = "a"
triggerall = Vel X != 0
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_STOMP
[State -1]
type = ChangeState
value = 617
triggerall = command = "holddown"
trigger1 = command = "b"
triggerall = statetype = A
triggerall = ctrl = 1
;trigger1 = Vel X = 0

;---------------------------------------------------------------------------
;Jump_STOMP (moving)
[State -1]
type = ChangeState
value = 617
trigger1 = command = "down_b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = Vel X != 0

;---------------------------------------------------------------------------
;Jump_B
[State -1]
type = ChangeState
value = 610
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = Vel X = 0

;---------------------------------------------------------------------------
;Jump_B (moving)
[State -1]
type = ChangeState
value = 615
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = Vel X != 0

;---------------------------------------------------------------------------
;Jump_C
[State -1]
type = ChangeState
value = 620
triggerall = command = "c"
triggerall = Vel X = 0
trigger1 = statetype = A
trigger1 = ctrl = 1

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

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

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

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

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

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

;---------------------------------------------------------------------------
;Jump_Z (moving)
[State -1]
type = ChangeState
value = 655
triggerall = command = "z"
triggerall = Vel X != 0
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Taunt
[State -1]
type = ChangeState
value = 700
triggerall = command = "s"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Counter_Attack
;[State -1]
;type = ChangeState
;value = 745
;triggerall = command = "kikkoken_x"
;triggerall = power >= 1000
;trigger1 = stateno >= 150
;trigger1 = stateno <= 153

;---------------------------------------------------------------------------
; Guard_Reversal
;[State -1]
;type = ChangeState
;value = 745
;triggerall = command = "kikkoken_y"
;triggerall = power >= 1000
;trigger1 = stateno >= 150
;trigger1 = stateno <= 153

;---------------------------------------------------------------------------
; Guard_Reversal
;[State -1]
;type = ChangeState
;value = 745
;triggerall = command = "kikkoken_z"
;triggerall = power >= 1000
;trigger1 = stateno >= 150
;trigger1 = stateno <= 153

