; 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 = /F, a    ;hold fwd 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
;               command = ~30
;   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 engine.
;
; - 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 are given below. Delete, add, or modify as you wish.

;-| AI Commands |----------------------------------------------------------

;Orochi Herman's AI Commands
;"Let's see you do this!!!" >:)

[command]
name = "AI_OrochiHerman1"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_OrochiHerman2"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_OrochiHerman3"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_OrochiHerman4"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_OrochiHerman5"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_OrochiHerman6"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_OrochiHerman7"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_OrochiHerman8"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_OrochiHerman9"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_OrochiHerman10"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_OrochiHerman11"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_OrochiHerman12"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_OrochiHerman13"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_OrochiHerman14"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_OrochiHerman15"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_OrochiHerman16"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_OrochiHerman17"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_OrochiHerman18"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_OrochiHerman19"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_OrochiHerman20"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_OrochiHerman21"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_OrochiHerman22"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_OrochiHerman23"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_OrochiHerman24"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_OrochiHerman25"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_OrochiHerman26"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_OrochiHerman27"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_OrochiHerman28"
command = s, s, s, s, s, s, s, s
time = 1

[command]
name = "AI_OrochiHerman29"
command = s, s, s, s, s, s, s, s
time = 1

[command]
name = "AI_OrochiHerman30"
command = s, s, s, s, s, s, s, s
time = 1

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

;------------------------
; ULTIMATE PSYCHO CRUSHER
[Command]
name = "ultpsy_x"
command = ~50$B, F, B, F, x
time = 25

[Command]
name = "ultpsy_y"
command = ~50$B, F, B, F, y
time = 25

[Command]
name = "ultpsy_z"
command = ~50$B, F, B, F, z
time = 25
;--------------------------------------------------------------------------
; 2QCF
[Command]
name = "qcfqcfr_s"
command = ~D, DF, F, D, DF, F, s
time = 25

[Command]
name = "cure"
command = ~D, DB, B, D, DB, B, s
time = 40

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

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

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

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

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

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

[Command]
name = "2QCB_x"
command = ~D, DB, B,D, DB, B, x
time = 25

[Command]
name = "2QCB_y"
command = ~D, DB, B,D, DB, B, y
time = 25

[Command]
name = "2QCB_z"
command = ~D, DB, B,D, DB, B, z
time = 25

;-| Special Motions |------------------------------------------------------
; HCF
[Command]
name = "HCF_a"
command = ~B, DB, D, DF, F, a
time = 25

[Command]
name = "HCF_b"
command = ~B, DB, D, DF, F, b
time = 25

[Command]
name = "HCF_c"
command = ~B, DB, D, DF, F, c
time = 25

[Command]
name = "HCF_x"
command = ~B, DB, D, DF, F, x
time = 25

[Command]
name = "HCF_y"
command = ~B, DB, D, DF, F, y
time = 25

[Command]
name = "HCF_z"
command = ~B, DB, D, DF, F, z
time = 25

; CCF
[Command]
name = "CCF_a"
command = ~F, DF, D, DB, B, a
time = 25

[Command]
name = "CCF_a"
command = ~F, DF, D, DB, B, b
time = 25

[Command]
name = "CCF_a"
command = ~F, DF, D, DB, B, c
time = 25

[Command]
name = "CCF_x"
command = ~F, DF, D, DB, B, x
time = 25

[Command]
name = "CCF_y"
command = ~F, DF, D, DB, B, y
time = 25

[Command]
name = "CCF_z"
command = ~F, DF, D, DB, B, z
time = 25
;-----------------
; QCF
[Command]
name = "QCF_a"
command = ~D, DF, F, a
time = 15

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

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

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

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

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

;-----------------
; QCB
[Command]
name = "QCB_a"
command = ~D, DB, B, a

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

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

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

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

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

;-----------------
 Uppercut
[Command]
name = "uppercut_a"
command = ~F, D, DF, a

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

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

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

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

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

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

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

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

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

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

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

;--------------------
;Charge_Down_up

[Command]
name = "chargedownup_a"
command = ~20$DB, UF, a
time = 15

[Command]
name = "chargedownup_a"
command = ~20$DB, U, a
time = 15

[Command]
name = "chargedownup_a"
command = ~20$D, U, a
time = 15

[Command]
name = "chargedownup_a"
command = ~20$DB, UF, b
time = 15

[Command]
name = "chargedownup_a"
command = ~20$DB, U, b
time = 15

[Command]
name = "chargedownup_a"
command = ~20$D, U, b
time = 15

[Command]
name = "chargedownup_a"
command = ~20$DB, UF, c
time = 15

[Command]
name = "chargedownup_a"
command = ~20$DB, U, c
time = 15

[Command]
name = "chargedownup_a"
command = ~20$D, U, c
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, UF, x
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, U, x
time = 15

[Command]
name = "chargedownup_x"
command = ~20$D, U, x
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, UF, y
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, U, y
time = 15

[Command]
name = "chargedownup_x"
command = ~20$D, U, y
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, UF, z
time = 15

[Command]
name = "chargedownup_x"
command = ~20$DB, U, z
time = 15

[Command]
name = "chargedownup_x"
command = ~20$D, U, z
time = 15

;--------------------
;Charge_Back_fwd
[Command]
name = "chargebackfwd_a"
command = ~60$B, F, a
time = 10

