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

[Command]
Name    = "3+b"
Command = /DF, b

[Command]
Name    = "F+c"
Command = /F, c

[Command]
Name    = "F+y"
Command = /F, y

[Command]
Name    = "D+y"
Command = /D, y

[Command]
Name    = "D+b"
Command = /D, b

[Command]
Name    = "D+c"
Command = /D, c

[Command]
Name    = "19"
Command = ~DB, UF
Time = 12
[Command]
Name    = "37"
Command = ~DF, UB
Time = 12
[Command]
Name    = "28"
Command = ~D, U
Time = 12

[Command]
Name    = "236+z"
Command = ~D, DF, F, z
Time = 20

[Command]
Name    = "214+z"
Command = ~D, DB, B, z
Time = 20

[Command]
Name    = "az"
Command = a+z
Time = 10

[Command]
Name    = "BLOOD HEAT"
Command = ~D, D, D, z
Time = 30

[Command]
Name    = "a+b+c"
Command = a+b+c
Time = 10

;------------------------------------------------------------------------------
; 必殺技
;------------------------------------------------------------------------------


[Command]
name = "623+a"
command = ~F, D, DF, a
time = 18

[Command]
name = "623+b"
command = ~F, D, DF, b
time = 18

[Command]
name = "623+c"
command = ~F, D, DF, c
time = 18

[Command]
name = "623+cz"
command = ~F, D, DF, c+z
time = 18

[Command]
name = "236+a"
command = ~D, DF, F, a
time = 15

[Command]
name = "236+b"
command = ~D, DF, F, b
time = 15

[Command]
name = "236+c"
command = ~D, DF, F, c
time = 15

[Command]
name = "236+cz"
command = ~D, DF, F, c+z
time = 15

[Command]
name = "236+x"
command = ~D, DF, F, x
time = 15

[Command]
name = "236+y"
command = ~D, DF, F, y
time = 15

[Command]
name = "236+xy"
command = ~D, DF, F,x+y
time = 15

[Command]
name = "214+a"
command = ~D, DB, B, a
time = 15

[Command]
name = "214+b"
command = ~D, DB, B, b
time = 15

[Command]
name = "214+c"
command = ~D, DB, B, c
time = 15

[Command]
Name    = "22+a"
Command = ~D, D, a
time = 15

[Command]
Name    = "22+b"
Command = ~D, D, b
time = 15

[Command]
Name    = "22+c"
Command = ~D, D, c
time = 15

[Command]
Name    = "22+z"
Command = ~D, D, z
time = 15

[Command]
name = "421+a"
command = ~B, D, DB, a
time = 18

[Command]
name = "421+b"
command = ~B, D, DB, b
time = 18

[Command]
name = "421+c"
command = ~B, D, DB, c
time = 18

[Command]
name = "412+a"
command = ~B, DB, D, a
time = 15

[Command]
name = "412+b"
command = ~B, DB, D, b
time = 15

[Command]
name = "412+c"
command = ~B, DB, D, c
time = 15
;------------------------------------------------------------------------------
; アークドライブ
;------------------------------------------------------------------------------

[Command]
name = "41236+c"
command = ~B, DB, D, DF, F, c
time = 30

[Command]
Name    = "63214+cz"
Command = ~F, DF, D, DB, B, c+z
Time = 30

[Command]
Name    = "63214+c"
Command = ~F, DF, D, DB, B, c
Time = 30

[Command]
Name    = "222+c"
Command = ~D, D, D, c
Time = 30

;------------------------------------------------------------------------------
; スペルカード
;------------------------------------------------------------------------------

[Command]
name = "22+s"
command = ~D, D, s
time = 15

[Command]
Name    = "623+s"
Command = ~F, D, DF, s
Time = 15

[Command]
Name    = "421+s"
Command = ~B, D, DB, s
Time = 15

[Command]
Name    = "236+s"
Command = ~D, DF, F, s
Time = 15

[Command]
Name    = "214+s"
Command = ~D, DB, B, s
Time = 15

;------------------------------------------------------------------------------
; デバッグ用
;------------------------------------------------------------------------------

;[Command]
;Name    = "?"
;Command = ~B, DB, D, DF, F, z
;Time = 30

;------------------------------------------------------------------------------
; 基本システム
;------------------------------------------------------------------------------

[Command]
name = "FF"
command = F,F
time = 10

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

