;------------------------------------------------------------------------------
;      Yukari_MB's Command
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;　CPU起動コマンド
;------------------------------------------------------------------------------
[Command]
name = "CPU01"
command = F, F, F, F, F, F
time = 0
[Command]
name = "CPU02"
command = U, U, U, U, U, U
time = 0
[Command]
name = "CPU03"
command = D, D, D, D, D, D
time = 0
[Command]
name = "CPU04"
command = F, D, F
time = 0
[Command]
name = "CPU05"
command = U, D, D
time = 0
[Command]
name = "CPU06"
command = D, B, B
time = 0
[Command]
name = "CPU07"
command = F, B, F
time = 0
[Command]
name = "CPU08"
command = F, U, B
time = 0
[Command]
name = "CPU09"
command = D, B, D
time = 0
[Command]
name = "CPU10"
command = U, D, F
time = 0
[Command]
name = "CPU11"
command = U, D, D, B
time = 0
[Command]
name = "CPU12"
command = D, B, F
time = 0
[Command]
name = "CPU13"
command = F, D, B
time = 0
[Command]
name = "CPU14"
command = U, D, U
time = 0
[Command]
name = "CPU15"
command = F, B, DF
time = 0
[Command]
name = "CPU16"
command = UF, D, D
time = 0
[Command]
name = "CPU17"
command = F, DB, DF
time = 0
[Command]
name = "CPU18"
command = F, D, DB
time = 0
[Command]
name = "CPU19"
command = B, D, UB
time = 0
[Command]
name = "CPU20"
command = B, B, B, B, B, B
time = 0
[Command]
name = "CPU21"
command = D, F, F, F, F, F
time = 0
[Command]
name = "CPU22"
command = U, U, F, U, U, U
time = 0
[Command]
name = "CPU23"
command = F, D, D, D, D, F
time = 0
[Command]
name = "CPU24"
command = F, D, DF, D, F, D
time = 0
[Command]
name = "CPU25"
command = U, D, DF,DB, D, U
time = 0
[Command]
name = "CPU26"
command = DF, B, DB, B, D, F
time = 0
[Command]
name = "CPU27"
command = DF, B, F, DF, F, B
time = 0
[Command]
name = "CPU28"
command = F, UB, B, UF, U, D
time = 0
[Command]
name = "CPU29"
command = D, B, DB, DF, D, U
time = 0
[Command]
name = "CPU30"
command = UF, D, F, B, F, D
time = 0
[Command]
name = "CPU31"
command = U, F, D, B, D, DF
time = 0
[Command]
name = "CPU32"
command = DF, B, DF, B, D, U
time = 0
[Command]
name = "CPU33"
command = F, D, B, F, F, F
time = 0
[Command]
name = "CPU34"
command = UF, DF, UF, B, F, F
time = 0
[Command]
name = "CPU35"
command = DB, B, DF, U, D, U
time = 0
[Command]
name = "CPU36"
command = UF, D, D, B, D, F
time = 0
[Command]
name = "CPU37"
command = U, DB, U, B, D, UF
time = 0
[Command]
name = "CPU38"
command = U, D, DB, U, F, U
time = 0
[Command]
name = "CPU39"
command = DB, D, UF, B, F, D
time = 0
[Command]
name = "CPU40"
command = B, B, DB, B, B, DB
time = 0
[Command]
Name    = "AI_41"
Command = a,a+c
time = 0
[Command]
Name    = "AI_42"
Command = b,c
time = 0
[Command]
Name    = "AI_43"
Command = b+c,b
time = 0
[Command]
Name    = "AI_44"
Command = b,b,c
time = 0
[Command]
Name    = "AI_45"
Command = b,c+a+z
time = 0
[Command]
Name    = "AI_46"
Command = b,z+D
time = 0
[Command]
Name    = "AI_47"
Command = b,x
time = 0
[Command]
Name    = "AI_48"
Command = z,D
time = 0
[Command]
Name    = "AI_49"
Command = a,a
time = 0
[Command]
Name    = "AI_50"
Command = b,a
time = 0

;------------------------------------------------------------------------------
;　コマンド
;------------------------------------------------------------------------------
[Command]
name = "start+a"
command = a+start
time = 10

[Command]
name = "start+b"
command = b+start
time = 10

[Command]
name = "start+c"
command = c+start
time = 10

[Command]
name = "start+x"
command = x+start
time = 10

[Command]
name = "start+y"
command = y+start
time = 10

[Command]
name = "start+z"
command = z+start
time = 10

;------------------------------------------------------------------------------
;　基本動作
;------------------------------------------------------------------------------
[Command]
name = "recovery"
command = a
time = 1

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

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

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

[Command]
name = "start"
command = s
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

[Command]
name = "holds"
command = /s
time = 1

[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

;==============================================================================
;消すと下の記述がパーになるので消さないこと

[Statedef -1]

;------------------------------------------------------------------------------
; キャラチェンジ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1020
TriggerAll = Var(1) != 1
triggerAll = ctrl = 1
Trigger1 = Command="start+a" && Var(20) > 0 && Var(5)%6 != 0
Trigger2 = Command="start+b" && Var(21) > 0 && Var(5)%6 != 1
Trigger3 = Command="start+c" && Var(22) > 0 && Var(5)%6 != 2
Trigger4 = Command="start+x" && Var(23) > 0 && Var(5)%6 != 3
Trigger5 = Command="start+y" && Var(24) > 0 && Var(5)%6 != 4
Trigger6 = Command="start+z" && Var(26) > 0 && Var(5)%6 != 5
[State -1]
type = ChangeState
value = 1020
TriggerAll = Var(1) != 1
Trigger1 = Var(21) <= 0 && Var(5)%6 = 1
Trigger2 = Var(22) <= 0 && Var(5)%6 = 2
Trigger3 = Var(23) <= 0 && Var(5)%6 = 3
Trigger4 = Var(24) <= 0 && Var(5)%6 = 4
Trigger5 = Var(26) <= 0 && Var(5)%6 = 5
;------------------------------------------------------------------------------
; 波動、火爆破、巫女の嵐
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse(Var(5)%6=0,1500,ifelse(Var(5)%6=5,1200,1300))
triggerall = command = "a" || command = "x"
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1

;------------------------------------------------------------------------------
; ガード解除、巫女の舞、巫女の嵐２
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse(Var(5)%6=0,1450,ifelse(Var(5)%6=5,1250,1150))
triggerall = command = "b" || command = "y"
TriggerAll = Var(1) != 1
triggerAll = ctrl = 1
trigger1 = Var(5)%6=0 || (Var(5)%6=5&&power>=3000) || ((Var(5)%6!=0&&Var(5)%6!=5)&&power>=1000)

;------------------------------------------------------------------------------
; 地震、出張巫女、巫女の舞／風
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse(Var(5)%6=0,1550,ifelse(Var(5)%6=5,1100,1400))
triggerall = command = "c" || command = "z"
TriggerAll = Var(1) != 1
triggerAll = ctrl = 1
trigger1 = (Var(5)%6!=0&&Var(5)%6!=5) || ((Var(5)%6=0||Var(5)%6=5)&&power>=3000)

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