[Command]
name = "chargebackfwd_b"
command = ~60$B, F, b
time = 10

[Command]
name = "chargebackfwd_c"
command = ~60$B, F, c
time = 10

[Command]
name = "chargebackfwd_x"
command = ~60$B, F, x
time = 10

[Command]
name = "chargebackfwd_y"
command = ~60$B, F, y
time = 10

[Command]
name = "chargebackfwd_z"
command = ~60$B, F, z
time = 10

;-| Double Tap |-----------------------------------------------------------

[Command]
name = "FF";Required (do not remove)
command = F, F
time = 12

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

;-| 2/3 Button Combination |-----------------------------------------------

[Command]
name = "recovery";Required (do not remove)
command = a+b
time = 1

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

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

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

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

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

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

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

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

;-| Dir + Button |---------------------------------------------------------
[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 = "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 = "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 = "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_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_ab"
command = /F, a+b
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1

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

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

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

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

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

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

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

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

;-| Hold Dir |--------------------------------------------------------------

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

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

[Command]
name = "high jump"
command = D, U

[Command]
name = "high jump"
command = D, UB

[Command]
name = "high jump"
command = D, UF

;---------------------------------------------------------------------------
; 2. State entry
; --------------
; This is where you define what commands bring you to what states.
;
; Each state entry block looks like:
;   [State -1]                  ;Don't change this
;   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"
;
; 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]

;===========================================================================
;---------------------------------------------------------------------------
;Ultimate Psycho Crusher X
[State -1]
type = ChangeState
value = 4000
triggerall = Var(1) = 0
triggerall = command != "holddown"
triggerall = power >= 3000 ;Level 3
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = command = "ultpsy_x"
trigger2 = command = "ultpsy_y"
trigger3 = command = "ultpsy_z"
       
;---------------------------------------------------------------------------
;Ultimate Psycho Crusher X (AI Only)
[State -1]
type = ChangeState
value = 4000
triggerall = Var(1) = 1
triggerall = Power >= 3000 ;Level 3
triggerall = P2BodyDist Y >= -100
triggerall = P2MoveType != H
trigger1 = statetype = S
trigger1 = ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
;Psycho Devastator 1
[State -1]
type = ChangeState
value = 3600
triggerall = Var(1) = 0
triggerall = command = "2QCB_x"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 1
[State -1]
type = ChangeState
value = 3600
triggerall = Var(1) = 0
triggerall = command = "2QCB_y"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 1
[State -1]
type = ChangeState
value = 3600
triggerall = Var(1) = 0
triggerall = command = "2QCB_z"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 1 (AI Only)
[State -1]
type = ChangeState
value = 3600
triggerall = Var(1) = 1
triggerall = Random <= 99
triggerall = P2BodyDist X > 175
triggerall = P2StateType != A 
triggerall = P2MoveType = H
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 2
[State -1]
type = ChangeState
value = 3610
triggerall = Var(1) = 0
triggerall = command = "2QCB_y"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 2
[State -1]
type = ChangeState
value = 3610
triggerall = Var(1) = 0
triggerall = command = "2QCB_z"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 2 (AI Only)
[State -1]
type = ChangeState
value = 3610
triggerall = Var(1) = 1
triggerall = Random <= 99
triggerall = P2BodyDist X > 175
triggerall = P2StateType != A 
triggerall = P2MoveType = H
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 3
[State -1]
type = ChangeState
value = 3650
triggerall = Var(1) = 0
triggerall = command = "2QCB_z"
triggerall = command != "holddown"
triggerall = power >= 3000 ;Level 3
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Devastator 3 (AI Only)
[State -1]
type = ChangeState
value = 3650
triggerall = Var(1) = 1
triggerall = Random <= 99
triggerall = P2BodyDist X > 175
triggerall = P2StateType != A  
triggerall = P2MoveType = H
triggerall = Power >= 3000 ;Level 3
triggerall = numhelper < 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Crusher SFZ1
[State -1]
type = ChangeState
value = 3500
triggerall = Var(1) = 0
triggerall = command = "2QCF_x"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ1
[State -1]
type = ChangeState
value = 3500
triggerall = Var(1) = 0
triggerall = command = "2QCF_y"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ1
[State -1]
type = ChangeState
value = 3500
triggerall = Var(1) = 0
triggerall = command = "2QCF_z"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ1 (AI Only)
[State -1]
type = ChangeState
value = 3500
triggerall = Var(1) = 1
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = command = "2QCF_z"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ2
[State -1]
type = ChangeState
value = 3510
triggerall = Var(1) = 0
triggerall = command = "2QCF_y"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ2
[State -1]
type = ChangeState
value = 3510
triggerall = Var(1) = 0
triggerall = command = "2QCF_z"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ2 (AI Only)
[State -1]
type = ChangeState
value = 3510
triggerall = Var(1) = 1
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 20
triggerall = command = "2QCF_z"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher SFZ2 (AI Only)
[State -1]
type = ChangeState
value = 3510
triggerall = Var(1) = 1
triggerall = Random = [251, 499]
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = P2MoveType = H
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher XVSSF
[State -1]
type = ChangeState
value = 3550
triggerall = Var(1) = 0
triggerall = command = "2QCF_z"
triggerall = command != "holddown"
triggerall = power >= 3000 ;Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Psycho Crusher XVSSF (AI Only)
[State -1]
type = ChangeState
value = 3550
triggerall = Var(1) = 1
triggerall = Random = [251, 499]
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = P2MoveType = H
triggerall = power >= 3000 ;Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press A
[State -1]
type = ChangeState
value = 9999
triggerall = Var(1) = 0
triggerall = command = "2QCF_a"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press A
[State -1]
type = ChangeState
value = 9999
triggerall = Var(1) = 0
triggerall = command = "2QCF_b"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press A
[State -1]
type = ChangeState
value = 9999
triggerall = Var(1) = 0
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press A (AI Only)
[State -1]
type = ChangeState
value = 9999
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 1000 ;Level 1
triggerall = power < 2000 ;not Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20
trigger30 = p2stateno = 5300
trigger30 = pos y < -20

