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

;-| Default Values |-------------------------------------------------------
[Defaults]
command.time = 15
command.buffer.time = 1

;-| AI |--------------------------------------------------------
[Command]
Name = "AI_00"
Command = U, U, D, D, B, F, B, F, b, a
Time = 0

[Command]
Name = "AI_01"
Command = U, U, D, D, B, F, B, F, a, a
Time = 0

[Command]
Name = "AI_02"
Command = U, U, D, D, B, F, B, F, b, b
Time = 0

[Command]
Name = "AI_03"
Command = U, U, D, D, B, F, B, F, c, c
Time = 0

[Command]
Name = "AI_04"
Command = U, U, D, D, B, F, B, F, x, x
Time = 0

[Command]
Name = "AI_05"
Command = U, U, D, D, B, F, B, F, y, y
Time = 0

[Command]
Name = "AI_06"
Command = U, U, D, D, B, F, B, F, z, z
Time = 0

[Command]
Name = "AI_07"
Command = U, U, D, D, B, F, B, F, s, s
Time = 0

[Command]
Name = "AI_08"
Command = U, U, D, D, B, F, B, F, a, b
Time = 0

[Command]
Name = "AI_09"
Command = U, U, D, D, B, F, B, F, a, c
Time = 0

[Command]
Name = "AI_10"
Command = U, U, D, D, B, F, B, F, a, x
Time = 0

[Command]
Name = "AI_11"
Command = U, U, D, D, B, F, B, F, a, y
Time = 0

[Command]
Name = "AI_12"
Command = U, U, D, D, B, F, B, F, a, z
Time = 0

[Command]
Name = "AI_13"
Command = U, U, D, D, B, F, B, F, a, s
Time = 0

[Command]
Name = "AI_14"
Command = U, U, D, D, B, F, B, F, b, c
Time = 0

[Command]
Name = "AI_15"
Command = U, U, D, D, B, F, B, F, b, x
Time = 0

[Command]
Name = "AI_16"
Command = U, U, D, D, B, F, B, F, b, y
Time = 0

[Command]
Name = "AI_17"
Command = U, U, D, D, B, F, B, F, b, z
Time = 0

[Command]
Name = "AI_18"
Command = U, U, D, D, B, F, B, F, b, s
Time = 0

[Command]
Name = "AI_19"
Command = U, U, D, D, B, F, B, F, c, a
Time = 0

[Command]
Name = "AI_20"
Command = U, U, D, D, B, F, B, F, c, b
Time = 0

[Command]
Name = "AI_21"
Command = U, U, D, D, B, F, B, F, c, x
Time = 0

[Command]
Name = "AI_22"
Command = U, U, D, D, B, F, B, F, c, y
Time = 0

[Command]
Name = "AI_23"
Command = U, U, D, D, B, F, B, F, c, z
Time = 0

[Command]
Name = "AI_24"
Command = U, U, D, D, B, F, B, F, c, s
Time = 0

[Command]
Name = "AI_25"
Command = U, U, D, D, B, F, B, F, s, a
Time = 0

[Command]
Name = "AI_26"
Command = U, U, D, D, B, F, B, F, s, b
Time = 0

[Command]
Name = "AI_27"
Command = U, U, D, D, B, F, B, F, s, c
Time = 0

[Command]
Name = "AI_28"
Command = U, U, D, D, B, F, B, F, s, x
Time = 0

[Command]
Name = "AI_29"
Command = U, U, D, D, B, F, B, F, s, y
Time = 0

[Command]
Name = "AI_30"
Command = U, U, D, D, B, F, B, F, s, z
Time = 0

;-| Hypers Motions |------------------------------------------------------

[Command]
name = "Goenitz"
command = ~D, B, D, B, x
time = 30

[Command]
name = "Rashomon"
command = ~D, B, D, B, y
time = 30

[Command]
name = "Tizoc"
command = ~D, B, D, B, a
time = 30

[Command]
name = "cyclone"
command = ~D, B, D, B, b
time = 30

[Command]
name = "Storm"
command = ~D, B, D, B, c
time = 30

[Command]
name = "Orochi"
command = ~D, F, D, F, x
time = 30

[Command]
name = "Mukai"
command = ~D, F, D, F, y
time = 30

[Command]
name = "Grant"
command = ~D, F, D, F, a
time = 30

[Command]
name = "atmic"
command = ~D, F, D, F, b
time = 30

[Command]
name = "Metal_Slug"
command = ~D, F, D, F, c
time = 30

[Command]
name = "Terry03"
command = ~F,D,B,x


[Command]
name = "God_Rugal"
command = ~F,D,B,y


