;AI梡
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;-AIcmd--------------------------------------------------------

[Command]
name = "AI1"
command = a,a,a,a,a,a,a,a
time = 0

[Command]
name = "AI2"
command = b,b,b,b,b,b,b,b
time = 0

[Command]
name = "AI3"
command = c,c,c,c,c,c,c,c
time = 0

[Command]
name = "AI4"
command = x,x,x,x,x,x,x,x
time = 0

[Command]
name = "AI5"
command = y,y,y,y,y,y,y,y
time = 0

[Command]
name = "AI6"
command = z,z,z,z,z,z,z,z
time = 0

[Command]
name = "AI7"
command = a,a,a,a,b,b,b,b
time = 0

[Command]
name = "AI8"
command = a,a,a,a,c,c,c,c
time = 0

[Command]
name = "AI9"
command = a,a,a,a,x,x,x,x
time = 0

[Command]
name = "AI10"
command = a,a,a,a,y,y,y,y
time = 0

[Command]
name = "AI11"
command = a,a,a,a,z,z,z,z
time = 0

[Command]
name = "AI12"
command = b,b,b,b,a,a,a,a
time = 0

[Command]
name = "AI13"
command = b,b,b,b,c,c,c,c
time = 0

[Command]
name = "AI14"
command = b,b,b,b,x,x,x,x
time = 0

[Command]
name = "AI15"
command = b,b,b,b,y,y,y,y
time = 0

[Command]
name = "AI16"
command = b,b,b,b,z,z,z,z
time = 0

[Command]
name = "AI17"
command = c,c,c,c,a,a,a,a
time = 0

[Command]
name = "AI18"
command = c,c,c,c,b,b,b,b
time = 0

[Command]
name = "AI19"
command = c,c,c,c,x,x,x,x
time = 0

[Command]
name = "AI20"
command = c,c,c,c,y,y,y,y
time = 0

[Command]
name = "AI21"
command = c,c,c,c,z,z,z,z
time = 0

[Command]
name = "AI22"
command = x,x,x,x,a,a,a,a
time = 0

[Command]
name = "AI23"
command = x,x,x,x,b,b,b,b
time = 0

[Command]
name = "AI24"
command = x,x,x,x,c,c,c,c
time = 0

[Command]
name = "AI25"
command = x,x,x,x,y,y,y,y
time = 0

[Command]
name = "AI26"
command = x,x,x,x,z,z,z,z
time = 0

[Command]
name = "AI27"
command = y,y,y,y,a,a,a,a
time = 0

[Command]
name = "AI28"
command = y,y,y,y,b,b,b,b
time = 0

[Command]
name = "AI29"
command = y,y,y,y,c,c,c,c
time = 0

[Command]
name = "AI30"
command = y,y,y,y,x,x,x,x
time = 0

[Command]
name = "AI31"
command = y,y,y,y,z,z,z,z
time = 0

[Command]
name = "AI32"
command = z,z,z,z,a,a,a,a
time = 0

[Command]
name = "AI33"
command = z,z,z,z,b,b,b,b
time = 0

[Command]
name = "AI34"
command = z,z,z,z,c,c,c,c
time = 0

[Command]
name = "AI35"
command = z,z,z,z,x,x,x,x
time = 0

[Command]
name = "AI36"
command = z,z,z,z,y,y,y,y
time = 0

[Command]
name = "AI37"
command = a,a,b,b,c,c,x,x
time = 0

[Command]
name = "AI38"
command = b,b,c,c,x,x,y,y
time = 0

[Command]
name = "AI39"
command = c,c,x,x,y,y,z,z
time = 0

[Command]
name = "AI40"
command = x,x,y,y,z,z,a,a
time = 0

[Command]
name = "AI41"
command = y,y,z,z,a,a,b,b
time = 0

[Command]
name = "AI42"
command = z,z,a,a,b,b,c,c
time = 0

[Command]
name = "AI43"
command = a,b,a,b,a,b,a,b
time = 0

