
;-| Button Remapping |-----------------------------------------------------
; This section lets you remap the player's buttons (to easily change the
; button configuration). The format is:
;   old_button = new_button
; If new_button is left blank, the button cannot be pressed.
[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 = 1


;-| Super Motions |--------------------------------------------------------
;The following two have the same name, but different motion.
;Either one will be detected by a "command = TripleKFPalm" trigger.
;Time is set to 20 (instead of default of 15) to make the move
;easier to do.
;

[Command]
name = "SA"
command = ~D, DF, F, D, DF, x
time = 25

[Command]
name = "SA"
command = ~D, DF, F, D, DF, y
time = 25

[Command]
name = "SA"
command = ~D, DF, F, D, DF, z
time = 25

[Command]
name = "SA"
command = ~D, DF, F, D, DF, ~x
time = 25

[Command]
name = "SA"
command = ~D, DF, F, D, DF, ~y
time = 25

[Command]
name = "SA"
command = ~D, DF, F, D, DF, ~z
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, a
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, b
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, c
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, ~a
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, ~b
time = 25

[Command]
name = "SA2"
command = ~D, DF, F, D, DF, ~c
time = 25

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

[Command]
name = "婥岟対EX"
command = ~B, D, F, x+y
time = 15

[Command]
name = "婥岟対EX"
command = ~B, D, F, x+z
time = 15

[Command]
name = "婥岟対EX"
command = ~B, D, F, y+z
time = 15

[Command]
name = "婥岟対EX"
command = ~B, D, F, ~x+y
time = 15

[Command]
name = "婥岟対EX"
command = ~B, D, F, ~x+z
time = 15

[Command]
name = "婥岟対EX"
command = ~B, D, F, ~y+z
time = 15

[Command]
name = "昐楐媟EX"
command = a+b;, a+b, a+b, a+b, a+b
time = 1;80

[Command]
name = "昐楐媟EX"
command = a+c;, a+c, a+c, a+c, a+c
time = 1;80

[Command]
name = "昐楐媟EX"
command = b+c;, b+c, b+c, b+c, b+c
time = 1;80

;[Command]
;name = "昐楐媟EX"
;command = a+b, a+b, a+b, a+b, a+b
;time = 80

;[Command]
;name = "昐楐媟EX"
;command = a+c, a+c, a+c, a+c, a+c
;time = 80

;[Command]
;name = "昐楐媟EX"
;command = b+c, b+c, b+c, b+c, b+c
;time = 80

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, a+b

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, a+c

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, b+c

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, ~a+b

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, ~a+c

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋EX"
command = ~42$D, $U, ~b+c

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, a+b
time = 15

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, a+c
time = 15

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, b+c
time = 15

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, ~a+b
time = 15

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, ~a+c
time = 15

[Command]
name = "攅嶳廟EX"
command = ~F, D, B, ~b+c
time = 15

[Command]
name = "婥岟対庛"
command = ~B, D, F, ~x
time = 15

[Command]
name = "婥岟対拞"
command = ~B, D, F, ~y
time = 15

[Command]
name = "婥岟対嫮"
command = ~B, D, F, ~z
time = 15

[Command]
name = "婥岟対庛"
command = ~B, D, F, x
time = 15

[Command]
name = "婥岟対拞"
command = ~B, D, F, y
time = 15

[Command]
name = "婥岟対嫮"
command = ~B, D, F, z
time = 15

[Command]
name = "昐楐媟庛"
command = a;, a, a, a, a
time = 1;80

[Command]
name = "昐楐媟拞"
command = b;, b, b, b, b
time = 1;80

[Command]
name = "昐楐媟嫮"
command = c;, c, c, c, c
time = 1;80

;[Command]
;name = "昐楐媟庛"
;command = a, a, a, a, a
;time = 80

;[Command]
;name = "昐楐媟拞"
;command = b, b, b, b, b
;time = 80

;[Command]
;name = "昐楐媟嫮"
;command = c, c, c, c, c
;time = 80

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋庛"
command = ~42$D, $U, a

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋拞"
command = ~42$D, $U, b

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋嫮"
command = ~42$D, $U, c

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋庛"
command = ~42$D, $U, ~a

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋拞"
command = ~42$D, $U, ~b

[Command]
name = "僗僺僯儞僌僶乕僪僉僢僋嫮"
command = ~42$D, $U, ~c

[Command]
name = "攅嶳廟庛"
command = ~F, D, B, a
time = 15

[Command]
name = "攅嶳廟拞"
command = ~F, D, B, b
time = 15

[Command]
name = "攅嶳廟嫮"
command = ~F, D, B, c
time = 15

[Command]
name = "攅嶳廟庛"
command = ~F, D, B, ~a
time = 15

[Command]
name = "攅嶳廟拞"
command = ~F, D, B, ~b
time = 15

[Command]
name = "攅嶳廟嫮"
command = ~F, D, B, ~c
time = 15

;-| 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 = "highjump"
command = D, $U
time = 8

;-| 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 = "僗儖乕"
command = x+a

[Command]
name = "儕乕僾傾僞僢僋"
command = y+b

[Command]
name = "PA"
command = z+c

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

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_z"
command = /F,z
time = 1

[Command]
name = "back_z"
command = /B,z
time = 1

[Command]
name = "back_y"
command = /B,y
time = 1

[Command]
name = "3_c"
command = /DF,c
time = 1

[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| Single Button |---------------------------------------------------------

[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

[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

[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_b"
command = /b
time = 1

[Command]
name = "hold_s"
command = /s
time = 1

[Statedef -1]

;===========================================================================
;---------------------------------------------------------------------------


;---------------------------------------------------------------------------
[State 1500];昐楐僐儅儞僪擣幆僿儖僷乕EX
type = helper
trigger1 = !ishelper
trigger1 = command = "昐楐媟EX"
trigger1 = numhelper(1085) = 0
stateno = 1085
ID = 1085
postype = p1
sprpriority = 5
ownpal = 1
ignorehitpause = 1
keyctrl = 1

[State 1500];昐楐僐儅儞僪擣幆僿儖僷乕
type = helper
trigger1 = !ishelper
trigger1 = command = "昐楐媟庛" || command = "昐楐媟拞" || command = "昐楐媟嫮"
trigger1 = numhelper(1080) = 0
stateno = 1080
ID = 1080
postype = p1
sprpriority = 5
ownpal = 1
ignorehitpause = 1
keyctrl = 1


[State -1]
type = varset
var(38) = 3000
triggerall = !ishelper
triggerall = command = "SA"
triggerall = var(58) = 2
triggerall = power >= 880
triggerall = statetype != A
triggerall = var(38) = 0
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 3100
triggerall = !ishelper
triggerall = command = "SA2"
triggerall = var(58) = 3
triggerall = power >= 1040
triggerall = statetype != A
triggerall = var(38) = 0
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 3200
triggerall = !ishelper
triggerall = command = "SA2"
triggerall = var(58) = 4
triggerall = power >= 720
triggerall = statetype != A
triggerall = var(38) = 0
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1150
triggerall = !ishelper
triggerall = command = "婥岟対EX"
triggerall = power >= 400
triggerall = var(38) = 0
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1120
triggerall = !ishelper
triggerall = command = "婥岟対嫮"
triggerall = var(38) = 0
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1110
triggerall = !ishelper
triggerall = command = "婥岟対拞"
triggerall = var(38) = 0
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1100
triggerall = !ishelper
triggerall = command = "婥岟対庛"
triggerall = var(38) = 0
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1250
triggerall = !ishelper
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋EX"
triggerall = var(38) = 0
triggerall = power >= 400
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1220
triggerall = !ishelper
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋嫮"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1210
triggerall = !ishelper
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋拞"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1200
triggerall = !ishelper
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋庛"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1350
triggerall = !ishelper
triggerall = command = "攅嶳廟EX"
triggerall = power >= 400
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1320
triggerall = !ishelper
triggerall = command = "攅嶳廟嫮"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1310
triggerall = !ishelper
triggerall = command = "攅嶳廟拞"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1300
triggerall = !ishelper
triggerall = command = "攅嶳廟庛"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1050
triggerall = !ishelper
triggerall = numhelper(1085)
triggerall = helper(1085),var(0) >= 4
triggerall = command = "昐楐媟EX"
triggerall = power >= 400
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1020
triggerall = !ishelper
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟嫮"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1010
triggerall = !ishelper
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟拞"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 1000
triggerall = !ishelper
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟庛"
triggerall = var(38) = 0
trigger1 = statetype != A
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 800
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = var(38) = 0
triggerall = statetype = S || statetype = C
triggerall = command != "holdup"
triggerall = command != "holddown"
triggerall = command != "holdback" || (p2dist x < 0 && command = "holdback")
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 805
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = var(38) = 0
triggerall = statetype = S || statetype = C
triggerall = command = "holdback"
triggerall = command != "holdup"
triggerall = command != "holddown"
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 700
triggerall = !ishelper
triggerall = command = "儕乕僾傾僞僢僋"
triggerall = var(38) = 0
triggerall = statetype = S || statetype = C
triggerall = command != "holdback"
triggerall = command != "holdfwd"
triggerall = command != "holdup"
triggerall = command != "holddown"
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 195
triggerall = !ishelper
triggerall = command = "PA"
triggerall = var(38) = 0
triggerall = statetype = S || statetype = C
triggerall = command != "holdback"
triggerall = command != "holdfwd"
triggerall = command != "holdup"
triggerall = command != "holddown"
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3



;---------------------------------------------------------------------------
[State -1]
type = varset
var(38) = 265
triggerall = !ishelper
triggerall = command = "back_z"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3


[State -1]
type = varset
var(38) = 260
triggerall = !ishelper
triggerall = command = "back_y"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

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

[State -1]
type = varset
var(38) = 275
triggerall = !ishelper
triggerall = command = "3_c"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 257
triggerall = !ishelper
triggerall = command = "fwd_c"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 270
triggerall = !ishelper
triggerall = command = "fwd_b"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1]
type = varset
var(38) = 220
triggerall = !ishelper
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1]
type = varset
var(38) = 210
triggerall = !ishelper
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1]
type = varset
var(38) = 200
triggerall = !ishelper
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11)*0.5,var(11)*0.5]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*1),-var(11)*0.5]))
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 205
triggerall = !ishelper
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = p2bodydist x > var(11)*0.5 || p2bodydist x < -var(11)*0.5
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1]
type = varset
var(38) = 250
triggerall = !ishelper
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = var(38) = 0
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11),var(11)]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*2),-var(11)]))
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1]
type = varset
var(38) = 255
triggerall = !ishelper
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = var(38) = 0
triggerall = p2bodydist x > var(11) || p2bodydist x < -var(11)
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Standing Medium Kick]
type = varset
var(38) = 240
triggerall = !ishelper
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = var(38) = 0
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11),var(11)]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*2),-var(11)]))
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

