;--------------------------------------------------------------------------
;	ボタン配置
[Remap]
;-----デフォルト-----
a = a
b = b
c = c
x = x
y = y
z = z
s = s
;注意　コマンド現在１２６個
;-| ＣＰＵ判定用 |--------------------------------------------------------
[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 = "236S"
Command = ~D, DF, F, s
Time = 15

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

[Command]
Name = "22S"
Command = ~D, D, s
Time = 15

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

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

[Command]
Name = "88S"
Command = ~U, U, s
Time = 15

[Command]
Name = "88B"
Command = ~U, U, b
Time = 15

[Command]
Name = "88A"
Command = ~U, U, a
Time = 15

[Command]
Name = "88X"
Command = ~U, U, x
Time = 15

[Command]
Name = "88Y"
Command = ~U, U, y
Time = 15

;------------------------------
;	超必殺技コマンド

[Command]
Name = "236C"
Command = ~D, DF, F, c
Time = 15

[Command]
Name = "214C"
Command = ~D, DB, B, c
Time = 15

[Command]
Name = "214Z"
Command = ~D, DB, B, z
Time = 15

[Command]
Name = "236Z"
Command = ~D, DF, F, z
Time = 15

[Command]
Name = "22Z"
Command = ~D, D, z
Time = 15

[Command]
Name = "623Z"
Command = ~F, D, $DF, z
Time = 15

[Command]
Name = "421Z"
Command = ~B, D, $DB, z
Time = 15

[Command]
Name = "88Z"
Command = ~U, U, z
Time = 15

[Command]
Name = "ZZ"
Command = ~z, z
Time = 15

[Command]
Name = "88C"
Command = ~U, U, c
Time = 15

;------------------------------
;	必殺技コマンド

[Command]
Name = "214X"
Command = ~D, DB, B, x
Time = 15
[Command]
Name = "214Y"
Command = ~D, DB, B, y
Time = 15
[Command]
Name = "214C"
Command = ~D, DB, B, c
Time = 15

[Command]
Name = "236X"
Command = ~D, DF, F, x
Time = 15
[Command]
Name = "236Y"
Command = ~D, DF, F, y
[Command]
Name = "236A"
Command = ~D, DF, F, a
Time = 15
[Command]
Name = "236B"
Command = ~D, DF, F, b
Time = 15
[Command]
Name = "236C"
Command = ~D, DF, F, c
Time = 15

[Command]
Name = "22X"
Command = ~D, D, x
Time = 15
[Command]
Name = "22Y"
Command = ~D, D, y
Time = 15

;------------------------------
;	クラッシュコマンド

[Command]
Name = "22A"
Command = ~D, D, a
Time = 15
[Command]
Name = "22B"
Command = ~D, D, b
Time = 15
[Command]
Name = "22C"
Command = ~D, D, c
Time = 15

;------------------------------
;	ダッシュコマンド

[Command]
Name = "66"     
Command = F, F
Time = 15
[Command]
Name = "44"     
Command = B, B
Time = 15

;------------------------------
;	復帰コマンド

[Command]
Name = "recovery"
Command = x+y

[Command]
Name = "recoveryA"
Command = /F,a
[Command]
Name = "recoveryA"
Command = /F,b
[Command]
Name = "recoveryA"
Command = /F,c

[Command]
Name = "recoveryB"
Command = /B,a
[Command]
Name = "recoveryB"
Command = /B,b
[Command]
Name = "recoveryB"
Command = /B,c

;------------------------------
;	移動起き上がり用コマンド

[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 = "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 = "holdfwd"
Command = /$F
Time = 1
[Command]
Name = "holdback"
Command = /$B
Time = 1

[Command]
Name = "holdup" 
Command = /$U
Time = 1
[Command]
Name = "holddown"
Command = /$D
Time = 1

[Command]
Name = "holda"
Command = /$a
Time = 1
[Command]
Name = "holdb"
Command = /$b
Time = 1
[Command]
Name = "holdc"
Command = /$c
Time = 1

;==============================
[StateDef -1]

;------------------------------　ＨＰ減少切り替え
[State -1, 3020]
Type = ChangeState
Value = 8907
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "623S"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8907 && time > 10

;------------------------------　ＨＰ０切り替え
[State -1, 3020]
Type = ChangeState
Value = 8908
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "421S"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8908 && time > 10

;------------------------------　本体攻撃力切り替え
[State -1, 3020]
Type = ChangeState
Value = 8906
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "22S"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8906 && time > 10

;------------------------------　賽銭箱超即死切り替え
[State -1, 3020]
Type = ChangeState
Value = 8903
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "236S"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8903 && time > 10

;------------------------------　定期的proj切り替え
[State -1, 3020]
Type = ChangeState
Value = 8904
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "214S"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8904 && time > 10

;------------------------------　時間停止切り替え
[State -1, 3020]
Type = ChangeState
Value = 1603
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88S"
triggerall = numhelper(193)
triggerall = helper(193),var(55) != 100
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 1603 && time > 10

;------------------------------　毒切り替え
[State -1, 3020]
Type = ChangeState
Value = 8911
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88B"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8911 && time > 10

;------------------------------　強制ステート固定切り替え
[State -1, 3020]
Type = ChangeState
Value = 8912
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88A"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8912 && time > 90

;------------------------------　ヘルパーhitdef切り替え
[State -1, 3020]
Type = ChangeState
Value = 8914
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88Y"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8914 && time > 10

;------------------------------　本体hitdef切り替え
[State -1, 3020]
Type = ChangeState
Value = 8913
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88X"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= StateNo = 8913 && time > 10

;------------------------------　鮮血の結末・混沌（夢想封印・鬼）
[State -1, 3020]
Type = ChangeState
Value = 89027
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "623Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　鮮血の結末・ヘヴン（神罰）
[State -1, 3020]
Type = ChangeState
Value = 89028
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "421Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　鮮血の結末・神々の黄昏（天地崩壊）
[State -1, 3020]
Type = ChangeState
Value = 89034
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　鮮血の結末・反魂
[State -1, 3020]
Type = ChangeState
Value = 8909+(stateno = 8909)
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "88C"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5
Trigger23	= stateno = 8909 && time > 10

;------------------------------　アマテラス
[State -1, 3020]
Type = ChangeState
Value = 89017
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　キングクリムゾン（通常）
[State -1, 3020]
Type = ChangeState
Value = 89011
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　死狂い
[State -1, 3020]
Type = ChangeState
Value = 89020
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22Z"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　賽銭箱だッ
[State -1, 30]
Type = ChangeState
Value = 3564
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236C"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　悲しみの向こう
[State -1, 30]
Type = ChangeState
Value = 3565
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214C"
TriggerAll	= numhelper(3566) = 0
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　ベホマ
[State -1, 3020]
Type = ChangeState
Value = 8901
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6 && numhelper(6900)
TriggerAll	= (Command = "ZZ")||(var(26)!=0&&helper(6900),var(40)=[1,100])
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　月歩
[State -1, 0]
Type = ChangeState
Value = 0
TriggerAll	= Var(58) > 0 && pos y > -500
TriggerAll	= Command = "up"
Triggerall	= stateno = [50,51]
Trigger1	= var(58) = 1
Trigger2	= pos y > -100
ctrl = 1

;------------------------------　天覇風神脚
[State -1, 3160]
Type = ChangeState
Value = 3160
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236A"||Command = "236B"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3160]
Type = ChangeState
Value = 3160
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236A"||Command = "236B"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5


;------------------------------　陰陽鬼神玉
[State -1, 3060]
Type = ChangeState
Value = 3071
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22X"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3060]
Type = ChangeState
Value = 3071
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22X"||Command = "22Y"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　魔浄閃結
[State -1, 3040]
Type = ChangeState
Value = 3561
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214Y"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3040]
Type = ChangeState
Value = 3561
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214Y"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　八方鬼縛陣
[State -1, 3040]
Type = ChangeState
Value = 3051
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214X"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3040]
Type = ChangeState
Value = 3051
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "214X"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　陰陽散華
[State -1, 3020]
Type = ChangeState
Value = 3540
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236Y"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3020]
Type = ChangeState
Value = 3540
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236Y"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　夢想封印
[State -1, 3020]
Type = ChangeState
Value = 3031
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236X"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]

[State -1, 3020]
Type = ChangeState
Value = 3031
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236X"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　夢想封印（空中）
[State -1, 3025]
Type = ChangeState
Value = 3036
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "236X"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5
Trigger5	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger6	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger7	= (StateNo=[1020,1030]) && animelem >= 6
Trigger8	= (StateNo=1065) && animelem >= 5

;------------------------------　霊撃（通常）
[State -1, 800]
Type = ChangeState
Value = 800
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22Y"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = 101

;------------------------------　霊撃（攻撃キャンセル）
[State -1, 801]
Type = ChangeState
Value = 801
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22Y"
TriggerAll	= StateType != A
Trigger1	= StateNo = 200 && animelem >= 4
Trigger2	= StateNo = 220 && animelem >= 4
Trigger3	= StateNo = 240 && time > 18
Trigger4	= StateNo = 400 && animelem >= 4
Trigger5	= StateNo = 405 && animelem >= 4
Trigger6	= StateNo = 420 && animelem >= 6
Trigger7	= StateNo = 440 && animelem >= 5
Trigger8	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger9	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger10	= StateNo = [800,802]

[State -1, 801]
Type = ChangeState
Value = 801
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22Y"
Trigger1	= StateNo=225 && animelem = 6, <=1
Trigger2	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger3	= StateNo=1075 && animelem >= 5

;------------------------------　幻想空想穴Ｂ
[State -1, 1070]
Type = ChangeState
Value = 1070
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "c"
TriggerAll	= Command = "holdback"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= numhelper(890)
Trigger10	= helper(890),time <= 2

;------------------------------　幻想空想穴Ｂ（空中）
[State -1, 1071]
Type = ChangeState
Value = 1071
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "c"
TriggerAll	= Command = "holdback"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5
Trigger5	= numhelper(890)
Trigger5	= helper(890),time <= 2

;------------------------------　螺旋
[State -1, 3020]
Type = ChangeState
Value = 1068
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "c"
TriggerAll	= Command = "holddown"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　闇龍
[State -1, 3020]
Type = ChangeState
Value = 1067
TriggerAll	= Var(58) = 1
TriggerAll	= palno = 6
TriggerAll	= Command = "c"
TriggerAll	= Command = "holdup"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

;------------------------------　幻想空想穴Ａ
[State -1, 1060]
Type = ChangeState
Value = 1060
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "c"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= numhelper(890)
Trigger10	= helper(890),time <= 2

;------------------------------　幻想空想穴Ａ（空中）
[State -1, 1061]
Type = ChangeState
Value = 1061
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "c"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5
Trigger5	= numhelper(890)
Trigger5	= helper(890),time <= 2

;------------------------------　昇天蹴Ａ
[State -1, 1020]
Type = ChangeState
Value = 1020
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22A"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5

;------------------------------　昇天蹴Ｂ
[State -1, 1030]
Type = ChangeState
Value = 1030
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "22B"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5

;------------------------------　警醒陣Ａ
[State -1, 1040]
Type = ChangeState
Value = 1040
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "x"
TriggerAll	= StateType != A
TriggerAll	= Command = "holdback"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5

;------------------------------　警醒陣Ａ　空中
[State -1, 1045]
Type = ChangeState
Value = 1045
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "x"
TriggerAll	= Command = "holdback"
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5

;------------------------------　警醒陣Ｂ
[State -1, 1050]
Type = ChangeState
Value = 1050
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "y"
TriggerAll	= StateType != A
TriggerAll	= Command = "holdback"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5

;------------------------------　警醒陣Ｂ　空中
[State -1, 1055]
Type = ChangeState
Value = 1055
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "y"
TriggerAll	= StateType = A
TriggerAll	= Command = "holdback"
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5

;------------------------------　博麗アミュレットＢ
[State -1, 1010]
Type = ChangeState
Value = 1010
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "x"||Command = "y"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5

;------------------------------　博麗アミュレットＢ　空中
[State -1, 1015]
Type = ChangeState
Value = 1015
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "x"||Command = "y"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5

;------------------------------　クラッシュ拳
[State -1, 240]
Type = ChangeState
Value = 240
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"
TriggerAll	= Command = "holdback"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 400 && animelem >= 4
Trigger6	= StateNo = 405 && animelem >= 4
Trigger7	= StateNo = 420 && animelem >= 6

;------------------------------　クラッシュ蹴
[State -1, 440]
Type = ChangeState
Value = 440
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "b"
TriggerAll	= Command = "holdback"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 400 && animelem >= 4
Trigger6	= StateNo = 405 && animelem >= 4
Trigger7	= StateNo = 420 && animelem >= 6

;------------------------------　ダッシュ立ち蹴
[State -1, 225]
Type = ChangeState
Value = 225
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "b"
TriggerAll	= Command = "holdfwd"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 400 && animelem >= 4
Trigger6	= StateNo = 420 && animelem >= 6

;------------------------------　ダッシュしゃがみ拳
[State -1, 425]
Type = ChangeState
Value = 405
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"
TriggerAll	= Command = "holdfwd"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 400 && animelem >= 4
Trigger6	= StateNo = 420 && animelem >= 6

;------------------------------　空中
[State -1, 600]
Type = ChangeState
Value = 1066
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"||Command = "b"
TriggerAll	= Command = "holddown"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger3	= StateNo = 600 && animelem >= 4
Trigger4	= StateNo = 620 && animelem >= 5

;------------------------------　立ち拳
[State -1, 200]
Type = ChangeState
Value = 200
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"
TriggerAll	= Command != "holddown"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4

;------------------------------　立ち蹴
[State -1, 220]
Type = ChangeState
Value = 220
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "b"
TriggerAll	= Command != "holddown"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 400 && animelem >= 4

;------------------------------　しゃがみ拳
[State -1, 400]
Type = ChangeState
Value = 400
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"
TriggerAll	= Command = "holddown"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]

;------------------------------　しゃがみ蹴
[State -1, 420]
Type = ChangeState
Value = 420
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "b"
TriggerAll	= Command = "holddown"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,106]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 400 && animelem >= 4

