[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| Default Values |-------------------------------------------------------
[Defaults]
command.time = 15
command.buffer.time = 1


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

;-| Special Motions |------------------------------------------------------
;-------------------------------------------------------------------------------
; Dart y wave
[Command]
name = "Dart y wave A"
command = ~F, D, DF, a+x
buffer.time = 2
[Command]
name = "Dart y wave B"
command = ~F, D, DF, b+y
buffer.time = 2
[Command]
name = "Dart y wave B"
command = ~F, D, DF, c+z
buffer.time = 2
;-------------------------------------------------------------------------
;Cut and Run

[Command]
name = "Cut and run X"
command = ~D,DB,B, x

[Command]
name = "Cut and run Y"
command = ~D,DB,B, y

[Command]
name = "Cut and run Z"
command = ~D,DB,B, z


;-------------------------------------------------------------------------
;Stick and move

[Command]
name = "Stick and move x"
command = ~D,DF,F, x

[Command]
name = "Stick and move y"
command = ~D,DF,F, y

[Command]
name = "Stick and move z"
command = ~D,DF,F, z

;-------------------------------------------------------------------------
;blitzball

[Command]
name = "blitzball a"
command = ~D,DF,F, a

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

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

;-------------------------------------------------------------------------
;Speed

[Command]
name = "Speed A"
command = ~D,DB,B, a

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

[Command]
name = "Speed C"
command = ~D,DB,B, c


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

;-------------------------------------------------------------------------
;blitz ace

[Command]
name="blitzace"
command=~D, DB, B, a+x

[Command]
name="blitzace"
command=~D, DB, B, b+y

[Command]
name="blitzace"
command=~D, DB, B, c+z
;-------------------------------------------------------------------------
;Energy Kick

[Command]
name = "Energy Kick"
command = ~D, DF, F, a

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

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




;Rain

[Command]
name = "Rain"
command = ~D, DF, F, x

[Command]
name = "Rain"
command = ~D, DF, F, y

[Command]
name = "Rain"
command = ~D, DF, F, z

;-------------------------------------------------------------------------
;Energy Rain

[Command]
name = "Energy Rain"
command = ~D, DF, F, a+b

[Command]
name = "Energy Rain"
command = ~D, DF, F, a+c

[Command]
name = "Energy Rain"
command = ~D, DF, F, b+c



;-| spiralcut |-----------------------------------------------------------

[Command]
name = "spiralcut"
command = ~D, DF, F, a+b

[Command]
name = "spiralcut"
command = ~D, DF, F, a+c

[Command]
name = "spiralcut"
command = ~D, DF, F, b+c


;-| jetchshot |-----------------------------------------------------------

[Command]
name = "jetchshot"
command = ~D, DB, B, a+b

[Command]
name = "jetchshot"
command = ~D, DB, B, a+c

[Command]
name = "jetchshot"
command = ~D, DB, B, b+c

;-| sliceydice |-----------------------------------------------------------

[Command]
name = "sliceydice"
command = ~D, DB, B, x+y

[Command]
name = "sliceydice"
command = ~D, DB, B, x+z

[Command]
name = "sliceydice"
command = ~D, DB, B, y+z

;-| quickhit |-----------------------------------------------------------

[Command]
name = "quickhit"
command = ~D, DF, F, x+y

[Command]
name = "quickhit"
command = ~D, DF, F, x+z

[Command]
name = "quickhit"
command = ~D, DF, F, y+z


;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
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 = "start"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1


[Statedef -1]



;---------------------------------------------------------------------------
;Run Back
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl


;---------------------------------------------------------------------------
;Run front
[State -1, Run Back]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl



;---------------------------------------------------------------------------
;Kung Fu Throw
[State -1, Kung Fu Throw1]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

[State -1, Kung Fu Throw1]
type = ChangeState
value = 800
triggerall = command = "x"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H


[State -1, Kung Fu Throw1]
type = ChangeState
value = 800
triggerall = command = "z"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H


;---------------------------------------------------------------------------
; Dart y wave
[State -1, Dart y wave]
type = ChangeState
value = 4500
triggerall = (command = "Dart y wave A") || (command = "Dart y wave B" )
triggerall = NumHelper(1100) = 0
triggerall = NumHelper(1110) = 0
triggerall = NumHelper(1120) = 0
triggerall = statetype !=A
trigger1 = ctrl
trigger2 = (HitdefAttr = SCA, NA) && MoveContact

;---------------------------------------------------------------------------
;blitzace
[State -1, blitzace]
type = ChangeState
value = 6000
triggerall = var(59) = 0
triggerall = command = "blitzace"
triggerall = power >= 3000 && numexplod(3302)=0
triggerall = stateno < 3000
trigger1 = Statetype != A && ctrl
trigger2 = (StateType != A) && (HitdefAttr = SC, NA, SA) && (MoveContact)

;---------------------------------------------------------------------------
;spiralcut
[State -1, spiralcut]
type = ChangeState
value = 3100
triggerall = var(59) = 0
triggerall = command = "spiralcut"
triggerall = power >= 1000 && numexplod(3302)=0
triggerall = stateno < 3000
trigger1 = Statetype != A && ctrl
trigger2 = (StateType != A) && (HitdefAttr = SC, NA, SA) && (MoveContact)

;------------------------------------------------------------------------
;sliceydice
[State -1, sliceydice]
type = ChangeState
value = 1800
triggerall = var(59) = 0
triggerall = command = "sliceydice"
triggerall = power >= 1000 && numexplod(3302)=0
triggerall = stateno < 3000
trigger1 = Statetype != A && ctrl
trigger2 = (StateType != A) && (HitdefAttr = SC, NA, SA) && (MoveContact)


;------------------------------------------------------------------------
;quickhit
[State -1, quickhit]
type = ChangeState
value = 1900
triggerall = var(59) = 0
triggerall = command = "quickhit"
triggerall = power >= 1000 && numexplod(3302)=0
triggerall = stateno < 3000
trigger1 = Statetype != A && ctrl
trigger2 = (StateType != A) && (HitdefAttr = SC, NA, SA) && (MoveContact)

;---------------------------------------------------------------------------
;jetchshot
[State -1, "jetchshot"]
type = ChangeState
value = 3200
triggerall = var(59) = 0
triggerall = command = "jetchshot"
triggerall = power >= 1000 && numexplod(3302)=0
triggerall = stateno < 3000
trigger1 = Statetype != A && ctrl
trigger2 = (StateType != A) && (HitdefAttr = SC, NA, SA) && (MoveContact)

;---------------------------------------------------------------------------
;Crounching Ligh Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl



;---------------------------------------------------------------------------
; Cut and run x y
[State -1, Cut and run]
type = ChangeState
value = 1100
triggerall = (command = "Cut and run X") || (command = "Cut and run Y")
triggerall = NumHelper(1100) = 0
triggerall = NumHelper(1110) = 0
triggerall = NumHelper(1120) = 0
triggerall = statetype !=A
trigger1 = ctrl
trigger2 = (HitdefAttr = SCA, NA) && MoveContact



;--------------------------------------------------------------------------
;Cut and run z
[State -1, Cut and run]
type = ChangeState
value = 1120
triggerall = var(59) = 0            ;
triggerall = command = "Cut and run Z"
triggerall = NumHelper(1100) = 0
triggerall = NumHelper(1110) = 0
triggerall = NumHelper(1120) = 0
triggerall = (Statetype != A)
trigger1 = ctrl
trigger2 = (HitdefAttr = SCA, NA) && MoveContact

;---------------------------------------------------------------------------
; Speed A B
[State -1, Speed]
type = ChangeState
value = 1600
triggerall = (command = "Speed A") || (command = "Speed B")
triggerall = NumHelper(1100) = 0
triggerall = NumHelper(1110) = 0
triggerall = NumHelper(1120) = 0
triggerall = statetype !=A
trigger1 = ctrl
trigger2 = (HitdefAttr = SCA, NA) && MoveContact

;--------------------------------------------------------------------------
;Speed C
[State -1, Speed]
type = ChangeState
value = 1600
triggerall = var(59) = 0            ;
triggerall = command = "Speed C"
triggerall = NumHelper(1100) = 0
triggerall = NumHelper(1110) = 0
triggerall = NumHelper(1120) = 0
triggerall = (Statetype != A)
trigger1 = ctrl
trigger2 = (HitdefAttr = SCA, NA) && MoveContact

;--------------------------------------------------------------------------
;Energy Rain 

[State -1, Energy Rain]
type = ChangeState
value = 3000
triggerall = command = "Energy Rain" 
triggerall = RoundState = 2 && StateType = A
trigger1= ctrl && pos y <= -30
trigger2 = var(5)


;--------------------------------------------------------------------------
;Energy Kick

[State -1, Energy Kick]
type = ChangeState
value = 1300
triggerall = command = "Energy Kick" 
triggerall = RoundState = 2 && StateType = A
trigger1= ctrl && pos y <= -30
trigger2 = var(5)


;--------------------------------------------------------------------------
;Rain 

[State -1, Rain]
type = ChangeState
value = 4000
triggerall = command = "Rain" 
triggerall = RoundState = 2 && StateType = A
trigger1= ctrl && pos y <= -30
trigger2 = var(5)


;--------------------------------------------------------------------------
;Stick and move

[State -1, Stick and move]
type = ChangeState
value = 1500
triggerall = command = "Stick and move y"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
;-----------------------------Specials
[State -1, Stick and move]
type = ChangeState
value = 1500
triggerall = command = "Stick and move x"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact

;-----------------------------Specials
[State -1, Stick and move]
type = ChangeState
value = 1500
triggerall = command = "Stick and move z"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact

;-----------------------------blitzball
[State -1, blitzball]
type = ChangeState
value = 1400
triggerall = command = "blitzball b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact

[State -1, blitzball]
type = ChangeState
value = 1400
triggerall = command = "blitzball a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact


[State -1, blitzball]
type = ChangeState
value = 1400
triggerall = command = "blitzball c"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact

;---------------------------------------------------------------------------
;Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
trigger1 = command = "x"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
trigger1 = command = "y"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
trigger1 = command = "z"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Medium Punch
[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Medium Punch
[State -1, Crounch Medium Punch]
type = ChangeState
value = 410
trigger1 = command = "y"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Strong Punch
[State -1, Crounch Strong Punch]
type = ChangeState
value = 420
trigger1 = command = "z"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
trigger1 = command = "a"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Medium Kick
[State -1, Stand Medium Kick]
type = ChangeState
value = 240
trigger1 = command = "b"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Strong Kick
[State -1, Stand Strong Kick]
type = ChangeState
value = 250
trigger1 = command = "c"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Punch]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Medium Kick
[State -1, Jump Medium Punch]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Strong Kick
[State -1, Jump Strong Punch]
type = ChangeState
value = 650
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = statetype != S && statetype != C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Light Kick
[State -1, Crouching Light Punch]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Medium Kick
[State -1, Crounch Medium Kick]
type = ChangeState
value = 440
trigger1 = command = "b"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crounch Strong Kick
[State -1, Crounch Strong Kick]
type = ChangeState
value = 450
trigger1 = command = "c"
trigger1 = statetype = C
trigger1 = ctrl