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

;-| Default Values |-------------------------------------------------------
[Defaults]
; Default value for the "time" parameter of a Command. Minimum 1.
command.time = 15

; Default value for the "buffer.time" parameter of a Command. Minimum 1,
; maximum 30.
command.buffer.time = 3

;-| Super Motions |--------------------------------------------------------
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, a+b
time = 20
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, ~a+b
time = 20
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, b+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, ~b+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, a+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, DF, F, D, DF, ~a+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, a+b
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, ~a+b
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, b+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, ~b+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, a+c
time = 20
[Command]
name = "2qcf2k"
command = ~D, ~F, ~D, ~F, ~a+c
time = 20

[Command]
name = "qcbf_P"
command = ~D, DB, B, F, x
time = 20
[Command]
name = "qcbf_P"
command = ~D, DB, B, F, ~x
time = 20
[Command]
name = "qcbf_P"
command = ~D, DB, B, F, y
time = 20
[Command]
name = "qcbf_P"
command = ~D, DB, B, F, ~y
time = 20
[Command]
name = "qcbf_P"
command = ~D, DB, B, F, z
time = 20
[Command]
name = "qcbf_P"
command = ~D, DB, B, F, ~z
time = 20

[Command]
name = "qcfb_P"
command = ~D, DF, F, B, x
time = 20
[Command]
name = "qcfb_P"
command = ~D, DF, F, B, ~x
time = 20
[Command]
name = "qcfb_P"
command = ~D, DF, F, B, y
time = 20
[Command]
name = "qcfb_P"
command = ~D, DF, F, B, ~y
time = 20
[Command]
name = "qcfb_P"
command = ~D, DF, F, B, z
time = 20
[Command]
name = "qcfb_P"
command = ~D, DF, F, B, ~z
time = 20