;===========================================================================
;Super Double Knee Press B
[State -1]
type = ChangeState
value = 9899
triggerall = Var(1) = 0
triggerall = command = "2QCF_b"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press B
[State -1]
type = ChangeState
value = 9899
triggerall = Var(1) = 0
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press B (AI Only)
[State -1]
type = ChangeState
value = 9899
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press B (AI Only)
[State -1]
type = ChangeState
value = 9899
triggerall = Var(1) = 1
triggerall = Random <= 250
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = P2MoveType = H
triggerall = power >= 2000 ;Level 2
triggerall = power < 3000 ;not Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20
trigger30 = p2stateno = 5300
trigger30 = pos y < -20

;===========================================================================
;Super Double Knee Press C
[State -1]
type = ChangeState
value = 9799
triggerall = Var(1) = 0
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 3000 ;Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Super Double Knee Press C (AI Only)
[State -1]
type = ChangeState
value = 9799
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = P2BodyDist Y >= -75 && P2BodyDist Y <= 25
triggerall = command = "2QCF_c"
triggerall = command != "holddown"
triggerall = power >= 3000 ;Level 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = p2statetype = A
trigger22 = movecontact
trigger22 = stateno = 600
trigger22 = pos y < -20
trigger23 = p2statetype = A
trigger23 = movecontact
trigger23 = stateno = 601
trigger23 = pos y < -20
trigger24 = p2statetype = A
trigger24 = movecontact
trigger24 = stateno = 602
trigger24 = pos y < -20
trigger25 = p2statetype = A
trigger25 = movecontact
trigger25 = stateno = 604
trigger25 = pos y < -20
trigger26 = p2statetype = A
trigger26 = movecontact
trigger26 = stateno = 605
trigger26 = pos y < -20
trigger27 = p2statetype = A
trigger27 = movecontact
trigger27 = stateno = 606
trigger27 = pos y < -20
trigger28 = p2statetype = A
trigger28 = movecontact
trigger28 = stateno = 607
trigger28 = pos y < -20
trigger29 = p2statetype = A
trigger29 = movecontact
trigger29 = stateno = 608
trigger29 = pos y < -20

;---------------------------------------------------------------------------
;Double Knee Press a
[State -1]
type = ChangeState
value = 1500
triggerall = command = "QCF_a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = stateno = [600, 608]
trigger22 = movecontact

;---------------------------------------------------------------------------
;Double Knee Press B
[State -1]
type = ChangeState
value = 1510
triggerall = command = "QCF_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = stateno = [600, 608]
trigger22 = movecontact

;---------------------------------------------------------------------------
;Double Knee Press C
[State -1]
type = ChangeState
value = 1520
triggerall = command = "QCF_c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210
trigger20 = stateno = 89598
trigger21 = statetype = A
trigger21 = ctrl = 1
trigger21 = pos y < -20
trigger22 = stateno = [600, 608]
trigger22 = movecontact

;===========================================================================
;Cholera
[State -1]
type = ChangeState
value = 89999
triggerall = Var(1) = 0
triggerall = command = "qcfqcfr_s"
triggerall = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Cholera (AI Only)
[State -1]
type = ChangeState
value = 89999
triggerall = Var(1) = 1
triggerall = Power < 3000
triggerall = Life < 50
triggerall = P2Life > 750
triggerall = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Pseudo-Head Press
[State -1]
type = ChangeState
value = 7999
triggerall = command = "chargedownup_x"
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Head Press
[State -1]
type = ChangeState
value = 9599
triggerall = Var(1) = 0
triggerall = command = "chargedownup_a"
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Head Press (AI Only)
[State -1]
type = ChangeState
value = 9599
triggerall = Var(1) = 1
triggerall = Random <= 299
triggerall = P2BodyDist X > 100
triggerall = P2StateType = C 
triggerall = P2MoveType != A 
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Head Press (AI Only)
[State -1]
type = ChangeState
value = 9599
triggerall = Var(1) = 1
triggerall = Random <= 299
triggerall = P2BodyDist Y < -150
triggerall = P2StateType = A 
triggerall = P2MoveType != A 
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Teleport X
[State -1]
type = ChangeState
value = 9499
triggerall = Var(1) = 0
triggerall = command = "Teleport_x"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport A
[State -1]
type = ChangeState
value = 9498
triggerall = Var(1) = 0
triggerall = command = "Teleport_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport Y
[State -1]
type = ChangeState
value = 9497
triggerall = Var(1) = 0
triggerall = command = "Teleport_y"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport B
[State -1]
type = ChangeState
value = 9496
triggerall = Var(1) = 0
triggerall = command = "Teleport_b"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport Z
[State -1]
type = ChangeState
value = 9495
triggerall = Var(1) = 0
triggerall = command = "Teleport_z"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport C
[State -1]
type = ChangeState
value = 9494
triggerall = Var(1) = 0
triggerall = command = "Teleport_c"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10

