;-| Button Remapping |-----------------------------------------------------
[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 |--------------------------------------------------------

[Command]
name = "Infinity Fang"
command = ~D, DF, F, D, DF, x
time = 32

[Command]
name = "Infinity Fang Level 2"
command = ~D, DB, B, D, DB, x
time = 32

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

[Command]
name = "Hyper Weapon"
command = ~D, DF, F, D, DF, y
time = 32

[Command]
name = "Hyper Weapon Level 2"
command = ~D, DB, B, D, DB, y
time = 32

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

[Command]
name = "Hyper Weapon (AIR)"
command = ~D, DF, F, D, DF, y
time = 32

[Command]
name = "Hyper Weapon Level 2 (AIR)"
command = ~D, DB, B, D, DB, y
time = 32

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

[Command]
name = "Blood Oath Finish Level 3"
command = ~D, DF, F, D, DF, z
time = 32


;-| Special Motions |------------------------------------------------------

[Command]
name = "Viper Fang Weak"
command = ~F, B, F, x
time = 15

[Command]
name = "Viper Fang Medium"
command = ~F, B, F, y
time = 15

[Command]
name = "Viper Fang Strong"
command = ~F, B, F, z
time = 15

[Command]
name = "Viper Fang EX"
command = ~F, B, F, x+y
time = 16

[Command]
name = "Viper Fang EX"
command = ~F, B, F, y+z
time = 16

[Command]
name = "Viper Fang EX"
command = ~F, B, F, z+x
time = 16

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

[Command]
name = "Blade Driver Weak"
command = ~D, DF, F, x
time = 15

[Command]
name = "Blade Driver Medium"
command = ~D, DF, F, y
time = 15

[Command]
name = "Blade Driver Strong"
command = ~D, DF, F, z
time = 15

[Command]
name = "Blade Driver EX"
command = ~D, DF, F, x+y
time = 16

[Command]
name = "Blade Driver EX"
command = ~D, DF, F, y+z
time = 16

[Command]
name = "Blade Driver EX"
command = ~D, DF, F, z+x
time = 16

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

[Command]
name = "Blade Driver Weak (AIR)"
command = ~D, DF, F, x
time = 15

[Command]
name = "Blade Driver Medium (AIR)"
command = ~D, DF, F, y
time = 15

[Command]
name = "Blade Driver Strong (AIR)"
command = ~D, DF, F, z
time = 15

[Command]
name = "Blade Driver EX (AIR)"
command = ~D, DF, F, x+y
time = 16

[Command]
name = "Blade Driver EX (AIR)"
command = ~D, DF, F, y+z
time = 16

[Command]
name = "Blade Driver EX (AIR)"
command = ~D, DF, F, z+x
time = 16

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

[Command]
name = "Sparrow Cutter Weak"
command = ~F, D, DF, x
time = 15

[Command]
name = "Sparrow Cutter Medium"
command = ~F, D, DF, y
time = 15

[Command]
name = "Sparrow Cutter Strong"
command = ~F, D, DF, z
time = 15

[Command]
name = "Sparrow Cutter EX"
command = ~F, D, DF, x+y
time = 16

[Command]
name = "Sparrow Cutter EX"
command = ~F, D, DF, y+z
time = 16

[Command]
name = "Sparrow Cutter EX"
command = ~F, D, DF, z+x
time = 16

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

[Command]
name = "Arrow Dive Weak (AIR)"
command = ~D, DB, B, x
time = 15

[Command]
name = "Arrow Dive Medium (AIR)"
command = ~D, DB, B, y
time = 15

[Command]
name = "Arrow Dive Strong (AIR)"
command = ~D, DB, B, z
time = 15

[Command]
name = "Arrow Dive EX (AIR)"
command = ~D, DB, B, x+y
time = 16

[Command]
name = "Arrow Dive EX (AIR)"
command = ~D, DB, B, y+z
time = 16

[Command]
name = "Arrow Dive EX (AIR)"
command = ~D, DB, B, z+x
time = 16

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

[Command]
name = "412p" ;Zero Counter
command = ~B, DB, D, x
time = 16

[Command]
name = "412p" ;Zero Counter
command = ~B, DB, D, ~x
time = 16

[Command]
name = "412p" ;Zero Counter
command = ~B, DB, D, y
time = 16

[Command]
name = "412p" ;Zero Counter
command = ~B, DB, D, ~y
time = 16

[Command]
name = "412k" ;Zero Counter
command = ~B, DB, D, z
time = 16

[Command]
name = "412k" ;Zero Counter
command = ~B, DB, D, ~z
time = 16

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

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

[Command]
name = "recovery"
command = x+z
time = 1

[Command]
name = "recovery"
command = a+x
time = 1

[Command]
name = "pp"
command = x+y
time = 1

[Command]
name = "pp"
command = x+z
time = 1

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

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

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

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

[Command]
name = "a+x"
command = a+x
time=1

[Command]
name = "b+y"
command = b+y
time = 1

[Command]
name = "c+z"
command = c+z
time = 1

;-| Dir + Button |---------------------------------------------------------
[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_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_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 = "up_x"
command = /$U,x
time = 1

[Command]
name = "up_y"
command = /$U,y
time = 1

[Command]
name = "up_z"
command = /$U,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 = "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 = "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 = "up_a"
command = /$U,a
time = 1

[Command]
name = "up_b"
command = /$U,b
time = 1

[Command]
name = "up_c"
command = /$U,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

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

[Command]
name = "downfwd"
command = $DF
time = 1

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

[Command]
name = "downback"
command = $DB
time = 1

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

[Command]
name = "upback"
command = $UB
time = 1

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

[Command]
name = "upfwd"
command = $UF
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

[Command]
name = "hold_s"
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

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

[Command]
name = "holddownfwd"
command = /$DF
time = 1

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

[Command]
name = "holddownback"
command = /$DB
time = 1

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

[Command]
name = "holdupback"
command = /$UB
time = 1

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

[Command]
name = "holdupfwd"
command = /$UF
time = 1

;---------------------------------------------------------------------------
;Release Direction
[Command]
name = "rlsfwd"
command = ~$F
time = 1

[Command]
name = "rlsback"
command = ~$B
time = 1

[Command]
name = "rlsup"
command = ~$U
time = 1

[Command]
name = "rlsdown"
command = ~$D
time = 1

;--------------------------------------------------------------------------
;Release Button
[Command]
name = "rlsx"
command = ~x
time = 1

[Command]
name = "rlsy"
command = ~y
time = 1

[Command]
name = "rlsz"
command = ~z
time = 1

[Command]
name = "rlsa"
command = ~a
time = 1

[Command]
name = "rlsb"
command = ~b
time = 1

[Command]
name = "rlsc"
command = ~c
time = 1
;---------------------------------------------------------------------------
;Other
[Command]
name = "highjump"
command = $D, $U
time = 15
;---------------------------------------------------------------------------
[Statedef -1]

[State -1, Tick Fix]
type = CtrlSet
triggerall = !ctrl
trigger1 = (StateNo = 52 || StateNo = 101 || StateNo = 5120) && !AnimTime
trigger2 = (StateNo = [200,499]) && !AnimTime
trigger3 = (StateNo = [760,762]) && !AnimTime
trigger4 = StateNo = 810 && !AnimTime
trigger5 = (StateNo = 5001 || StateNo = 5011 || StateNo = 151 || StateNo = 153) && HitOver
trigger6 = (StateNo = [700,715]) && !AnimTime
value = 1

[State -1, CtrlSet For Helpers];special thanks to 20S
type = CtrlSet
trigger1 = IsHelper
value = 0

[State -1, Hit Count For Helpers];special thanks to 20S
type = ParentVarAdd
trigger1 = IsHelper
trigger1 = MoveHit = 1
trigger1 = !HitPauseTime 
trigger1 = !(HitDefAttr = SCA, AT)
var(13) = 1

[State -1, Juggle Count For Helpers];special thanks to 20S
type = ParentVarAdd
trigger1 = IsHelper
trigger1 = MoveHit = 1
trigger1 = !HitPauseTime 
trigger1 = !(HitDefAttr = SCA, AT)
var(15) = 1

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

[State -1, Blood Oath Finish Level 3]
type = ChangeState
value = 3050
triggerall = command = "Blood Oath Finish Level 3"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 3000, power >= 1000)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6)

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