[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, a
time = 30
[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, ~a
time = 30
[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, b
time = 30
[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, ~b
time = 30
[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, c
time = 30
[Command]
name = "qcbhcf_K"
command = ~D, B, D, F, ~c
time = 30
[Command]
name = "2qcbx"
command = ~D, DB, B, D, DB, x
time = 20
[Command]
name = "2qcbx"
command = ~D, DB, B, D, DB, ~x
time = 20
[Command]
name = "2qcby"
command = ~D, DB, B, D, DB, y
time = 20
[Command]
name = "2qcby"
command = ~D, DB, B, D, DB, ~y
time = 20
[Command]
name = "2qcbz"
command = ~D, DB, B, D, DB, z
time = 20
[Command]
name = "2qcbz"
command = ~D, DB, B, D, DB, ~z
time = 20
[Command]
name = "2qcfx"
command = ~D, DF, F, D, DF, x
time = 20
[Command]
name = "2qcfx"
command = ~D, DF, F, D, DF, ~x
time = 20
[Command]
name = "2qcfy"
command = ~D, DF, F, D, DF, y
time = 20
[Command]
name = "2qcfy"
command = ~D, DF, F, D, DF, ~y
time = 20
[Command]
name = "2qcfz"
command = ~D, DF, F, D, DF, z
time = 20
[Command]
name = "2qcfz"
command = ~D, DF, F, D, DF, ~z
time = 20
[Command]
name = "2qcfa"
command = ~D, DF, F, D, DF, a
time = 20
[Command]
name = "2qcfa"
command = ~D, DF, F, D, DF, ~a
time = 20
[Command]
name = "2qcfb"
command = ~D, DF, F, D, DF, b
time = 20
[Command]
name = "2qcfb"
command = ~D, DF, F, D, DF, ~b
time = 20
[Command]
name = "2qcfc"
command = ~D, DF, F, D, DF, c
time = 20
[Command]
name = "2qcfc"
command = ~D, DF, F, D, DF, ~c
time = 20
[Command]
name = "2qcfa"
command = ~D, ~F, ~D, ~F, a
time = 20
[Command]
name = "2qcfa"
command = ~D, ~F, ~D, ~F, ~a
time = 20
[Command]
name = "2qcfb"
command = ~D, ~F, ~D, ~F, b
time = 20
[Command]
name = "2qcfb"
command = ~D, ~F, ~D, ~F, ~b
time = 20
[Command]
name = "2qcfc"
command = ~D, ~F, ~D, ~F, c
time = 20
[Command]
name = "2qcfc"
command = ~D, ~F, ~D, ~F, ~c
time = 20

[Command]
name = "sgs"
command = x, x, F, a, z
time = 48
[Command]
name = "sgs"
command = x, x, F, a+z
time = 40
[Command]
name = "sgs"
command = x, x, F+a+z
time = 32
[Command]
name = "hype"
command = ~D, D, b+y
[Command]
name = "hype"
command = ~D, D+b+y
[Command]
name = "hype"
command = ~D, ~D, b+y
[Command]
name = "hype"
command = ~D, ~D+b+y
;-| Special Motions |--------------------------------------------------------
[Command]
name = "DK Light"
command = D, DF, F, a

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

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

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

[Command]
name = "DK Medium"
command = D,DF, F, b

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

[Command]
name = "DK Heavy"
command = D, DF, F, c

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

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

[Command]
name = "IT Light"
command = D, DF, F, x

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

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

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

[Command]
name = "IT Medium"
command = D, DF, F, y

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

[Command]
name = "IT Heavy"
command = D, DF, F, z

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

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

[Command]
name = "RITL"
command = D, DB, B, x

[Command]
name = "RITL"
command = ~D, ~DB, ~B, x

[Command]
name = "RITL"
command = ~D, ~DB, ~B, ~x

[Command]
name = "RITM"
command = D, DB, B, y

[Command]
name = "RITM"
command = ~D, ~DB, ~B, y

[Command]
name = "RITM"
command = ~D, ~DB, ~B, ~y

[Command]
name = "RITH"
command = D, DB, B, z

[Command]
name = "RITH"
command = ~D, ~DB, ~B, z

[Command]
name = "RITH"
command = ~D, ~DB, ~B, ~z

[Command]
name = "TRL"
command = D, DB, B, a

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

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

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

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

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

[Command]
name = "TRH"
command = D, DB, B, c

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

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

[Command]
name = "DPLk"
command = F, D, F, a
time = 15

[Command]
name = "DPLk"
command = ~F, ~D, ~F, a
time = 15

[Command]
name = "DPLk"
command = ~F, ~D, ~F, ~a
time = 15

[Command]
name = "DPMk"
command = F, D, F, b
time = 15

[Command]
name = "DPMk"
command = ~F, ~D, ~F, b
time = 15

[Command]
name = "DPMk"
command = ~F, ~D, ~F, ~b
time = 15

[Command]
name = "DPHk"
command = F, D, F, c
time = 15

[Command]
name = "DPHk"
command = ~F, ~D, ~F, c
time = 15

[Command]
name = "DPHk"
command = ~F, ~D, ~F, ~c
time = 15

[Command]
name = "RDPLk"
command = B, D, B, a
time = 15

[Command]
name = "RDPLk"
command = ~B, ~D, ~B, a
time = 15

[Command]
name = "RDPLk"
command = ~B, ~D, ~B, ~a
time = 15

[Command]
name = "RDPMk"
command = B, D, B, b
time = 15

[Command]
name = "RDPMk"
command = ~B, ~D, ~B, b
time = 15

[Command]
name = "RDPMk"
command = ~B, ~D, ~B, ~b
time = 15

[Command]
name = "RDPHk"
command = B, D, B, c
time = 15

[Command]
name = "RDPHk"
command = ~B, ~D, ~B, c
time = 15

[Command]
name = "RDPHk"
command = ~B, ~D, ~B, ~c
time = 15


[Command]
name = "RDPL"
command = B, D, DB, x
time = 15

[Command]
name = "RDPL"
command = ~B, ~D, ~DB, x
time = 15

[Command]
name = "RDPL"
command = ~B, ~D, ~DB, ~x
time = 15

[Command]
name = "RDPM"
command = B, D, DB, y
time = 15

[Command]
name = "RDPM"
command = ~B, ~D, ~DB, y
time = 15

[Command]
name = "RDPM"
command = ~B, ~D, ~DB, ~y
time = 15

[Command]
name = "RDPH"
command = B, D, DB, z
time = 15

[Command]
name = "RDPH"
command = ~B, ~D, ~DB, z
time = 15

[Command]
name = "RDPH"
command = ~B, ~D, ~DB, ~z
time = 15


;-| Dir + Button |-----------------------------------------------------------
[Command]
name = "Fc"
command = F, c
time = 1

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

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

[Command]
name = "superjump"     ;Required (do not remove)
command = $D, U
time = 10

[Command]
name = "superjumpforward"     ;Required (do not remove)
command = $D, UF
time = 10

[Command]
name = "superjumpbackward"     ;Required (do not remove)
command = $D, UB
time = 10

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

[Command]
name = "recovery"
command = /x
time = 1

[Command]
name = "recovery"
command = /y
time = 1

[Command]
name = "recovery"
command = /z
time = 1

[Command]
name = "recovery"
command = /a
time = 1

[Command]
name = "recovery"
command = /b
time = 1

[Command]
name = "recovery"
command = /c
time = 1

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

;-| Dir + Button |---------------------------------------------------------

[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_y"
command = /$D,y
time = 1

[Command]
name = "f2p"
command = $F, x+y
;time = 1
[Command]
name = "f2p"
command = $F, x+z
;time = 1
[Command]
name = "f2p"
command = $F, y+z
;time = 1

[Command]
name = "f2k"
command = $F, a+b
;time = 1
[Command]
name = "f2k"
command = $F, a+c
;time = 1
[Command]
name = "f2k"
command = $F, 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

[Command]
name = "lp_lk"
command = x+a
time = 10

[Command]
name = "F"
command = F
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 = "holddown";Required (do not remove)
command = /$D
time = 1

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

[Command]
name = "fwd"
command = F
time = 1
[Command]
name = "back"
command = B
time = 1
[Command]
name = "up"
command = U
time = 1
[Command]
name = "down"
command = D
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

[Command]
name = "hold-c"
command = /c
time = 1
 
[Command]
name = "hold-z"
command = /z
time = 1





[Statedef -1]

;===========================================================================
; SUPERS
;===========================================================================
[State -1, GRAND FAN]
type = Null
triggerall = command = "hype" && var(58) >= 1
triggerall = statetype!=A && !WinKo
triggerall = power <= 3000
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 3300

[State -1]
type = ChangeState
triggerall = numexplod(818) = 0
;triggerall = Var(9) < 9997
triggerall = TeamMode != Simul
triggerall = enemyNear,TeamMode != Simul
triggerall = (Name != "Saibamen Z2")
triggerall = var(58)>=78 ;rage mode
triggerall = command = "hype" ;|| command = "y"
triggerall = statetype != A  && !WinKo
triggerall = stateno != 2800
trigger1 = Ctrl
trigger2 = stateno=900
trigger3 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger4 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger5 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger6 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger7 = stateno = 100 || stateno = 101
value = 3300

; Hype Mode
[State -1]
type = ChangeState
triggerall = numexplod(818) = 0
;triggerall = Var(9) < 9997
triggerall = TeamMode != Simul
triggerall = enemyNear,TeamMode != Simul
triggerall = (Name != "Saibamen Z2")
triggerall = (enemynear,Name != "Saibamen Z2")
triggerall = var(58)<=0 ;No rage mode
triggerall = command = "hype" ;|| command = "y"
triggerall = statetype != A  && !WinKo
triggerall = stateno != 2800
triggerall = power >= 2000
trigger1 = Ctrl
trigger2 = stateno=900
value = 2800


[State -1, MESSATSU]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 2000 && var(58)>= 1 || power >= 3000 && var(58)=0
triggerall = command = "sgs"
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221))
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257))
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420))
trigger5 = ((stateno = 430) || (stateno = 440))
trigger6 = stateno = 100 || stateno = 101
trigger7 = ((stateno = 1500) || (stateno = 1505) || (stateno = 1400)|| (stateno = 1405))
value = 3000