[State -1, Standing Medium Kick]
type = varset
var(38) = 245
triggerall = !ishelper
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = var(38) = 0
triggerall = p2bodydist x > var(11) || p2bodydist x < -var(11)
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Stand Light Kick]
type = varset
var(38) = 230
triggerall = !ishelper
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Strong Punch]
type = varset
var(38) = 420
triggerall = !ishelper
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Medium Punch]
type = varset
var(38) = 410
triggerall = !ishelper
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Light Punch]
type = varset
var(38) = 400
triggerall = !ishelper
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Strong Kick]
type = varset
var(38) = 450
triggerall = !ishelper
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Medium Kick]
type = varset
var(38) = 440
triggerall = !ishelper
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

;---------------------------------------------------------------------------
[State -1, Crouching Light Kick]
type = varset
var(38) = 430
triggerall = !ishelper
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = var(38) = 0
trigger1 = statetype = S || statetype = C
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) < 3

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




[State 131, 1]
type = varset
triggerall = !ishelper
triggerall = !var(39)
trigger1 = var(37) >= 3000

var(39) = 20

[State 131, 1]
type = varset
triggerall = !ishelper
triggerall = !var(39)
trigger1 = var(37) < 3000

var(39) = 15

[State 131, 1]
type = varadd
triggerall = !ishelper
trigger1 = var(39) > 0
trigger1 = 1
var(39) = -1
persistent = 1