[Command]
name = "AI44"
command = b,c,b,c,b,c,b,c
time = 0

[Command]
name = "AI45"
command = c,x,c,x,c,x,c,x
time = 0

[Command]
name = "AI46"
command = y,z,y,z,y,z,y,z
time = 0

[Command]
name = "AI47"
command = a,b,a,b,x,y,x,y
time = 0

[Command]
name = "AI48"
command = a,b,a,b,c,z,c,z
time = 0

[Command]
name = "AI49"
command = x,y,x,y,a,b,a,b
time = 0

[Command]
name = "AI50"
command = x,y,x,y,c,z,c,z
time = 0
;


;==========================================================================
;僐儅儞僪娭楢僼傽僀儖
;==========================================================================

[Command]
name = "偘傫偟偺偪偐傜"
command = D, DF, F, D, DF, F, a
time = 45

[Command]
name = "傕傠偼偺偢偮偒"
command = D, DF, F, D, DF, F, b
time = 45

[Command]
name = "僊僈僀儞僷僋僩"
command = D, DF, F, D, DF, F, c
time = 45

[Command]
name = "偄傢偔偩偒"
command = D, DF, F, a
time = 30

[Command]
name = "偟偹傫偺偢偮偒"
command = D, DF, F, b
time = 30

[Command]
name = "儘僢僋僋儔僀儉"
command = D, DF, F, c
time = 30

[Command]
name = "僗僥儖僗儘僢僋"
command = D, DB, B, a
time = 30

[Command]
name = "偑傫偣偒傆偆偠"
command = D, DB, B, b
time = 30

[Command]
name = "僗僩乕儞僄僢僕"
command = D, DB, B, c
time = 30



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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_a"
command = /F,a
time = 1

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

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

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

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


[Command]
name = "downfwd_a"
command = /DF,a
time = 1

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

[Command]
name = "back_x"
command = /B,x
time = 1

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

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

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

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

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

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

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

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

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

;-| 峌寕儃僞儞墴偟偭傁側偟 |-----------------------------------------------

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

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

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

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

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

[Command]
name = "hold_x"
command = /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 = "s"
command = s
time = 1


[Command]
name = "u"
command = $U
time = 1
[Command]
name = "uu"
command = /$U
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 = "f_a"
command = F, a
time = 15

[Command]
name = "f_b"
command = F, b
time = 15

[Command]
name = "f_c"
command = F, c
time = 15

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


;===========================================================================
;僐儅儞僪幚峴晹暘乮桪愭弴埵偑崅偄傕偺傪愭偵昞婰乯
;===========================================================================
;---------------------------------------------------------------------------

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

==============================================
;丂昁嶦媄
;===========================================================================


;-----------------------------------------------------------------
;-----------------------------------------------------------------
;===========================================================================
;丂捠忢媄
;===========================================================================
;-------------------------------------------------------------

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

;僽儔僢僋儘乕僘僼儗傾
[State -1]
type = ChangeState
value = 6800
triggerall = var(59) = 0
triggerall = var(35) = 0
triggerall = life >= 500
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

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

;椻偨偄墛
[State -1]
type = ChangeState
value = 1900
triggerall = var(59) = 0
triggerall = var(35) = 0
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1


;僽儗僗侾倫
[State -1]
type = ChangeState
value = 2000
triggerall = var(59) = 0
triggerall = var(35) = 0
triggerall = teamside = 1
Triggerall = Facing = 1
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;僽儗僗俀倫
[State -1]
type = ChangeState
value = 2000
triggerall = var(59) = 0
triggerall = var(35) = 0
triggerall = teamside = 2
Triggerall = Facing = -1
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1


;僽儔僢僋儘乕僘僈僀儖
[State -1]
type = ChangeState
value = 2100
triggerall = var(59) = 0
triggerall = var(35) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

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


;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;AI儖乕僠儞
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;AI--------------------------------------------------------------------------