[State -1, Hyper Weapon Level 2 (AIR)]
type = ChangeState
value = 3031
triggerall = command = "Hyper Weapon Level 2 (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ifelse(var(20) <= 0, power >= 1000, power >= 0)
triggerall = ctrl && pos y <= -30 || var(6)
trigger1 = NumHelper(3010) <= 0
trigger2 = NumHelper(3010) <= 1
trigger2 = Helper(3010),StateNo = [1014,1016]

[State -1, Hyper Weapon (AIR)]
type = ChangeState
value = 3021
triggerall = command = "Hyper Weapon (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ifelse(var(20) <= 0, power >= 1000, power >= 0)
triggerall = ctrl && pos y <= -30 || var(6)
trigger1 = NumHelper(3010) <= 0
trigger2 = NumHelper(3010) <= 1
trigger2 = Helper(3010),StateNo = [1014,1016]

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

[State -1, Hyper Weapon Level 2]
type = ChangeState
value = 3030
triggerall = command = "Hyper Weapon Level 2"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 2000, power >= 1000)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6) || var(7)

[State -1, Hyper Weapon]
type = ChangeState
value = 3020
triggerall = command = "Hyper Weapon"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 1000, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6)

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

[State -1, Infinity Fang Level 2]
type = ChangeState
value = 3010
triggerall = command = "Infinity Fang Level 2"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 2000, power >= 1000)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6) || var(7)