[State -1]
type = ChangeState
value = var(38)
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = var(38)=[195,3999]
trigger1 = stateno = [90,93]
trigger1 = AnimElemTime(4) = 3

[State -1]
type = varset
var(38) = 0
triggerall = !ishelper
trigger1 = var(38)=[195,3999]
trigger1 = stateno=[195,3999]
trigger2 = movetype = H
;trigger3 = var(39) = 0







[State -1]
type = ChangeState
value = 3000
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "SA"
triggerall = var(58) = 2
triggerall = power >= 880
triggerall = statetype != A
trigger1 = ctrl || (StateNo = 5120&&AnimTime = 0) || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || (stateno = [40,41])
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

trigger6 = animelemtime(9) >= 1 && animelemtime(13) < 0 && movetype = A
trigger6 = stateno = [1100,1150]

[State -1]
type = ChangeState
value = 3100
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "SA2"
triggerall = var(58) = 3
triggerall = power >= 1040
triggerall = statetype != A
trigger1 = ctrl || (StateNo = 5120&&AnimTime = 0) || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || (stateno = [40,41])
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

trigger6 = animelemtime(9) >= 1 && animelemtime(13) < 0 && movetype = A
trigger6 = stateno = [1100,1150]

[State -1]
type = ChangeState
value = 3200
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "SA2"
triggerall = var(58) = 4
triggerall = power >= 720
triggerall = statetype != A
trigger1 = ctrl || (StateNo = 5120&&AnimTime = 0) || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || (stateno = [40,41])
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