[Command]
name = "Nbc_Neodio"
command = ~F,D,B,a


[Command]
name = "Riot_Blood"
command = ~F,D,B,b


[Command]
name = "Mai_Shiranui"
command = ~F,D,B,c


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

[Command]
name = "Rugal"
command = ~F,D,F,a


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


[Command]
name = "Rugal"
command = ~F,D,F,a


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


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


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


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


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


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


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


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


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


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


[Command]
name = "kazaguruma3"
command = ~D, F, a


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


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


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


[Command]
name = "Kim"
command = ~$D, $U, a


[Command]
name = "Dragon"
command = ~$D, $U, b


[Command]
name = "Neodio"
command = ~$D, $U, x


[Command]
name = "Akari"
command = ~$D, $U, y


[Command]
name = "Kagami"
command = ~$D, $U, c


[Command]
name = "astro-revolve_y"
command = ~$D, U, y


[Command]
name = "Nakoruru"
command = ~30$B, F, a


[Command]
name = "Leona"
command = ~30$B, F, b


[Command]
name = "Heidern"
command = ~30$B, F, y


[Command]
name = "Ash"
command = ~30$B, F, x


[Command]
name = "Kain"
command = ~30$B, F, c


[Command]
name = "gun"
command = ~D,D, x


[Command]
name = "gun"
command = ~D,D, y


[Command]
name = "HA-HA"
command = ~D,D, a


[Command]
name = "HA-HA"
command = ~D,D, b


[Command]
name = "You_Die"
command = /DF, c

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

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

[Command]
name = "SJump"
command = D, $U
time = 10

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

[Command]
name = "GC" ;Required (do not remove)
command = c
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

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

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

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

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

[command]
name = "downfwd_y"
command = /DF, y
time = 1

[command]
name = "downback_y"
command = /DB, y
time = 1

[command]
name = "downfwd_b"
command = /DF, b
time = 1

[command]
name = "fwd_y"
command = /F, y
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 = "start"
command = s
time = 1

;-| Hold Button |--------------------------------------------------------------

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

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

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

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

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

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


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

[Command]
name = "holdfwd"
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 = "holddown"
command = /$D
time = 1

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

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

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

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

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

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

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


; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]

;---------------------------------------------------------------------------
;hyper
;[State -1,]
[State -1, Goenitz]
type = ChangeState
value = 3000
triggerall = command = "Goenitz"
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(58) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210&& animelem = 2, <= 2
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact

;---------------------------------------------------------------------------
[State -1, RASHOMON]
type = ChangeState
value = 3050
triggerall = command = "Rashomon"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 245 && AnimElemtime(4) >= 0 && AnimElemtime(5) <= 2 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 430 && movecontact
trigger8 = stateno = 310 && movecontact

;---------------------------------------------------------------------------
[State -1,]
type = ChangeState
value = 3100
triggerall = command = "cyclone"
triggerall = power >= 1000
triggerall = p2movetype != H
triggerall = p2statetype != A
triggerall = p2bodydist X < 100
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 52 || stateno = 100
trigger2 = animelem = 1, >= 1

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3150
triggerall = command = "Tizoc"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = statetype = C
trigger2 = ctrl = 1
trigger3 = stateno = 205
trigger4 = stateno = 225
trigger5 = stateno = 210
trigger6 = stateno = 300

[State -1]
type = ChangeState
value = 3150
triggerall = command = "Tizoc"
triggerall = power >= 1000
triggerall = Var(9) = 1
triggerall = StateType != A
trigger1 = StateNo = 150
trigger2 = StateNo = 152
trigger3 = StateNo = 154

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3200
triggerall = command = "Storm"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 290 && movecontact
trigger3 = stateno = 710 && animelem = 2,>=0

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3250
triggerall = command = "Orochi"
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(58) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210&& animelem = 2, <= 2
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3300
triggerall = command = "Mukai"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 431
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3350
triggerall = command = "atmic"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno = 200
trigger3= movecontact
trigger3 = stateno = 250
trigger4= movecontact
trigger4 = stateno = 240
trigger5= movecontact
trigger5 = stateno = 241
trigger6= movecontact
trigger6 = stateno = 400

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3450
triggerall = command = "Metal_Slug"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 431
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3400
triggerall = command = "Grant"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = statetype = C
trigger2 = ctrl = 1
trigger3 = movecontact 
trigger3 = stateno = 205
trigger3 = AnimElem = 6, <= 0
trigger3 = AnimElem = 4, >= 0
trigger4 = movecontact 
trigger4 = stateno = 215
trigger4 = AnimElem = 6, <= 0
trigger4 = AnimElem = 5, >= 0
trigger5 = movecontact 
trigger5 = stateno = 220
trigger5 = AnimElem = 6, <= 0
trigger5 = AnimElem = 4, >= 0
trigger6 = MoveContact 
trigger6 = StateNo = 225
trigger6 = AnimElem = 6, >= 0
trigger6 = AnimElem = 8, <= 0
trigger7 = MoveContact 
trigger7 = StateNo = 300
trigger7 = AnimElem = 4, >= 0
trigger7 = AnimElem = 6, <= 0
trigger8 = MoveContact 
trigger8 = StateNo = 310
trigger8 = AnimElem = 4, >= 0
trigger8 = AnimElem = 6, <= 0
trigger9 = MoveContact 
trigger9 = StateNo = 330
trigger9 = AnimElem = 6, >= 0
trigger9 = AnimElem = 8, <= 0
trigger10 = MoveContact 
trigger10 = StateNo = 600
trigger10 = AnimElem = 12, >= 0
trigger10 = AnimElem = 14, <= 0
trigger11 = MoveContact 
trigger11 = StateNo = 800
trigger11 = AnimElem = 4, >= 0
trigger11 = AnimElem = 6, <= 0

