; The CMD file.

;*******************************************************************
;--------------------------------------------------------------------------
;AI moves, GOSTARIA DE AGRADESCER AO SMI, PELO TUTORIAL DE IA, QUE FOI DE GRANDE AJUDA.
;E TAMBEM AO HIEI SSJ, PELA AJUDA QUE ME DEU QUANDO FUI APRENDER A FASER IA =)

















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

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

[Command]
name = "ai2"
command = U,U,U,U,U,U,U,U,U,U,U
time = 1

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

[Command]
name = "ai4"
command = a,b,c,z,x,y,F,F,B,U,U
time = 1

[Command]
name = "ai5"
command = U,D,F,B,F,F,B,U,U
time = 1

[Command]
name = "ai6"
command = D,F,U,B,F,F,B,U,U
time = 1

[Command]
name = "ai7"
command = x,D,x,D,x,D,x,D
time = 1

[Command]
name = "ai8"
command = F,F,F,F,F,F,B,U,U
time = 1

[Command]
name = "ai9"
command = F,F,F,F,F,B,U,U
time = 1

[Command]
name = "ai10"
command = B,U,U,F,F,B,U,U
time = 1

[Command]
name = "ai11"
command = F,F,F,B,U
time = 1

[Command]
name = "ai12"
command = F,B,F,B,F,D,x,D,x,D
time = 1

[Command]
name = "ai13"
command = x,y,z,a,b,c,D,x,D,x,D
time = 1

[Command]
name = "ai14"
command = x,D,x,D,x,D,x,D,D,x,D,x,D
time = 1

[Command]
name = "ai15"
command = F,F,F,F,F,F,B,U,U,D,x,D,x,D
time = 1

[Command]
name = "ai16"
command = F,F,F,D,x,D,x,D
time = 1

[Command]
name = "ai17"
command = B,U,U,D,x,D,x,D
time = 1

[Command]
name = "ai18"
command = F,F,F,B,U,D,x,D,x,D
time = 1

[Command]
name = "ai19"
command = F,B,F,B,F,D,x,D,x,D
time = 1

[Command]
name = "ai20"
command = x,y,z,a,b,c,D,x,D,x,D
time = 1

[Command]
name = "ai21"
command = F,F,F,D,x,D,x,D,z,a,b,c,F,F,F,D,x,D
time = 1

[Command]
name = "ai22"
command = B,U,U,D,x,D,x,D,z,a,b,c,D F,
time = 1

[Command]
name = "ai23"
command = F,F,F,B,U,D,x,D,x,D,x,D,x,D
time = 1

[Command]
name = "ai24"
command = F,B,F,B,F,D,x,D,x,DF,B,F,B
time = 1

[Command]
name = "ai25"
command = x,y,z,a,b,c,D,x,D,x,DF,B,F,B,z,a,b,c,D
time = 1


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


 [command]
name = "kame"
command = D,F,a+c
time = 15

[command]
name = "Double Fists of the dragon"
command = D,F,x+z
time = 15

[command]
name = "demon"
command = z+c
time = 15


 [command]
name = "super hadouken"
command = D,F,y+z
time = 15

[command]
name = "knee"
command = c
time = 15



[command]
name = "uppercut"
command = z
time = 15


[command]
name = "tel"
command = a+x
time = 15

[Command];combo pugni
name = "combo1"
command = D,B,x+y


[Command];combo calci
name = "combo2"
command = D,B,a+b


[Command]
name = "sokoken"
command = D,F,x+y


[Command];dragon punch
name = "kf_ht"
command = D,F,a+b


[Command];orochi explosion
name = "orochi"
command = D,D,x+y



;-| Special Motions |------------------------------------------------------
[Command]
name = "kf_hc_b"
command = F,F,b

[Command]
name = "kf_hc_a"
command = F,F,a

[Command]
name = "kf_dp_y"
command = U,U,z

