; Command file for David Demianoff 's Iron Crazy Joe Higashi
; Please don't edit, thanks
;
;-| Super Motions |--------------------------------------------------------
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0

;-| Super Motions |--------------------------------------------------------
[Command]
name = "greatest"
command = ~D, DF, F, D, DF, F, a
time = 30

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

[Command]
name = "TNTheel"
command = ~D, DF, F, D, DB, B, x+y
time = 30

[Command]
name = "goldentiger"
command = ~D, DF, F, UF, a
time = 30

[Command]
name = "goldentiger"
command = ~D, DF, F, UF, b
time = 30

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

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

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

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

[Command]
name = "screw2"
command = ~D, DF, F, D, DF, F, x+y
time = 30

[Command]
name = "straight"
command = ~D, DB, B,D, DB, B, x+y
time = 30

[Command]
name = "cross"
command = ~D, DF, F, D, DF, F, a+b
time = 30

[Command]
name = "double"
command = ~D, DB, B, D, DB, B, a+b
time = 30

[Command]
name = "hsdm"
command = ~F, B, DB, D, DF, F, x+y
time = 30

[Command]
name = "screwstraight"
command = ~D, DF, F, D, DF, F, z
time = 30

;-| Special Motions |------------------------------------------------------
[Command]
name = "hurrican_a"
command = ~B, DB, D, DF, F, x
time = 20

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

[Command]
name = "tiger_a"
command = ~F, D, DF, a
time = 20

[Command]
name = "tiger_b"
command = ~F, D, DF, b
time = 20

[Command]
name = "tnt"
command = x, x, x
time = 15

[Command]
name = "tnt"
command = y, y, y
time = 15

[Command]
name = "slash_a"
command = ~B, DB, D, DF, F, a
time = 20

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

[Command]
name = "qcf_kick"
command = ~D, DF, F, a
time = 20

[Command]
name = "qcf_kick"
command = ~D, DF, F, b
time = 20

[Command]
name = "qcf_x"
command = ~D, DF, F, x
time = 20

[Command]
name = "qcf_y"
command = ~D, DF, F, y
time = 20

[Command]
name = "heel_a"
command = ~D, DB, B, a
time = 20

[Command]
name = "heel_b"
command = ~D, DB, B, b
time = 20

[Command]
name = "knee_a"
command = ~D, DB, B, x
time = 20

[Command]
name = "knee_b"
command = ~D, DB, B, y
time = 20

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

[Command]
name = "BB"
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery"
command = x+a
time = 1

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

[Command]
name = "lilly"
command = a+y
time = 1

[Command]
name = "cd"
command = b+y
time = 1

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

[Command]
name = "abc"
command = a+y+x
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 = "hold_a"
command = /$a
time = 1

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

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

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

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

[Command]
name = "hold_z"
command = /$z
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

[command]
name="fwd"
command=F
time=1

[command]
name="back"
command=B
time=1

[command]
name="up"
command=U
time=1

[command]
name="down"
command=D
time=1

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

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

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

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

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

[Command]
name = "longjump"
command = ~D, $U
time = 11

[Statedef -1]

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;--------------------------------------------------------------------------- 
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;スクリューストレート
[State -1,]
type = ChangeState
value = 3900
triggerall = command = "screwstraight"
triggerall = var(9) = 0
triggerall = (Life <= floor(LifeMax/2) && var(50) = 0) || Var(0) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact
trigger16 = stateno = 3200 && movecontact

;タービュランスアッパー
[State -1,]
type = ChangeState
value = 3400
triggerall = command = "hsdm"
triggerall = var(9) = 0
triggerall = power >= 3000
triggerall = Life <= floor(LifeMax/3) || Var(0) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact

;ダブルサイクロン
[State -1,]
type = ChangeState
value = 3700
triggerall = command = "double"
triggerall = var(9) = 0
triggerall = power >= 3000
triggerall = Life <= floor(LifeMax/3) || Var(0) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact

;クロスギガンテス
[State -1,]
type = ChangeState
value = 3800
triggerall = command = "cross"
triggerall = var(9) = 0
triggerall = power >= 3000
triggerall = Life <= floor(LifeMax/3) || Var(0) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact


;史上最強の爆裂ストレート
[State -1,]
type = ChangeState
value = 3600
triggerall = command = "straight"
triggerall = var(9) = 0
triggerall = power >= 2000
triggerall = Life <= floor(LifeMax/2) || Var(0) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact
trigger16 = stateno = 3200 && movecontact

;スライドスクリュー
[State -1,]
type = ChangeState
value = 3350
triggerall = command = "screw2"
triggerall = var(9) = 0
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact
trigger16 = stateno = 3200 && movecontact

;爆裂ハリケーンタイガーカカト
[State -1,]
type = ChangeState
value = 3100
triggerall = command = "TNTheel"
triggerall = var(9) = 0
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact
trigger16 = stateno = 3200 && movecontact