[Command]
name = "UU"
command = U,U
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 = ifelse(Var(33)<=-1||power>=5000,2050,2000)
triggerall = command = "41236+c"
triggerall = statetype != A
Triggerall = Var(33) != 0 || power>=3000
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0 && (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 式神「召喚八雲式」＆式重「二重召喚八雲式」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2100
triggerall = command = "63214+c" || command = "63214+cz"
Triggerall = ((power>=3000&&power<5000)&&NumHelper(2101)+NumHelper(2102)+NumHelper(2401)+NumHelper(2411)=0) || ((Var(33)<=-1||power>=5000) &&NumHelper(2151)+NumHelper(2152)+NumHelper(2452)=0)
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0 && Var(7) != 10 && Var(36) = 0 && (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 捌器「全てを二つに別ける物」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse((Var(33)<=-1||power>=5000)&&NumHelper(2951)=0,2950,2900)
triggerall = command = "63214+c"
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
;TriggerAll = FVar(11) = 0 && Var(7) = 10
Triggerall = Var(33) != 0 || power>=3000
TriggerAll = Var(36) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 幻想「第一種永久機関」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse((Var(33)<=-1||power>=5000)&&NumHelper(4411)=0,4410,4460)
triggerall = command = "222+c"
triggerall = statetype != A
Triggerall = Var(33) != 0 || power>=3000
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 幻巣「飛行虫ネスト」＆王財「ゲートオブゆかりん」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2600
triggerall = command = "41236+c"
Triggerall = Var(33) != 0 || power>=3000
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31
[State -1]
type = ChangeState
value = 2650
triggerall = command = "41236+c"
Triggerall = Var(33) != 0 || power>=3000
triggerall = statetype = A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624||StateNo=635||StateNo=615
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 660 && Anim = 451
Trigger5 = StateNo = 670 && StateTime >= 22
Trigger6 = StateNo = 680 && StateTime >= 31
Trigger7 = StateNo = 665 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 666 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 667 && AnimelemTime(6) >= 2

;------------------------------------------------------------------------------
; 廃線「ぶらり廃駅下車の旅」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2700
triggerall = command = "222+c"
Triggerall = Var(33) != 0 || power>=3000
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 空餌「中毒性のあるエサ」＆空餌「狂躁拘束飛行体」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2800
triggerall = command = "63214+c"
Triggerall = Var(33) != 0 || power>=3000
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 境符「二次元と三次元の境界」＆結界「客観結界」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2500
triggerall = command = "623+s" || (command="421+s" && Var(4) = 0)
triggerall = statetype != A
;TriggerAll = Var(3) >= 6
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = FVar(34) > 0
triggerall = ((Power >= 1000) || (Var(33) != 0))
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 式神「八雲藍」＆式神「八雲藍＋」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 2400
Triggerall = (command = "214+s"&&NumHelper(2401)=0&&NumHelper(2411)=0) || ((command="421+s"&&Var(4)!=0) &&NumHelper(2151)=0&&NumHelper(2152)=0&&NumHelper(2452)=0)
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0 && FVar(34) > 0 && Var(7) != 10
triggerall = Power >= 1000 || Var(33) != 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 光弾「ドップラーエフェクト」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse(Var(4)=0,4020,4010)
Triggerall = command = "214+s"
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0 && FVar(34) > 0 && Var(7) = 10
triggerall = Power >= 1000 || Var(33) != 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 境符「四重結界」＆ 魔眼「ラプラスの魔」
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = ifelse(Var(4)!=0&&NumHelper(3301)=0,2375,2301)
triggerall = command = "236+s"
triggerall = statetype = A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = FVar(34) > 0
triggerall = ((Power >= 1000) || (Var(33) != 0))
trigger1 = ctrl = 1
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624||StateNo=635||StateNo=615
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 660 && Anim = 451
Trigger5 = StateNo = 670 && StateTime >= 22
Trigger6 = StateNo = 680 && StateTime >= 31
Trigger7 = StateNo = 665 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 666 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 667 && AnimelemTime(6) >= 2
[State -1]
type = ChangeState
value = 2300+ifelse(Var(4)!=0&&NumHelper(3301)=0,70,0)
triggerall = command = "236+s"
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
TriggerAll = FVar(34) > 0
triggerall = ((Power >= 1000) || (Var(33) != 0))
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421 
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 270 && Animelemtime(7) >= 1
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger11 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; ?
;------------------------------------------------------------------------------
[State -1]
type = Null;ChangeState
value = 2200
;triggerall = command = "start"
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(11) = 0
Triggerall = (Var(33)<=-1||power>=5000)
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415 || StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 禅寺に潜む妖蝶・弱
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1100
triggerall = command = "623+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 禅寺に潜む妖蝶・中
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1110
triggerall = command = "623+b" || (command= "623+c" && Power < 1000 && Var(33) = 0)
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 禅寺に潜む妖蝶・強
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1120
triggerall = command = "623+c" || command = "623+cz"
triggerall = statetype != A
triggerall = ((Power >= 1000) || (Var(33) != 0))
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 幻想卍傘
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1150
triggerall = command = "623+a" || command = "623+b" || command = "623+c"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [7,12])
TriggerAll = FVar(11) = 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
;　開けて悔しき玉手箱・強
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1030
triggerall = command = "236+cz"
triggerall = ((Power >= 1000) || (Var(33) != 0))
triggerall = statetype != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = NumHelper(1001) = 0 && NumHelper(1021) = 0
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
;　開けて悔しき玉手箱
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1000
triggerall = command = "236+c" || command = "236+b" ||command = "236+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = NumHelper(1001) = 0 && NumHelper(1021) = 0
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
;　至る所に青山あり
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1600
triggerall = command = "236+c" || command = "236+b" ||command = "236+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
;　知能と脚の境界
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1900
triggerall = command = "236+x" || command = "236+y" || command = "236+xy"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
;　魅惑の餌
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1700
triggerall = command = "236+x" || command = "236+y"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 幻想狂想穴（萃夢想）
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1300
triggerall = command = "421+c" || command = "421+b" || command = "421+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214|| StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 幻想狂想穴（緋想天）
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1330
triggerall = command = "421+c" || command = "421+b" || command = "421+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo=200||StateNo=210||StateNo=215||StateNo=220||StateNo=223||StateNo=214||StateNo=225||StateNo=400||StateNo=410||StateNo=415||StateNo=421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31
[State -1]
type = ChangeState
value = 1340
triggerall = command = "421+c" || command = "421+b" || command = "421+a"
triggerall = statetype = A
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624||StateNo=635||StateNo=615
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 660 && Anim = 451
Trigger5 = StateNo = 670 && StateTime >= 22
Trigger6 = StateNo = 680 && StateTime >= 31
Trigger7 = StateNo = 665 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 666 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 667 && AnimelemTime(6) >= 2

;------------------------------------------------------------------------------
; 枕石漱流
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1200
triggerall = command = "214+a" || ((command = "214+b" || command = "214+c") && (PalNo = [1,6]))
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = ((StateNo = 1940) && (Animelem = 9))
Trigger4 = MoveHit
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 漱石枕流
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1400
triggerall = command = "412+a" || command = "412+b" || command = "412+c"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31
[State -1]
type = ChangeState
value = 1400
triggerall = command = "214+b"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 変容を見る眼
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1800
triggerall = command = "214+c"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 肉体分解機
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1500
triggerall = command = "412+a" || command = "412+b" || command = "412+c"
triggerall = statetype != A
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; シールドバンカー
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 730
triggerall = command = "214+z"
triggerall = statetype != A
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 400 || StateNo = 410  || StateNo = 421 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 霊撃
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 961
triggerall = command = "22+c"
triggerall = statetype != A
triggerall = Fvar(31) >= 1
TriggerAll = Var(1) != 1
Trigger1 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger1 = MoveContAct
Trigger2 = StateNo = 160 || StateNo = 161
Trigger2 = MoveContAct
Trigger3 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger4 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger5 = StateNo = 270 && Animelemtime(7) >= 1
Trigger6 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger7 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger8 = StateNo = 270 && Animelemtime(7) >= 1
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31
Trigger11 = StateNo = 1000 && StateTime >= 28
Trigger12 = StateNo = 1100 || (StateTime = 1330 && Var(24) = 0)
Trigger12 = MoveContact
Trigger13 = StateNo = 1400
Trigger14 = (Anim = 1200 && StateTime >= 32) || (Anim = 3000 && StateTime >= 40) || (Anim = 1420 && StateTime >= 32)
Trigger15 = StateNo = 1150 && AnimelemTime(19) >= 1 && Var(24) != 2
Trigger16 = StateNo = 1331
Trigger17 = StateNo = 1600 && StateTime >= 50
Trigger18 = StateNO = 1700 && AnimelemTime(7) >= 1

;------------------------------------------------------------------------------
; 霊撃
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 960
triggerall = command = "22+c"
triggerall = statetype != A
triggerall = Fvar(31) >= 1
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1

;------------------------------------------------------------------------------
; クラッシュ攻撃１
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 740
triggerall = command = "22+a"
triggerall = statetype != A
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 400 || StateNo = 410  || StateNo = 421 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; クラッシュ攻撃２
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 750
triggerall = command = "22+b"
triggerall = statetype != A
TriggerAll = Var(1) != 1
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 400 || StateNo = 410  || StateNo = 421 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
Trigger4 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger5 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; スペルカード宣言
;------------------------------------------------------------------------------
[State -1]
Type = ChangeState
Value = 940
TriggerAll = Command = "22+s"
TriggerAll = StateType != A
TriggerAll = Var(1) != 1
;TriggerAll = Var(3) >= 6
TriggerAll = FVar(34) = 0 && Var(33) = 0 && Var(37) != [1,1000]
TriggerAll = Power >= 1000
TriggerAll = FVar(11) = 0
Trigger1 = Ctrl
Trigger2 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger2 = MoveContAct
Trigger3 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger4 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; ゲージ溜め
;------------------------------------------------------------------------------
[State -1]
Type = ChangeState
Value = 970
TriggerAll = Var(33) = 0 && Power < PowerMax
TriggerAll = Command = "start"
TriggerAll = StateType != A
TriggerAll = Var(1) = 0 && Var(37) != [1,1000]
Trigger1 = Ctrl
Trigger2 = StateNo = 160 || StateNo = 161
Trigger2 = MoveContAct
Trigger3 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger4 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; BLOOD HEAT
;------------------------------------------------------------------------------
[State -1]
Type = ChangeState
Value = 910
TriggerAll = Var(36) = 0
TriggerAll = Var(33) >= 1 || (power >= 3000 && Var(33) = 0)
TriggerAll = Command = "BLOOD HEAT"
TriggerAll = StateType != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(34) = 0
Trigger1 = Ctrl
Trigger2 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger2 = MoveContAct
Trigger3 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger4 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; HEAT 強制開放
;------------------------------------------------------------------------------
[State -1]
Type = ChangeState
Value = 900
TriggerAll = Var(33) = 0
TriggerAll = Command = "BLOOD HEAT"
TriggerAll = Power >= 1000 && power <= 2999
TriggerAll = StateType != A
TriggerAll = Var(1) != 1 && Var(37) != [1,1000]
TriggerAll = FVar(34) = 0 && Var(33) = 0
Trigger1 = Ctrl
Trigger2 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger2 = MoveContAct
Trigger3 = (StateNo = 450 && Anim = 451) || (StateNo = 250 && Anim = 251)
Trigger4 = (StateNo = 460 || StateNo = 260) && StateTime >= 22
Trigger6 = StateNo = 270 && Animelemtime(7) >= 1
Trigger7 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 455 && AnimelemTime(6) >= 2
Trigger10 = StateNo = 470 && time >= 31

;------------------------------------------------------------------------------
; 投げ
;------------------------------------------------------------------------------
[State -1]
type = Null;ChangeState
value = 800
triggerall = command = "az"
triggerall = statetype = S
TriggerAll = Var(1) != 1
triggerall = ctrl = 1
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 5
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;------------------------------------------------------------------------------
; 投げ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 810
triggerall = command = "az"
triggerall = statetype = S
TriggerAll = Var(1) != 1
triggerall = ctrl = 1
trigger1 = p2bodydist X < 5
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H

;------------------------------------------------------------------------------
; 空中投げ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 820
triggerall = command = "az"
triggerall = statetype = A
TriggerAll = Var(1) != 1
;triggerAll = ((command = "holdfwd") || (command = "holdback"))
Triggerall = Var(19)/10000%10 = 0
TriggerAll = P2Statetype = A
trigger1 = ctrl
trigger1 = p2bodydist X < 20
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624||StateNo=635||StateNo=615
trigger2 = MoveContact

;------------------------------------------------------------------------------
; 回転攻撃
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 615
TriggerAll = Var(1) != 1
triggerall = command = "D+b"
triggerall = statetype = A
Triggerall = Var(21)/10000%10 = 0
trigger1 = ctrl = 1
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; サイドワインダー
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 635
triggerall = command = "F+c"
triggerall = statetype = A
TriggerAll = Var(1) != 1
Triggerall = Var(19)/1000%10 = 0
trigger1 = ctrl = 1
Trigger2 = StateNo=600||StateNo=605||StateNo=610||StateNo=620||StateNo=624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 蹴り叩き落し
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 630
TriggerAll = Var(1) != 1
triggerall = command = "D+c"
triggerall = statetype = A
Triggerall = Var(21)/1000%10 = 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 600 || StateNo = 605 || StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 看板攻撃
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 430
TriggerAll = Var(1) != 1
triggerall = command = "F+c"
triggerall = statetype != A
Triggerall = Var(31) != 2
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContact

;------------------------------------------------------------------------------
; エリアル
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 415
TriggerAll = Var(1) != 1
triggerall = command = "3+b"
triggerall = statetype != A
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger2 = MoveContact
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContact

;------------------------------------------------------------------------------
; 立ち　シールド
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 160
TriggerAll = Var(1) != 1
triggerall = command = "z"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,420]) && (MoveContact))