[State -1, Infinity Fang]
type = ChangeState
value = 3000
triggerall = command = "Infinity Fang"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 1000, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6)

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

[State -1, Arrow Dive EX (AIR)]
type = ChangeState
value = 1330
triggerall = command = "Arrow Dive EX (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ifelse(var(20) <= 0, power >= 500, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Arrow Dive Strong (AIR)]
type = ChangeState
value = 1320
triggerall = command = "Arrow Dive Strong (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

[State -1, Arrow Dive Medium (AIR)]
type = ChangeState
value = 1310
triggerall = command = "Arrow Dive Medium (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

[State -1, Arrow Dive Weak (AIR)]
type = ChangeState
value = 1300
triggerall = command = "Arrow Dive Weak (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

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

[State -1, Sparrow Cutter EX]
type = ChangeState
value = 1230
triggerall = command = "Sparrow Cutter EX"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 500, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Sparrow Cutter Strong]
type = ChangeState
value = 1220
triggerall = command = "Sparrow Cutter Strong"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Sparrow Cutter Medium]
type = ChangeState
value = 1210
triggerall = command = "Sparrow Cutter Medium"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Sparrow Cutter Weak]
type = ChangeState
value = 1200
triggerall = command = "Sparrow Cutter Weak"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

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

[State -1, Blade Driver EX AIR)]
type = ChangeState
value = 1131
triggerall = command = "Blade Driver EX (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ifelse(var(20) <= 0, power >= 500, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Blade Driver Strong (AIR)]
type = ChangeState
value = 1121
triggerall = command = "Blade Driver Strong (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

[State -1, Blade Driver Medium (AIR)]
type = ChangeState
value = 1111
triggerall = command = "Blade Driver Medium (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

[State -1, Blade Driver Weak (AIR)]
type = ChangeState
value = 1101
triggerall = command = "Blade Driver Weak (AIR)"
triggerall = RoundState = 2 && StateType = A
triggerall = ctrl && pos y <= -30 || var(5)
trigger1 = NumHelper(1010) <= 0
trigger2 = NumHelper(1010) <= 1
trigger2 = Helper(1010),StateNo = [1014,1016]

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

[State -1, Blade Driver EX]
type = ChangeState
value = 1130
triggerall = command = "Blade Driver EX"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 500, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Blade Driver Strong]
type = ChangeState
value = 1120
triggerall = command = "Blade Driver Strong"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Blade Driver Medium]
type = ChangeState
value = 1110
triggerall = command = "Blade Driver Medium"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Blade Driver Weak]
type = ChangeState
value = 1100
triggerall = command = "Blade Driver Weak"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

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