[State -1]
type = ChangeState
value = 3400
triggerall = command = "Grant"
triggerall = power >= 1000
triggerall = Var(9) = 1
triggerall = StateType != A
trigger1 = StateNo = 150
trigger2 = StateNo = 152
trigger3 = StateNo = 154

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3500
triggerall = command = "Terry03"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3550
triggerall = command = "God_Rugal"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3600
triggerall = command = "Nbc_Neodio"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3650
triggerall = command = "Riot_Blood"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3700
triggerall = command = "Mai_Shiranui"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact

;---------------------------------------------------------------------------
;Special Moves
;---------------------------------------------------------------------------
;Special
;[State -1,]
[STate -1];corte1
type=Changestate
triggerall=command="Rugal"
triggerall=Statetype!=A
trigger1=Ctrl
trigger2=Movecontact
trigger2=stateno=200||stateno=210||stateno=260||stateno=270
trigger3=Movecontact
trigger3=stateno=400||stateno=410||stateno=430||stateno=700
trigger4=Movecontact
trigger4=Stateno=280
trigger4=(Animelem=5,>=0)&&(animelem=10,<=0)
trigger5=Movecontact
trigger5=Stateno=230
trigger5=(Animelem=4,>=0)&&(animelem=7,<=0)
trigger6=Movecontact
trigger6=Stateno=250||Stateno=260
trigger6=(Animelem=4,>=0)&&(animelem=6,<=0)
value=1000
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1090
triggerall = var(1) != 1
triggerall = command = "Shion"
trigger1 = statetype != A && (ctrl || (Stateno = [100,101]))
trigger2 = (stateno = [200,250]) || (stateno = [400,430])
trigger2 = movecontact
trigger3 = (stateno = 410) || (stateno = 700)
trigger3 = movecontact
;---------------------------------------------------------------------------
[State -1, L ONI]
type = ChangeState
value = 1100
triggerall = command = "Iori"
triggerall = statetype != A
triggerall = var(59) = 0
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 220 && movecontact
trigger5 = stateno = 230 && movecontact
trigger6 = stateno = 260 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 305 && movecontact
;---------------------------------------------------------------------------
; Uppercut_C
[State -1]
type = ChangeState
value = 1150
triggerall = !Var(59); hide AI
triggerall = command = "Crow_Bite_C"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [210,280]
trigger2 = (movecontact && time <= 10) || time = [5,11]
trigger3 = stateno = [400,440]
trigger3 = movecontact
trigger4 = stateno = 301
trigger4 = movecontact && time = [15,17]
trigger4 = time = [15,21]
trigger5 = stateno = 356
trigger6 = stateno = 250 || stateno = 321 || stateno = 410 || stateno = 440
trigger6 = time = [7,14]
trigger7 = stateno = 210 
trigger7 = (movecontact) || time = [5,11]


[State -1, follow 2]
type = ChangeState
value = 1155
triggerall = command = "fwd_b"
trigger1 = StateNo = 1154 && Time <= 14

;---------------------------------------------------------------------------
[State -1,]
type = ChangeState
value = 1200
triggerall = command = "megaton"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno = 200
trigger3= movecontact
trigger3 = stateno = 220
trigger4= movecontact
trigger4 = stateno = 250
trigger5= movecontact
trigger5 = stateno = 270
trigger6= movecontact
trigger6 = stateno = 400
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1250
triggerall = command = "kusari2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