;AI Command Check
[State -1, AI Command]
type = varset
triggerall = var(59) <= 0
trigger1  = command = "AI1" || command = "AI2" || command = "AI3" || command = "AI4"
trigger2  = command = "AI5" || command = "AI6" || command = "AI7" || command = "AI8"
trigger3  = command = "AI9" || command = "AI10" || command = "AI11" || command = "AI12"
trigger4  = command = "AI13" || command = "AI14" || command = "AI15" || command = "AI16"
trigger5  = command = "AI17" || command = "AI18" || command = "AI19" || command = "AI20"
trigger6  = command = "AI21" || command = "AI22" || command = "AI23" || command = "AI24"
trigger7  = command = "AI25" || command = "AI26" || command = "AI27" || command = "AI28"
trigger8  = command = "AI29" || command = "AI30" || command = "AI31" || command = "AI32"
trigger9  = command = "AI33" || command = "AI34" || command = "AI35" || command = "AI36"
trigger10 = command = "AI37" || command = "AI38" || command = "AI39" || command = "AI40"
trigger11 = command = "AI41" || command = "AI42" || command = "AI43" || command = "AI44"
trigger12 = command = "AI45" || command = "AI46" || command = "AI47" || command = "AI48"
trigger13 = command = "AI49" || command = "AI50"
trigger14 = 1;AI懄婲摦僗僀僢僠 恖憖嶌偟偨偐偭偨傜丄偙偺楍偺堦斣嵍偵丂;丂仼傪偮偗偰偔偩偝偄丅

v = 59
value = 1
ignorehitpause = 1


[State -3, AI]
Type = VarSet
Trigger1 = NumEnemy = 1
Trigger2 = NumEnemy = 2
Trigger2 = EnemyNear,Life > 0
V = 57
Value = 0
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -3, AI]
Type = VarSet
Trigger1 = NumEnemy > 1
Trigger1 = EnemyNear,Life = 0
V = 57
Value = 1               
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

丟僽儔僢僋儘乕僘僈僀儖
[State -3,]
type = ChangeState
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = RoundState = 2
triggerall = life <= 200
triggerall = StateType != A
trigger1= Ctrl
value = 2100

;僼儗傾梀惎偵
[State -3,]
type = ChangeState
triggerall = enemy,name = "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = RoundState = 2
triggerall = Movetype != A
triggerall = StateType != A
trigger1= Ctrl
value = 6800


丟慡夋柺1p
[State -3,]
type = ChangeState
triggerall = enemy,name != "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = teamside = 1
Triggerall = Facing = -1
triggerall = RoundState = 2
triggerall = StateType != A
triggerall = P2Movetype = A
trigger1= Ctrl
value = 1900

丟慡夋柺1p
[State -3,]
type = ChangeState
triggerall = enemy,name != "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = teamside = 2
Triggerall = Facing = 1
triggerall = RoundState = 2
triggerall = StateType != A
triggerall = P2Movetype = A
trigger1= Ctrl
value = 1900

;僽儗僗侾倫
[State -3,]
type = ChangeState
triggerall = enemy,name != "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = teamside = 1
Triggerall = Facing = 1
triggerall = RoundState = 2
triggerall = StateType != A
triggerall = P2Movetype = A
trigger1= Ctrl
value = 2000

;僽儗僗俀倫
[State -3,]
type = ChangeState
triggerall = enemy,name != "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = teamside = 2
Triggerall = Facing = -1
triggerall = RoundState = 2
triggerall = StateType != A
triggerall = P2Movetype = A
trigger1= Ctrl
value = 2000


;僼儗傾
[State -3,]
type = ChangeState
triggerall = enemy,name != "fudo yusei"
triggerall = var(59) >= 1
triggerall = var(35) = 0
triggerall = RoundState = 2
triggerall = Movetype != A
triggerall = prevstateno != 250
triggerall = StateType != A
triggerall = P2Movetype = I
triggerall = p2bodydist x <= 90
trigger1= Ctrl
value = 6800