;---------------------------------------------------------------------------
;Teleport (AI Only)
[State -1]
type = ChangeState
value = 9500
triggerall = Var(1) = 1
triggerall = P2BodyDist X > 120
triggerall = P2MoveType = A
triggerall = P2StateType != A
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 89598
trigger2 = statetype != S
trigger2 = ctrl = 1
trigger2 = pos y < -10
trigger3 = p2stateno = 5300
trigger3 = p2bodydist X >= 80 ;Not Near P2
trigger3 = pos y < -10

;---------------------------------------------------------------------------
;Psycho Field Z
[State -1]
type = ChangeState
value = 89985
triggerall = Var(1) = 0
triggerall = command = "CCF_z"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Field Y
[State -1]
type = ChangeState
value = 89986
triggerall = Var(1) = 0
triggerall = command = "CCF_y"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Field X
[State -1]
type = ChangeState
value = 89987
triggerall = Var(1) = 0
triggerall = command = "CCF_x"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Field (AI Only) 
[State -1]
type = ChangeState
value = 90000
triggerall = Var(1) = 1
triggerall = Power < 1000
triggerall = Random <= 99
triggerall = P2BodyDist X > 175
triggerall = P2StateType != A 
triggerall = P2MoveType = H
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Power Z
[State -1]
type = ChangeState
value = 89988
triggerall = Var(1) = 0
triggerall = command = "HCF_z"
triggerall = command != "holddown"
triggerall = power >= 100
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Power Z (AI Only)
[State -1]
type = ChangeState
value = 89988
triggerall = Var(1) = 1
triggerall = Power >= 100
triggerall = Random >= 601
triggerall = P2BodyDist X > 100
triggerall = P2StateType != A
triggerall = P2MoveType = I
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Power Y
[State -1]
type = ChangeState
value = 89989
triggerall = Var(1) = 0
triggerall = command = "HCF_y"
triggerall = command != "holddown"
triggerall = power >= 100
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Power Y (AI Only)
[State -1]
type = ChangeState
value = 89989
triggerall = Var(1) = 1
triggerall = Power >= 100
triggerall = Random = [301, 600]
triggerall = P2BodyDist X > 100
triggerall = P2StateType != A
triggerall = P2MoveType = I
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Power X
[State -1]
type = ChangeState
value = 89990
triggerall = Var(1) = 0
triggerall = command = "HCF_x"
triggerall = command != "holddown"
triggerall = power >= 100
triggerall = numhelper = 0
triggerall = numproj = 0
triggerall = p2stateno != 5300
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Psycho Power X (AI Only)
[State -1]
type = ChangeState
value = 89990
triggerall = Var(1) = 1
triggerall = Power >= 100
triggerall = Random = [0, 300]
triggerall = P2BodyDist X > 100
triggerall = P2StateType != A
triggerall = P2MoveType = I
triggerall = numhelper = 0
triggerall = numproj = 0
triggerall = p2stateno != 5300
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Fly
[State -1]
type = ChangeState
value = 89599
triggerall = Var(1) = 0
triggerall = command = "CCF_a"
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Fly (AI Only)
[State -1]
type = ChangeState
value = 89599
triggerall = Var(1) = 1
triggerall = ctrl = 1
trigger1 = P2Name = "Goku-n-hd by EmuBoarding"
trigger1 = P2StateNo = 1500
trigger2 = P2Name = "Mystic Gohan by Zero_X"
trigger2 = P2StateNo = 2000
trigger3 = P2Name = "Freeza by OverMind"
trigger3 = P2StateNo = 3001
trigger4 = P2Name = "Kurilin by EmuBoarding"
trigger4 = P2StateNo = 1500
trigger5 = P2Name = "Trunks por ssonic"
trigger5 = P2StateNo = 1900
trigger6 = P2Name = "Vegeta Super Sayjin 4 by EB and BS"
trigger6 = P2StateNo = 1500
trigger7 = P2Name = "N-Trunks by EmuBoarding"
trigger7 = P2StateNo = 1500
trigger8 = P2Name = "Mr.Boo by OverMind"
trigger8 = P2StateNo = 3001
trigger9 = P2Name = "Vegeta by OverMind"
trigger9 = P2StateNo = 3001
trigger10 = P2Name = "Broli Remix ver1.2"
trigger10 = P2StateNo = 2000
trigger11 = P2Name = "Mew Two"
trigger11 = P2StateNo = 1051
trigger12 = P2Name = "Raditz"
trigger12 = P2StateNo = 1510
trigger13 = P2Name = "C-Trunks by EmuBoarding"
trigger13 = P2StateNo = 1500
trigger14 = P2Name = "Piccolo por Ssonic"
trigger14 = P2StateNo = 1900
trigger15 = P2Name = "M. Bison"
trigger15 = P2StateNo = 89598
trigger16 = P2Name = "Cell por Ssonic"
trigger16 = P2StateNo = 1900
trigger17 = P2Name = "Recoom by Lucifer"
trigger17 = P2StateNo = 1500
trigger18 = P2Name = "Vegetto EX by Shishi-Ryu"
trigger18 = P2StateNo = 2000
trigger19 = P2Name = "Goku Super Sayajin 2 by ribeiro"
trigger19 = P2StateNo = 2000
trigger20 = P2Name = "Pan Dragonball GT por Ssonic"  
trigger20 = P2StateNo = 1900
trigger21 = P2Name = "The Necromancer"
trigger21 = P2StateNo = 2000
trigger22 = P2Name = "Son Gohan by EmuBoarding"
trigger22 = P2StateNo = 1500
trigger23 = P2StateType = S
trigger23 = P2MoveType != H
trigger23 = P2BodyDist Y < -50