[Command]
name = "kf_dp_x"
command = D,D,z

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

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

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

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

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

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

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

[Command]
name = "QCF_y"
command = D,D,y

[Command]
name = "pugni"
command = B,DB,D,DF,F,z

[Command]
name = "calci"
command = F,D,F,c


[Command];Caricamento energia
name = "power"
command = /b
time= 1
[Command]
name = "charge"
command= /y
time= 1


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

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

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

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

[Command]
name = "down_b"
command = /$D,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 = "start"
command = s
time = 1

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

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

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

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

;---------------------------------------------------------------------------
; 2. State entry
; --------------

; Don't remove the following line. It's required by the CMD standard.

 [Statedef -1]

;kame
[State -1, kame]
type = ChangeState
value = 3009
triggerall = command = "kame"
trigger1 = (statetype = s) && ctrl
triggerall = power >= 2000

;Double Fists of the dragon
[State -1, Double Fists of the dragon]
type = ChangeState
value = 3001
triggerall = command = "Double Fists of the dragon"
trigger1 = (statetype = s) && ctrl
triggerall = power >= 2000


;demon
[State -1, demon]
type = ChangeState
value = 1150
triggerall = command = "demon"
trigger1 = (statetype = s) && ctrl
triggerall = power >= 3000
trigger2 = stateno = 17009
trigger2 = movecontact
trigger3 = stateno = 9080
trigger3 = movecontact
trigger4 = stateno = 9908
trigger4 = movecontact
trigger5 = stateno = 8899
trigger5 = movecontact
trigger6 = stateno = 702
trigger6 = movecontact
trigger7 = stateno = 2000
trigger7 = movecontact
trigger8 = stateno = 530
trigger8 = movecontact
trigger9 = stateno = 4000
trigger9 = movecontact
trigger10 = stateno = 4050
trigger10 = movecontact
trigger11 = stateno = 3020
trigger11 = movecontact
trigger12 = stateno = 1900
trigger12 = movecontact
trigger13 = stateno = 450
trigger13 = movecontact
trigger14 = stateno = 250
trigger14 = movecontact
trigger15 = stateno = 500
trigger15 = movecontact
trigger16 = stateno = 1710
trigger16 = movecontact
trigger17 = stateno = 1700
trigger17 = movecontact
trigger18 = stateno = 1600
trigger18 = movecontact
trigger19 = stateno = 1500
trigger19 = movecontact
trigger20 = stateno = 1410
trigger20 = movecontact
trigger21 = stateno = 1400
trigger21 = movecontact
trigger22 = stateno = 1310
trigger22 = movecontact
trigger23 = stateno = 1300
trigger23 = movecontact
trigger24 = stateno = 1210
trigger24 = movecontact
trigger25 = stateno = 1200
trigger25 = movecontact
trigger26 = stateno = 1000
trigger26 = movecontact
trigger27 = stateno = 100
trigger27 = movecontact
trigger28 = stateno = 105
trigger28 = movecontact
trigger29 = stateno = 800
trigger29 = movecontact
trigger30 = stateno = 200
trigger30 = movecontact
trigger31 = stateno = 210
trigger31 = movecontact
trigger32 = stateno = 230
trigger32 = movecontact
trigger33 = stateno = 240
trigger33 = movecontact
trigger34 = stateno = 400
trigger34 = movecontact
trigger35 = stateno = 410
trigger35 = movecontact
trigger36 = stateno = 430
trigger36 = movecontact
trigger37 = stateno = 440
trigger37 = movecontact



;super hadouken
[State -1, super hadouken]
type = ChangeState
value = 9080
triggerall = command = "super hadouken"
trigger1 = (statetype = s) && ctrl
trigger1 = power >= 1000