;黄金のタイガーキック
[State -1,]
type = ChangeState
value = 3500
triggerall = command = "goldentiger"
triggerall = var(9) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl || stateno = 40
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact

;スクリューアッパー
[State -1,]
type = ChangeState
value = 3300
triggerall = command = "screw"
triggerall = var(9) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact

;サンダ―ファイヤー
[State -1,]
type = ChangeState
value = 3200
triggerall = command = "thunder"
triggerall = var(9) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact
trigger15 = stateno = 1600 && movecontact

;史上最強のローキック
[State -1,]
type = ChangeState
value = 3000
triggerall = command = "greatest"
triggerall = var(9) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact
trigger13 = stateno = 1101 && movecontact
trigger14 = stateno = 1250 && movecontact

;プレッシャーニー
[State -1,]
type = ChangeState
value = 1600
triggerall = command = "knee_a" || command = "knee_b"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;黄金のふくらはぎ
[State -1]
type = ChangeState
value = 1650
triggerall = var(9) = 0
triggerall = StateType = A
triggerall = Movehit && (StateNo = 1600 && AnimElemNo(0) = [6,7])
trigger1= command = "heel_a" || command = "heel_b"

;Golden heel  A
[State -1,]
type = ChangeState
value = 1500
triggerall = command = "heel_a"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Golden heel  B
[State -1,]
type = ChangeState
value = 1501
triggerall = command = "heel_b"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Slash kick add hit
[State -1,]
type = ChangeState
value = 1315
triggerall = var(9) = 0
triggerall = command = "qcf_kick"
trigger1 = stateno = 1306
trigger1 = time = [6,13]
trigger1 = movecontact

;Slash kick a
[State -1,]
type = ChangeState
value = 1300
triggerall = command = "slash_a"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Slash kick b
[State -1,]
type = ChangeState
value = 1301
triggerall = command = "slash_b"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Tiger kick a
[State -1,]
type = ChangeState
value = 1100
triggerall = command = "tiger_a"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Tiger kick b
[State -1,]
type = ChangeState
value = 1101
triggerall = command = "tiger_b"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Hurrican Upper a
[State -1,]
type = ChangeState
value = 1000
triggerall = command = "hurrican_a"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;Hurrican Upper b
[State -1,]
type = ChangeState
value = 1020
triggerall = command = "hurrican_b"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 205 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 225 && movecontact
trigger5 = stateno = 235 && movecontact
trigger6 = stateno = 240 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 420 && movecontact
trigger10 = stateno = 430 && movecontact
trigger11 = stateno = 300 && movecontact
trigger12 = stateno = 305 && movecontact

;TNT punch
[State -1,]
type = ChangeState
value = 1200
triggerall = command = "tnt"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,440]


;TNT finish a
[State -1,]
type = ChangeState
value = 1250
triggerall = var(9) = 0
triggerall = command = "qcf_x"
trigger1 = stateno = 1200 || stateno = 1201
trigger1 = animelem = 4, > 1 && animelem = 43, < 1

;TNT finish b
[State -1,]
type = ChangeState
value = 1260
triggerall = var(9) = 0
triggerall = command = "qcf_y"
trigger1 = stateno = 1200 || stateno = 1201
trigger1 = animelem = 4, > 1 && animelem = 43, < 1

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

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

;---------------------------------------------------------------------------
;Run Back
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(9) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;Throw 1
[State -1]
type = ChangeState
value = 800
triggerall = var(9) = 0
triggerall = command = "y"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = stateno != 100
trigger1 = p2bodydist x < 20
trigger1 = p2statetype != A
trigger1 = p2movetype != H
trigger1 = p2stateno != 5120
trigger1 = ctrl

;Throw 2
[State -1]
type = ChangeState
value = 810
triggerall = var(9) = 0
triggerall = command = "b"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = stateno != 100
trigger1 = p2bodydist x < 20
trigger1 = p2statetype != A
trigger1 = p2movetype != H
trigger1 = p2stateno != 5120
trigger1 = ctrl

;Counter
[State -1]
type = ChangeState
value = 305
triggerall = var(9) = 0
triggerall = command = "cd" ^^ command = "z"
trigger1 = (stateno = 150 || stateno = 151) && power >= 1000

; Power charge
[State -1]
type = ChangeState
value = 310
triggerall = var(9) = 0
triggerall = statetype = S
triggerall = var(9) = 0
triggerall = Power < 3000
triggerall = ctrl = 1
trigger1 = command = "hold_a"
trigger1 = command = "hold_y"


; Taunt
[State -1]
type = ChangeState
value = 195
triggerall = var(9) = 0
trigger1 = command = "start"
trigger1 = Vel X = 0
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1, UKEMI]
type = ChangeState
value = 370
triggerall = !Var(9)
triggerall = command = "recovery"
triggerall = alive = 1
trigger1 = stateno = 5050
trigger1 = pos y > -30
trigger1 = vel y > 0 && vel y < 9

