; The CMD file.
;
; Two parts: 1. Command definition and  2. State entry
; (state entry is after the commands def section)
;
; 1. Command definition
; ---------------------
; Note: The commands are CASE-SENSITIVE, and so are the command names.
; The eight directions are:
;   B, DB, D, DF, F, UF, U, UB     (all CAPS)
;   corresponding to back, down-back, down, downforward, etc.
; The six buttons are:
;   a, b, c, x, y, z               (all lower case)
;   In default key config, abc are are the bottom, and xyz are on the
;   top row. For 2 button characters, we recommend you use a and b.
;   For 6 button characters, use abc for kicks and xyz for punches.
;
; Each [Command] section defines a command that you can use for
; state entry, as well as in the CNS file.
; The command section should look like:
;
;   [Command]
;   name = some_name
;   command = the_command
;   time = time (optional -- defaults to 15 if omitted)
;
; - some_name
;   A name to give that command. You'll use this name to refer to
;   that command in the state entry, as well as the CNS. It is case-
;   sensitive (QCB_a is NOT the same as Qcb_a or QCB_A).
;
; - command
;   list of buttons or directions, separated by commas.
;   Directions and buttons can be preceded by special characters:
;   slash (/) - means the key must be held down
;          egs. command = /D       ;hold the down direction
;               command = /DB, a   ;hold down-back while you press a
;   tilde (~) - to detect key releases
;          egs. command = ~a       ;release the a button
;               command = ~D, F, a ;release down, press fwd, then a
;          If you want to detect "charge moves", you can specify
;          the time the key must be held down for (in game-ticks)
;          egs. command = ~30a     ;hold a for at least 30 ticks, then release
;   dollar ($) - Direction-only: detect as 4-way
;          egs. command = $D       ;will detect if D, DB or DF is held
;               command = $B       ;will detect if B, DB or UB is held
;   plus (+) - Buttons only: simultaneous press
;          egs. command = a+b      ;press a and b at the same time
;               command = x+y+z    ;press x, y and z at the same time
;   You can combine them:
;     eg. command = ~30$D, a+b     ;hold D, DB or DF for 30 ticks, release,
;                                  ;then press a and b together
;   It's recommended that for most "motion" commads, eg. quarter-circle-fwd,
;   you start off with a "release direction". This matches the way most
;   popular fighting games implement their command detection.
;
; - time (optional)
;   Time allowed to do the command, given in game-ticks. Defaults to 15
;   if omitted
;
; If you have two or more commands with the same name, all of them will
; work. You can use it to allow multiple motions for the same move.
;
; Some common commands examples are given below.
;
; [Command] ;Quarter circle forward + x
; name = "QCF_x"
; command = ~D, DF, F, x
;
; [Command] ;Half circle back + a
; name = "HCB_a"
; command = ~F, DF, D, DB, B, a
;
; [Command] ;Two quarter circles forward + y
; name = "2QCF_y"
; command = ~D, DF, F, D, DF, F, y
;
; [Command] ;Tap b rapidly
; name = "5b"
; command = b, b, b, b, b
; time = 30
;
; [Command] ;Charge back, then forward + z
; name = "charge_B_F_z"
; command = ~60$B, F, z
; time = 10
; 
; [Command] ;Charge down, then up + c
; name = "charge_D_U_c"
; command = ~60$D, U, c
; time = 10
; 

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

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

[command]
name = "CPU1"
command = D,D,D
time = 0

[Command]
name = "CPU2"
command = U,U,D
time = 0

[Command]
name = "CPU3"
command = U,U,D
time = 0

[Command]
name = "CPU4"
command = U,U,D
time = 0

[Command]
name = "CPU5"
command = U,U,D
time = 0

[Command]
name = "CPU6"
command = U,U,D,D
time = 0

[Command]
name = "CPU7"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU8"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU9"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU10"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU11"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU12"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU13"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU14"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU15"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU16"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU17"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU18"
command = U,U,D,D,B,F
time = 0

[Command]
name = "CPU19"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU20"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU21"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU22"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU23"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU24"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU25"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU26"
command = U,U,D,D
time = 0

[Command]
name = "CPU27"
command = U,U,D,D
time = 0

[Command]
name = "CPU28"
command = U,U,D,D
time = 0

[Command]
name = "CPU29"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU30"
command = U,U,D,D,B
time = 0

[Command]
name = "CPU31"
command = U,U,D,D
time = 0

command.buffer.time = 1

;-| Super Motions |--------------------------------------------------------
[command]
name = "superscythe"
command = ~D,DF,F,D,DF,z
time = 25
[command]
name = "superscythe"
command = ~D,DF,F,D,DF,x
time = 25
[command]
name = "superscythe"
command = ~D,DF,F,D,DF,y
time = 25

[command]
name = "supercombo"
command = ~D,DF,F,D,DF,F,c
time = 25
[command]
name = "supercombo"
command = ~D,DF,F,D,DF,F,b
time = 25
[command]
name = "supercombo"
command = ~D,DF,F,D,DF,F,a
time = 25


[command]
name = "superoh"
command = ~D,DB,B,D,DB,B,z
time = 25
[command]
name = "superoh"
command = ~D,DB,B,D,DB,B,y
time = 25
[command]
name = "superoh"
command = ~D,DB,B,D,DB,B,x
time = 25