;------------------------------------------------------------------------------
; 屈　シールド
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 161
TriggerAll = Var(1) != 1
triggerall = command = "z"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((StateNo = [200,420]) && (MoveContact))

;------------------------------------------------------------------------------
; 空　シールド
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 162
TriggerAll = Var(1) != 1
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = [600,620]) && (MoveContact))

;------------------------------------------------------------------------------
; ダッシュ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 100
TriggerAll = Var(1) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl =1
;Trigger2 = StateNo = 160
;Trigger2 = MoveContact

;------------------------------------------------------------------------------
; バックステップ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 105
TriggerAll = Var(1) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 421
Trigger2 = MoveContAct
Trigger2 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger2 = MoveContact

;------------------------------------------------------------------------------
; 高速ジャンプ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 920
triggerAll = command = "19" || command="28" || command="37"
triggerAll = statetype != A
trigger1 = ctrl = 1
Trigger2 = StateNo = 250 && Anim = 251
Trigger3 = StateNo = 260 && Animelemtime(6) >= 1
Trigger4 = StateNo = 270 && Animelemtime(7) >= 1
Trigger5 = StateNo = 450 && Anim = 451
Trigger6 = StateNo = 470 && StateTime > 30
Trigger7 = StateNo = 460 && Animelemtime(6) >= 1
Trigger8 = StateNo = 255 && AnimelemTime(4) >= 2
Trigger9 = StateNo = 256 && AnimelemTime(3) >= 2
Trigger10 = StateNo = 455 && AnimelemTime(6) >= 2