[State -1, MESSATSU]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 2000 && var(58)>= 1 || power >= 3000 && var(58)=0
triggerall = command = "2qcbx" && NumExplod(20)=0 || command = "2qcby" && NumExplod(20)=0 || command = "2qcbz" && NumExplod(20)=0
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221))
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257))
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420))
trigger5 = ((stateno = 430) || (stateno = 440))
trigger6 = stateno = 100 || stateno = 101
trigger7 = ((stateno = 1500) || (stateno = 1505) || (stateno = 1400)|| (stateno = 1405))
value = 3001

[State -1, RIP BOBA FETT]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 2000
triggerall = command = "2qcf2k"
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 3410

[State -1, THROW IT AT HIM NOT ME]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 1000
triggerall = command = "2qcfx" && NumExplod(20)=0 || command = "2qcfy" && NumExplod(20)=0 || command = "2qcfz" && NumExplod(20)=0
;triggerall = command = "2qcbx" && NumExplod(20)=1 || command = "2qcby" && NumExplod(20)=1 || command = "2qcbz" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
trigger7 = numhelper(13500) = 1 || numhelper(13501) = 1
trigger8 = stateno = 1300
value = 3500

[State -1, RIP BOBA FETT]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 1000
triggerall = command != "2qcf2k"
triggerall = command = "2qcfa" || command = "2qcfb" || command = "2qcfc"
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 3400