;knee
[State -1, knee]
type = ChangeState
value = 9908
triggerall = command = "knee"
trigger1 = (statetype = s) && ctrl
trigger2 = stateno = 8899
trigger2 = movecontact
trigger3 = stateno = 702
trigger3 = movecontact
trigger4 = stateno = 2000
trigger4 = movecontact
trigger5 = stateno = 530
trigger5 = movecontact
trigger6 = stateno = 4000
trigger6 = movecontact
trigger7 = stateno = 4050
trigger7 = movecontact
trigger8 = stateno = 3020
trigger8 = movecontact
trigger9 = stateno = 1900
trigger9 = movecontact
trigger10 = stateno = 450
trigger10 = movecontact
trigger11 = stateno = 250
trigger11 = movecontact
trigger12 = stateno = 500
trigger12 = movecontact
trigger13 = stateno = 1710
trigger13 = movecontact
trigger14 = stateno = 1700
trigger14 = movecontact
trigger15 = stateno = 1600
trigger15 = movecontact
trigger16 = stateno = 1500
trigger16 = movecontact
trigger17 = stateno = 1410
trigger17 = movecontact
trigger18 = stateno = 1400
trigger18 = movecontact
trigger19 = stateno = 1310
trigger19 = movecontact
trigger20 = stateno = 1300
trigger20 = movecontact
trigger23 = stateno = 1000
trigger23 = movecontact
trigger24 = stateno = 100
trigger24 = movecontact
trigger25 = stateno = 105
trigger25 = movecontact
trigger26 = stateno = 800
trigger26 = movecontact
trigger27 = stateno = 200
trigger27 = movecontact
trigger28 = stateno = 210
trigger28 = movecontact
trigger29 = stateno = 230
trigger29 = movecontact
trigger30 = stateno = 240
trigger30 = movecontact
trigger31 = stateno = 400
trigger31 = movecontact
trigger32 = stateno = 410
trigger32 = movecontact
trigger33 = stateno = 430
trigger33 = movecontact
trigger34 = stateno = 440
trigger34 = movecontact

;uppercut
[State -1, uppercut]
type = ChangeState
value = 8899
triggerall = command = "uppercut"
trigger1 = (statetype = s) && ctrl
trigger2 = stateno = 8899
trigger2 = movecontact
trigger3 = stateno = 702
trigger3 = movecontact
trigger4 = stateno = 1000
trigger4 = movecontact
trigger5 = stateno = 100
trigger5 = movecontact
trigger6 = stateno = 105
trigger6 = movecontact
trigger7 = stateno = 800
trigger7 = movecontact
trigger8 = stateno = 200
trigger8 = movecontact
trigger9 = stateno = 210
trigger9 = movecontact
trigger10 = stateno = 230
trigger10 = movecontact
trigger11 = stateno = 240
trigger11 = movecontact
trigger12 = stateno = 400
trigger12 = movecontact
trigger13 = stateno = 410
trigger13 = movecontact
trigger14 = stateno = 430
trigger14 = movecontact
trigger15 = stateno = 440
trigger15 = movecontact

;tel
[State -1, tel]
type = ChangeState
value = 702
triggerall = command = "tel"
trigger1 = (statetype = s) && ctrl

;===========================================================================
;++++++++++++++++++++++++++     IA LIGADA     ++++++++++++++++++++++++++++++
;===========================================================================
[State -1, AI]
type = VarSet
trigger1 = command = "ai"
trigger2 = command = "ai1"
trigger3 = command = "ai2"
trigger4 = command = "ai3"
trigger5 = command = "ai4"
trigger6 = command = "ai5"
trigger7 = command = "ai6"
trigger8 = command = "ai7"
trigger9 = command = "ai8"
trigger10= command = "ai9"
trigger11= command = "ai10"
trigger12= command = "ai11"
trigger13= command = "ai12"
trigger14= command = "ai13"
trigger15= command = "ai14"
trigger16= command = "ai15"
trigger17= command = "ai16"
trigger18= command = "ai17"
trigger19= command = "ai18"
trigger20= command = "ai19"
trigger21= command = "ai20"
trigger22= command = "ai21"
var(59) = 1