trigger6 = animelemtime(9) >= 1 && animelemtime(13) < 0 && movetype = A
trigger6 = stateno = [1100,1150]

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1150
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "婥岟対EX"
triggerall = power >= 400
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1120
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "婥岟対嫮"
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1110
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "婥岟対拞"
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1100
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "婥岟対庛"
triggerall = var(44) = 0
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1250
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋EX"
triggerall = power >= 400
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1220
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋嫮"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1210
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋拞"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1200
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "僗僺僯儞僌僶乕僪僉僢僋庛"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1350
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "攅嶳廟EX"
triggerall = power >= 400
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1320
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "攅嶳廟嫮"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1310
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "攅嶳廟拞"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1300
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = command = "攅嶳廟庛"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1050
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = numhelper(1085)
triggerall = helper(1085),var(0) >= 4
triggerall = command = "昐楐媟EX"
triggerall = power >= 400
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1020
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟嫮"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1010
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟拞"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

[State -1]
type = ChangeState
value = 1000
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = numhelper(1080)
triggerall = helper(1080),var(0) >= 4
triggerall = command = "昐楐媟庛"
trigger1 = statetype != A
trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = stateno = 12 || stateno = 40
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger4 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger5 = (movecontact||movereversed) && var(19)
trigger5 = stateno = [200,440]
trigger5 = stateno != 220 && stateno != 410
trigger5 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger5 = (stateno != [250,275])||(stateno = [260,265])

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

;===========================================================================
;---------------------------------------------------------------------------
;Run Fwd
;僟僢僔儏
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = !ishelper
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = !ishelper
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 850
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = statetype = A
triggerall = command != "holdback"
trigger1 = ctrl || (((stateno = [600,670])&&time <= 3)&&(prevstateno != [600,670])&&(!movecontact&&!movereversed))
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 855
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = statetype = A
triggerall = command = "holdback"
trigger1 = ctrl || (((stateno = [600,670])&&time <= 3)&&(prevstateno != [600,670])&&(!movecontact&&!movereversed))
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 800
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = statetype = S || statetype = C
triggerall = stateno != 100
triggerall = command != "holdup"
triggerall = command != "holddown"
triggerall = command != "holdback" || (p2dist x < 0 && command = "holdback")

trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1]
type = ChangeState
value = 805
triggerall = !ishelper
triggerall = command = "僗儖乕"
triggerall = statetype = S || statetype = C
triggerall = stateno != 100
triggerall = command = "holdback"
triggerall = command != "holdup"
triggerall = command != "holddown"

trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
;儕乕僾傾僞僢僋
[State -1, Leap Attack]
type = ChangeState
value = 700
triggerall = !ishelper
triggerall = command = "儕乕僾傾僞僢僋"
triggerall = statetype = S || statetype = C
triggerall = stateno != 100
triggerall = command != "holdback"
triggerall = command != "holdfwd"
triggerall = command != "holdup"
triggerall = command != "holddown"

trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

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

[State -1, PA]
type = ChangeState
value = ifelse(numhelper(197),196,195)
triggerall = !ishelper
triggerall = command = "PA"
triggerall = statetype = S || statetype = C
triggerall = stateno != 100
triggerall = command != "holdback"
triggerall = command != "holdfwd"
triggerall = command != "holdup"
triggerall = command != "holddown"

trigger1 = ctrl || (((stateno = [200,270])&&time <= 3)&&(prevstateno != [200,270])&&(!movecontact&&!movereversed))
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

trigger4 = (movecontact||movereversed) && movetype = A
trigger4 = stateno = [200,440]
trigger4 = stateno != 220 && stateno != 410
trigger4 = stateno != 230 && (stateno != [240,242]) && stateno != 245
trigger4 = (stateno != [250,275])||(stateno = [260,265])

;===========================================================================
;---------------------------------------------------------------------------
[State 200, 3];楢懪僉儍儞僙儖梡
type = varset
triggerall = !ishelper
trigger1 = stateno != [200,599]
trigger2 = time < 2
trigger2 = stateno = [200,599]
trigger3 = ctrl = 1
trigger3 = stateno = [200,599]
ignorehitpause = 1
var(10) = 0

[State 240, 3];嬤嫍棧擣幆斖埻
type = varset
triggerall = !ishelper
trigger1 = 1
var(11) = ceil(36*const(Size.xscale))

;===========================================================================
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
[State -1, Forward Strong Punch]
type = ChangeState
value = 265
triggerall = !ishelper
triggerall = command = "back_z"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Forward Strong Punch]
type = ChangeState
value = 260
triggerall = !ishelper
triggerall = command = "back_y"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Forward Strong Kick]
type = ChangeState
value = 275
triggerall = !ishelper
triggerall = command = "3_c"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Forward Strong Kick]
type = ChangeState
value = 257
triggerall = !ishelper
triggerall = command = "fwd_c"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Forward Strong Kick]
type = ChangeState
value = 270
triggerall = !ishelper
triggerall = command = "fwd_b"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = !ishelper
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = !ishelper
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = !ishelper
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11)*0.5,var(11)*0.5]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*1),-var(11)*0.5]))
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = !ishelper
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = p2bodydist x > var(11)*0.5 || p2bodydist x < -var(11)*0.5
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0
trigger4 = (movecontact||movereversed)
trigger4 = stateno = 205

;trigger5 = animelemtime(4) >= 0
;trigger5 = stateno = 205 || anim = 400
;trigger6 = anim = 401
;trigger6 = animelemtime(5) >= 0

;---------------------------------------------------------------------------
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = !ishelper
triggerall = command = "c"
triggerall = command != "holddown"
;triggerall = p2bodydist x = [-30,30]
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11),var(11)]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*2),-var(11)]))
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Standing Strong Kick]
type = ChangeState
value = 255
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = p2bodydist x > var(11) || p2bodydist x < -var(11)
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger3 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Standing Medium Kick]
type = ChangeState
value = 240
triggerall = !ishelper
triggerall = command = "b"
triggerall = command != "holddown"
;triggerall = p2bodydist x = [-30,30]
triggerall = (p2dist x>=0&&(p2bodydist x=[-var(11),var(11)]))||(p2dist x<0&&(p2bodydist x=[-(var(11)*2),-var(11)]))
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