;------------------------------　空中拳
[State -1, 600]
Type = ChangeState
Value = 600
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "a"
TriggerAll	= StateType = A
Trigger1	= Ctrl

;------------------------------　空中蹴
[State -1, 620]
Type = ChangeState
Value = 620
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "b"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= StateNo = 600 && animelem >= 4

;■■■■■■■■■■■■■■■■■■■■■■■■■
;	プレイヤー操作（共通）
;--------------------------------------------------

;------------------------------　ダッシュ
[State -1, 100]
Type = ChangeState
Value = 100
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "66"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger1	= StateNo != 100

[State -1, 100]
Type = ChangeState
Value = 100
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "holdfwd"
TriggerAll	= Command = "z"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger1	= StateNo != 100

;------------------------------　バックステップ
[State -1, 105]
Type = ChangeState
Value = 105
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "44"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,101]

[State -1, 105]
Type = ChangeState
Value = 105
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "holdback"
TriggerAll	= Command = "z"
TriggerAll	= StateType != A
Trigger1	= Ctrl
Trigger2	= StateNo = [100,101]

;------------------------------　空中ダッシュ
[State -1, 110]
Type = ChangeState
Value = 110
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "66"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=[700,729]) && (StateNo%5=1 && Time>0)
Trigger3	= (StateNo=[700,729]) && (StateNo%5=2)
Trigger4	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger5	= (StateNo=[1040,1059]) && (AnimElem=9,>0)