trigger6 = var(58) = 1
trigger6 = movecontact
trigger6 = stateno = 1000
trigger6 = animelem = 12, >= 0
trigger6 = animelem = 14, <= 0
trigger7 = var(58) = 1
trigger7 = movecontact
trigger7 = stateno = 1200
;-----------------------------------------------------------------------------
[State -1, a]
type = ChangeState
value = 1300
triggerall = command = "Jazu"
triggerall = statetype != A
triggerall = numproj = 0
trigger1 = ctrl
trigger2 = movecontact && stateno = 230
trigger3 = movecontact && stateno = 240
trigger4 = movecontact && stateno = 250
trigger5 = movecontact && stateno = 290
trigger6 = movecontact && stateno = 300
trigger7 = movecontact && stateno = 310
trigger8 = movecontact && stateno = 320
trigger9 = movecontact && stateno = 400
trigger10 = movecontact && stateno = 410
trigger11 = movecontact && stateno = 430

;-----------------------------------------------------------------------------
[State -1,]
type = ChangeState
value = 1350
triggerall = command = "blitz2"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 52 || stateno = 100
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 200 && time = [8,12]
trigger4 = stateno = 205 && time = [6,10]
trigger5 = stateno = 210 && time = [8,13]
trigger6 = stateno = 215 && time = [8,13]
trigger7 = stateno = 225 && time = [10,16]
trigger8 = stateno = 260 && time = [8,13]
trigger9 = stateno = 262 && time = [10,16]
trigger10 = stateno = 263 && time = [10,16]
trigger11 = stateno = 240 && time = [5,19]
trigger12 = stateno = 400 && time = [6,10]
trigger13 = stateno = 410 && time = [9,12]
trigger14 = stateno = 460 && time = [9,12]
trigger15 = stateno = 420 && time = [10,12]

;-----------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1400
triggerall = command = "Mai"
trigger1 = statetype != A && ctrl
trigger2 = stateno = 200 && AnimElem = 4, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger3 = stateno = 205 && AnimElem = 2, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger4 = stateno = 210 && AnimElem = 4, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger5 = stateno = 230 && AnimElem = 3, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger6 = stateno = 235 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger7 = stateno = 240 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger8 = stateno = 270 && AnimElem = 3, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger9 = stateno = 400 && AnimElem = 2, >= 1 && MoveContact
trigger10 = stateno = 430 && AnimElem = 2, >= 1 && MoveContact
trigger11 = stateno = 440 && AnimElem = 2, >= 1 && MoveContact
trigger12 = stateno = 475 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact

;-----------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1450
triggerall = RoundState = 2
triggerall = command = "kazaguruma3"
trigger1 = statetype != A && ctrl
trigger2 = stateno = 200 && AnimElem = 4, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger3 = stateno = 205 && AnimElem = 2, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger4 = stateno = 210 && AnimElem = 4, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger5 = stateno = 230 && AnimElem = 3, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger6 = stateno = 235 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger7 = stateno = 240 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact
trigger8 = stateno = 270 && AnimElem = 3, >= 1 && AnimElem = 7, < 0 && MoveContact
trigger9 = stateno = 400 && AnimElem = 2, >= 1 && MoveContact
trigger10 = stateno = 430 && AnimElem = 2, >= 1 && MoveContact
trigger11 = stateno = 440 && AnimElem = 2, >= 1 && MoveContact
trigger12 = stateno = 475 && AnimElem = 3, >= 1 && AnimElem = 6, < 0 && MoveContact

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1500
triggerall = Command = "koou1"
trigger1 = statetype != A && (ctrl || (Stateno = [100,101]))
trigger2 = (stateno = [200,240]) || (stateno = [400,430])
trigger2 = movecontact && var(1) != 1
trigger3 = (stateno = 450) || (stateno = 720)
trigger3 = movecontact && var(1) != 1
trigger4 = (stateno = [10200,10210]) || (stateno = 10250)
trigger4 = movecontact && var(1) = 1

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1550
triggerall = command = "botsuu_y"
trigger1 = statetype != A && (ctrl || (Stateno = [100,101]))
trigger2 = (stateno = [200,240]) || (stateno = [400,430])
trigger2 = movecontact && var(1) != 1
trigger3 = (stateno = 450) || (stateno = 720)
trigger3 = movecontact && var(1) != 1
trigger4 = (stateno = [10200,10210]) || (stateno = 10250)
trigger4 = movecontact && var(1) = 1

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1600
triggerall = command = "Dragon"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = movecontact && stateno = 230
trigger3 = movecontact && stateno = 240
trigger4 = movecontact && stateno = 250
trigger5 = movecontact && stateno = 290
trigger6 = movecontact && stateno = 300
trigger7 = movecontact && stateno = 310
trigger8 = movecontact && stateno = 320
trigger9 = movecontact && stateno = 400
trigger10 = movecontact && stateno = 410
trigger11 = movecontact && stateno = 430

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1650
triggerall = command = "Kim"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = movecontact && stateno = 230
trigger3 = movecontact && stateno = 240
trigger4 = movecontact && stateno = 250
trigger5 = movecontact && stateno = 290
trigger6 = movecontact && stateno = 300
trigger7 = movecontact && stateno = 310
trigger8 = movecontact && stateno = 320
trigger9 = movecontact && stateno = 400
trigger10 = movecontact && stateno = 410
trigger11 = movecontact && stateno = 430

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1700
triggerall = command = "Neodio"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = time > 0
trigger2 = stateno = [195,198]
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 205
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 225
trigger8 = movecontact
trigger8 = stateno = 230
trigger9 = movecontact
trigger9 = stateno = 235
trigger10 = movecontact
trigger10 = stateno = 240
trigger11 = movecontact
trigger11 = stateno = 250
trigger12 = movecontact
trigger12 = stateno = 255
trigger13 = movecontact
trigger13 = stateno = 400
trigger14 = movecontact
trigger14 = stateno = 410
trigger15 = movecontact
trigger15 = stateno = 420
trigger16 = movecontact
trigger16 = stateno = 430
trigger17 = movecontact
trigger17 = stateno = 440
trigger18 = movecontact
trigger18 = stateno = 450