;------------------------------------------------------------------------------
; 空中ダッシュ
;------------------------------------------------------------------------------
[State -1, Air Dash]
type = ChangeState
value = 110
triggerall = command = "FF"
triggerall = statetype = A
Triggerall = Var(23) = [0,1]
TriggerAll = Var(1) != 1
trigger1 = ctrl =1
;trigger1 = stateno != 110
Trigger2 = StateNo = 600 || StateNo = 605 || StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 660 && Anim = 451
Trigger5 = StateNo = 670 && StateTime >= 22
Trigger6 = StateNo = 680 && StateTime >= 31
Trigger7 = StateNo = 665 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 666 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 667 && AnimelemTime(6) >= 2

;------------------------------------------------------------------------------
; 空中バックダッシュ
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 115
triggerall = command = "BB"
triggerall = statetype = A
Triggerall = Var(23) = [0,1]
TriggerAll = Var(1) != 1
;trigger1 = stateno != 115
trigger1 = ctrl = 1
Trigger2 = StateNo = 600 || StateNo = 605 || StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 660 && Anim = 451
Trigger5 = StateNo = 670 && StateTime >= 22
Trigger6 = StateNo = 680 && StateTime >= 31
Trigger7 = StateNo = 665 && AnimelemTime(4) >= 2
Trigger8 = StateNo = 666 && AnimelemTime(3) >= 2
Trigger9 = StateNo = 667 && AnimelemTime(6) >= 2