;==========================================hyper1
;dragonpunch
[State -1, dragon punch]
type = ChangeState
value = 2000
triggerall = power >= 1000
triggerall = command = "kf_ht"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact = 1
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
;==========================================hyper2
;sokoken
[State -1, sokoken]
type = ChangeState
value = 530
triggerall = command = "sokoken"
trigger1 = statetype != A
trigger1 = power >= 1000
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
;==========================================hyper3
;combo pugni
[State -1, combo 1]
type = ChangeState
value = 4000
triggerall = command = "combo1"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 220
trigger3 = movecontact = 1
trigger4 = stateno = 410
trigger4 = movecontact = 1
trigger5 = stateno = 420
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1
;------------------------------------------hyper4
;combo pugni
[State -1, combo 2]
type = ChangeState
value = 4050
triggerall = command = "combo2"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 220
trigger3 = movecontact = 1
trigger4 = stateno = 410
trigger4 = movecontact = 1
trigger5 = stateno = 420
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1

;-------------------------------------------hyper5
[State -1, orochi]
type = ChangeState
value = 3020
triggerall = command = "orochi"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = movecontact = 1
trigger2 = stateno = 200
trigger3 = movecontact = 1
trigger3 = stateno = 210
trigger4 = movecontact = 1
trigger4 = stateno = 230
trigger5 = movecontact = 1
trigger5 = stateno = 240
trigger6 = movecontact = 1
trigger6 = stateno = 241
trigger7 = movecontact = 1
trigger7 = stateno = 701
trigger8 = movecontact = 1
trigger8 = stateno = 440
trigger9 = movecontact = 1
trigger9 = stateno = 650


;========================================special===================================

;Power Charge
[State -1, power charge]
type = ChangeState
value = 1900
triggerall = Power < 3000
triggerall = command = "power"
triggerall = command = "charge"
trigger1 = statetype = S
trigger1 = ctrl

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

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

;-------------------------------------------------------------------------------
;aoken
[State -1, aoken]
type = ChangeState
value = 500
triggerall = command = "aoken"
trigger1 = statetype != A
trigger1 = ctrl =1

;--------------------------------------------------------------------------------
;KUNG FU HIPER CHUTE FORTE
[State -1, hiper chute forte]
type = ChangeState
value = 1710
triggerall = command = "kf_hc_b"
trigger1 = ctrl && statetype != A
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
trigger4 = var(1) && (stateno = 280 || stateno = 290 || stateno = 300 || stateno = 310)
;===========================================================================
;KUNG FU HIPER CHUTE FRACO
[State -1, hiper chute fraco]
type = ChangeState
value = 1700
triggerall = command = "kf_hc_a"
trigger1 = ctrl && statetype != A
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
trigger4 = var(1) && (stateno = 280 || stateno = 290 || stateno = 300 || stateno = 310)
;===========================================================================
;KUNG FU DRAGON PUNCH FORTE
[State -1, dragon punch]
type = ChangeState
value = 1600
triggerall = command = "kf_dp_y"
triggerall = statetype = S
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU DRAGON PUNCH FRACO
[State -1, fraco dragon punch]
type = ChangeState
value = 1500
triggerall = command = "kf_dp_x"
triggerall = statetype = S
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU COTOVELADA FORTE
[State -1, cotovelada]
type = ChangeState
value = 1410
triggerall = command = "kf_cotovelada_y"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU COTOVELADA FRACA
[State -1, kf upper]
type = ChangeState
value = 1400
triggerall = command = "kf_cotovelada_x"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU UPER FORTE
[State -1, upper]
type = ChangeState
value = 1310
triggerall = command = "kf_uper_y"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU UPER FRACO
[State -1, upper fraco]
type = ChangeState
value = 1300
triggerall = command = "kf_uper_x"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;===========================================================================
;KUNG FU KNEE FORTE
[State -1, knee forte]
type = ChangeState
value = 1210
triggerall = command = "kf_knee_b"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;===========================================================================
;KUNG FU KNEE FRACO
[State -1, hung fu knee]
type = ChangeState
value = 1200
triggerall = command = "kf_knee_a"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;---------------------------------------------------------------------------
;Strong Kung Fu Palm
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = command = "QCF_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440
trigger2 = movecontact