;---------------------------------------------------------------------------
[State -1, astro-revolve]
type = ChangeState
value = 1750
triggerall = command = "Akari"
trigger1 = ctrl = 1 && statetype = S
trigger2 = StateNo = 40
trigger3 = StateNo = 200 && MoveContact
trigger4 = StateNo = 205 && MoveContact
trigger5 = StateNo = 210 && MoveContact
trigger6 = StateNo = 215 && MoveContact
trigger7 = StateNo = 230 && MoveContact
trigger8 = StateNo = 240 && MoveContact
trigger9 = StateNo = 400 && MoveContact
trigger10 = StateNo = 410 && MoveContact
trigger11 = StateNo = 420 && MoveContact
trigger12 = StateNo = 430 && MoveContact
trigger13 = StateNo = 905 && MoveContact
trigger14 = StateNo = 915 && MoveContact

[State -1, follow 1]
type = ChangeState
value = 1770
triggerall = command = "astro-revolve_y"
trigger1 = StateNo = 1752 && Time <= 14

;---------------------------------------------------------------------------
[State -1, gate]
type = ChangeState
value = 1800
;triggerall = var(59) = 0
triggerall = roundstate = 2
triggerall = Command = "Nakoruru"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=4,<0)
trigger3 = stateno = 201 && ((animelem=4,<0) || (var(48) = 1 || var(48) = 2))
trigger4 = stateno = 210 && ((animelem=6,<0) || (var(48) = 1 || var(48) = 2))
trigger5 = stateno = 211 && ((animelem=5,<0) || (var(48) = 1 || var(48) = 2))
trigger6 = stateno = 220 && (animelem=7,<0)
trigger7 = stateno = 221 && (animelem=6,<0)
trigger8 = stateno = 250 && ((animelem=5,<0) || (var(48) = 1 || var(48) = 2))
trigger9 = stateno = 260 && (animelem=2,<0)
trigger10 = stateno = 400 && ((animelem=4,<0) || (var(48) = 1 || var(48) = 2))
trigger11 = stateno = 410 && (animelem=3,<0)
trigger12 = stateno = 420 && (animelem=6,<0)
trigger13 = stateno = 450 && (animelem=2,<0)
trigger14 = stateno = 460 && (animelem=4,<0)
trigger15 = stateno = 350 && (animelem=2,<0)
trigger16 = stateno = 360 && (animelem=5,<0)
trigger17 = stateno = 370 && (animelem=4,<0)
trigger18 = stateno = 330 && time <= 6
trigger19 = stateno = 331 && time <= 10
trigger20 = stateno = 332 && time <= 16
trigger21 = stateno = 335 && time <= 6
trigger22 = stateno = 336 && time <= 10
trigger23 = stateno = 337 && time <= 16
trigger24 = stateno = 800 && time > 16
trigger25 = stateno = 805 && time > 10
trigger26 = stateno = 820 && time > 22

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1850
triggerall = !Var(59)
triggerall = command = "Leona"
triggerall = numproj = 0
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = [250,280]
trigger2 = (movecontact && time <= 10) || time = [5,20]
trigger3 = stateno = [400,430]
trigger3 = movecontact
trigger4 = stateno = 240 || stateno = 321 || stateno = 420 || stateno = 430
trigger4 = time = [7,14]
trigger4 = movecontact
trigger5 = stateno = 220 
trigger5 = (movecontact) || time = [5,11]

;----------------------------------------
[State -1]
type = ChangeState
value = 1870
triggerall = !Var(50); AI focus
triggerall = command = "holdfwd" && command = "b"
triggerall = statetype != A
trigger1 = stateno = 1857 
trigger1 = (movecontact) || time = [6,14]

;---------------------------------------------------------------------------
[State -1, H]
type = ChangeState
value = 1900
triggerall = !NumProj
triggerall = command = "Heidern"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 215 && movecontact
trigger3 = stateno = 235 && movecontact
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact

;---------------------------------------------------------------------------
[State -1, A]
type = ChangeState
value = 1950
triggerall = command = "Ash"
triggerall = statetype != A
triggerall = numprojID(1960) = 0
trigger1 = ctrl
trigger2 = stateno = 215 && movecontact
trigger3 = stateno = 235 && movecontact
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact

;---------------------------------------------------------------------------
[State -1, GUN]
type = ChangeState
value = 2000
triggerall = var(9) != 1
triggerall = command = "gun"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 215
trigger2 = movecontact
trigger3 = stateno = 250
trigger3 = movecontact
trigger4 = stateno = 270
trigger4 = movecontact
trigger4 = time <= 7
trigger5 = movecontact
trigger5 = stateno = 703
trigger6 = movecontact
trigger6 = stateno = 280
trigger7 = movecontact
trigger7 = stateno = 440
;---------------------------------------------------------------------------
[State -1, a]
type = ChangeState
value = 2050
triggerall = command = "HA-HA"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205
trigger3 = stateno = 215
trigger4 = stateno = 235
trigger5 = stateno = 245 && animelem = 4,<=0
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 290
trigger9 = stateno = 251 && movecontact
trigger10= stateno = 830 && animelem = 9,>=0

;---------------------------------------------------------------------------
[State -1,アースチョッパー]
type = ChangeState
value = 2205
triggerall = command = "ShiShioh"
triggerall = statetype != A
triggerall = var(59) = 0
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 215 && movecontact
trigger6 = stateno = 235 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 305 && movecontact
;---------------------------------------------------------------------------
[State -1, a]
type = ChangeState
value = 2100
triggerall = command = "Geese"
triggerall = statetype != A
triggerall = numproj = 0
trigger1 = ctrl
trigger2 = movecontact && stateno = 230
trigger3 = movecontact && stateno = 240
trigger4 = movecontact && stateno = 250
trigger5 = movecontact && stateno = 290
trigger6 = movecontact && stateno = 300
trigger7 = movecontact && stateno = 310
trigger8 = movecontact && stateno = 320
trigger9 = movecontact && stateno = 400
trigger10 = movecontact && stateno = 410
trigger11 = movecontact && stateno = 430

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2170
triggerall = command = "Adel"
trigger1 = statetype != A && ctrl
trigger2 = stateno = [100,102]
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 300 && movecontact && animelemtime(4) < 0


;---------------------------------------------------------------------------
[state - 1]
type = changestate
value = 2250
triggerall = command = "Kagami"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = movecontact && stateno = 230
trigger3 = movecontact && stateno = 240
trigger4 = movecontact && stateno = 250
trigger5 = movecontact && stateno = 290
trigger6 = movecontact && stateno = 300
trigger7 = movecontact && stateno = 310
trigger8 = movecontact && stateno = 320
trigger9 = movecontact && stateno = 400
trigger10 = movecontact && stateno = 410
trigger11 = movecontact && stateno = 430

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2300
triggerall = command = "Kain"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact	
trigger6 = stateno = 400
trigger6 = movecontact
trigger7 = stateno = 410
trigger7 = movecontact
trigger8 = stateno = 420
trigger8 = movecontact
trigger9 = stateno = 430
trigger9 = movecontact
trigger10 = stateno = 440
trigger10 = movecontact

;---------------------------------------------------------------------------
[State -1, RGN]
type = ChangeState
value = 2350
triggerall = command = "You_Die"
triggerall = statetype = C
triggerall = p2bodydist X < 30
triggerall = p2bodydist Y >= 0 && p2bodydist Y >= -10
triggerall = p2statetype = L
triggerall = p2stateno != 5120
trigger1 = ctrl

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

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

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

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

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

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

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


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

