
;-| CPUアルゴリズム用コマンド |------------------------------
;CPUアルゴリズムを使う際に便利な記述です。
;AIを使わないなら必要ありません。
;これらのコマンドは人間には入力できないものにする必要があります。
[Command]
name = "CPU0"
command = U,U,D,D,B,F,B,F,s,s
time = 0

[Command]
name = "CPU1"
command = U,U,D,D,B,F,B,F,a,a
time = 0

[Command]
name = "CPU2"
command = U,U,D,D,B,F,B,F,b,b
time = 0

[Command]
name = "CPU3"
command = U,U,D,D,B,F,B,F,c,c
time = 0

[Command]
name = "CPU4"
command = U,U,D,D,B,F,B,F,x,x
time = 0

[Command]
name = "CPU5"
command = U,U,D,D,B,F,B,F,y,y
time = 0

[Command]
name = "CPU6"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU7"
command = U,U,D,D,B,F,B,F,z,z,z
time = 0

[Command]
name = "CPU8"
command = U,U,D,D,B,F,B,F,z,z,z,z
time = 0

[Command]
name = "CPU9"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU10"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU11"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU12"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU13"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU14"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU15"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU16"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU17"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU18"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU19"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU20"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU21"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU22"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU23"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU24"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU25"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU26"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU27"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU28"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU29"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU30"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU31"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU32"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU33"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU34"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU35"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU36"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU37"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU38"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU39"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU40"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU41"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU42"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU43"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU44"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU45"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU46"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU47"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU48"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU49"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU50"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU51"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU52"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU53"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU54"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU55"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU56"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU57"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU58"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU59"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU60"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU61"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU62"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU63"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU64"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU65"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU66"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU67"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU68"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU69"
command = U,U,D,D,B,F,B,F,z,z
time = 0

[Command]
name = "CPU70"
command = U,U,D,D,B,F,B,F,z,z
time = 0

;---------------------------------------------------------------------------
[Command]
name = "meiou"
command = a+b
time = 1

[Command]
name = "meiou2"
command = c+z
time = 1

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

[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

;===========================================================================
[Statedef -1]
;===========================================================================

[State -1]
type = ChangeState
value = 999999
trigger1 = hitpausetime > 0
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 5150
trigger1 = ishelper
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 180
triggerall = roundstate = 4
triggerall = anim != 170
triggerall = anim != 180
trigger1 = win
trigger2 = enemy,alive=0
trigger2 = enemy(numenemy>1),alive=0
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 170
triggerall = roundstate = 4
triggerall = anim != 170
triggerall = anim != 180
trigger1 = !win
persistent=256
ignorehitpause = 1

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

[State -1]
type = ChangeState
value = 2600
triggerall = command = "meiou2"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2500
triggerall = command = "meiou"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

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

[State -1]
type = ChangeState
value = 2450
triggerall = command = "j"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2400
triggerall = command = "start"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2350
triggerall = command = "z"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2300
triggerall = command = "y"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2250
triggerall = command = "x"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2200
triggerall = command = "c"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2150
triggerall = command = "b"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2100
triggerall = command = "a"
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = anim = 2000
persistent=256
ignorehitpause = 1

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

[State -1]
type = ChangeState
value = 2600
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2500
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2450
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2400
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2350
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2300
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2250
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2200
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2150
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

[State -1]
type = ChangeState
value = 2100
triggerall = var(59)
triggerall = roundstate = 2
triggerall = anim = 2000
trigger1 = random < 9
persistent=256
ignorehitpause = 1