;---------------------------------------------------------------------------
;Psycho Shot X
[State -1]
type = ChangeState
value = 1000
triggerall = Var(1) = 0
triggerall = command = "QCF_x"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Shot X (AI Only)
[State -1]
type = ChangeState
value = 1000
triggerall = Var(1) = 1
triggerall = Power < 100
triggerall = Random <= 499
triggerall = P2BodyDist X > 100
triggerall = P2StateType != A
triggerall = P2MoveType != A
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Shot Y
[State -1]
type = ChangeState
value = 1001
triggerall = command = "QCF_y"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;---------------------------------------------------------------------------
;Psycho Shot Z
[State -1]
type = ChangeState
value = 1002
triggerall = command = "QCF_z"
triggerall = command != "holddown"
triggerall = numhelper = 0
triggerall = numproj = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 203
trigger6 = movecontact
trigger6 = stateno = 204
trigger7 = movecontact
trigger7 = stateno = 205
trigger8 = movecontact
trigger8 = stateno = 206
trigger9 = movecontact
trigger9 = stateno = 400
trigger10 = movecontact
trigger10 = stateno = 401
trigger11 = movecontact
trigger11 = stateno = 402
trigger12 = movecontact
trigger12 = stateno = 403
trigger13 = movecontact
trigger13 = stateno = 404
trigger14 = movecontact
trigger14 = stateno = 405
trigger15 = movecontact
trigger15 = stateno = 406
trigger16 = movecontact
trigger16 = stateno = 208
trigger17 = movecontact
trigger17 = stateno = 209
trigger18 = movecontact
trigger18 = stateno = 207
trigger19 = movecontact
trigger19 = stateno = 210

;===========================================================================
;---------------------------------------------------------------------------
;RunFwd
[State -1]
type = ChangeState
value = 100
triggerall = Var(1) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;RunFwd (AI Only)
[State -1]
type = ChangeState
value = 100
triggerall = Var(1) = 1
triggerall = Stateno != 100
triggerall = P2BodyDist X > 100
trigger1 = statetype = S
trigger1 = ctrl = 1

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

;---------------------------------------------------------------------------
;Stand_Throw (close dir+b)
; Complicated? Skip the throws and look at stand_a, etc, first.
; This is disabled right now. Remove the "null;" below when you
; want to use it.
[State -1]
type = ChangeState
value = 7499
triggerall = Var(1) = 0
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = p2bodydist X < 20 ;Near P2
trigger1 = command = "fwd_y";p2 stand
trigger1 = stateno != 100    ;Not running
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = command = "fwd_y";p2 crouch
trigger2 = stateno != 100    ;Not running
trigger2 = p2statetype = C
trigger2 = p2movetype != H
trigger3 = command = "fwd_z";p2 stand
trigger3 = stateno != 100    ;Not running
trigger3 = p2statetype = S
trigger3 = p2movetype != H
trigger4 = command = "fwd_z";p2 crouch
trigger4 = stateno != 100    ;Not running
trigger4 = p2statetype = C
trigger4 = p2movetype != H

;---------------------------------------------------------------------------
;Stand_Throw (AI Only)
[State -1]
type = ChangeState
value = 7499
triggerall = Var(1) = 1
triggerall = Random <= 199
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = p2bodydist X < 20 ;Near P2
trigger1 = p2statetype != A
trigger1 = p2movetype != H

;---------------------------------------------------------------------------
;Air_Throw1 (close dir+b)
; This is disabled right now. Remove the "null;" below when you
; want to use it.
[State -1]
type = ChangeState
value = 950
triggerall = Var(1) = 0
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = p2bodydist X < 9
;triggerall = p2bodydist Y > -22
;triggerall = p2bodydist Y < 22
triggerall = p2statetype = A
trigger1 = command = "fwd_y"
trigger2 = command = "back_y"
trigger3 = command = "fwd_z"
trigger4 = command = "back_z"

;---------------------------------------------------------------------------
;Air_Throw1 (AI Only)
[State -1]
type = ChangeState
value = 950
triggerall = Var(1) = 1
triggerall = Random <= 249
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = p2bodydist X < 9
triggerall = p2movetype != H
trigger1 = p2statetype = A

;===========================================================================
;---------------------------------------------------------------------------
;Stand Z (SHIN)
[State -1]
type = ChangeState
value = 203
triggerall = Var(1) = 0
triggerall = command = "fwd_z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = MoveContact
trigger2 = stateno = 200
trigger2 = MoveContact
trigger3 = stateno = 201
trigger2 = MoveContact
trigger4 = stateno = 202
trigger2 = MoveContact
trigger5 = stateno = 204
trigger6 = movecontact
trigger6 = stateno = 205
trigger7 = movecontact
trigger7 = stateno = 206
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 402
trigger11 = movecontact
trigger11 = stateno = 404
trigger12 = movecontact
trigger12 = stateno = 405
trigger13 = movecontact
trigger13 = stateno = 208
trigger14 = movecontact
trigger14 = stateno = 209
trigger15 = movecontact
trigger15 = stateno = 207
trigger16 = movecontact
trigger16 = stateno = 210