;===========================================================================
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Kung Fu Throw
;投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = command = "y"
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


;===========================================================================
;---------------------------------------------------------------------------
;Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = (StateNo = 210 || Stateno = 230 || Stateno = 240) && (Movecontact)
trigger2 = time >= 7 && time <= 15
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 400
trigger7 = movecontact
trigger8 = stateno = 410
trigger8 = movecontact
trigger9 = stateno = 430
trigger9 = movecontact
trigger10 = stateno = 440
trigger10 = movecontact
trigger11 = stateno = 8899
trigger11 = movecontact
trigger12 = stateno = 2000
trigger12 = movecontact
trigger13 = stateno = 530
trigger13 = movecontact
trigger14 = stateno = 4000
trigger14 = movecontact
trigger15 = stateno = 4050
trigger15 = movecontact
trigger16 = stateno = 3020
trigger16 = movecontact
trigger17 = stateno = 1900
trigger17 = movecontact
trigger18 = stateno = 450
trigger18 = movecontact
trigger19 = stateno = 250
trigger19 = movecontact
trigger20 = stateno = 500
trigger20 = movecontact
trigger21 = stateno = 1710
trigger21 = movecontact
trigger22 = stateno = 1700
trigger22 = movecontact
trigger23 = stateno = 1600
trigger23 = movecontact
trigger24 = stateno = 1500
trigger24 = movecontact
trigger25 = stateno = 1410
trigger25 = movecontact
trigger26 = stateno = 1400
trigger26 = movecontact
trigger27 = stateno = 1310
trigger27 = movecontact
trigger28 = stateno = 1300
trigger28 = movecontact


;---------------------------------------------------------------------------
;Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = (StateNo = 200 || StateNo = 230 || Stateno = 240) && (Movecontact)
trigger2 = time >= 7 && time <= 15
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 400
trigger7 = movecontact
trigger8 = stateno = 410
trigger8 = movecontact
trigger9 = stateno = 430
trigger9 = movecontact
trigger10 = stateno = 440
trigger10 = movecontact
trigger11 = stateno = 8899
trigger11 = movecontact
trigger12 = stateno = 702
trigger12 = movecontact
trigger13 = stateno = 2000
trigger13 = movecontact
trigger14 = stateno = 530
trigger14 = movecontact
trigger15 = stateno = 4000
trigger15 = movecontact
trigger16 = stateno = 4050
trigger16 = movecontact
trigger17 = stateno = 3020
trigger17 = movecontact
trigger18 = stateno = 1900
trigger18 = movecontact
trigger19 = stateno = 450
trigger19 = movecontact
trigger20 = stateno = 250
trigger20 = movecontact
trigger21 = stateno = 500
trigger21 = movecontact
trigger22 = stateno = 1710
trigger22 = movecontact
trigger23 = stateno = 1700
trigger23 = movecontact
trigger24 = stateno = 1600
trigger24 = movecontact
trigger25 = stateno = 1500
trigger25 = movecontact
trigger26 = stateno = 1410
trigger26 = movecontact
trigger27 = stateno = 1400
trigger27 = movecontact
trigger28 = stateno = 1310
trigger28 = movecontact
trigger29 = stateno = 1300
trigger29 = movecontact