;---------------------------------------------------------------------------
; Run foward
[State -1, Run foward]
type = ChangeState
value = 100
triggerall = roundstate = 2
trigger1 = command = "FF"
trigger1 = statetype != A && ctrl

;---------------------------------------------------------------------------
[State -1, Hop back]
type = ChangeState
value = 105
triggerall = roundstate = 2
trigger1 = command = "BB"
trigger1 = statetype != A && ctrl

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 80
triggerall = Command = "recovery" && !Command = "holdback" || Command = "recovery" && Command = "holdfwd"
trigger1 = StateType != A && Ctrl
trigger2 = stateno = 100 || stateno = 101
trigger3 = stateno = 150 || stateno = 152
trigger3 = power >= 1000

[State -1]
type = ChangeState
value = 90
triggerall = Command = "recovery" && Command = "holdback"
trigger1 = StateType != A && Ctrl
trigger2 = stateno = 100 || stateno = 101
trigger3 = stateno = 150 || stateno = 151
trigger3 = power >= 1000

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 710
triggerall = command = "GC"
trigger1 = StateType != A && Ctrl
trigger2 = stateno = 100 || stateno = 101

[State -1]
type = ChangeState
value = 750
triggerall = command = "GC"
trigger1 = StateType = A && Ctrl
;------------------------------------------
[State -1]
type = ChangeState
value = 99
trigger1 = command = "GC"
trigger1 = stateno = 150 || stateno = 151
trigger1 = power >= 1000

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 940
trigger1 = command = "SJump"
trigger1 = statetype = S
trigger1 = ctrl

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

;---------------------------------------------------------------------------
;[State -1, GrabY 1]
;type = ChangeState
;value = 800
;triggerall = command = "fwd_y"
;triggerall = statetype = S && ctrl && stateno != 100
;trigger1 = command = "holdfwd" && p2bodydist X < 3 && p2movetype != H
;trigger1 = (p2statetype = S) || (p2statetype = C)

;---------------------------------------------------------------------------
;[State -1]
;type = ChangeState
;value = 829
;triggerall = Command = "back_y"
;triggerall = StateType = S
;trigger1 = Ctrl

;---------------------------------------------------------------------------
;[State -1]
;type = ChangeState
;value = 850
;triggerall = command = "b"
;triggerall = statetype = S
;triggerall = ctrl
;triggerall = stateno != 100
;trigger1 = command = "holdback"
;trigger1 = p2bodydist X < 13
;trigger1 = (p2statetype = S) || (p2statetype = C)
;trigger1 = p2movetype != H

;---------------------------------------------------------------------------
;[State -1]
;type = ChangeState
;value = 900
;triggerall = command = "b"
;triggerall = statetype = S
;triggerall = ctrl
;triggerall = stateno != 100
;trigger1 = command = "holdfwd"
;trigger1 = p2bodydist X < 3
;trigger1 = (p2statetype = S) || (p2statetype = C)
;trigger1 = p2movetype != H
;trigger2 = command = "holdback"
;trigger2 = p2bodydist X < 5
;trigger2 = (p2statetype = S) || (p2statetype = C)
;trigger2 = p2movetype != H

;---------------------------------------------------------------------------
;[State -1]
;type = ChangeState
;value = 950
;triggerall = command = "b"
;triggerall = statetype = A
;triggerall = ctrl
;trigger1 = command = "holdfwd"
;trigger1 = p2bodydist X < 8
;trigger1 = p2statetype = A
;trigger1 = p2movetype != H
;trigger2 = command = "holdback"
;---------------------------------------------------------------------------
;[State -1]
;type = ChangeState
;value = 980
;triggerall = StateType = A
;triggerall = Ctrl
;trigger1 = Command = "holdfwd" && Command = "y"
;trigger2 = Command = "holdback" && Command = "y"
---------------------------------------------------------------------------


;========================[BASIC ATTACKS MODE]==================================

;Lp Close
[State -1,Low Punch CLose]
type = ChangeState
value = 210
triggerall = var(9) != 1
triggerall = command = "x"
triggerall = p2bodydist x < 15
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
;trigger2 = stateno = 210 && animelemtime(2) > 1 
;trigger2 = command != "holddown"
;trigger3 = stateno = 400 && animelemtime(2) > 1 
;trigger3 = command != "holddown"
;trigger4 = stateno = 420 && animelemtime(3) > 1
;trigger4 = command != "holddown"
;trigger5 = stateno = 230 && animelemtime(3) > 1
;trigger5 = command !=  "holddown"
;trigger6 = stateno = 100