[State -1, Viper Fang EX]
type = ChangeState
value = 1030
triggerall = command = "Viper Fang EX"
triggerall = RoundState = 2 && StateType != A
triggerall = ifelse(var(20) <= 0, power >= 500, power >= 0)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Viper Fang Strong]
type = ChangeState
value = 1020
triggerall = command = "Viper Fang Strong"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Viper Fang Medium]
type = ChangeState
value = 1010
triggerall = command = "Viper Fang Medium"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

[State -1, Viper Fang Weak]
type = ChangeState
value = 1000
triggerall = command = "Viper Fang Weak"
triggerall = RoundState = 2 && StateType != A
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(5)

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

[State -1, Counter]
type = ChangeState
value = 750
trigger1 = StateNo = 150 || StateNo = 152
trigger1 = command = "412p" || command = "412k"
trigger1 = RoundState = 2 && StateType != A
trigger1 = power >= 1000 && !var(20)

[State -1, Throw]
type = ChangeState
value = 800
trigger1 = (command = "holdfwd" || command = "holdback") && command = "pp" 
trigger1 = RoundState = 2 && StateType = S
trigger1 = ctrl

[State -1, Roll Forward]
type = ChangeState
value = 710
triggerall = command = "a"
triggerall = RoundState = 2 && StateType != A
trigger1 = (ctrl || (StateNo = [100,101])) && command = "holdfwd"

[State -1, Roll Backward]
type = ChangeState
value = 715
triggerall = command = "a"
triggerall = RoundState = 2 && StateType != A
trigger1 = (ctrl || (StateNo = [100,101])) && command = "holdback"

[State -1, Charge]
type = ChangeState
value = 730
trigger1 = command = "hold_b"
trigger1 = RoundState = 2 && StateType != A
trigger1 = power < const(data.power) && power < PowerMax && !var(20)
trigger1 = ctrl || (StateNo = [100,101])

[State -1, Max]
type = ChangeState
value = 770
triggerall = command = "c"
triggerall = RoundState = 2 && StateType != A
triggerall = var(20) <= 0 && Power >= 1000
trigger1 = ctrl || (Stateno = [100,101])

[State -1, Dodge]
type = ChangeState
value = 700
triggerall = command = "a"
triggerall = RoundState = 2 && StateType != A
trigger1 = (ctrl || (StateNo = [100,101]))

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

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

;--------------------------------------------------------------------------
[State -1, Stand Slash A]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1= ctrl || (stateno=[100,101])

[State -1, Stand Slash B]
type = ChangeState
value = 210 
triggerall = command = "y"
triggerall = command != "holddown"  
triggerall = StateType != A
trigger1 = ctrl || (StateNo = [100,101])
trigger2 = stateno = 200 && movecontact

[State -1, Stand Slash C]
type = ChangeState
value = 220 
triggerall = command = "z"
triggerall = command != "holddown" 
triggerall = StateType != A
trigger1 = ctrl || (StateNo = [100,101])
trigger2 = stateno = 210 && movecontact

[State -1, Crouch Slash A]
type = ChangeState
value = 400
triggerAll = command = "holddown" && command = "x"
triggerAll = StateType != A
trigger1 = ctrl || (StateNo = [100,101])

[State -1, Crouch Slash B]
type = ChangeState
value = 410
triggerAll = command = "holddown" && command = "y"
triggerAll = StateType != A
trigger1 = ctrl || (StateNo = [100,101])
trigger2 = stateno = 400 && movecontact

[State -1, Crouch Slash C]
type = ChangeState
value = 420
triggerAll = command = "holddown" && command = "z"
triggerAll = StateType != A
trigger1 = ctrl || (StateNo = [100,101])
trigger2 = stateno = 410 && movecontact

[State -1, Jump Slash A]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact

[State -1, Jump Slash A]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact

[State -1, Jump Slash B]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact

[State -1, Jump Slash B]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact

[State -1, Jump Slash C]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact

[State -1, Jump Slash C]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact

[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "s"
triggerall = StateType != A
triggerall = StateNo != [200,699]
trigger1 = ctrl || (StateNo = [100,101])
trigger2 = var(5)