[State -1, 110]
Type = ChangeState
Value = 110
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "holdfwd"
TriggerAll	= Command = "z"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=[700,729]) && (StateNo%5=1 && Time>0)
Trigger3	= (StateNo=[700,729]) && (StateNo%5=2)
Trigger4	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger5	= (StateNo=[1040,1059]) && (AnimElem=9,>0)

;------------------------------　空中バックダッシュ
[State -1, 115]
Type = ChangeState
Value = 115
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "44"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger3	= (StateNo=[1040,1059]) && (AnimElem=9,>0)

[State -1, 115]
Type = ChangeState
Value = 115
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "holdback"
TriggerAll	= Command = "z"
TriggerAll	= StateType = A
Trigger1	= Ctrl
Trigger2	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger3	= (StateNo=[1040,1059]) && (AnimElem=9,>0)

;------------------------------　高速ジャンプ
[State -1, 102]
Type = ChangeState
Value = 102
TriggerAll	= Var(58) = 1
TriggerAll	= Command = "holdup"
TriggerAll	= Command != "holddown"
TriggerAll	= StateType != A
Triggerall      = Var(11) > 0
Trigger1	= Ctrl
Trigger2	= StateNo = 101
Trigger3	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger4	= (StateNo=[1040,1059]) && (AnimElem=9,>0)