;---------------------------------------------------------------------------
;Stand Z (SHIN) (AI Only)
[State -1]
type = ChangeState
value = 203
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "fwd_z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 202
trigger5 = movecontact
trigger5 = stateno = 204
trigger6 = movecontact
trigger6 = stateno = 205
trigger7 = movecontact
trigger7 = stateno = 206
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 402
trigger11 = movecontact
trigger11 = stateno = 404
trigger12 = movecontact
trigger12 = stateno = 405
trigger13 = movecontact
trigger13 = stateno = 208
trigger14 = movecontact
trigger14 = stateno = 209
trigger15 = movecontact
trigger15 = stateno = 207
trigger16 = movecontact
trigger16 = stateno = 210

;---------------------------------------------------------------------------
;Crouch Z (SHIN)
[State -1]
type = ChangeState
value = 403
triggerall = Var(1) = 0
triggerall = command = "holddown"
triggerall = command = "holdfwd"
triggerall = command = "z"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 402
trigger5 = movecontact
trigger5 = stateno = 404
trigger6 = movecontact
trigger6 = stateno = 405

;---------------------------------------------------------------------------
;Crouch Z (SHIN) (AI Only)
[State -1]
type = ChangeState
value = 403
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "holddown"
triggerall = command = "holdfwd"
triggerall = command = "z"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 402
trigger5 = movecontact
trigger5 = stateno = 404
trigger6 = movecontact
trigger6 = stateno = 405
trigger7 = p2stateno = 5300

;---------------------------------------------------------------------------
;Jump Z (SHIN)
[State -1]
type = ChangeState
value = 603
triggerall = Var(1) = 0
triggerall = command = "holddown"
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 605
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 606
trigger8 = p2statetype = A
trigger8 = movecontact
trigger8 = stateno = 607
trigger9 = p2statetype = A
trigger9 = movecontact
trigger9 = stateno = 608

;---------------------------------------------------------------------------
;Jump Z (SHIN) (AI Only)
[State -1]
type = ChangeState
value = 603
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "holddown"
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 605
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 606
trigger8 = p2statetype = A
trigger8 = movecontact
trigger8 = stateno = 607
trigger9 = p2statetype = A
trigger9 = movecontact
trigger9 = stateno = 608

;===========================================================================
;---------------------------------------------------------------------------
;Stand X
[State -1]
type = ChangeState
value = 200
triggerall = Var(1) = 0
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = animelem >= 4
trigger2 = stateno = 200

;---------------------------------------------------------------------------
;Stand X (AI Only)
[State -1]
type = ChangeState
value = 200
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = animelem >= 4
trigger2 = stateno = 200
trigger7 = p2stateno = 5300

;---------------------------------------------------------------------------
;Stand Y
[State -1]
type = ChangeState
value = 201
triggerall = Var(1) = 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X > 50
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 204
trigger4 = movecontact
trigger4 = stateno = 400
trigger5 = movecontact
trigger5 = stateno = 404

;---------------------------------------------------------------------------
;Stand Y (AI Only)
[State -1]
type = ChangeState
value = 201
triggerall = Var(1) = 1
triggerall = P2bodydist X <= 100
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 204
trigger4 = movecontact
trigger4 = stateno = 400
trigger5 = movecontact
trigger5 = stateno = 404

;---------------------------------------------------------------------------
;Stand Z
[State -1]
type = ChangeState
value = 202
triggerall = Var(1) = 0
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2bodydist X > 42
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405
trigger12 = movecontact
trigger12 = stateno = 210

;---------------------------------------------------------------------------
;Stand Z (AI Only)
[State -1]
type = ChangeState
value = 202
triggerall = Var(1) = 1
triggerall = P2MoveType != A
triggerall = P2bodydist X <= 100
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405
trigger12 = movecontact
trigger12 = stateno = 210

;---------------------------------------------------------------------------
;Stand A
[State -1]
type = ChangeState
value = 204
triggerall = Var(1) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = animelem >= 4
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 400

;---------------------------------------------------------------------------
;Stand A (AI Only)
[State -1]
type = ChangeState
value = 204
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = animelem >= 4
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 400
trigger7 = p2stateno = 5300

;---------------------------------------------------------------------------
;Stand B
[State -1]
type = ChangeState
value = 205
triggerall = Var(1) = 0
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2bodydist X > 60
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 207
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 401
trigger8 = movecontact
trigger8 = stateno = 404

;---------------------------------------------------------------------------
;Stand B (AI Only)
[State -1]
type = ChangeState
value = 205
triggerall = Var(1) = 1
triggerall = P2bodydist X <= 100
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 207
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 401
trigger8 = movecontact
trigger8 = stateno = 404

;---------------------------------------------------------------------------
;Stand C
[State -1]
type = ChangeState
value = 206
triggerall = Var(1) = 0
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X > 40
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Stand C (AI Only)
[State -1]
type = ChangeState
value = 206
triggerall = Var(1) = 1
triggerall = P2MoveType != A
triggerall = P2bodydist X <= 100
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Close Y
[State -1]
type = ChangeState
value = 207
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 50
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 204
trigger4 = movecontact
trigger4 = stateno = 400
trigger5 = movecontact
trigger5 = stateno = 404