;------------------------------------------------------------------------------
; 弾幕・立ちくない
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 250
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype = S
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
[State -1]
type = ChangeState
value = 255
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype = S
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・立ち光弾
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 260
triggerall = (command = "x" && (PalNo = [1,6])) || (command="F+y" && (PalNo = [7,12])) || command = "y"
triggerall = command != "holddown"
triggerall = statetype = S
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・立ち隙間
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 270
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・屈くない
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 450
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct
[State -1]
type = ChangeState
value = 455
triggerall = command = "x"
triggerall = statetype = C
TriggerAll = Var(1) != 1
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・屈光弾
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 460
triggerall = (command = "x" && (PalNo = [1,6])) || command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・屈隙間
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 470
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 220 || StateNo = 223 || StateNo = 214 || StateNo = 225 || StateNo = 400 || StateNo = 410 || StateNo = 415|| StateNo = 420 || StateNo = 421
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・空くない
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 660
triggerall = command = "a"
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
triggerAll = statetype = A
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct
[State -1]
type = ChangeState
value = 667
triggerall = command = "x" && command = "holddown"
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
triggerAll = statetype = A
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct
[State -1]
type = ChangeState
value = 665
triggerall = command = "x" && command != "holddown"
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
triggerAll = statetype = A
TriggerAll = (PalNo = [7,12])
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・空光弾
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 670
triggerall = (command = "x" && (PalNo = [1,6])) || (command="F+y" && (PalNo = [7,12])) || command = "y"
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0
triggerAll = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct

;------------------------------------------------------------------------------
; 弾幕・空隙間
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 680
triggerall = command = "b"
TriggerAll = Var(1) != 1
TriggerAll = FVar(11) = 0 && P2Dist X > 160
triggerAll = statetype = A
TriggerAll = (PalNo = [1,6])
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct

;------------------------------------------------------------------------------
; 立ち　弱
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
TriggerAll = Var(1) != 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = ((StateNo = 200) && (!MoveContact) && (AnimElemTime(4) > 0))
trigger3 = ((StateNo = 200) && (MoveContact))
Trigger4 = StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger4 = MoveContAct
Trigger5 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger5 = MoveContAct

;------------------------------------------------------------------------------
; 立ち　中
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
TriggerAll = Var(1) != 1
Triggerall = Var(21)%10 = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 立ち　強
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 221
triggerall = command = "c"
triggerall = command != "holddown"
TriggerAll = Var(1) != 1
Triggerall = Var(19)%10 = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 屈　弱
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
TriggerAll = Var(1) != 1
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = ((StateNo = 400) && (!MoveContact) && (AnimElemTime(4) > 0))
trigger3 = ((StateNo = 400) && (MoveContact))
Trigger4 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger4 = MoveContAct
Trigger5 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger5 = MoveContAct

;------------------------------------------------------------------------------
; 屈　中
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
TriggerAll = Var(1) != 1
Triggerall = Var(21)/10%10 = 0
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 屈　強
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
TriggerAll = Var(1) != 1
Triggerall = Var(19)/10%10 = 0
trigger1 = statetype = C
trigger1 = ctrl = 1
Trigger2 = StateNo = 200 || StateNo = 210 || StateNo = 215 || StateNo = 400 || StateNo = 410 || StateNo = 220 || StateNo = 223 || StateNo = 214
Trigger2 = MoveContAct
Trigger3 = StateNo = 160 || StateNo = 161 || (StateNo = [960,962])
Trigger3 = MoveContAct

;------------------------------------------------------------------------------
; 空　弱
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
TriggerAll = Var(1) != 1
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = ((StateNo = 600) && (!MoveContact) && (AnimElemTime(3) > 0))
trigger3 = ((StateNo = 600) && (MoveContact))
Trigger4 = StateNo = 610 || StateNo = 620 || StateNo = 624
Trigger4 = MoveContAct
Trigger5 = StateNo = 162
Trigger5 = MoveContAct
Trigger4 = StateNo = 110 || StateNo = 115

;------------------------------------------------------------------------------
; 空　中
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 610
triggerall = command = "b"
Triggerall = Var(21)/100%10 = 0
TriggerAll = Var(1) != 1
trigger1 = statetype = A
trigger1 = ctrl = 1
Trigger2 = StateNo = 600 || StateNo = 605 || StateNo = 620 || StateNo = 624
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 110 || StateNo = 115

;------------------------------------------------------------------------------
; 空　強
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 620
triggerall = command = "c"
Triggerall = Var(19)/100%10 = 0
TriggerAll = Var(1) != 1
trigger1 = statetype = A
trigger1 = ctrl = 1
Trigger2 = StateNo = 600 || StateNo = 605 || StateNo = 610
Trigger2 = MoveContAct
Trigger3 = StateNo = 162
Trigger3 = MoveContAct
Trigger4 = StateNo = 110 || StateNo = 115

;------------------------------------------------------------------------------
; 挑発
;------------------------------------------------------------------------------
[State -1]
type = Null
value = 940
triggerall = command = "start"
triggerall = statetype = S
trigger1 = ctrl = 1

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