;---------------------------------------------------------------------------
;お試し
[State -1]
type = ChangeState
value = 89027
TriggerAll = Var(58) = 1
triggerall = command = "start"
Trigger1	= Ctrl
Trigger2	= StateNo = [100,115]
Trigger3	= StateNo = 200 && animelem >= 4
Trigger4	= StateNo = 220 && animelem >= 4
Trigger5	= StateNo = 240 && time > 18
Trigger6	= StateNo = 400 && animelem >= 4
Trigger7	= StateNo = 405 && animelem >= 4
Trigger8	= StateNo = 420 && animelem >= 6
Trigger9	= StateNo = 440 && animelem >= 5
Trigger10	= (StateNo=[1000,1019]) && (AnimElem=8,>0)
Trigger11	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger12	= StateNo = [800,802]
Trigger13	= StateNo=225 && animelem = 6, <=1
Trigger14	= (StateNo=[1020,1030]) && (AnimElem = 6, <=1)
Trigger15	= StateNo=1075 && animelem >= 5
Trigger16	= (StateNo=225 && animelem >= 6)||StateNo=226
Trigger17	= StateNo = 600 && animelem >= 4
Trigger18	= StateNo = 620 && animelem >= 5
Trigger19	= (StateNo=[1000,1019]) && (AnimElem=4,>0)
Trigger20	= (StateNo=[1040,1059]) && (AnimElem=9,>0)
Trigger21	= (StateNo=[1020,1030]) && animelem >= 6
Trigger22	= (StateNo=1065) && animelem >= 5