;---------------------------------------------------------------------------
;Close B
[State -1]
type = ChangeState
value = 208
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 60
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 207
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 401
trigger8 = movecontact
trigger8 = stateno = 404

;---------------------------------------------------------------------------
;Close C
[State -1]
type = ChangeState
value = 209
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 40
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Close Z
[State -1]
type = ChangeState
value = 210
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2bodydist X <= 42
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 201
trigger4 = movecontact
trigger4 = stateno = 204
trigger5 = movecontact
trigger5 = stateno = 205
trigger6 = movecontact
trigger6 = stateno = 208
trigger7 = movecontact
trigger7 = stateno = 207
trigger8 = movecontact
trigger8 = stateno = 400
trigger9 = movecontact
trigger9 = stateno = 401
trigger10 = movecontact
trigger10 = stateno = 404
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Crouch X
[State -1]
type = ChangeState
value = 400
triggerall = Var(1) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch X (AI Only)
[State -1]
type = ChangeState
value = 400
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch Y
[State -1]
type = ChangeState
value = 401
triggerall = Var(1) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 404
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 204
trigger6 = movecontact
trigger6 = stateno = 207

;---------------------------------------------------------------------------
;Crouch Y (AI Only)
[State -1]
type = ChangeState
value = 401
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 404
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 204
trigger6 = movecontact
trigger6 = stateno = 207

;---------------------------------------------------------------------------
;Crouch Z
[State -1]
type = ChangeState
value = 402
triggerall = Var(1) = 0
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 405
trigger6 = movecontact
trigger6 = stateno = 200
trigger7 = movecontact
trigger7 = stateno = 201
trigger8 = movecontact
trigger8 = stateno = 204
trigger9 = movecontact
trigger9 = stateno = 205
trigger10 = movecontact
trigger10 = stateno = 207
trigger11 = movecontact
trigger11 = stateno = 208

;---------------------------------------------------------------------------
;Crouch Z (AI Only)
[State -1]
type = ChangeState
value = 402
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = P2MoveType != A
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 405
trigger6 = movecontact
trigger6 = stateno = 200
trigger7 = movecontact
trigger7 = stateno = 201
trigger8 = movecontact
trigger8 = stateno = 204
trigger9 = movecontact
trigger9 = stateno = 205
trigger10 = movecontact
trigger10 = stateno = 207
trigger11 = movecontact
trigger11 = stateno = 208

;---------------------------------------------------------------------------
;Crouch Z (AI Only)
[State -1]
type = ChangeState
value = 402
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 65
triggerall = P2StateType != A
triggerall = P2MoveType = H
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 405
trigger6 = movecontact
trigger6 = stateno = 200
trigger7 = movecontact
trigger7 = stateno = 201
trigger8 = movecontact
trigger8 = stateno = 204
trigger9 = movecontact
trigger9 = stateno = 205
trigger10 = movecontact
trigger10 = stateno = 207
trigger11 = movecontact
trigger11 = stateno = 208

;---------------------------------------------------------------------------
;Aerial Rave Jump
[State -1]
type = ChangeState
value = 41
trigger1 = command = "holdup"
trigger1 = movecontact
trigger1 = stateno = 402
trigger2 = command = "high jump"
trigger2 = statetype != A
trigger2 = ctrl = 1

;---------------------------------------------------------------------------
;Recovery - Roll
[State -1]
type = VarSet
triggerall = Var(2) = 0
triggerall = MoveType = H
trigger1 = command = "QCB_x"
trigger2 = command = "QCB_y"
trigger3 = command = "QCB_z"
v = 2
value = 1

;---------------------------------------------------------------------------
;Crouch A
[State -1]
type = ChangeState
value = 404
triggerall = Var(1) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 204

;---------------------------------------------------------------------------
;Crouch A (AI Only)
[State -1]
type = ChangeState
value = 404
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 204

;---------------------------------------------------------------------------
;Crouch B
[State -1]
type = ChangeState
value = 405
triggerall = Var(1) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 201
trigger7 = movecontact
trigger7 = stateno = 204
trigger8 = movecontact
trigger8 = stateno = 207
trigger9 = movecontact
trigger9 = stateno = 208

;---------------------------------------------------------------------------
;Crouch B (AI Only)
[State -1]
type = ChangeState
value = 405
triggerall = Var(1) = 1
triggerall = P2StateType = S
triggerall = P2MoveType != A
triggerall = P2BodyDist X <= 65
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 201
trigger7 = movecontact
trigger7 = stateno = 204
trigger8 = movecontact
trigger8 = stateno = 207
trigger9 = movecontact
trigger9 = stateno = 208

;---------------------------------------------------------------------------
;Crouch C
[State -1]
type = ChangeState
value = 406
triggerall = Var(1) = 0
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 201
trigger7 = movecontact
trigger7 = stateno = 204
trigger8 = movecontact
trigger8 = stateno = 207
trigger9 = movecontact
trigger9 = stateno = 208
trigger10 = movecontact
trigger10 = stateno = 205
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Crouch C (AI Only)
[State -1]
type = ChangeState
value = 406
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = movecontact
trigger2 = stateno = 400
trigger3 = movecontact
trigger3 = stateno = 401
trigger4 = movecontact
trigger4 = stateno = 404
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 201
trigger7 = movecontact
trigger7 = stateno = 204
trigger8 = movecontact
trigger8 = stateno = 207
trigger9 = movecontact
trigger9 = stateno = 208
trigger10 = movecontact
trigger10 = stateno = 205
trigger11 = movecontact
trigger11 = stateno = 405