[State -1, Megaton Punch]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = power >= 1000
triggerall = command = "qcbf_P" && NumExplod(20)=0; || command = "qcfb_P" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 3200
;===========================================================================
; SPECIALS
;===========================================================================
[State -1, Praying]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "RDPL" || command = "RDPM" || command = "RDPH"
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = stateno = 100 || stateno = 101
value = 1200


[State -1, Mine Roll]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "RITH"
triggerall = statetype!=A && !WinKo
triggerall = numhelper(1750) = 0 || numhelper(1750) = 1 && helper(1750),stateno = 1751
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1720

[State -1, Mine Roll]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "RITM"
triggerall = statetype!=A && !WinKo
triggerall = numhelper(1750) = 0 || numhelper(1750) = 1 && helper(1750),stateno = 1751
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1710

[State -1, Mine Roll]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "RITL"
triggerall = statetype!=A && !WinKo
triggerall = numhelper(1750) = 0 || numhelper(1750) = 1 && helper(1750),stateno = 1751
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1700

[State -1, Item Toss]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "IT Light" || command = "IT Medium" || command = "IT Heavy"
triggerall = statetype!=A && !WinKo
triggerall = !numhelper(13500) && !numhelper(13501)
triggerall = ctrl = 0 && movetype != H
trigger1 = StateNo = [200,499]
trigger2 = stateno = 100 || stateno = 101
value = 1325

[State -1, Item Toss]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "IT Light"
triggerall = statetype!=A && !WinKo
triggerall = !numhelper(13500) && !numhelper(13501)
trigger1 = ctrl
trigger2 = MoveType !=H 
trigger2 = StateNo = [200,499]
value = 1300

[State -1, Item Toss]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "IT Medium"
triggerall = statetype!=A && !WinKo
triggerall = !numhelper(13500) && !numhelper(13501)
trigger1 = ctrl
trigger2 = MoveType !=H 
trigger2 = StateNo = [200,699]
value = 1301

[State -1, Item Toss]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "IT Heavy"
triggerall = statetype!=A && !WinKo
triggerall = !numhelper(13500) && !numhelper(13501)
trigger1 = ctrl
trigger2 = MoveType !=H 
trigger2 = StateNo = [200,699]
value = 1302


[State -1, Dynamite Kick]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Light" && NumExplod(20)=0 || command = "TRL" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242)|| (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1000

[State -1, Dynamite Kick]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Medium" && NumExplod(20)=0 || command = "TRM" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242)  || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1020

[State -1, Dynamite Kick]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Heavy" && NumExplod(20)=0 || command = "TRH" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1040

[State -1, Air Dynamite Kick]
type = Changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Light" && NumExplod(20)=0 || command = "TRL" && NumExplod(20)=1
triggerall = statetype=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 630) || (stateno= 640) || (stateno = 650))
trigger2 = Movecontact
trigger3 = stateno = 250 && movecontact || stateno = 255 && movecontact
trigger3 = Movecontact
value = 1060

[State -1, Air Dynamite Kick]
type = Changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Medium" && NumExplod(20)=0 || command = "TRM" && NumExplod(20)=1
triggerall = statetype=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 630) || (stateno= 640) || (stateno = 650))
trigger2 = Movecontact
trigger3 = stateno = 250 && movecontact || stateno = 255 && movecontact
trigger3 = Movecontact
value = 1070

[State -1, Air Dynamite Kick]
type = Changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "DK Heavy" && NumExplod(20)=0 || command = "TRH" && NumExplod(20)=1
triggerall = statetype=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 630) || (stateno= 640) || (stateno = 650))
trigger2 = Movecontact
trigger3 = stateno = 250 && movecontact || stateno = 255 && movecontact
trigger3 = Movecontact
value = 1080