;Lp
[State -1,Lowpunch]
type = ChangeState
value = 200
triggerall = var(9) != 1
triggerall = command = "x"
triggerall = p2bodydist x >= 15
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
;trigger2 = stateno = 210 && animelemtime(2) > 1 
;trigger2 = command != "holddown"
;trigger3 = stateno = 400 && animelemtime(2) > 1 
;trigger3 = command != "holddown"
;trigger4 = stateno = 420 && animelemtime(3) > 1
;trigger4 = command != "holddown"
;trigger5 = stateno = 230 && animelemtime(3) > 1
;trigger5 = command !=  "holddown"
;trigger6 = stateno = 100
;---------------------------------------------------------------------------
;Hp
[State -1,HP]
type = ChangeState
value = 220
triggerall = var(9) != 1
triggerall = command = "y"
triggerall = p2bodydist x >= 28
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
ignorehitpause = 1

;Hpc
[State -1,HPc]
type = ChangeState
value = 230
triggerall = var(9) != 1
triggerall = command = "y"
triggerall = p2bodydist x < 28
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
ignorehitpause = 1

;---------------------------------------------------------------------------
; Standing light kick
[State -1]
type = ChangeState
value = 250
triggerall = command = "a" && command != "holddown" && command != "holdup"
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
trigger2 = stateno = 400 && Animelemtime(2) > 2
trigger3 = stateno = 410 && Animelemtime(2) > 2
trigger4 = stateno = 200 && Animelemtime(2) > 2
trigger5 = stateno = 201 && Animelemtime(2) > 2
trigger6 = stateno = 260 && Animelemtime(3) > 2

;---------------------------------------------------------------------------
; Close light kick
[State -1]
type = ChangeState
value = 260
triggerall = p2bodydist x < 21 && command = "a" && command != "holddown"
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))
trigger2 = stateno = 400 && Animelemtime(2) > 2
trigger3 = stateno = 410 && Animelemtime(2) > 2
trigger4 = stateno = 200 && Animelemtime(2) > 2
trigger5 = stateno = 201 && Animelemtime(2) > 2
trigger6 = stateno = 250 && Animelemtime(3) > 2

;---------------------------------------------------------------------------
;Stand_C
[State -1]
type = ChangeState
value = 270
triggerall = command = "b"
triggerall = var(55) = 0
triggerall = command != "holddown" && command != "holdup"
triggerall = P2bodydist X > 25
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))

;-------------------------------------
;Stand_C (close)
[State -1]
type = ChangeState
value = 280
triggerall = command = "b"
triggerall = var(55) = 0
triggerall = command != "holddown" && command != "holdup"
triggerall = P2bodydist X <= 25 && P2dist X >= 0
trigger1 = statetype = S && (ctrl || (stateno = [100,101]))

;---------------------------------------------------------------------------
; Crouching light punch
[State -1]
type = ChangeState
value = 400
triggerall = command = "x" && command = "holddown"
trigger1 = statetype = C && ctrl = 1
trigger2 = stateno = 300 && Animelemtime(4) >= 2 && Animelemtime(5) < 1
trigger3 = Animelemtime(3) >= 1
trigger3 = stateno = 400 || stateno = 400

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 410
triggerall = Command = "y" && Command = "holddown"
trigger1 = (StateType = C && Ctrl = 1) || (StateNo = 100 || StateNo = 110)

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 430
triggerall = command = "a" && command = "holddown"
trigger1 = statetype = C && ctrl
trigger2 = (stateno = 430) && (Animelemtime(3) >= 1)
trigger3 = (stateno = 200) || (stateno = 205) || (stateno = 400)
trigger3 = movecontact && var(1) = 2

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 440
triggerall = command = "b" && command = "holddown"
trigger1 = statetype = C && ctrl

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 600
triggerall = roundstate = 2
triggerall = command = "x"
trigger1 = statetype = A && ctrl

;---------------------------------------------------------------------------
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "y"
triggerall = stateno != 105
triggerall = vel X = 0
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Strong Punch]
type = ChangeState
value = 625
triggerall = command = "y"
triggerall = stateno != 105
triggerall = vel X != 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 630
triggerall = Command = "a" && StateType = A && Ctrl = 1
trigger1 = StateNo != 105

;---------------------------------------------------------------------------
[State -1, air fierce kick]
type = ChangeState
value = 640
triggerall = command = "b" && StateType = A && ctrl && var(50) != 1
trigger1 = Anim = 42 ^^ Anim = 43 ^^ Anim = 48

[State -1, air fierce kick]
type = ChangeState
value = 645
triggerall = command = "b" && var(50) != 1
trigger1 = StateType = A && ctrl


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

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

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

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command != "holdup"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = time > 0
trigger2 = stateno = [195,198]