;---------------------------------------------------------------------------
;Jump X
[State -1]
type = ChangeState
value = 600
triggerall = Var(1) = 0
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump X (AI Only)
[State -1]
type = ChangeState
value = 600
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump Up Y
[State -1]
type = ChangeState
value = 607
triggerall = Var(1) = 0
triggerall = vel X = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 604

;---------------------------------------------------------------------------
;Jump Up Y (AI Only)
[State -1]
type = ChangeState
value = 607
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = vel X = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 604

;---------------------------------------------------------------------------
;Jump Y
[State -1]
type = ChangeState
value = 601
triggerall = Var(1) = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 604

;---------------------------------------------------------------------------
;Jump Y (AI Only)
[State -1]
type = ChangeState
value = 601
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 604

;---------------------------------------------------------------------------
;Jump Z
[State -1]
type = ChangeState
value = 602
triggerall = Var(1) = 0
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 604
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 605
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 608

;---------------------------------------------------------------------------
;Jump Z (AI Only)
[State -1]
type = ChangeState
value = 602
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 604
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 605
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 608

;---------------------------------------------------------------------------
;Jump A
[State -1]
type = ChangeState
value = 604
triggerall = Var(1) = 0
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600

;---------------------------------------------------------------------------
;Jump A (AI Only)
[State -1]
type = ChangeState
value = 604
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600

;---------------------------------------------------------------------------
;Jump Up B
[State -1]
type = ChangeState
value = 608
triggerall = Var(1) = 0
triggerall = vel X = 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607

;---------------------------------------------------------------------------
;Jump Up B (AI Only)
[State -1]
type = ChangeState
value = 608
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = vel X = 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607

;---------------------------------------------------------------------------
;Jump B
[State -1]
type = ChangeState
value = 605
triggerall = Var(1) = 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607

;---------------------------------------------------------------------------
;Jump B (AI Only)
[State -1]
type = ChangeState
value = 605
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 602
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 604
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607

;---------------------------------------------------------------------------
;Jump C
[State -1]
type = ChangeState
value = 606
triggerall = Var(1) = 0
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 604
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 605
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 608

;---------------------------------------------------------------------------
;Jump C (AI Only)
[State -1]
type = ChangeState
value = 606
triggerall = Var(1) = 1
triggerall = P2BodyDist X <= 100
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = p2statetype = A
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = p2statetype = A
trigger3 = movecontact
trigger3 = stateno = 601
trigger4 = p2statetype = A
trigger4 = movecontact
trigger4 = stateno = 604
trigger5 = p2statetype = A
trigger5 = movecontact
trigger5 = stateno = 605
trigger6 = p2statetype = A
trigger6 = movecontact
trigger6 = stateno = 607
trigger7 = p2statetype = A
trigger7 = movecontact
trigger7 = stateno = 608

;---------------------------------------------------------------------------
;Taunt
[State -1]
type = ChangeState
value = 195
triggerall = Var(1) = 0
triggerall = command = "s"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;AI Initialize
[State -1]
type = VarSet
triggerall = Var(1) = 0

trigger1 = command = "AI_OrochiHerman1"
trigger2 = command = "AI_OrochiHerman2"
trigger3 = command = "AI_OrochiHerman3"
trigger4 = command = "AI_OrochiHerman4"
trigger5 = command = "AI_OrochiHerman5"
trigger6 = command = "AI_OrochiHerman6"
trigger7 = command = "AI_OrochiHerman7"
trigger8 = command = "AI_OrochiHerman8"
trigger9 = command = "AI_OrochiHerman9"
trigger10 = command = "AI_OrochiHerman10"
trigger11 = command = "AI_OrochiHerman11"
trigger12 = command = "AI_OrochiHerman12"
trigger13 = command = "AI_OrochiHerman13"
trigger14 = command = "AI_OrochiHerman14"
trigger15 = command = "AI_OrochiHerman15"
trigger16 = command = "AI_OrochiHerman16"
trigger17 = command = "AI_OrochiHerman17"
trigger18 = command = "AI_OrochiHerman18"
trigger19 = command = "AI_OrochiHerman19"
trigger20 = command = "AI_OrochiHerman20"
trigger21 = command = "AI_OrochiHerman21"
trigger22 = command = "AI_OrochiHerman22"
trigger23 = command = "AI_OrochiHerman23"
trigger24 = command = "AI_OrochiHerman24"
trigger25 = command = "AI_OrochiHerman25"
trigger26 = command = "AI_OrochiHerman26"
trigger27 = command = "AI_OrochiHerman27"
trigger28 = command = "AI_OrochiHerman28"
trigger29 = command = "AI_OrochiHerman29"
trigger30 = command = "AI_OrochiHerman30"

v = 1
value = 1

;---------------------------------------------------------------------------
;AI End
[State -1]
type = VarSet
triggerall = Var(1) = 1
trigger1 = Win || Lose 
v = 1
value = 0

[State -1]
type = VarSet
trigger1 = Win || Lose
v = 2
value = 0