[State -1, Tactical Retreat Light]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "TRL" && NumExplod(20)=0 || command = "DPLk" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1100

[State -1, Tactical Retreat Medium]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "TRM" && NumExplod(20)=0 || command = "DPMk" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1101

[State -1, Tactical Retreat Hard]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0 && var(52)<=0
triggerall = command = "TRH" && NumExplod(20)=0 || command = "DPHk" && NumExplod(20)=1
triggerall = statetype!=A && !WinKo
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 210) || (stateno = 220) || (stateno = 221)) && movecontact
trigger3 = ((stateno = 230) || (stateno = 240) || (stateno = 241) || (stateno = 242) || (stateno = 250) || (stateno = 256) || (stateno = 257)) && movecontact
trigger4 = ((stateno = 400) || (stateno = 410) || (stateno = 420)) && movecontact
trigger5 = ((stateno = 430) || (stateno = 440)) && movecontact
trigger6 = stateno = 100 || stateno = 101
value = 1103

;Zero Counter
[State -1, zero counter]
type = changestate
triggerall = numexplod(818) = 0
trigger1 = var(59)<=0
trigger1 = stateno=150 || stateno=152
trigger1 = command="f2k" || command="f2p"
trigger1 = roundstate=2 && power>=1000 && statetype!=A
value = 750

;Air Zero Counter
[State -1, air zero counter]
type = changestate
triggerall = numexplod(818) = 0
trigger1 = var(59)<=0
trigger1 = stateno=154
trigger1 = command="f2k" || command="f2p"
trigger1 = roundstate=2 && power>=1000 && statetype=A
value = 760

;===========================================================================
; NORMALS
;===========================================================================

; Slashing Chop (aka Focus Attack)
[State -1, Slashing Chop]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = stateno !=[1600,1602]
triggerall = stateno != 106
;triggerall = command = "hold_z" && command = "hold_c"
triggerall = command = "z" && command = "c"
trigger1 = statetype != A
trigger1 = ctrl || stateno = 100 || stateno = 101
value = 1600

; Satanic Dash
[State -1, Satanic Dash]
type = changestate
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
;triggerall = roundstate = 2
triggerall = statetype!=A
trigger1 = (stateno = 100) || (stateno = 101)
trigger1 = command="z" && command!="holddown" && command!="holdback"
value = 300

; Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
;triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && movecontact
trigger2 = (stateno = 200) || (stateno = 230)
trigger3 = stateno = 100 || stateno = 101
trigger4 = StateType != A && movecontact
trigger4 = (stateno = 400) || (StateNo = 405)|| (stateno = 430)
trigger5 = (stateno = 1500) || (stateno = 1505)
trigger5 = movecontact
trigger6 = (stateno = 1400) || (stateno = 1405)
trigger6 = movecontact
value = 210

[State -1, Real Beat Punches]
type=changestate
value= 1500
triggerall = numexplod(818) = 0
triggerall= (command="x") && var(47)>=2
triggerall= roundstate=2 && statetype!=A && statetype!=C
trigger1= ctrl || stateno=40 || stateno=52 || (stateno=[100,101])
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 230
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
trigger5 = stateno = 410
trigger5 = movecontact
trigger6 = (StateType = S) && (MoveContact) && (Var(56) > 0)
trigger7 = stateno = 200 && animelem = 4
trigger8 = stateno = 1405

;Power Charge
[State -1]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
triggerall = roundstate = 2
triggerall = StateType != A
triggerall = Power < 3000
triggerall = stateno != 900
triggerall = Ctrl
;trigger1 = command = "b" && command = "y"
trigger1 = command = "hold_b" && command = "hold_y"
value = 900

; Punch Throw (Tomoe Nage)
[State -1, throw1]
type = changestate
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
trigger1 = command="xa" && command="holdback"
trigger1 = roundstate=2 && ctrl && statetype=S && stateno!=100
value = 820

; Punch Throw (Tomoe Nage)
[State -1, throw1]
type = changestate
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
trigger1 = command="xa" && command="holdfwd" || command ="xa"
trigger1 = roundstate=2 && ctrl && statetype=S && stateno!=100
value = 800



; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
triggerall = var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100 || stateno = 101
trigger3 = stateno=300 && MoveContact
trigger4 = stateno=200 && MoveContact
value = 200

; Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
;triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && movecontact
trigger2 = (stateno = 200)
trigger3 = stateno = 100 || stateno = 101
trigger4 = stateno=300 && MoveContact
value = 230

[State -1, Real Beat]
type=changestate
value= 1400
triggerall = numexplod(818) = 0
triggerall= (command="a" || command="b") && var(45)>=2
triggerall= roundstate=2 && statetype!=A && statetype!=C
trigger1= ctrl || stateno=40 || stateno=52 || (stateno=[100,101])
trigger2 = stateno = [200,210]
trigger2 = movecontact
trigger3 = stateno = [230,241]
trigger3 = movecontact
trigger4 = stateno = [400,410]
trigger4 = movecontact
trigger5 = stateno = [430,440]
trigger5 = movecontact
trigger6 = (StateType = S) && (MoveContact) && (Var(56) > 0)
trigger6 = stateno = 240 && animelem = 6
trigger6 = stateno = 241
trigger7 = stateno = 1505


; Stand Medium Kick
[State -1, Stand Medium Kick]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall = var(59)<=0
;triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && movecontact
trigger2 = (stateno = 200) ||(stateno = 230)
trigger3 = stateno = 100 || stateno = 101
trigger4 = StateType != A && movecontact
trigger4 = (stateno = 400) || (StateNo = 405)|| (stateno = 430)
trigger5 = stateno=300 && MoveContact
trigger6 = (stateno = 1500) || (stateno = 1505)
trigger6 = movecontact
value = 240

; Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
;triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (StateNo = 410)
trigger3 = StateType != A && MoveContact
trigger3 = (StateNo = 430) || (StateNo = 440)
trigger4 = StateType != A && MoveContact
trigger4 = (stateno = 200) || (stateno = 210) || (stateno = 230) || (stateno = 240)
trigger5 = stateno= 300 && MoveContact && animelemtime(4) >= 0
trigger6 = StateType != A && MoveContact
trigger6 = (StateNo = 1400) || (StateNo = 1405) || (StateNo = 1410)
trigger7 = stateno = 100 || stateno = 101
value = 250

; Standing Strong Punch
[State -1, Standing Strong Punch]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
;triggerall = roundstate = 2
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (StateNo = 410)
trigger3 = StateType != A && MoveContact
trigger3 = (StateNo = 430) || (StateNo = 440)
trigger4 = StateType != A && MoveContact
trigger4 = (stateno = 200) || (stateno = 210) || (stateno = 230) || (stateno = 240)
trigger5 = stateno= 300 && MoveContact && animelemtime(4) >= 0
trigger6 = StateType != A && MoveContact
trigger6 = (StateNo = 1400) || (StateNo = 1405) || (StateNo = 1410)
value = 220

; Crouching Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
triggerall = P2BodyDist X >= 30
;triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100 || stateno = 101
value = 400

[State -1, Crouching Light Punch Close]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
triggerall = P2BodyDist X <= 30
;triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (stateno = 200) || (stateno = 230)
trigger3 = stateno = 100 || stateno = 101
value = 405

; Crouching Medium Punch
[State -1, Crouching Medium Punch]
type = ChangeState
triggerall = var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (stateno = 200) || (stateno = 230) || (stateno = 430)
trigger3 = stateno = 100 || stateno = 101
trigger4 = stateno=300 && MoveContact
value = 410

; Crouching Strong Punch
[State -1, Crouching Strong Punch]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (StateNo = 410)
trigger3 = StateType != A && MoveContact
trigger3 = (StateNo = 430) || (StateNo = 440)
trigger4 = StateType != A && MoveContact
trigger4 = (stateno = 200) || (stateno = 210) || (stateno = 230) || (stateno = 240)
trigger5 = stateno = 100 || stateno = 101
value = 420

;Crouching Light Kick
[State -1, Crouching Light Kick]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100 || stateno = 101
value = 430

; Crouching Medium Kick
[State -1, Crouching Medium Kick]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (StateNo = 410) || (stateno = 200) || (stateno = 210) || (stateno = 230) || (stateno = 430)
trigger3 = stateno = 100 || stateno = 101
value = 440

; Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
triggerall= var(59)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateType != A && MoveContact
trigger2 = (StateNo = 400) || (StateNo = 405) || (StateNo = 410)
trigger3 = StateType != A && MoveContact
trigger3 = (stateno = 200) || (stateno = 210) || (stateno = 230)
trigger4 = StateType != A && MoveContact
trigger4 = (stateno = 430) || (stateno = 440)
trigger5 = stateno = 100 || stateno = 101
value = 450

[State -1, Jump Light Kick]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000200)||command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
value = 600

[State -1, Jump Medium Punch]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000210)||command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
trigger3 = stateno = 630 && movecontact || stateno = 600 && movecontact
value = 610

[State -1, Jump Strong Punch]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000220)||command = "z"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
trigger3 = StateType = A & MoveContact
trigger3 = (Stateno = 600) || (Stateno = 610) || (StateNo = 630) || (StateNo = 640)
value = 620

[State -1, Jump Light Kick]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000230)||command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
value = 630

[State -1, Jump Medium Kick]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000240)||command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
trigger3 = stateno = 630 && movecontact || stateno = 600 && movecontact
value = 640

[State -1, Jump Strong Kick]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000250)||command = "c"
triggerall = command != "holddown"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
trigger3 = StateType = A & MoveContact
trigger3 = (Stateno = 600) || (Stateno = 610) || (StateNo = 630) || (StateNo = 640)
value = 650

[State -1, Dair]
type = ChangeState
triggerall = var(59)<=0 && var(52)<=0
triggerall = numexplod(818) = 0
;triggerall = roundstate = 2
triggerall = NumExplod(90000250)||command = "c"
triggerall = command = "holddown"
trigger1 = ctrl
trigger2 = stateno = 1110 || stateno = 1095
trigger3 = ((stateno = 630) || (stateno= 640) || (stateno = 650))
trigger3 = movecontact
value = ifelse((stateno = [1000,1110]),1091,655)

;===========================================================================
; SYSTEM
;===========================================================================

chickenblock
[State -1, ChangeState]
type = ChangeState
triggerall = AILevel = 0
triggerall = InGuardDist
triggerall = StateType = A
trigger1 = command = "holdback" && command = "holdup"
trigger1 = ctrl
trigger2 = StateNo = 5210 && Time = 14
trigger2 = (command = "holdback" && command = "holdup") || (command = "holdback" && command = "holddown") || (command = "holdback" )
value = 120

; Taunt
[State -1, Taunt]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
triggerall = roundstate = 2
triggerall = command = "s" && stateno!=195
trigger1 = statetype != A
trigger1 = ctrl
value = 195

;Air Dash Forward
[State -1, Fwd]
type = ChangeState
value = 110
triggerall = numexplod(818) = 0
triggerall = var(59) <= 0
;triggerall = roundstate = 2
triggerall = var(25) = 0 ;limiter
triggerall = pos Y < -20
triggerall = stateno != 105
trigger1 = (command = "FF") && (statetype = A) && (ctrl)

; Run Fwd
[State -1, Run Fwd]
type = ChangeState
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
triggerall = roundstate = 2
triggerall = stateno != 1400 || stateno != 1405 || stateno != 1410
triggerall = stateno != 1500 || stateno != 1505 || stateno != 1510
trigger1 = command = "FF"
trigger1 = statetype = S && ctrl
trigger1 = roundstate=2 && (stateno!=[100,106])
value = 100

; Run Back
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
triggerall = roundstate = 2
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Super Jump Straight Up]
type = ChangeState
value = 10231
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
;triggerall = roundstate = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = command = "superjump"
trigger2 = stateno = 650 && movehit && prevstateno = 250
trigger2 = command = "holdup"
trigger2 = pos y >= -20

[State -1, Super Jump Forward]
type = ChangeState
value = 10232
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
;triggerall = roundstate = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = command = "superjumpforward"
trigger2 = stateno = 650 && movehit && prevstateno = 250
trigger2 = command = "holdup" && command = "holdfwd"
trigger2 = pos y >= -20

[State -1, Super Jump Backward]
type = ChangeState
value = 10233
triggerall = numexplod(818) = 0
triggerall= var(59)<=0
;triggerall = roundstate = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = command = "superjumpbackward"
trigger2 = stateno = 650 && movehit && prevstateno = 250
trigger2 = command = "holdup" && command = "holdback"
trigger2 = pos y >= -20