[State -1, Standing Medium Kick]
type = ChangeState
value = 245
triggerall = !ishelper
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = p2bodydist x > var(11) || p2bodydist x < -var(11)
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = !ishelper
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0
trigger4 = (movecontact||movereversed)
trigger4 = stateno = 205
trigger5 = (movecontact||movereversed)
trigger5 = stateno = 400 || stateno = 430
;trigger6 = stateno = 205 || stateno = 400
;trigger6 = animelemtime(4) >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = !ishelper
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = !ishelper
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = !ishelper
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0
trigger4 = (movecontact||movereversed)
trigger4 = stateno = 205
trigger5 = (movecontact||movereversed)
trigger5 = stateno = 400 || stateno = 430
;trigger6 = stateno = 205 || anim = 400
;trigger6 = animelemtime(4) >= 0
;trigger7 = anim = 401
;trigger7 = animelemtime(5) >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = !ishelper
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = !ishelper
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0

;---------------------------------------------------------------------------
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = !ishelper
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 52 && prevstateno = [600,699]) && time >= 0;time >= 3
trigger3 = (stateno = 52 && prevstateno != [600,699]) && time >= 0
trigger4 = (movecontact||movereversed)
trigger4 = stateno = 400 || stateno = 205
trigger5 = (movecontact||movereversed)
trigger5 = stateno = 430
trigger6 = (anim = 430 && animelemtime(6) >= 0)||(anim = 431 && animelemtime(7) >= 0)
trigger6 = stateno = 430
trigger6 = !(movecontact||movereversed)


;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 60
triggerall = !ishelper
triggerall = var(59) != 1
triggerall = command = "holdfwd"
triggerall = vel x < 0  && vel y < 0
trigger1 = BackEdgeBodyDist <= 1
trigger1 = statetype = A
trigger1 = ctrl || (stateno = [600,660])&&movetype!=H
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 65
triggerall = !ishelper
triggerall = var(59) != 1
triggerall = command = "holdback"
triggerall = vel x > 0 && vel y < 0
trigger1 = FrontEdgeBodyDist <= 1
trigger1 = statetype = A
trigger1 = ctrl || (stateno = [600,660])&&movetype!=H
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 41
triggerall = !ishelper
triggerall = !ishelper
triggerall = command = "highjump"
triggerall = statetype != A
trigger1 = stateno = 250 && (movecontact||movereversed) && var(19)
trigger2 = stateno = 3100 && movehit && movetype = A; && !var(6)
trigger2 = numtarget(3110) && anim = 3100
trigger2 = p2movetype = H || numtarget
;---------------------------------------------------------------------------

[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = !ishelper
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = vel x > 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 625
triggerall = !ishelper
triggerall = command = "z"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 620
triggerall = !ishelper
triggerall = command = "z"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 615
triggerall = !ishelper
triggerall = command = "y"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 610
triggerall = !ishelper
triggerall = command = "y"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 605
triggerall = !ishelper
triggerall = command = "x"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 600
triggerall = !ishelper
triggerall = command = "x"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 655
triggerall = !ishelper
triggerall = command = "c"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 650
triggerall = !ishelper
triggerall = command = "c"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 660
triggerall = !ishelper
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 645
triggerall = !ishelper
triggerall = command = "b"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 640
triggerall = !ishelper
triggerall = command = "b"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 635
triggerall = !ishelper
triggerall = command = "a"
triggerall = vel x != 0 || stateno = 661
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210

[State -1]
type = ChangeState
value = 630
triggerall = !ishelper
triggerall = command = "a"
triggerall = vel x = 0
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = Anim != 5040 && Anim != 5210