;---------------------------------------------------------------------
;-----------------------------------------DODGE
;---------------------------------------------------------------------
; Dodge forward
[State -1]
type = ChangeState
value = 350
triggerall = command = "ab" ^^ command = "c"
triggerall = command != "holdback"
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 150 || stateno = 151) && power >= 1000
trigger3 = stateno = 101

; Dodge backward
[State -1]
type = ChangeState
value = 360
triggerall = command = "ab" ^^ command = "c"
triggerall = command = "holdback"
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 150 || stateno = 151) && power >= 1000

;---------------------------------------------------------------------------
;Standing CD
[State -1]
type = ChangeState
value = 300
triggerall = command = "cd" ^^ command = "z"
triggerall = var(9) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 101

;Aerial CD
[State -1]
type = ChangeState
value = 640
triggerall = command = "cd" ^^ command = "z"
triggerall = var(9) = 0
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
;Standing Weak punch
[State -1,]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = p2bodydist x > 24
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101
trigger4 = stateno = 200 && time = [6,10]
trigger5 = stateno = 205 && time = [5,12]

;Standing Close weak punch
[State -1]
type = ChangeState
value = 205
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101
trigger4 = stateno = 205 && time = [5,12]

;---------------------------------------------------------------------------
;Standing Weak Kick
[State -1]
type = ChangeState
value = 210
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 200 && time = [6,10]
trigger4 = stateno = 205 && time = [5,12]

;Standing Forward + B
[State -1,]
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = var(9) = 0
triggerall = command != "holddown"
triggerall = command = "holdfwd" || command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 205 && time = [4,7]
trigger3 = stateno = 215 && time = [8,13]
trigger4 = stateno = 225 && time = [6,8]
trigger5 = stateno = 235 && time = [7,11]
trigger6 = stateno = 400 && time = [4,8]
trigger7 = stateno = 410 && time = [3,5]
trigger8 = stateno = 420 && time = [11,13]
trigger9 = stateno = 430 && time = [11,13]
trigger10 = stateno = 101

;---------------------------------------------------------------------------
;Standing Hard punch
[State -1]
type = ChangeState
value = 220
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = p2bodydist x > 24
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101

;Standing Close Hard punch
[State -1]
type = ChangeState
value = 225
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = var(9) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;Standing Hard Kick
[State -1]
type = ChangeState
value = 230
triggerall = command = "b"
triggerall = var(9) = 0
triggerall = command != "holddown"
triggerall = p2bodydist x > 24
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101

;Standing Close Hard Kick
[State -1]
type = ChangeState
value = 235
triggerall = command = "b"
triggerall = var(9) = 0
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 52
trigger2 = animelem = 1, >= 1
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;Crouching Weak punch
[State -1]
type = ChangeState
value = 400
triggerall = var(9) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 101
trigger3 = stateno = 400 && time = [5,10]
trigger4 = stateno = 410 && time = [4,10]

;---------------------------------------------------------------------------
;Crouching weak Kick
[State -1]
type = ChangeState
value = 410
triggerall = var(9) = 0
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command != "holdfwd"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 400 && time = [5,10]
trigger3 = stateno = 410 && time = [4,10]

;Crouching Forward + B
[State -1,]
type = ChangeState
value = 440
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command = "holdfwd"
triggerall = var(9) = 0
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 205 && time = [4,7]
trigger3 = stateno = 215 && time = [8,13]
trigger4 = stateno = 225 && time = [6,8]
trigger5 = stateno = 235 && time = [7,11]
trigger6 = stateno = 400 && time = [4,8]
trigger7 = stateno = 410 && time = [3,5]
trigger8 = stateno = 420 && time = [11,13]
trigger9 = stateno = 430 && time = [11,13]
trigger10 = stateno = 101
;---------------------------------------------------------------------------
;Crouching hard punch
[State -1]
type = ChangeState
value = 420
triggerall = var(9) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 101

;---------------------------------------------------------------------------
;Crouching hard kick
[State -1]
type = ChangeState
value = 430
triggerall = var(9) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 101
;---------------------------------------------------------------------------
;Jumping Weak punch
[State -1]
type = ChangeState
value = 600
triggerall = var(9) = 0
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = vel x = 0

;Jumping Weak punch
[State -1]
type = ChangeState
value = 605
triggerall = var(9) = 0
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Jumping Kick
[State -1]
type = ChangeState
value = 610
triggerall = var(9) = 0
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = vel x = 0

;Jumping Kick
[State -1]
type = ChangeState
value = 615
triggerall = var(9) = 0
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Jumping strong punch
[State -1]
type = ChangeState
value = 620
triggerall = var(9) = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = vel x = 0

;Jumping strong punch
[State -1]
type = ChangeState
value = 625
triggerall = var(9) = 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl

;Jumping strong Kick
[State -1]
type = ChangeState
value = 630
triggerall = var(9) = 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = vel x = 0

;Jumping strong Kick
[State -1]
type = ChangeState
value = 635
triggerall = var(9) = 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