[command]
name = "scyththrow"
command = ~D,DB,B,D,DB,B,c
time = 25
[command]
name = "scyththrow"
command = ~D,DB,B,D,DB,B,b
time = 25
[command]
name = "scyththrow"
command = ~D,DB,B,D,DB,B,a
time = 25

;-| Special Motions |------------------------------------------------------
[command]
name = "crescent"
command = c
time = 15

[command]
name = "exslash"
command = ~D,DB,B,z+y
time = 15

[command]
name = "exslash"
command = ~D,DB,B,x+y
time = 15

[command]
name = "exslash"
command = ~D,DB,B,z+x
time = 15

[command]
name = "EXsuperkick1"
command = ~D,DF,F,c+b
time = 15

[command]
name = "EXsuperkick1"
command = ~D,DF,F,a+b
time = 15

[command]
name = "EXsuperkick1"
command = ~D,DF,F,c+a
time = 15

[command]
name = "superkick"
command = ~D,DF,F,a
time = 15

[command]
name = "superkick2"
command = ~D,DF,F,b
time = 15

[command]
name = "superkick3"
command = ~D,DF,F,c
time = 15

[command]
name = "calthrops"
command = ~D,DF,F,z
time = 15

[command]
name = "calthrops2"
command = ~D,DF,F,y
time = 15

[command]
name = "calthrops3"
command = ~D,DF,F,x
time = 15

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

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

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

[command]
name = "running"
command = ~D,DF,F,a
time = 15

[command]
name = "running"
command = ~D,DF,F,b
time = 15

[command]
name = "running"
command = ~D,DF,F,c
time = 15

[command]
name = "scythupper"
command = ~F,D,DF,z
time = 15

[command]
name = "scythupper2"
command = ~F,D,DF,x
time = 15

[command]
name = "scythupper3"
command = ~F,D,DF,y
time = 15

[command]
name = "scythupperEX"
command = ~F,D,DF,z+y
time = 15

[command]
name = "OH"
command = y+b
time = 15

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

[command]
name = "poof"
command = ~F,D,DF,c
time = 15

[command]
name = "poof2"
command = ~F,D,DF,b
time = 15

[command]
name = "poof3"
command = ~F,D,DF,a
time = 15

[command]
name = "poof4"
command = ~B,D,DB,c
time = 15

[command]
name = "poof5"
command = ~B,D,DB,b
time = 15

[command]
name = "poof6"
command = ~B,D,DB,a
time = 15

[command]
name = "poof7"
command = ~B,D,DB,c+b
time = 15

[command]
name = "poof7"
command = ~B,D,DB,a+b
time = 15

[command]
name = "poof7"
command = ~B,D,DB,a+c
time = 15

[command]
name = "poof8"
command = ~F,D,DF,c+b
time = 15

[command]
name = "poof8"
command = ~F,D,DF,a+b
time = 15
[command]
name = "poof8"
command = ~F,D,DF,a+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

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

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

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

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

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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "back_x"
command = /$B,x
time = 1

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

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

[Command]
name = "down_x"
command = /$D,x
time = 1

[Command]
name = "down_y"
command = /$D,y
time = 1

[Command]
name = "down_z"
command = /$D,z
time = 1

[Command]
name = "fwd_x"
command = /$F,x
time = 1

[Command]
name = "fwd_y"
command = /$F,y
time = 1

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

[Command]
name = "up_x"
command = /$U,x
time = 1

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

[Command]
name = "up_z"
command = /$U,z
time = 1

[Command]
name = "back_a"
command = /$B,a
time = 1

[Command]
name = "back_b"
command = /$B,b
time = 1

[Command]
name = "back_c"
command = /$B,c
time = 1

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

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

[Command]
name = "down_c"
command = /$D,c
time = 1

[Command]
name = "fwd_a"
command = /$F,a
time = 1

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

[Command]
name = "fwd_c"
command = /$F,c
time = 1

[Command]
name = "up_a"
command = /$U,a
time = 1

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

[Command]
name = "up_c"
command = /$U,c
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

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

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

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

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

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

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

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

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

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

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

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

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

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

[Command]
name = "upfwd"
command = $UF
time = 1

;-| Hold Button |--------------------------------------------------------------
[Command]
name = "hold_x"
command = /x
time = 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;---------------------------------------------------------------------------
; 2. State entry
; --------------
; This is where you define what commands bring you to what states.
;
; Each state entry block looks like:
;   [State -1, Label]           ;Change Label to any name you want to use to
;                               ;identify the state with.
;   type = ChangeState          ;Don't change this
;   value = new_state_number
;   trigger1 = command = command_name
;   . . .  (any additional triggers)
;
; - new_state_number is the number of the state to change to
; - command_name is the name of the command (from the section above)
; - Useful triggers to know:
;   - statetype
;       S, C or A : current state-type of player (stand, crouch, air)
;   - ctrl
;       0 or 1 : 1 if player has control. Unless "interrupting" another
;                move, you'll want ctrl = 1
;   - stateno
;       number of state player is in - useful for "move interrupts"
;   - movecontact
;       0 or 1 : 1 if player's last attack touched the opponent
;                useful for "move interrupts"
;
; Note: The order of state entry is important.
;   State entry with a certain command must come before another state
;   entry with a command that is the subset of the first.  
;   For example, command "fwd_a" must be listed before "a", and
;   "fwd_ab" should come before both of the others.
;
; For reference on triggers, see CNS documentation.
;
; Just for your information (skip if you're not interested):
; This part is an extension of the CNS. "State -1" is a special state
; that is executed once every game-tick, regardless of what other state
; you are in.


; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]
[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU1"
trigger2 = command = "CPU2"
trigger3 = command = "CPU3"
trigger4 = command = "CPU4"
trigger5 = command = "CPU5"
trigger6 = command = "CPU6"
trigger7 = command = "CPU7"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU1"
trigger2 = command = "CPU2"
trigger3 = command = "CPU3"
trigger4 = command = "CPU4"
trigger5 = command = "CPU5"
trigger6 = command = "CPU6"
trigger7 = command = "CPU7"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 59
value = 1

[State -1]
type = VarSet
triggerall = roundstate = 2
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 59
value = 1
;===========================================================================
[State -1, supercomboAI]
type = ChangeState
value = 3068
triggerall = life <= 250
triggerall = (var(59) =1)
triggerall = var(11) = 0
triggerall = teammode != simul
triggerall = (statetype != A)
triggerall = random < 44
triggerall = p2statetype != L
triggerall = stateno !=[800,3099]
triggerall = roundstate = 2
Triggerall = P2BodyDist X <= 120
trigger1= ctrl
;------------------------------------------------
[State -1, superscytheAI]
type = ChangeState
value = 4000
triggerall = (var(59) =1)
triggerall = (statetype != A)
triggerall = random < 199
triggerall = p2statetype != L
triggerall = stateno !=[800,3099]
triggerall = roundstate = 2
triggerall = power >=3000
Triggerall = P2BodyDist X <= 75
trigger1= ctrl
trigger2 = stateno = 410 && movecontact
trigger3 = stateno = 450 && movecontact
;------------------------------------------------
[State -1, superscytheAI]
type = ChangeState
value = 3010
triggerall = (var(59) =1)
triggerall = (statetype != A)
triggerall = random < 149
triggerall = p2statetype != L
triggerall = stateno !=[800,3099]
triggerall = roundstate = 2
triggerall = power >=2000
Triggerall = P2BodyDist X <= 75
trigger1= ctrl
trigger2 = stateno = 3053 &&movecontact
;------------------------------------------------
[State -1, superohAI]
type = ChangeState
value = 3055
triggerall = (var(59) =1)
triggerall = (statetype != A)
triggerall = p2bodydist y =[-60,0]
triggerall = random <99
triggerall = p2statetype != L
triggerall = stateno !=[800,3099]
triggerall = roundstate = 2
triggerall = power >=1000
Triggerall = P2BodyDist X <= 75
trigger1= ctrl
trigger2 = stateno = 3053 &&movecontact
trigger3 = stateno = 220 && movecontact
trigger4 = stateno = 420 && movecontact
;-------------------------------------------------------
; EXSuperkick1
[State -1, EXsuperkickAI]
type = ChangeState
value = 8010
triggerall = pos y <= -85
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = power >=500
triggerall = (statetype = A)
triggerall = p2bodydist y = [-50,0]
Triggerall = Random <= 44
Triggerall = (P2BodyDist X = [0,50])
trigger1 = ctrl
;---------------------------------------------------------
;Superkick
[State -1, superkickAI]
type = ChangeState
value = 7050
triggerall = roundstate = 2
triggerall = var(59) = 1
Triggerall = Random <=66
Triggerall = (P2BodyDist X = [0,50])
triggerall = statetype = A
triggerall = p2bodydist y = [-50,0]
trigger1 = ctrl
trigger2 = stateno = 630 && movecontact
trigger3 = stateno = 640 && movecontact
trigger4 = stateno = 650&& movecontact
;---------------------------------------------------------
;Superkick
[State -1, superkickAI]
type = ChangeState
value = 7051
triggerall = roundstate = 2
triggerall = var(59) = 1
Triggerall = Random <=99
Triggerall = (P2BodyDist X = [0,50])
triggerall = statetype = A
triggerall = p2bodydist y = [-50,0]
trigger1 = ctrl
trigger2 = stateno = 630 && movecontact
trigger3 = stateno = 640 && movecontact
trigger4 = stateno = 650&& movecontact
;---------------------------------------------------------
;Superkick
[State -1, superkickAI]
type = ChangeState
value = 7052
triggerall = roundstate = 2
triggerall = var(59) = 1
Triggerall = Random <=149
Triggerall = (P2BodyDist X = [0,50])
triggerall = statetype = A
triggerall = p2bodydist y = [-50,0]
trigger1 = ctrl
trigger2 = stateno = 630 && movecontact
trigger3 = stateno = 640 && movecontact
trigger4 = stateno = 650&& movecontact
;----------------------------------------------------
;crescent slash
[State -1, crescent slash]
type = ChangeState
value = 1000
Triggerall = (RoundState = 2) && (var(59) =1)
triggerall = stateno != [800,3999]
triggerall = stateno != [101,105]
Triggerall = P2BodyDist X = [0,80]
Triggerall = Random <249
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
trigger1 = stateno = 100

;----------------------------------------------------
;slider
[State -1, sliderAI]
type = ChangeState
value = 1004
Triggerall = (RoundState = 2) && (var(59) =1)
triggerall = stateno != [800,3999]
triggerall = stateno != [101,105]
Triggerall = P2BodyDist X = [0,80]
Triggerall = Random <249
triggerall = p2statetype !=L  && p2statetype !=A
triggerall = enemy, statetype != A
trigger1 = stateno = 100

;-------------------------------------------------
; Elbow
[State -1, ElbowAI]
type = ChangeState
value = 425
Triggerall = (RoundState = 2) && (var(59) =1)
triggerall = stateno != [800,3999]
triggerall = stateno != [101,105]
Triggerall = P2BodyDist X = [0,80]
Triggerall = Random <249
triggerall = p2statetype !=L && p2statetype !=A
triggerall = enemy, statetype != A
trigger1 = stateno = 100

; Hop
[State -1, StopAI]
type = ChangeState
value = 104
Triggerall = (RoundState = 2) && (var(59) =1)
triggerall = stateno != [800,3999]
triggerall = stateno != [101,105]
Triggerall = P2BodyDist X = [0,80]
Triggerall = Random <69
triggerall = p2statetype !=L
triggerall = enemy, statetype = A
trigger1 = stateno = 100

; Stop
[State -1, StopAI]
type = ChangeState
value = 103
Triggerall = (RoundState = 2) && (var(59) =1)
triggerall = stateno != [800,3999]
triggerall = stateno != [101,105]
Triggerall = P2BodyDist X = [0,80]
Triggerall = Random <69
triggerall = p2statetype !=L
triggerall = enemy, statetype = A
trigger1 = stateno = 100

; Run Fwd
[State -1, Run FwdAI]
type = ChangeState
value = 100
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
triggerall = stateno != [100,105]
Triggerall = P2BodyDist X = [40,777]
Triggerall = Random <200
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light PunchAI]
type = ChangeState
value = 200
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = P2BodyDist X = [0,40]
Triggerall = Random <400
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
trigger1 = ctrl
trigger2 = stateno = 425 && movecontact

;---------------------------------------------------------------------------
;Stand Strong Punch
;立ち強パンチ
[State -1, Stand strong PunchAI]
type = ChangeState
value = 210
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
triggerall = p2bodydist x = [0,60]
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;Stand Strong Punch  2
[State -1, Stand strong Punch2AI]
type = ChangeState
value = 220
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
triggerall = p2bodydist x = [0,80]
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 240 && movecontact
trigger4 = stateno = 425 && movecontact


;---------------------------------------------------------------------------
;Stand Light Kick
;立ち弱キック
[State -1, Stand Light KickAI]
type = ChangeState
value = 230
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
triggerall = p2bodydist x = [0,30]
trigger1 = ctrl


;--------------------------------------------------------
;Stand hard Kick
;立ち弱キック
[State -1, Stand hard KickAI]
type = ChangeState
value = 240
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = enemy, statetype != A
triggerall = p2bodydist x = [0,60]
trigger1 = ctrl
trigger2 = stateno = 200 &&movecontact
trigger3 = stateno = 230&& movecontact
;--------------------------------------------------------
;Stand hard Kick
;立ち弱キック
[State -1, Stand hard KickAI]
type = ChangeState
value = 250
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = (enemy, statetype != A)
triggerall = p2bodydist x = [0,80]
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 240&& movecontact
trigger4 = stateno = 241 && movecontact
;--------------------------------------------------------
;Stand hard Kick
;立ち弱キック
[State -1, Stand hard KickAI]
type = ChangeState
value = 251
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = (enemy, statetype != A)
triggerall = p2bodydist x = [0,90]
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 240&& movecontact
trigger4 = stateno = 241 && movecontact
;--------------------------------------------------------
;Stand hard Kick
;立ち弱キック
[State -1, Stand hard KickAI]
type = ChangeState
value = 252
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType = S)
triggerall = stateno != [800,3999]
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = (enemy, statetype != A)
triggerall = p2bodydist x = [0,40]
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 240&& movecontact
trigger4 = stateno = 241 && movecontact

;------------------------------------------------------
[State -1, AI5]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = (StateType != A)
triggerall = stateno != [800,3999]
Triggerall = (P2BodyDist X = [0,50])&&(P2BodyDist Y = 0 )
Triggerall = Random < 500
triggerall = (p2statetype !=L)
triggerall = (movetype !=H)
trigger1 = ctrl
trigger2 = enemy,statetype = C  && ctrl
value = 400
;------------------------------------------------------
[State -1, AI2]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = StateType != A
triggerall = stateno != [800,3999]
Triggerall = (P2BodyDist X = [0,60])&&(P2BodyDist Y = 0 )
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = (movetype !=H)
triggerall = enemy, statetype != A
trigger1 = ctrl
trigger2 = enemy,statetype = C  && ctrl
trigger3 = stateno = 400 && movecontact
trigger4 = stateno = 430 && movecontact
value = 410
;------------------------------------------------------
[State -1, AI2]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall =  (StateType != A)
triggerall = stateno != [800,3999]
Triggerall = (P2BodyDist X = [0,55]) && (P2BodyDist Y = 0)
Triggerall = enemy, statetype != A
Triggerall = Random < 500
triggerall = p2statetype !=L
triggerall = (movetype !=H)
trigger1 = ctrl
trigger2 = enemy,statetype = C  && ctrl
trigger3= stateno = 410 && movecontact
trigger4 = stateno = 440 && movecontact
trigger5 = stateno = 210 && movecontact
value = 420
;------------------------------------------------------
[State -1, AI9]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = StateType != A
triggerall = stateno != [800,3999]
Triggerall = P2BodyDist X = [0,40]
triggerall = (movetype !=H)
Triggerall = ( Random < 500) && (enemy, statetype != A && enemy,statetype !=L)
trigger1 = ctrl
trigger2 = enemy,statetype = C  && ctrl
value = 430
;------------------------------------------------------
[State -1, AI 9]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = StateType != A
triggerall = (movetype !=H)
Triggerall = (P2BodyDist X = [0,60]) && (P2BodyDist Y = 0 )
Triggerall = ( Random < 500) && (enemy, statetype != A && enemy,statetype !=L)
triggerall = stateno != [800,4999]
Trigger1 = ctrl
trigger2 = enemy,statetype = C && ctrl
trigger3 = stateno = 400 && movecontact
trigger4 = stateno = 430 && movecontact
value = 440
;------------------------------------------------------
[State -1, AI8]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) =1)
Triggerall = StateType != A
triggerall = stateno != [800,3999]
Triggerall = P2BodyDist X = [0,45]
triggerall = (movetype !=H)
Triggerall = ( Random < 300) && (enemy, statetype != A && enemy,statetype !=L)
trigger1 = ctrl
trigger2 = enemy,statetype = C && ctrl
trigger3 = stateno = 410 && movecontact
trigger4 = stateno = 440 && movecontact
value = 450
;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ
[State -1, AI9]
type = ChangeState
value = 600
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,50])
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl



;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ
[State -1, AI9]
type = ChangeState
value = 610
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,55])
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl
trigger2 = stateno = 600 &&movecontact
trigger3 = stateno = 630 && movecontact




;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, AI9]
type = ChangeState
value = 620
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,55])
Triggerall = Random <= 500
triggerall = roundstate = 2
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact
trigger3 = stateno = 640 && movecontact

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, AI9]
type = ChangeState
value = 630
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,55])
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact
;---------------------------------------------------------------------------

[State -1, AI9]
type = ChangeState
value = 640
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,65])
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl
trigger2 = stateno = 600 &&movecontact
trigger3 = stateno = 630 && movecontact
;---------------------------------------------------------------------------
[State -1, AI9]
type = ChangeState
value = 650
triggerall = var(59) = 1
triggerall = statetype = A
Triggerall = (P2BodyDist X = [0,65])
Triggerall = Random <= 500
triggerall = roundstate = 2
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact
trigger3 = stateno = 640 && movecontact

;----------------------------------------------------------
;scythupper3
[State -1, scythupperAI]
type = ChangeState
value = 3000
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L
triggerall = movetype !=H
Triggerall = Random <=77
Triggerall = (P2BodyDist X = [0,50])
triggerall = stateno !=[2000,3999]
triggerall = stateno !=8000
trigger1 = ctrl
trigger2 = (p2bodydist y < -1) && ctrl
trigger3 = stateno = 200 &&movecontact
trigger4 = stateno = 210 &&movecontact
trigger5 = stateno = 220 &&movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 420 && movecontact
;----------------------------------------------------------
;scythupper3
[State -1, scythupperAI]
type = ChangeState
value = 3001
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L
triggerall = movetype !=H
Triggerall = Random <=119
Triggerall = (P2BodyDist X = [0,60])
triggerall = stateno !=[2000,3999]
triggerall = stateno !=8000
trigger1= ctrl
trigger2 = (p2bodydist y < -1) && ctrl
trigger3 = stateno = 200 &&movecontact
trigger4 = stateno = 210 &&movecontact
trigger5 = stateno = 220 &&movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 420 && movecontact
;----------------------------------------------------------
;scythupper3
[State -1, scythupperAI]
type = ChangeState
value = 3003
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L
triggerall = movetype !=H
Triggerall = Random <=139
Triggerall = (P2BodyDist X = [0,70])
triggerall = stateno !=[2000,3999]
triggerall = stateno !=8000
trigger1= ctrl
trigger2 = (p2bodydist y < -1) && ctrl
trigger2 = stateno = 200 &&movecontact
trigger3 = stateno = 210 &&movecontact
trigger4 = stateno = 220 &&movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 420 && movecontact
;-----------------------------------------------
;scythupperEX
[State -1, scythupperEXAI]
type = ChangeState
value = 8000
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L
triggerall = movetype !=H
Triggerall = Random <=55
Triggerall = (P2BodyDist X = [0,50])
triggerall = stateno !=[2000,3999]
trigger1= ctrl
trigger2 = (p2bodydist y < -1) && ctrl
trigger3 = stateno = 200 &&movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 220 && movecontact
trigger6 = stateno = 400 && movecontact
trigger7 = stateno = 410 && movecontact
trigger8 = stateno = 420 && movecontact
;---------------------------------------------------------------------
;ohslash3
[State -1, ohslashAI]
type = ChangeState
value = 3050
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=199
Triggerall = (P2BodyDist X = [0,100])
trigger1 = ctrl
trigger2 = stateno = 220 &&movecontact
trigger3 = stateno = 420 && movecontact
;---------------------------------------------------------------------
;ohslash3
[State -1, ohslashAI]
type = ChangeState
value = 3052
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=149
Triggerall = (P2BodyDist X = [0,80])
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 220 &&movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 420 && movecontact
;---------------------------------------------------------------------
;ohslash3
[State -1, ohslashAI]
type = ChangeState
value = 3053
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=99
Triggerall = (P2BodyDist X = [0,80])
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 220 &&movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 420 && movecontact
;----------------------------------------------------------------
;calthrops
[State -1, calthropsAI]
type = ChangeState
value = 7010
triggerall = numhelper(7020) <= 3
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=11
Triggerall = P2BodyDist X >= 100
trigger1 = ctrl

;----------------------------------------------------------------
;calthrops
[State -1, calthropsAI]
type = ChangeState
value = 7011
triggerall = numhelper(7020) <= 3
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=22
Triggerall = P2BodyDist X >= 110
trigger1 = ctrl

;----------------------------------------------------------------
;calthrops
[State -1, calthropsAI]
type = ChangeState
value = 7012
triggerall = numhelper(7020) <= 3
triggerall = roundstate = 2
triggerall = var(59) = 1
triggerall = (statetype != A)
triggerall = p2statetype !=L && p2statetype!= A
Triggerall = Random <=33
Triggerall = P2BodyDist X >=110
trigger1 = ctrl



;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7036
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
triggerall  = backedgedist > 75
Triggerall = (P2BodyDist X = [0,50])
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7038
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
triggerall  = backedgedist > 75
Triggerall = (P2BodyDist X = [50,100])
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7030
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
Triggerall = (P2BodyDist X = [125,999])
triggerall  = frontedgedist > 100
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7031
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
triggerall  = backedgedist > 75
Triggerall = (P2BodyDist X = [25,75])
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl

;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7032
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
triggerall  = backedgedist > 50
Triggerall = (P2BodyDist X = [76,100] )
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7033
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
Triggerall = (P2BodyDist X = [76,100] )
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7034
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
Triggerall = (P2BodyDist X = [25,75])
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;--------------------------------------------------------------------------------------------------
[State -1, AIpoof]
type=changestate
value=7035
triggerall = statetype != A
triggerall = var(59) = 1
triggerall = random < 100
Triggerall = (P2BodyDist X = [0,25])
trigger1 = enemy,numproj >= 1 || p2movetype =A
triggerall=ctrl
;---------------------------------------------------------------------------
; Throw
[State -1, Throw]
type = ChangeState
value = 1046
triggerall = Var(59) = 1
triggerall = random <= 100
triggerall = statetype = S
triggerall = p2statetype != A
triggerall = ctrl
triggerall = stateno != [200,9999]
Triggerall = (RoundState = 2)
triggerall = (p2MoveType != H)
trigger1 = p2bodydist X < 40 && p2dist y <= 0
;-------------------------------------------------
[State -1, AI Jump]
type = changestate
value = 40
triggerall = roundstate = 2
triggerall = Var(59) = 1
triggerall = statetype != A
triggerall = p2statetype = A
triggerall = random < 22
triggerall = var(30) = 1
triggerall = stateno !=[3000,4999]
trigger1 = ctrl

[State -1, jump2]
Type = changestate
value = 50
triggerall = (var(59) =1)
triggerall = statetype !=A
trigger1 = (StateNo = 450) && movecontact


[State -1, AI run]
type=changestate
value=101
triggerall = roundstate = 2
triggerall=var(59) >= 1 && statetype=S && ctrl && random < 199
trigger1= (stateno!=[100,105]) && p2movetype!=A && (p2bodydist x=[120,788])

[State -1, AI run]
type=changestate
value=20
triggerall = roundstate = 2
triggerall=var(59) >= 1 && statetype=S && ctrl && random < 249
trigger1= (stateno!=[20,105]) && p2movetype!=A && (p2bodydist x=[0,119])


[State -1, AIRun Back]
type = ChangeState
value = 105
triggerall = var(59) = 1
triggerall = stateno !=105
triggerall = statetype = S
triggerall = random < 99
triggerall = ctrl
trigger1 = p2statetype =L && (p2bodydist x=[-99,10])
[State -1, Guard]
type = ChangeState
value = 120
triggerall = roundstate = 2
triggerall = stateno!=[120,155]
trigger1 = var(59) >= 1&&StateType != A&&Ctrl&&(StateNo != 105)
trigger1 = !(EnemyNear, HitDefAttr = SCA,AA)&&InguardDist&&Random < 900
persistent = 0
;==================================================================================
;supercombo
[State -1, supercombo]
type = ChangeState
value = 3068
triggerall = life <= 250
triggerall = var(11) = 0
triggerall = command = "supercombo"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact
trigger18 = stateno = 425
trigger18 = movecontact

;exslash
[State -1, exslash]
type = ChangeState
value = 3056
triggerall = command = "exslash"
triggerall = power >= 500
trigger1 = (statetype = s) && ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;scyththrow
[State -1, scyththrow]
type = ChangeState
value = 4000
triggerall = command = "scyththrow"
triggerall = power >= 3000
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact
trigger18 = stateno = 3053
trigger18 = movecontact
trigger19 = stateno = 3052
trigger19 = movecontact
trigger20 = stateno = 3050
trigger20 = movecontact
trigger21 = stateno = 425
trigger21 = movecontact

;superscythe
[State -1, superscythe]
type = ChangeState
value = 3010
triggerall = command = "superscythe"
triggerall = power >= 2000
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact
trigger18 = stateno = 3053 && movecontact
trigger19 = stateno = 3003
trigger19 = movecontact
trigger20 = stateno = 3001
trigger20 = movecontact
trigger21 = stateno = 3000
trigger21 = movecontact
trigger22 = stateno = 425
trigger22 = movecontact

;superoh
[State -1, superoh]
type = ChangeState
value = 3055
triggerall = command = "superoh"
triggerall = power >= 1000
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact
trigger18 = stateno = 3053
trigger18 = movecontact
trigger19 = stateno = 3052
trigger19 = movecontact
trigger20 = stateno = 3050
trigger20 = movecontact
trigger21 = stateno = 425
trigger21 = movecontact

;poof8
[State -1, poof8]
type = ChangeState
value = 7038
triggerall = command = "poof8"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 420 && movecontact

;poof7
[State -1, poof7]
type = ChangeState
value = 7036
triggerall = command = "poof7"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof6
[State -1, poof6]
type = ChangeState
value = 7035
triggerall = command = "poof6"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof4
[State -1, poof4]
type = ChangeState
value = 7033
triggerall = command = "poof4"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof5
[State -1, poof5]
type = ChangeState
value = 7034
triggerall = command = "poof5"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof
[State -1, poof]
type = ChangeState
value = 7030
triggerall = command = "poof"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof2
[State -1, poof2]
type = ChangeState
value = 7031
triggerall = command = "poof2"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;poof3
[State -1, poof3]
type = ChangeState
value = 7032
triggerall = command = "poof3"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl

;ohslash3
[State -1, ohslash3]
type = ChangeState
value = 3053
triggerall = command = "ohslash3"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;ohslash2
[State -1, ohslash2]
type = ChangeState
value = 3052
triggerall = command = "ohslash2"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;ohslash
[State -1, ohslash]
type = ChangeState
value = 3050
triggerall = command = "ohslash"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact


;EXSuperkick1
[State -1, EXsuperkick1]
type = ChangeState
value = 8010
triggerall = pos y <= -75
triggerall = command = "EXsuperkick1"
triggerall = (var(59) =0)
triggerall = statetype = A
triggerall = power >= 500
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact
trigger5 = stateno = 630
trigger5 = movecontact
trigger6 = stateno = 640
trigger6 = movecontact
trigger7 = stateno = 650
trigger7 = movecontact

;Superkick
[State -1, superkick]
type = ChangeState
value = 7050
triggerall = pos y <= -85
triggerall = command = "superkick"
triggerall = (var(59) =0)
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact
trigger5 = stateno = 630
trigger5 = movecontact
trigger6 = stateno = 640
trigger6 = movecontact
trigger7 = stateno = 650
trigger7 = movecontact

; EXSuperkick1
[State -1, EXsuperkick1]
type = ChangeState
value = 8010
triggerall = pos y <= -85
triggerall = command = "EXsuperkick1"
triggerall = (var(59) =0)
triggerall = statetype = A
triggerall = power >= 500
trigger1 = ctrl

;Superkick3
[State -1, superkick3]
type = ChangeState
value = 7052
triggerall = pos y <= -85
triggerall = command = "superkick3"
triggerall = (var(59) =0)
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact
trigger5 = stateno = 630
trigger5 = movecontact
trigger6 = stateno = 640
trigger6 = movecontact
trigger7 = stateno = 650
trigger7 = movecontact

;Superkick2
[State -1, superkick2]
type = ChangeState
value = 7051
triggerall = pos y <= -85
triggerall = command = "superkick2"
triggerall = (var(59) =0)
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact
trigger5 = stateno = 630
trigger5 = movecontact
trigger6 = stateno = 640
trigger6 = movecontact
trigger7 = stateno = 650
trigger7 = movecontact

;scythupperEX
[State -1, scythupperEX]
type = ChangeState
value = 8000
triggerall = command = "scythupperEX"
triggerall = (var(59) =0)
triggerall = statetype != A
triggerall = power >= 500
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

; EXSuperkick2
[State -1, EXsuperkick2]
type = ChangeState
value = 8010
triggerall = stateno = 104
triggerall = command = "EXsuperkick1"
triggerall = (var(59) =0)
triggerall = statetype = A
triggerall = power >= 500
trigger1 = ctrl

; Superkick
[State -1, superkick]
type = ChangeState
value = 7052
triggerall = stateno = 104
triggerall = command = "superkick3"
triggerall = (var(59) =0)
triggerall = statetype = A
trigger1 = ctrl

;scythupper3
[State -1, scythupper3]
type = ChangeState
value = 3003
triggerall = command = "scythupper3"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;scythupper2
[State -1, scythupper2]
type = ChangeState
value = 3001
triggerall = command = "scythupper2"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;scythupper
[State -1, scythupper]
type = ChangeState
value = 3000
triggerall = command = "scythupper"
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact
trigger16 = stateno = 420 && movecontact
trigger17 = stateno = 450 && movecontact

;calthrops
[State -1, calthrops]
type = ChangeState
value = 7010
triggerall = command = "calthrops"
triggerall = numhelper(7020) = 0
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact

;calthrops2
[State -1, calthrops2]
type = ChangeState
value = 7011
triggerall = command = "calthrops2"
triggerall = numhelper(7020) =0
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact

;calthrops3
[State -1, calthrops3]
type = ChangeState
value = 7012
triggerall = command = "calthrops3"
triggerall = numhelper(7020) =0
triggerall = (var(59) =0)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact
trigger12 = stateno = 220 && movecontact
trigger13 = stateno = 250 && movecontact
trigger14 = stateno = 251 && movecontact
trigger15 = stateno = 252 && movecontact

; OH
[State -1, OH]
type = ChangeState
value = 280
triggerall = command = "OH"
triggerall = (var(59) =0)
triggerall = statetype != a
trigger1 = ctrl
trigger2 = stateno = 100

;crescent slash
[State -1, crescent slash]
type = ChangeState
value = 1000
triggerall = stateno = 100
triggerall = command = "b"
triggerall = (var(59) =0)
trigger1 = stateno = 100

;slider
[State -1, slider]
type = ChangeState
value = 1004
triggerall = stateno = 100
triggerall = command = "c"
triggerall = (var(59) =0)
trigger1 = stateno = 100



;launch
[State -1, upfwd]
Type = changestate
value = 40000
triggerall = command = "upfwd"
triggerall = (var(59) =0)
trigger1 = (StateNo = 420) && movehit
trigger2 = (StateNo = 450) && movehit

; Elbow
[State -1, Elbow]
type = ChangeState
value = 425
trigger1 = command = "z"
trigger1 = stateno = 100
triggerall = (var(59) =0)

; Hop
[State -1, Stop]
type = ChangeState
value = 104
trigger1 = command = "y"
trigger1 = stateno = 100
triggerall = (var(59) =0)

; Stop
[State -1, Stop]
type = ChangeState
value = 103
triggerall = (var(59) =0)
trigger1 = command = "x"
trigger1 = stateno = 100
trigger2 = command = "a"
trigger2 = stateno = 100

; Run Fwd
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = command = "running"
triggerall = (var(59) =0)
triggerall = statetype = S
trigger1 = ctrl

;===========================================================================
[State -1, Jump]
type = changestate
value = 40
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "up"
trigger1 = ctrl
;---------------------------------------------------------------------------
; Run Fwd
[State -1, Run Fwd]
type = ChangeState
value = 101
triggerall = command = "FF"
triggerall = (var(59) =0)
triggerall = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
; Run Back
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = command = "BB"
triggerall = (var(59) =0)
triggerall = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Throw
[State -1, Throw]
type = ChangeState
value = 1046
triggerall = command = "throw2"
triggerall = (var(59) =0)
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 100

;===========================================================================
;---------------------------------------------------------------------------
; Taunt
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "s"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = (var(59) =0)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 425 && movecontact

;---------------------------------------------------------------------------
;Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 211
triggerall = (var(59) =0)
triggerall = command = "y" && command = "holdfwd"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 430 && movecontact

;---------------------------------------------------------------------------
;Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = (var(59) =0)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 430 && movecontact

;---------------------------------------------------------------------------
;Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = (var(59) =0)
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact

;---------------------------------------------------------------------------
; Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = (var(59) =0)
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
;---------------------------------------------------------------------------
;Standing Medium Kick
[State -1, Standing Medium Kick]
type = ChangeState
value = 241
triggerall = (var(59) =0)
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 430 && movecontact

;---------------------------------------------------------------------------
;Standing Medium Kick
[State -1, Standing Medium Kick]
type = ChangeState
value = 240
triggerall = (var(59) =0)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 &&movecontact
trigger3 = stateno = 230 && movecontact

;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 252
triggerall = (var(59) =0)
triggerall = command = "back_c"
triggerall = command != "holddown"
triggerall = (statetype != A)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact

;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 251
triggerall = (var(59) =0)
triggerall = command = "fwd_c"
triggerall = command != "holddown"
triggerall = (statetype = S)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact

;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = (var(59) =0)
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = (statetype = S)
trigger1= ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact


;---------------------------------------------------------------------------
; Crouching Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = (var(59) =0)
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Crouching Medium Punch
[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = (var(59) =0)
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 430 && movecontact
;---------------------------------------------------------------------------
;Crouching Strong Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = (var(59) =0)
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact

;---------------------------------------------------------------------------
; Crouching Light Kick
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = (var(59) =0)
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crouching Medium Kick
[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = (var(59) =0)
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 230 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 430 && movecontact

;---------------------------------------------------------------------------
;Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = (var(59) =0)
triggerall = command = "back_c"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact

;---------------------------------------------------------------------------
;Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
value = 451
triggerall = (var(59) =0)
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 230 && movecontact
trigger7 = stateno = 240 && movecontact
trigger8 = stateno = 430 && movecontact
trigger9 = stateno = 440 && movecontact
trigger10 = stateno = 211 && movecontact
trigger11 = stateno = 241 && movecontact


;---------------------------------------------------------------------------
;Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = (var(59) =0)
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Medium Punch
[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = (var(59) =0)
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 &&movecontact
trigger3 = stateno = 630 && movecontact


;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = (var(59) =0)
triggerall = command = "z"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 610 && movecontact
trigger3 = stateno = 640 && movecontact

;---------------------------------------------------------------------------
; Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = (var(59) =0)
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Medium Kick
[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = (var(59) =0)
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact
trigger3 = stateno = 630 &&movecontact

;---------------------------------------------------------------------------
;Jump Strong Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = (var(59) =0)
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 610 &&movecontact
trigger3 = stateno = 640 && movecontact

;---------------------------------------------------------------------------
;Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 700
triggerall = (var(59) =0)
triggerall = command = "x"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105

;---------------------------------------------------------------------------
;Jump Medium Punch
[State -1, Jump Medium Punch]
type = ChangeState
value = 710
triggerall = (var(59) =0)
triggerall = command = "y"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105

;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 720
triggerall = (var(59) =0)
triggerall = command = "z"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 730
triggerall = (var(59) =0)
triggerall = command = "a"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105

;---------------------------------------------------------------------------
;Jump Medium Kick
[State -1, Jump Medium Kick]
type = ChangeState
value = 740
triggerall = (var(59) =0)
triggerall = command = "b"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105

;---------------------------------------------------------------------------
;Jump Strong Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 750
triggerall = (var(59) =0)
triggerall = command = "c"
triggerall = statetype = A
trigger1 = stateno = 101
trigger2 = stateno = 105
;---------------------------------------------------------------------------