;---------------------------------------------------------------------------
;Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = (StateNo = 200 || Stateno = 210 || Stateno = 240) && (Movecontact)
trigger2 = time >= 7 && time <= 15
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 400
trigger7 = movecontact
trigger8 = stateno = 410
trigger8 = movecontact
trigger9 = stateno = 430
trigger9 = movecontact
trigger10 = stateno = 440
trigger10 = movecontact
trigger11 = stateno = 8899
trigger11 = movecontact
trigger12 = stateno = 702
trigger12 = movecontact
trigger13 = stateno = 2000
trigger13 = movecontact
trigger14 = stateno = 530
trigger14 = movecontact
trigger15 = stateno = 4000
trigger15 = movecontact
trigger16 = stateno = 4050
trigger16 = movecontact
trigger17 = stateno = 3020
trigger17 = movecontact
trigger18 = stateno = 1900
trigger18 = movecontact
trigger19 = stateno = 450
trigger19 = movecontact
trigger20 = stateno = 250
trigger20 = movecontact
trigger21 = stateno = 500
trigger21 = movecontact
trigger22 = stateno = 1710
trigger22 = movecontact
trigger23 = stateno = 1700
trigger23 = movecontact
trigger24 = stateno = 1600
trigger24 = movecontact
trigger25 = stateno = 1500
trigger25 = movecontact
trigger26 = stateno = 1410
trigger26 = movecontact
trigger27 = stateno = 1400
trigger27 = movecontact
trigger28 = stateno = 1310
trigger28 = movecontact
trigger29 = stateno = 1300
trigger29 = movecontact


;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = (StateNo = 200 || StateNo = 210 || StateNo = 230) && (Movecontact)
trigger2 = time >= 7 && time <= 15
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 400
trigger7 = movecontact
trigger8 = stateno = 410
trigger8 = movecontact
trigger9 = stateno = 430
trigger9 = movecontact
trigger10 = stateno = 440
trigger10 = movecontact
trigger11 = stateno = 8899
trigger11 = movecontact
trigger12 = stateno = 702
trigger12 = movecontact
trigger13 = stateno = 2000
trigger13 = movecontact
trigger14 = stateno = 530
trigger14 = movecontact
trigger15 = stateno = 4000
trigger15 = movecontact
trigger16 = stateno = 4050
trigger16 = movecontact
trigger17 = stateno = 3020
trigger17 = movecontact
trigger18 = stateno = 1900
trigger18 = movecontact
trigger19 = stateno = 450
trigger19 = movecontact
trigger20 = stateno = 250
trigger20 = movecontact
trigger21 = stateno = 500
trigger21 = movecontact
trigger22 = stateno = 1710
trigger22 = movecontact
trigger23 = stateno = 1700
trigger23 = movecontact
trigger24 = stateno = 1600
trigger24 = movecontact
trigger25 = stateno = 1500
trigger25 = movecontact
trigger26 = stateno = 1410
trigger26 = movecontact
trigger27 = stateno = 1400
trigger27 = movecontact
trigger28 = stateno = 1310
trigger28 = movecontact
trigger29 = stateno = 1300
trigger29 = movecontact

;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Crouching Light Punch

[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = (StateNo = 410 || Stateno = 430 || Stateno = 440) && (Movecontact)
trigger2 = time >= 7 && time <= 15
;---------------------------------------------------------------------------
;Crouching Strong Punch

[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = (StateNo = 400 || StateNo = 430 || Stateno = 440) && (Movecontact)
trigger2 = time >= 17 && time <= 22
;---------------------------------------------------------------------------
;Crouching Light Kick

[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = (StateNo = 400 || Stateno = 410 || Stateno = 440) && (Movecontact)
trigger2 = time >= 7 && time <= 15
;---------------------------------------------------------------------------
;Crouching Strong Kick

[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = (StateNo = 400 || StateNo = 410 || StateNo = 430) && (Movecontact)
trigger2 = time >= 7 && time <= 15

;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = statetime >= 7

;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact

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

;---------------------------------------------------------------------------
;Jump Strong Kick
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact


