[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

[Defaults]
command.time = 12
command.buffer.time = 1

;-| 超必殺技 |--------------------------------------------------------

[Command]
name = "アルカナブレイズ"
command = ~D, DF, F, b+c

[Command]
name = "アルカナフォース展開"
command = b+c

[Command]
name = "死祀"
command = ~D, D, D, a+b
time = 35
[Command]
name = "死祀"
command = ~D, $B, F, a+b
time = 15

[Command]
name = "リバサ無怨"
command = ~D, DB, B, a+b

[Command]
name = "無怨"
command = ~D, DF, F, a+b

;-| アルカナ関連 |-----------------------------------------------------------

[Command]
name = "アルカナ超必殺１"
command = ~D, DF, F, D, DF, F, z
time = 25
[Command]
name = "アルカナ超必殺２"
command = ~D, DB, B, D, DB, B, z
time = 25
[Command]
name = "アルカナ超必殺３"
command = ~F, B, D, $F, z
time = 25
[Command]
name = "アルカナ超必殺４"
command = ~F, D, $B, $F, z
time = 25
[Command]
name = "アルカナ超必殺５"
command = ~D, $B, $F, D, z
time = 25

[Command]
name = "アルカナ超必殺６"
command = ~$D, $B, $U, $F, z
time = 25
[Command]
name = "アルカナ超必殺６"
command = ~$B, $U, $F, $D, z
time = 25
[Command]
name = "アルカナ超必殺６"
command = ~$U, $F, $D, $B, z
time = 25
[Command]
name = "アルカナ超必殺６"
command = ~$F, $D, $B, $U, z
time = 25

[Command];3の反対
name = "アルカナ超必殺７"
command = ~B, F, D, $B, z
time = 25
[Command];4の反対
name = "アルカナ超必殺８"
command = ~B, D, $F, $B, z
time = 25

[Command]
name = "アルカナ超必殺簡易１"
command = ~D, DF, F, c+z
[Command]
name = "アルカナ超必殺簡易２"
command = ~D, DB, B, c+z
[Command]
name = "アルカナ超必殺簡易３"
command = ~F, D, DF, c+z
[Command]
name = "アルカナ超必殺簡易４"
command = ~B, D, DB, c+z
[Command]
name = "アルカナ超必殺簡易５"
command = ~D, $B, $F, c+z
[Command]
name = "アルカナ超必殺簡易５"
command = ~D, $F, $B, c+z

[Command]
name = "アルカナ必殺１"
command = ~D, DF, F, z

[Command]
name = "アルカナ必殺２"
command = ~F, D, DF, z

[Command]
name = "アルカナ必殺３"
command = ~D, DB, B, z

[Command]
name = "アルカナ必殺４"
command = ~B, D, DB, z

[Command]
name = "アルカナ必殺５"
command = ~B, D, F, z

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

[Command]
name = "弱閏間"
command = ~$B, D, DF, F, a
[Command]
name = "中閏間"
command = ~$B, D, DF, F, b
[Command]
name = "強閏間"
command = ~$B, D, DF, F, c
[Command]
name = "リバサ弱閏間"
command = ~$F, D, DB, B, a
[Command]
name = "リバサ中閏間"
command = ~$F, D, DB, B, b
[Command]
name = "リバサ強閏間"
command = ~$F, D, DB, B, c

[Command]
name = "弱吐切"
command = ~45$B, $F, a
[Command]
name = "中吐切"
command = ~45$B, $F, b
[Command]
name = "強吐切"
command = ~45$B, $F, c

[Command]
name = "弱吐切フォース"
command = ~38$B, $F, a
[Command]
name = "中吐切フォース"
command = ~38$B, $F, b
[Command]
name = "強吐切フォース"
command = ~38$B, $F, c

[Command]
name = "弱吐切時フォース"
command = ~32$B, $F, a
[Command]
name = "中吐切時フォース"
command = ~32$B, $F, b
[Command]
name = "強吐切時フォース"
command = ~32$B, $F, c

[Command]
name = "弱天鎖"
command = ~B, D, DB, a
[Command]
name = "中天鎖"
command = ~B, D, DB, b
[Command]
name = "強天鎖"
command = ~B, D, DB, c
[Command];弱巫流予定
name = "弱天鎖"
command = ~D, DB, B, a
[Command];中巫流予定
name = "中天鎖"
command = ~D, DB, B, b
[Command];強巫流予定
name = "強天鎖"
command = ~D, DB, B, c

[Command]
name = "弱斯封"
command = ~F, D, DF, a
;time = 10
[Command]
name = "中斯封"
command = ~F, D, DF, b
;time = 10
[Command]
name = "強斯封"
command = ~F, D, DF, c
;time = 10

[Command]
name = "弱功刀"
command = ~D, D, a
time = 10
[Command]
name = "中功刀"
command = ~D, D, b
time = 10
[Command]
name = "強功刀"
command = ~D, D, c
time = 10

[Command]
name = "弱業刎"
command = ~D, D, a
[Command]
name = "中業刎"
command = ~D, D, b
[Command]
name = "強業刎"
command = ~D, D, c

;-| 特殊技 |-----------------------------------------------------------

[Command]
name = "3a"     ;Required (do not remove)
command = DF, a
time = 15

[Command]
name = "3B"     ;Required (do not remove)
command = DF, b
time = 15

;-| システム関連 |-----------------------------------------------------------

[Command]
name = "低空ダッシュ"
command = F, F, $U

;[Command]
;name = "低空ダッシュ"
;command = F, $U, F

[Command]
name = "打ち上げ"
command = /DF

;[Command]
;name = "吹っ飛ばし"
;command = /F

[Command]
name = "DB"
command = /DB

[Command]
Name    = "ハイジャンプ"
Command = ~D, $U
time    = 10

[Command]
Name    = "ハイジャンプ"
Command = ~DB, $U
time    = 10

[Command]
Name    = "ハイジャンプ失敗"
Command = ~15$D, $U
time    = 60

[Command]
Name    = "簡易ハイジャンプ"
Command = $U

;-| 二回押しコマンド |-----------------------------------------------------------
[Command]
name = "前ダッシュ"     ;Required (do not remove)
command = F, F
time = 15

[Command]
name = "バックステップ"     ;Required (do not remove)
command = B, B
time = 15

[Command]
name = "UU"
command = U,U
time = 15

[Command]
name = "DD"
command = D,D
time = 15

;------------------------------------------------------------------------------
;-| 受け身 |-----------------------------------------------------------------
[Command]
name = "recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = a
time = 1

[Command]
name = "recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = b
time = 1

[Command]
name = "recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = c
time = 1

[Command]
name = "Arcana_recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = z
time = 1

[Command]
name = "Arcana_recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = /z
time = 1
[Command]
name = "Arcana_recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = x
time = 1

[Command]
name = "Arcana_recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = /x
time = 1

;-| ボタン単発 |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

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

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

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

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "start"
command = s
time = 1

[Command]
name = "F"
command = F
time = 1

[Command]
name = "B"
command = B
time = 1

[Command]
name = "U"
command = U
time = 1

[Command]
name = "D"
command = D
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 = "holda"
command = /a
time = 1

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

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

[Command]
name = "holdfu";Required (do not remove)
command = /$FU
time = 1

[Command]
name = "holdbu";Required (do not remove)
command = /$BU
time = 1

[Command]
name = "holdfd" ;Required (do not remove)
command = /$FD
time = 1

[Command]
name = "holdbd";Required (do not remove)
command = /$BD
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

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

;==============================================================================
;------------------------------------------------------------------------------
; 次の行は絶対に消さないでください。必須の項目です。
[Statedef -1]

;---------------------------------------------------------------------------
;先行入力用
;---------------------------------------------------------------------------

[State 前ダッシュ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command = "前ダッシュ"
trigger2 = command = "holdfwd" && command = "y"
trigger3 = command = "F" && command = "y"
var(15) = 100;3

[State バックステップ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command = "バックステップ"
trigger2 = command = "holdback" && command = "y"
trigger3 = command = "B" && command = "y"
var(15) = 105;4

[State ハイジャンプ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command = "ハイジャンプ" && command != "ハイジャンプ失敗"
trigger2 = command = "holdy" && command = "holdup"
trigger3 = command = "holdy" && command = "簡易ハイジャンプ"
var(15) = 41

[State 低空ダッシュ]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "低空ダッシュ"
var(16) = 5

[State ハイジャンプ]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype = A
trigger1 = command = "ハイジャンプ" && command != "ハイジャンプ失敗"
var(16) = 41

[State 空中ダッシュ]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "前ダッシュ"
trigger2 = command = "holdfwd" && command = "y"
trigger3 = command = "F" && command = "y"
trigger4 = command = "y"
var(16) = 110;16

[State 空中バックダッシュ]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "バックステップ"
trigger2 = command = "holdback" && command = "y"
trigger3 = command = "B" && command = "y"
var(16) = 115;17

;地上通常技---------------------------------------
[State 5A]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command != "holddown" && command = "a"
var(15) = 200
[State 6A]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command = "holdfwd" && command = "a"
var(15) = 210
[State 2A]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = statetype != A
trigger1 = command = "holddown" && command = "a"
var(15) = 400
[State 3A]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "3a"
trigger2 = command = "打ち上げ" && command = "a"
var(15) = 410

[State 5B]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command != "holddown" && command = "b"
var(15) = 220
[State 2B]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "holddown" && command = "b"
var(15) = 420
[State 3B]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "3B"
trigger2 = command = "打ち上げ" && command = "b"
;trigger3 = command = "holdfwd" && command = "b"
var(15) = 230

[State 5C]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command != "holddown" && command = "c"
var(15) = 240
[State 2C]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "holddown" && command = "c"
var(15) = 440

[State 5E吹き飛ばし]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command != "holddown" && command = "z"
var(15) = 290
[State 2E打ち上げ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "holddown" && command = "z"

var(15) = 300
[State 1E]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "DB" && command = "z"
var(15) = 460

;空中通常攻撃-----------------------------------
[State j_5A]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype = A
trigger1 = command = "a"
var(16) = 600

[State j_6A]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "holdfwd" && command = "a"
var(16) = 610

[State j_5B]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "b"
var(16) = 620

[State j_5C]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "c"
var(16) = 640

;[State j_6C]
;type = VarSet
;triggerall = var(53) = 0
;trigger1 = command = "holdfwd" && command = "c"
;var(16) = 650

[State j_E]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "z"
var(16) = 660

;投げ-----------------------------------
[State N投げ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "a" && command = "x"
trigger1 = command != "holdfwd" && command != "holdback"
var(15) = 700
[State レバー投げ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "a" && command = "x"
trigger1 = command = "holdfwd" || command = "holdback"
var(15) = 720

[State 空中投げ]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "a" && command = "x"
var(16) = 750

;コマンド技-----------------------------------
[State A功刀]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = Life > 1
trigger1 = command = "弱功刀"
var(15) = 1000
[State B功刀]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = Life > 1
trigger1 = command = "中功刀"
var(15) = 1010
[State C功刀]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = Life > 1
trigger1 = command = "強功刀"
var(15) = 1020

[State A吐切]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = var(47) = 0 && command = "弱吐切"
trigger2 = var(47) && var(58) != 3 && command = "弱吐切フォース"
trigger3 = var(47) && var(58) = 3 && command = "弱吐切時フォース"
var(15) = 1400
[State B吐切]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = var(47) = 0 && command = "中吐切"
trigger2 = var(47) && var(58) != 3 && command = "中吐切フォース"
trigger3 = var(47) && var(58) = 3 && command = "中吐切時フォース"
var(15) = 1410
[State C吐切]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = var(47) = 0 && command = "強吐切"
trigger2 = var(47) && var(58) != 3 && command = "強吐切フォース"
trigger3 = var(47) && var(58) = 3 && command = "強吐切時フォース"
var(15) = 1420
[State 枯霊]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48)
triggerall = StateNo != 5120
trigger1 = var(47) = 0 && command = "弱吐切"
trigger2 = var(47) = 0 && command = "中吐切"
trigger3 = var(47) = 0 && command = "強吐切"
trigger4 = var(47) && var(58) != 3 && command = "弱吐切フォース"
trigger5 = var(47) && var(58) != 3 && command = "中吐切フォース"
trigger6 = var(47) && var(58) != 3 && command = "強吐切フォース"
trigger7 = var(47) && var(58)  = 3 && command = "弱吐切時フォース"
trigger8 = var(47) && var(58)  = 3 && command = "中吐切時フォース"
trigger9 = var(47) && var(58)  = 3 && command = "強吐切時フォース"
var(15) = 2200

[State A斯封]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "弱斯封"
var(15) = 1200
[State B斯封]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "中斯封"
var(15) = 1210
[State C斯封]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "強斯封"
var(15) = 1220



[State A閏間]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = command = "弱閏間"
var(15) = 1100
[State B閏間]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = command = "中閏間"
var(15) = 1110
[State C閏間]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = StateNo != 5120
trigger1 = command = "強閏間"
var(15) = 1120
[State 影宿]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48)
triggerall = StateNo != 5120
trigger1 = command = "弱閏間"
trigger2 = command = "中閏間"
trigger3 = command = "強閏間"
var(15) = 2000




[State A業刎]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype = A
trigger1 = command = "弱業刎"
var(16) = 1500
[State B業刎]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "中業刎"
var(16) = 1510
[State C業刎]
type = VarSet
triggerall = var(53) = 0
trigger1 = command = "強業刎"
var(16) = 1520

[State A空中斯封]
type = VarSet
triggerall = var(53) = 0
trigger1 = StateNo != 351 && command = "弱斯封"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "弱斯封",command = "弱天鎖")
var(16) = 1230
[State B空中斯封]
type = VarSet
triggerall = var(53) = 0
trigger1 = StateNo != 351 && command = "中斯封"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "中斯封",command = "中斯封")
var(16) = 1240

[State A天鎖]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
triggerall = statetype = A
trigger1 = StateNo != 351 && command = "弱天鎖"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "弱天鎖",command = "弱斯封")
var(16) = 1300
[State B天鎖]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
trigger1 = StateNo != 351 && command = "中天鎖"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "中天鎖",command = "中斯封")
var(16) = 1310
[State C天鎖]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48) = 0
trigger1 = StateNo != 351 && command = "強天鎖"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "強天鎖",command = "強斯封")
var(16) = 1320
[State 逝斬]
type = VarSet
triggerall = var(53) = 0
triggerall = var(48)
trigger1 = StateNo != 351 && command = "弱天鎖"
trigger2 = StateNo != 351 && command = "中天鎖"
trigger3 = StateNo != 351 && command = "強天鎖"
trigger4 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "弱天鎖",command = "弱斯封")
trigger5 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "中天鎖",command = "中斯封")
trigger6 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "強天鎖",command = "強斯封")
var(16) = 2100

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

[State 無怨]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "無怨"
var(15) = 3000

[State 崩灯]
type = VarSet
triggerall = var(53) = 0
trigger1 = StateNo != 351 && command = "無怨"
trigger2 = StateNo = 351 && ifelse(P2Dist X >= 0,command = "無怨",command = "リバサ無怨")
var(16) = 3100

[State 死祀1]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(46)=0 || var(46) = 3 || var(46)=5
triggerall = var(48) = 0
trigger1 = command = "死祀"
var(15) = 3500
[State 死祀2]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(46)=0 || var(46)=5
triggerall = var(48)
trigger1 = command = "死祀"
var(15) = 3600
[State 死祀3]
type = VarSet
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(46) = 6
trigger1 = command = "死祀"
var(15) = 3700

;アルカナ技-----------------------------------------------------

;地上アルカナ技---------------------------------------
[State 愛　地上ロズスフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
triggerall = command = "アルカナ必殺１"
trigger1 = var(46)=6
trigger2 = NumHelper(41110) = 0
trigger3 = NumHelper(41110) = 1 && (helper(41110),StateNo = 41111 || helper(41110),StateNo = 41113)
var(15) = 41100
[State 愛　地上ロズトクソ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
trigger1 = command = "アルカナ必殺２"
var(15) = 41200
[State 愛　地上ロズキクロス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
triggerall = NumHelper(41310) = 0
trigger1 = command = "アルカナ必殺３"
var(15) = 41300

[State 雷　地上スカルトエルム]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 2
trigger1 = command = "アルカナ必殺１"
var(15) = 42100
[State 雷　地上クリィーオフ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 2
trigger1 = command = "アルカナ必殺２"
var(15) = 42200

[State 時　地上離縛の意]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 3
triggerall = command = "アルカナ必殺１"
trigger1 = NumHelper(43110) = 0
trigger2 = NumHelper(43110) = 1
trigger2 = Helper(43110),StateNo = 43110
trigger2 = Helper(43110),time >= 170
trigger3 = NumHelper(43110) = 1
trigger3 = Helper(43110),StateNo = 43111
trigger3 = Helper(43110),time >= 43
trigger4 = NumHelper(43110) = 1
trigger4 = Helper(43110),StateNo = 43115
trigger5 = NumHelper(43110) = 1
trigger5 = Helper(43110),StateNo = 43116
var(15) = 43100

[State 樹　地上蔦前]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
trigger1 = command = "アルカナ必殺１"
var(15) = 44100
[State 樹　地上蔦斜め]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
trigger1 = command = "アルカナ必殺２"
var(15) = 44102
[State 樹　地上種蒔き]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
triggerall = (NumHelper(44210) + NumHelper(44611)+NumHelper(44612)+NumHelper(44613)) < 3
trigger1 = command = "アルカナ必殺３"
var(15) = 44200

[State 風　地上シキリス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 6
triggerall = command = "アルカナ必殺１"
trigger1 = NumHelper(46110) = 0
trigger2 = NumHelper(46110) = 1 && helper(46110),StateNo = 46111
trigger3 = NumHelper(46110) = 1 && helper(46110),StateNo = 46112
trigger4 = NumHelper(46110) = 1 && helper(46110),StateNo = 46115
var(15) = 46100
[State 風　地上ヴェルテクス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 6
triggerall = command = "アルカナ必殺３"
trigger1 = NumHelper(46210) = 0
trigger2 = NumHelper(46210) && helper(46210),StateNo = 46211
var(15) = 46200

;空中アルカナ技---------------------------------------
[State 愛　空中ロズスフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
triggerall = (StateNo != 351 && command = "アルカナ必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺１",command = "アルカナ必殺３"))
trigger1 = var(46)=6
trigger2 = NumHelper(41110) = 0
trigger3 = NumHelper(41110) = 1 && (helper(41110),StateNo = 41111 || helper(41110),StateNo = 41113)
var(16) = 41100
[State 愛　空中ロズトクソ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
trigger1 = (StateNo != 351 && command = "アルカナ必殺２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺２",command = "アルカナ必殺４"))
var(16) = 41200
[State 愛　空中ロズキクロス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 1
triggerall = NumHelper(41310) = 0
trigger1 = (StateNo != 351 && command = "アルカナ必殺３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺３",command = "アルカナ必殺１"))
var(16) = 41300

[State 雷　空中スカルトエルム]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 2
trigger1 = (StateNo != 351 && command = "アルカナ必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺１",command = "アルカナ必殺３"))
var(16) = 42100

[State 雷　地上クリィーオフ]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 2
triggerall = (StateNo != 351 && command = "アルカナ必殺２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺２",command = "アルカナ必殺４"))
triggerall = command = "アルカナ必殺２"
trigger1 = StateNo = 391
var(16) = 42200

[State 時　空中離縛の意]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 3
triggerall = (StateNo != 351 && command = "アルカナ必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺１",command = "アルカナ必殺３"))
trigger1 = NumHelper(43110) = 0
trigger2 = NumHelper(43110) = 1
trigger2 = Helper(43110),StateNo = 43110
trigger2 = Helper(43110),time >= 170
trigger3 = NumHelper(43110) = 1
trigger3 = Helper(43110),StateNo = 43111
trigger3 = Helper(43110),time >= 43
trigger4 = NumHelper(43110) = 1
trigger4 = Helper(43110),StateNo = 43115
trigger5 = NumHelper(43110) = 1
trigger5 = Helper(43110),StateNo = 43116
var(16) = 43100

[State 樹　空中蔦前]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
trigger1 = (StateNo != 351 && command = "アルカナ必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺１",command = "アルカナ必殺３"))
var(16) = 44100
[State 樹　空中蔦斜め]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
trigger1 = (StateNo != 351 && command = "アルカナ必殺２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺２",command = "アルカナ必殺４"))
var(16) = 44102
[State 樹　空中種蒔き]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 4
triggerall = (NumHelper(44210) + NumHelper(44611)+NumHelper(44612)+NumHelper(44613)) < 3
trigger1 = (StateNo != 351 && command = "アルカナ必殺３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺３",command = "アルカナ必殺１"))
var(16) = 44200

[State 風　空中シキリス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 6
triggerall = (StateNo != 351 && command = "アルカナ必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺１",command = "アルカナ必殺３"))
trigger1 = NumHelper(46110) = 0
trigger2 = NumHelper(46110) = 1 && helper(46110),StateNo = 46111
trigger3 = NumHelper(46110) = 1 && helper(46110),StateNo = 46112
trigger4 = NumHelper(46110) = 1 && helper(46110),StateNo = 46115
var(16) = 46100
[State 風　空中ヴェルテクス]
type = VarSet
triggerall = var(53) = 0
triggerall = var(58) = 6
triggerall = (StateNo != 351 && command = "アルカナ必殺３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ必殺３",command = "アルカナ必殺１"))
trigger1 = NumHelper(46210) = 0
trigger2 = NumHelper(46210) && helper(46210),StateNo = 46211
var(16) = 46200

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

;地上超アルカナ技---------------------------------------
[State 愛　地上トリススフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = Power >= 1000 || var(46) = 6
triggerall = command = "アルカナ超必殺１" || command = "アルカナ超必殺簡易１"
trigger1 = var(46)=6
trigger2 = NumHelper(41511)+NumHelper(41512)+NumHelper(41513) <= 1
var(15) = 41500
[State 愛　地上ウラニオトクソ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = Power >= 1000 || var(46) = 6
trigger1 = command = "アルカナ超必殺３"
trigger2 = command = "アルカナ超必殺簡易３"
var(15) = 41600
[State 雷　地上フェアルグロルグ奧]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺簡易１"
var(15) = 42500
[State 雷　地上フェアルグロルグ手前]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
trigger1 = command = "アルカナ超必殺２"
trigger2 = command = "アルカナ超必殺簡易２"
var(15) = 42502
[State 雷　エムローンエナッド]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
trigger1 = command = "アルカナ超必殺４"
trigger2 = command = "アルカナ超必殺簡易３"
var(15) = 42600
[State 時　地上無量光の意]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 3
triggerall = Power >= 1000
triggerall = NumHelper(43510) = 0
triggerall = NumHelper(43520) = 0
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺簡易１"
var(15) = 43500
[State 樹　地上養分吸収]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 4
triggerall = Power >= 1000
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺簡易１"
var(15) = 44500
[State 樹　地上花満開]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 4
triggerall = Power >= 1000
triggerall = (NumHelper(44611)+NumHelper(44612)+NumHelper(44613)) < 3
trigger1 = command = "アルカナ超必殺２"
trigger2 = command = "アルカナ超必殺簡易２"
var(15) = 44600
[State 風　地上ファルクス]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 6
triggerall = Power >= 1000
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺簡易１"
var(15) = 46500

;空中超アルカナ技---------------------------------------

[State 愛　空中トリススフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = Power >= 1000 || var(46) = 6
triggerall = (StateNo != 351 && command = "アルカナ超必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺１",command = "アルカナ超必殺２"))
trigger1 = var(46)=6
trigger2 = NumHelper(41511)+NumHelper(41512)+NumHelper(41513) <= 1
var(16) = 41500
[State 愛　空中トリススフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = Power >= 1000 || var(46) = 6
triggerall = (StateNo != 351 && command = "アルカナ超必殺簡易１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易１",command = "アルカナ超必殺簡易２"))
trigger1 = var(46)=6
trigger2 = NumHelper(41511)+NumHelper(41512)+NumHelper(41513) = 0
trigger3 = NumHelper(41513) && helper(41513),StateNo = 41111
var(16) = 41500

[State 愛　空中ウラニオトクソ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = Power >= 1000 || var(46) = 6
trigger1 = (StateNo != 351 && command = "アルカナ超必殺３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺３",command = "アルカナ超必殺７"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易３",command = "アルカナ超必殺簡易４"))
var(16) = 41600

[State 雷　空中フェアルグロルグ奧]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
trigger1 = (StateNo != 351 && command = "アルカナ超必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺１",command = "アルカナ超必殺２"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易１",command = "アルカナ超必殺簡易２"))
var(16) = 42500
[State 雷　空中フェアルグロルグ手前]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
trigger1 = (StateNo != 351 && command = "アルカナ超必殺２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺２",command = "アルカナ超必殺１"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易２",command = "アルカナ超必殺簡易１"))
var(16) = 42502
[State 雷　エムローンエナッド]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = Power >= 1000
triggerall = NumHelper(43510) = 0
triggerall = NumHelper(43520) = 0
trigger1 = (StateNo != 351 && command = "アルカナ超必殺４") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺４",command = "アルカナ超必殺８"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易３") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易３",command = "アルカナ超必殺簡易４"))
var(16) = 42600
[State 時　空中無量光の意]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 3
triggerall = Power >= 1000
trigger1 = (StateNo != 351 && command = "アルカナ超必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺１",command = "アルカナ超必殺２"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易１",command = "アルカナ超必殺簡易２"))
var(16) = 43500
[State 樹　空中養分吸収]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 4
triggerall = Power >= 1000
trigger1 = (StateNo != 351 && command = "アルカナ超必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺１",command = "アルカナ超必殺２"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易１",command = "アルカナ超必殺簡易２"))
var(16) = 44500
[State 樹　空中花満開]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 4
triggerall = Power >= 1000
triggerall = (NumHelper(44611)+NumHelper(44612)+NumHelper(44613)) < 3
trigger1 = (StateNo != 351 && command = "アルカナ超必殺２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺２",command = "アルカナ超必殺１"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易２") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易２",command = "アルカナ超必殺簡易１"))
var(16) = 44600
[State 風　空中ファルクス]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 6
triggerall = Power >= 1000
trigger1 = (StateNo != 351 && command = "アルカナ超必殺１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺１",command = "アルカナ超必殺２"))
trigger2 = (StateNo != 351 && command = "アルカナ超必殺簡易１") || (StateNo = 351 && ifelse(P2Dist X >= 0,command = "アルカナ超必殺簡易１",command = "アルカナ超必殺簡易２"))
var(16) = 46500

;フォース展開ブレイズ---------------------------------------

[State 地上アルカナフォース展開]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "アルカナフォース展開"
var(15) = 40000
[State 空中アルカナフォース展開]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
trigger1 = command = "アルカナフォース展開"
var(16) = 40000

[State 愛　イリオススフェラ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 1
triggerall = var(46) = 6
trigger1 = command = "アルカナブレイズ"
var(15) = 41800
[State 雷　プロデュームアナム]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 2
triggerall = var(46) = 6
trigger1 = command = "アルカナブレイズ"
var(15) = 42800
[State 時　本不浄の意]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 3
triggerall = var(46) = 6
trigger1 = command = "アルカナブレイズ"
var(15) = 43800
[State 樹　禁断の実と花]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 4
triggerall = var(46) = 6
trigger1 = command = "アルカナブレイズ"
var(15) = 44800
[State 風　アブオレオ]
type = VarSet
triggerall = var(53) = 0
triggerall = StateNo != 5120
triggerall = var(58) = 6
triggerall = var(46) = 6
trigger1 = command = "アルカナブレイズ"
var(15) = 46800

;---------------------------------------------------------------------------
;先行入力有効時間
;---------------------------------------------------------------------------

[State 短いやつ]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "a"
trigger2 = (command = "弱功刀" || command = "中功刀" || command = "強功刀")
var(17) = 1
[State 1ボタン系]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "b"
trigger2 = command = "c"
trigger3 = command = "z"
var(17) = 2
[State ダッシュ関係]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "低空ダッシュ"
trigger2 = command = "前ダッシュ"
trigger3 = command = "バックステップ"
trigger4 = command = "y"
trigger5 = command = "簡易ハイジャンプ"
var(17) = 3

[State 地上技]
type = VarSet
triggerall = StateNo != 5120
triggerall = Statetype != A
trigger1 = (command = "弱閏間" || command = "中閏間" || command = "強閏間")
trigger2 = (command = "弱吐切" || command = "中吐切" || command = "強吐切")
trigger3 = (command = "弱斯封" || command = "中斯封" || command = "強斯封")
var(17) = 4
[State 空中技]
type = VarSet
triggerall = StateNo != 5120
triggerall = Statetype = A
trigger1 = (command = "弱天鎖" || command = "中天鎖" || command = "強天鎖")
trigger2 = (command = "弱斯封" || command = "中斯封")
trigger3 = (command = "弱業刎" || command = "中業刎" || command = "強業刎")
var(17) = 4

[State アルカナ技]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "アルカナ必殺１"
trigger2 = command = "アルカナ必殺２"
trigger3 = command = "アルカナ必殺３"
trigger4 = command = "アルカナ必殺４"
trigger5 = command = "アルカナ必殺５"
var(17) = 4

[State ゲージ技]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "無怨"
var(17) = 4
[State 死祀]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "死祀"
var(17) = 4

[State 超アルカナ技簡易]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "アルカナ超必殺簡易１"
trigger2 = command = "アルカナ超必殺簡易２"
trigger3 = command = "アルカナ超必殺簡易３"
trigger4 = command = "アルカナ超必殺簡易４"
trigger5 = command = "アルカナ超必殺簡易５"
var(17) = 4

[State 超アルカナ技];愛
type = VarSet
triggerall = StateNo != 5120
triggerall = var(58) = 1
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺３"
var(17) = 6
[State 超アルカナ技];雷
type = VarSet
triggerall = StateNo != 5120
triggerall = var(58) = 2
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺２"
trigger3 = command = "アルカナ超必殺４"
var(17) = 6
[State 超アルカナ技];時
type = VarSet
triggerall = StateNo != 5120
triggerall = var(58) = 3
trigger1 = command = "アルカナ超必殺１"
var(17) = 6
[State 超アルカナ技];樹
type = VarSet
triggerall = StateNo != 5120
triggerall = var(58) = 4
trigger1 = command = "アルカナ超必殺１"
trigger2 = command = "アルカナ超必殺２"
var(17) = 6
[State 超アルカナ技];風
type = VarSet
triggerall = StateNo != 5120
triggerall = var(58) = 6
trigger1 = command = "アルカナ超必殺１"
var(17) = 6

[State アルカナフォース系]
type = VarSet
triggerall = StateNo != 5120
trigger1 = command = "アルカナフォース展開"
var(17) = var(8)+1

;---------------------------------------------------------------------------
;3ゲージ　技
;---------------------------------------------------------------------------

[State 死祀3デバッグ用]
type = ChangeState
value = 3700
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(1) >= 120;デバッグモード中
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = command = "z"
trigger1 = command = "強天鎖"
[State 死祀2デバッグ用]
type = ChangeState
value = 3600
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(1) >= 120;デバッグモード中
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = command = "y"
trigger1 = command = "中天鎖"
[State 死祀1デバッグ用]
type = ChangeState
value = 3500
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(1) >= 120;デバッグモード中
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = command = "x"
trigger1 = command = "弱天鎖"

[State 死祀]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(15) = 3500 || var(15) = 3600 || var(15) = 3700
triggerall = Power >= 3000
trigger1 = StateNo = 1205 && AnimElemTime(2) = 0
trigger2 = StateNo = 1215 && AnimElemTime(2) = 0
trigger3 = StateNo = 1225 && AnimElemTime(2) = 0
trigger4 = StateNo = 1280 && AnimElemTime(2) = 0
trigger5 = StateNo = 1285 && AnimElemTime(2) = 0

;---------------------------------------------------------------------------
;アルカナブレイズ関連
;---------------------------------------------------------------------------

[State アルカナブレイズ]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = (var(15) = 980+(var(58)*100)) || (var(15) = 40800+(var(58)*1000))
triggerall = statetype != A
trigger1 = ctrl
;ジャンプ・ハイジャンプ予備動作
trigger2 = StateNo = 40 || StateNo = 41
;地上フロントステップ
trigger3 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン6D
trigger4 = StateNo = 381 && var(24) >= 11
;時カナ　虚空の意、停止
trigger5 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;通常攻撃キャンセル
trigger6 = MoveContact
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 240 || StateNo = 291 || StateNo = 292 || StateNo = 301 || StateNo = 302 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 440 || StateNo = 460
;コマンド技キャンセル
trigger7 = MoveContact
trigger7 = (StateNo = [1100,1110]) || StateNo = 1420 || StateNo = 2200
trigger8 = MoveContact && (StateNo = 1120 && AnimElemTime(5) >= 0)
trigger9 = MoveContact && (StateNo = 2000 && AnimElemTime(5) >= 0)
trigger10= StateNo = 1205 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger11= StateNo = 1215 && (AnimElemTime(2) >= 0 && AnimElemTime(4) < 0)
trigger12= StateNo = 1225 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger13= StateNo = 1280 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger14= StateNo = 1285 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)

;---------------------------------------------------------------------------
;アルカナフォース関連
;---------------------------------------------------------------------------

[State バースト]
type = ChangeState
value = 40100
triggerall = !WinKO
triggerall = Alive
triggerall = var(53) = 0
triggerall = var(15) = 40000 || var(16) = 40000
triggerall = var(46) = 0 || var(46) = 3 || var(46) = 6
triggerall = HitShakeOver
triggerall = MoveType = H && statetype != L
trigger1 = var(7)

[State アレンジアルカナフォース　クイック]
type = ChangeState
value = 40200
triggerall = !WinKO
triggerall = Alive
triggerall = var(53) = 0
triggerall = var(15) = 40000 || var(16) = 40000
triggerall = var(46) = 0
triggerall = MoveType != H
triggerall = ctrl = 0
trigger1 = StateNo = 240  && (MoveContact || AnimElemTime(5) < 0)
trigger2 = StateNo = 291  && (MoveContact || AnimElemTime(3) < 0)
trigger3 = StateNo = 292  && (MoveContact || AnimElemTime(3) < 0)
trigger4 = StateNo = 301  && (MoveContact || AnimElemTime(4) < 0)
trigger5 = StateNo = 302  && (MoveContact || AnimElemTime(4) < 0)
trigger6 = StateNo = 440  && (MoveContact || AnimElemTime(6) < 0)
trigger7 = StateNo = 460  && (MoveContact || AnimElemTime(4) < 0)
trigger8 = StateNo = 640  && (MoveContact || AnimElemTime(6) < 0)
trigger9 = StateNo = 650  && (MoveContact || AnimElemTime(5) < 0)
trigger10= StateNo = 660  && (MoveContact || AnimElemTime(5) < 0)
trigger11= StateNo = 703  && MoveHit
trigger12= StateNo = 753  && MoveHit
trigger13= Stateno = 1000 && AnimElemTime(6) >= 1
trigger14= Stateno = 1010 && AnimElemTime(6) >= 1
trigger15= Stateno = 1020 && AnimElemTime(6) >= 1
trigger16= StateNo = 1100 && (MoveContact || Anim = 1100 || Anim = 6100 ||Anim = 16100)
trigger17= StateNo = 1110 && (MoveContact || Anim = 1110 || Anim = 6110 ||Anim = 16110)
trigger18= StateNo = 1120 && (MoveContact || Anim = 1120 || Anim = 6120 ||Anim = 16120)
trigger19= StateNo = 1205 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger20= StateNo = 1215 && (AnimElemTime(2) >= 0 && AnimElemTime(4) < 0)
trigger21= StateNo = 1225 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger22= StateNo = 1235 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger23= StateNo = 1280 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger24= StateNo = 1285 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger25= StateNo = 1300 && (MoveContact || AnimElemTime(4) < 0)
trigger26= StateNo = 1310 && (MoveContact || AnimElemTime(4) < 0)
trigger27= StateNo = 1320 && (MoveContact || AnimElemTime(4) < 0)
trigger28= StateNo = 1400 && AnimElemTime(5) < 0
trigger29= StateNo = 1410 && AnimElemTime(5) < 0
trigger30= StateNo = 1420 && (MoveContact || AnimElemTime(5) < 0)
trigger31= StateNo = 1500 && (MoveContact || AnimElemTime(10) < 0)
trigger32= StateNo = 1510 && (MoveContact || AnimElemTime(10) < 0)
trigger33= StateNo = 1520 && (MoveContact || AnimElemTime(10) < 0)
trigger34= StateNo = 2000 && (MoveContact || Anim = 2000 || Anim = 8000 ||Anim = 18000)
trigger35= StateNo = 2100 && (MoveContact || AnimElemTime(5) < 0)
trigger36= StateNo = 2200 && (MoveContact || AnimElemTime(5) < 0)

trigger37= StateNo = 41100 && AnimElemTime(6) >= 3
trigger38= StateNo = 41200 && AnimElemTime(6) >= 0
trigger39= StateNo = 41300 && (((Anim =[41302,41303])||(Anim =[41307,41308])) && AnimElemTime(2) >= 0)
trigger40= StateNo = 41500 && AnimElemTime(14) >= 0
trigger41= StateNo = 41600 && AnimElemTime(25) >= 0
trigger42= StateNo = 42100 && AnimElemTime(8) >= 0
trigger43= StateNo = 42200 && AnimElemTime(6) >= 0
trigger44= StateNo = 42202 && AnimElemTime(6) >= 0
trigger45= StateNo = 42600 && AnimElemTime(8) >= 50
trigger46= StateNo = 43100 && AnimElemTime(6)  >= 0
trigger47= StateNo = 43500 && AnimElemTime(9)  >= 0
trigger48= StateNo = 44100 && AnimElemTime(8)  >= 1
trigger49= StateNo = 44102 && AnimElemTime(8)  >= 1
trigger50= StateNo = 44200 && AnimElemTime(6)  >= 1
trigger51= StateNo = 44500 && AnimElemTime(8)  >= 0
trigger52= StateNo = 44502
trigger52= NumHelper(44510)
trigger52= Helper(44510),Anim = 44512
trigger53= StateNo = 44600 && AnimElemTime(5)  >= 1
trigger54= StateNo = 46100 && AnimElemTime(5)  >= 0
trigger55= StateNo = 46200 && AnimElemTime(6)  >= 0
trigger56= StateNo = 46500 && AnimElemTime(34) >= 4

;trigger = StateNo =  && (MoveContact || AnimElemTime() < 0)


[State アレンジアルカナフォース　通常]
type = ChangeState
value = 40300
triggerall = !WinKO
triggerall = Alive
triggerall = var(53) = 0
triggerall = var(15) = 40000
triggerall = var(46) = 0
triggerall = StateType != A
triggerall = MoveType != H
trigger1 = ctrl



;---------------------------------------------------------------------------
;1ゲージ　アルカナ技
;---------------------------------------------------------------------------

[State 空中超アルカナ技]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = var(16) = [var(58)*1000+40500,var(58)*1000+40699]
triggerall = statetype = A
triggerall = (Power >= 1000) || (var(58) = 1 && var(46) = 6)
trigger1 = ctrl
;空中レバーホーミング終わり際
trigger2 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン4D・空中ガーキャン6D・空中ガーキャン4D
trigger3 = (StateNo = 386 || StateNo = 391 || StateNo = 395) && var(24) >= 11
;風カナ　ヴェロクス
trigger4 = StateNo = 46010 && vel Y > 0
;通常攻撃キャンセル
trigger5 = MoveContact
trigger5 = StateNo = 600 || StateNo = 610 || StateNo = 620 || StateNo = 640 || StateNo = 650 || StateNo = 660
;コマンド技キャンセル
trigger6 = (StateNo = [1300,1320]) || (StateNo = [1500,1520]) || StateNo = 2100
trigger6 = MoveContact
trigger7 = StateNo = 1235 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)

[State 地上超アルカナ技]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = var(15) = [var(58)*1000+40500,var(58)*1000+40699]
triggerall = statetype != A
triggerall = (Power >= 1000) || (var(58) = 1 && var(46) = 6)
trigger1 = ctrl
;ジャンプ・ハイジャンプ予備動作
trigger2 = StateNo = 40 || StateNo = 41
;地上フロントステップ
trigger3 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン6D
trigger4 = StateNo = 381 && var(24) >= 11
;時カナ　虚空の意、停止
trigger5 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;通常攻撃キャンセル
trigger6 = MoveContact
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 240 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 440 || StateNo = 460
;コマンド技キャンセル
trigger7 = MoveContact
trigger7 = (StateNo = [1100,1110]) || StateNo = 1420 || StateNo = 2200
trigger8 = MoveContact && (StateNo = 1120 && AnimElemTime(5) >= 0)
trigger9 = MoveContact && (StateNo = 2000 && AnimElemTime(5) >= 0)
trigger10= StateNo = 1205 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger11= StateNo = 1215 && (AnimElemTime(2) >= 0 && AnimElemTime(4) < 0)
trigger12= StateNo = 1225 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger13= StateNo = 1280 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger14= StateNo = 1285 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)



;---------------------------------------------------------------------------
;1ゲージ　技
;---------------------------------------------------------------------------

[State 崩灯]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(16) = 3100
triggerall = Power >= 1000
trigger1 = ctrl
;空中レバーホーミング終わり際
trigger2 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン4D・空中ガーキャン6D・空中ガーキャン4D
trigger3 = (StateNo = 386 || StateNo = 391 || StateNo = 395) && var(24) >= 11
;風カナ　ヴェロクス
trigger4 = StateNo = 46010 && vel Y > 0
;通常攻撃キャンセル
trigger5 = MoveContact
trigger5 = StateNo = 600 || StateNo = 610 || StateNo = 620 || StateNo = 640 || StateNo = 650 || StateNo = 660
;コマンド技キャンセル
trigger6 = (StateNo = [1300,1320]) || (StateNo = [1500,1520]) || StateNo = 2100
trigger6 = MoveContact
trigger7 = StateNo = 1235 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)

[State 無怨]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(15) = 3000
triggerall = Power >= 1000
trigger1 = ctrl
;ジャンプ・ハイジャンプ予備動作
trigger2 = StateNo = 40 || StateNo = 41
;地上フロントステップ
trigger3 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン6D
trigger4 = StateNo = 381 && var(24) >= 11
;時カナ　虚空の意、停止
trigger5 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;通常攻撃キャンセル
trigger6 = MoveContact
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 240 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 440 || StateNo = 460
;コマンド技キャンセル
trigger7 = MoveContact
trigger7 = (StateNo = [1100,1110]) || StateNo = 1420 || StateNo = 2200
trigger8 = MoveContact && (StateNo = 1120 && AnimElemTime(5) >= 0)
trigger9 = MoveContact && (StateNo = 2000 && AnimElemTime(5) >= 0)
trigger10= StateNo = 1205 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger11= StateNo = 1215 && (AnimElemTime(2) >= 0 && AnimElemTime(4) < 0)
trigger12= StateNo = 1225 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger13= StateNo = 1280 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger14= StateNo = 1285 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)


;---------------------------------------------------------------------------
;アルカナ技
;---------------------------------------------------------------------------

[State 空中アルカナ技]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = var(16) = [var(58)*1000+40000,var(58)*1000+40499]
triggerall = var(16) != 42200
triggerall = statetype = A
trigger1 = ctrl
;空中レバーホーミング終わり際
trigger2 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン4D・空中ガーキャン6D・空中ガーキャン4D
trigger3 = (StateNo = 386 || StateNo = 391 || StateNo = 395) && var(24) >= 11
;風カナ　ヴェロクス
trigger4 = StateNo = 46010 && vel Y > 0
;通常攻撃キャンセル
trigger5 = MoveContact
trigger5 = StateNo = 600 || StateNo = 610 || StateNo = 620 || StateNo = 640 || StateNo = 650 || StateNo = 660
;愛カナ　プラニタリオ（エクリクシ）
trigger6 = MoveContact && var(58) = 1 && var(47)
trigger6 = StateNo = 1300 || StateNo = 1310 || StateNo = 1320 || StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 2100
trigger7 = var(58) = 1 && var(47)
trigger7 = StateNo = 1235 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)

[State 地上アルカナ技]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = var(15) = [var(58)*1000+40000,var(58)*1000+40499]
triggerall = var(15) != 42200
triggerall = statetype != A
trigger1 = ctrl
;ジャンプ・ハイジャンプ予備動作
trigger2 = StateNo = 40 || StateNo = 41
;地上フロントステップ
trigger3 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン6D
trigger4 = StateNo = 381 && var(24) >= 11
;時カナ　虚空の意、停止
trigger5 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;通常攻撃キャンセル
trigger6 = MoveContact
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 240 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 440 || StateNo = 460
;愛カナ　プラニタリオ（エクリクシ）
trigger7 = MoveContact && var(58) = 1 && var(47)
trigger7 = StateNo = 1100 || StateNo = 1110 || StateNo = 1120 || StateNo = 1420 || StateNo = 2000 || StateNo = 2200
trigger8 = var(58) = 1 && var(47)
trigger8 = StateNo = 1205 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger9 = var(58) = 1 && var(47)
trigger9 = StateNo = 1215 && (AnimElemTime(2) >= 0 && AnimElemTime(4) < 0)
trigger10= var(58) = 1 && var(47)
trigger10= StateNo = 1225 && (AnimElemTime(2) >= 0 && AnimElemTime(5) < 0)
trigger11= var(58) = 1 && var(47)
trigger11= StateNo = 1280 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger12= var(58) = 1 && var(47)
trigger12= StateNo = 1285 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)

[State 雷　クリィーオフ]
type = ChangeState
value = 42200
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = var(15) = 42200 || var(16)= 42200
;ガーキャン6D
trigger1 = StateNo = 381 && var(24) >= 11
trigger2 = StateNo = 391 && var(24) >= 11


;---------------------------------------------------------------------------
;技・功刀強化技
;---------------------------------------------------------------------------

[State 空中コマンド技]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(16) = [1000,2999]
trigger1 = ctrl
;空中レバーホーミング終わり際
trigger2 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン4D・空中ガーキャン6D・空中ガーキャン4D
trigger3 = (StateNo = 386 || StateNo = 391 || StateNo = 395) && var(24) >= 11
;風カナ　ヴェロクス
trigger4 = StateNo = 46010 && vel Y > 0
;通常攻撃キャンセル
trigger5 = MoveContact
trigger5 = StateNo = 600 || StateNo = 610 || StateNo = 620 || StateNo = 640 || StateNo = 650 || StateNo = 660

[State 地上コマンド技]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(15) = [1000,2999]
trigger1 = ctrl
;ジャンプ・ハイジャンプ予備動作
trigger2 = StateNo = 40 || StateNo = 41
;地上フロントステップ
trigger3 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;地上ガーキャン6D
trigger4 = StateNo = 381 && var(24) >= 11
;時カナ　虚空の意、停止
trigger5 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;通常攻撃キャンセル
trigger6 = MoveContact
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 240 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 440 || StateNo = 460

;---------------------------------------------------------------------------
;通常攻撃
;---------------------------------------------------------------------------
[State 空中投げ]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(16) = 750
trigger1 = ctrl
trigger2 = StateNo = 391
;空中レバーホーミング終わり際
trigger3 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;風カナ　ヴェロクス
trigger4 = StateNo = 46010 && vel Y > 0

[State 地上投げ]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(15) = 700 || var(15) = 720
trigger1 = ctrl
;時カナ　虚空の意、停止
trigger2 = StateNo = 43011 && time >= ifelse(var(47),1,5)

[State 空中通常攻撃]
type = ChangeState
value = var(16)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(16) = [600,660]
trigger1 = ctrl
;空中レバーホーミング終わり際
trigger2 = StateNo = 370 && time >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;風カナ　ヴェロクス
trigger3 = StateNo = 46010 && vel Y > 0
;アルカナコンボ
trigger4 = MoveContact && var(16) = 600
trigger4 = StateNo = 600; && (AnimElemTime(3) >= 0);連打系
trigger5 = MoveContact && var(16) = 610
trigger5 = StateNo = 600
trigger6 = MoveContact && var(16) = 620
trigger6 = StateNo = 600 || StateNo = 610
trigger7 = MoveContact && var(16) = 640
trigger7 = StateNo = 600 || StateNo = 610 || StateNo = 620
trigger8 = MoveContact && var(16) = 660
trigger8 = StateNo = 600 || StateNo = 610 || StateNo = 620
;フォース展開中コンボルート増
trigger9 = MoveContact && var(16) = 600 && var(47)
trigger9 = StateNo = 610 || StateNo = 620
trigger10= MoveContact && var(16) = 640 && var(47)
trigger10= StateNo = 660

[State 地上通常攻撃]
type = ChangeState
value = var(15)
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = var(15) = [210,460]
trigger1 = ctrl
;地上フロントステップ
trigger2 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
;時カナ　虚空の意、停止
trigger3 = StateNo = 43011 && time >= ifelse(var(47),1,5)
;アルカナコンボ
;立ち
trigger4 = MoveContact &&  var(15) = 200
trigger4 = Stateno = 200 && AnimElemTime(4) >= 0;連打系
trigger5 = MoveContact &&  var(15) = 210
trigger5 = Stateno = 200 || Stateno = 400
trigger6 = MoveContact &&  var(15) = 220
trigger6 = StateNo = 200 || StateNo = 210 || StateNo = 400 || StateNo = 410
trigger7 = MoveContact &&  var(15) = 240
trigger7 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410 || StateNo = 420
;しゃがみ
trigger8 = MoveContact &&  var(15) = 400
trigger8 = Stateno = 200
trigger9 = MoveContact &&  var(15) = 410
trigger9 = Stateno = 200 || Stateno = 400
trigger10= MoveContact &&  var(15) = 420
trigger10= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410
trigger11= MoveContact &&  var(15) = 440
trigger11= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410 || StateNo = 420
trigger12= MoveContact &&  var(15) = 460
trigger12= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410 || StateNo = 420
;吹き飛ばし・打ち上げ
trigger13= MoveContact &&  var(15) = 290
trigger13= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 460
trigger14= MoveContact &&  var(15) = 300
trigger14= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 230 || StateNo = 400 || StateNo = 410 || StateNo = 420 || StateNo = 460
;フォース展開中コンボルート増
trigger15= MoveContact &&  var(15) = 230 && var(47)
trigger15= StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410 || StateNo = 460
trigger16= MoveContact &&  var(15) = 240 && var(47)
trigger16= StateNo = 460
trigger17= MoveContact &&  var(15) = 440 && var(47)
trigger17= StateNo = 460
trigger18= MoveContact &&  var(15) = 290 && var(47)
trigger18= StateNo = 240 || StateNo = 440
trigger19= MoveContact &&  var(15) = 300 && var(47)
trigger19= StateNo = 240 || StateNo = 440

;3B
;trigger = MoveContact &&  var(15) = 230
;trigger = 


[State 5Ａ];連打バグが直らないので隔離・・・ぐぬぬ
type = ChangeState
value = 200
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = statetype = S
triggerall = command = "a"; ||var(15) = 200
trigger1 = ctrl
trigger2 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
trigger3 = StateNo = 43011 && time >= ifelse(var(47),1,5)
trigger4 = Stateno = 200 && AnimElemTime(4) >= 0;連打系

[State 2Ｂ];3Bとの先行入力変数重複時用
type = ChangeState
value = 420
triggerall = !WinKO
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = command = "holddown" && command = "b"
trigger1 = ctrl
trigger2 = StateNo = 100 && time > 1 && var(24) >= ifelse(var(47)&&var(58)=3,5,ifelse(var(47)&&var(58)!=3,7,10))
trigger3 = StateNo = 43011 && time >= ifelse(var(47),1,5)
trigger4 = MoveContact
trigger4 = StateNo = 200 || StateNo = 210 || StateNo = 220 || StateNo = 400 || StateNo = 410

;---------------------------------------------------------------------------
;ホーミングアクション
;---------------------------------------------------------------------------
[State 地上レバーホーミング]
type = ChangeState
value = 360+(command = "holdback")
triggerall = var(53) = 0
triggerall = var(33) = 0
triggerall = StateType != A
triggerall = command != "a" && command != "holda"
triggerall = command = "x" || (command = "holdx" && !ctrl); || command = "holdx"
triggerall = command != "holdup"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = fvar(25) >= 1000 || (var(47) && ctrl)
triggerall = StateNo != 1200;地上A斯封
triggerall = StateNo != 1210;地上B斯封
triggerall = StateNo != 1220;地上C斯封
triggerall = !(StateNo = [3000,3999]);超必殺
trigger1 = ctrl
;ホーミングキャンセル
trigger2 = MoveContact && ((StateNo != [700,799]) && StateNo != 1120 && StateNo != 2000 && StateNo != 40100);投げ・バースト
trigger3 = StateNo = 703 && AnimElemTime(22) >= 0;Ｎ投げ
trigger4 = (Stateno = [1000,1099]) && AnimElemTime(6) >= 1;クヌギ途中
trigger5= MoveContact && StateNo = 1120 && AnimElemTime(5) >= 0
trigger6= MoveContact && StateNo = 2000 && AnimElemTime(5) >= 0
;アルカナホーミング
trigger7 = StateNo = 41100 && AnimElemTime(6) >= 3
trigger8 = StateNo = 41200 && AnimElemTime(6) >= 0
trigger9 = StateNo = 41300 && (((Anim =[41302,41303])||(Anim =[41307,41308])) && AnimElemTime(2) >= 0)
trigger10= StateNo = 41500 && AnimElemTime(14) >= 0
trigger11= StateNo = 41600 && AnimElemTime(25) >= 0
trigger12= StateNo = 42100 && AnimElemTime(8) >= 0
trigger13= StateNo = 42200 && AnimElemTime(6) >= 0
trigger14= StateNo = 42202 && AnimElemTime(6) >= 0
trigger15= StateNo = 42600 && AnimElemTime(8) >= 50
trigger16= StateNo = 43100 && AnimElemTime(6)  >= 0
trigger17= StateNo = 43500 && AnimElemTime(9)  >= 0
trigger18= StateNo = 44100 && AnimElemTime(8)  >= 1
trigger19= StateNo = 44102 && AnimElemTime(8)  >= 1
trigger20= StateNo = 44200 && AnimElemTime(6)  >= 1
trigger21= StateNo = 44500 && AnimElemTime(8)  >= 0
trigger22= StateNo = 44502
trigger22= NumHelper(44510)
trigger22= Helper(44510),Anim = 44512
trigger23= StateNo = 44600 && AnimElemTime(5)  >= 1
trigger24= StateNo = 46100 && AnimElemTime(5)  >= 0
trigger25= StateNo = 46200 && AnimElemTime(6)  >= 0
trigger26= StateNo = 46500 && AnimElemTime(34) >= 4

[State 空中レバーホーミング]
type = ChangeState
value = 370
triggerall = var(53) = 0
triggerall = var(33) = 0
triggerall = StateType = A
triggerall = command != "a" && command != "holda"
triggerall = command = "x" || (command = "holdx" && !ctrl); || command = "holdx"
triggerall = command = "holdfwd" || command = "holdback" || command = "holdup" || command = "holddown"
triggerall = fvar(25) >= 1000 || (var(47) && ctrl)
triggerall = StateNo != 1230;空中A斯封
triggerall = StateNo != 1240;空中B斯封
triggerall = !(StateNo = [3000,3999]);超必殺
trigger1 = ctrl
;ホーミングキャンセル
trigger2 = MoveContact && ((StateNo != [700,799]) && StateNo != 40100);投げ・バースト
trigger3 = StateNo = 753 && AnimElemTime(18) >= 0;空投げ
;アルカナホーミング
trigger4 = StateNo = 41100 && AnimElemTime(6) >= 3
trigger5 = StateNo = 41200 && AnimElemTime(6) >= 0
trigger6 = StateNo = 41300 && (((Anim =[41302,41303])||(Anim =[41307,41308])) && AnimElemTime(2) >= 0)
trigger7 = StateNo = 41500 && AnimElemTime(14) >= 0
trigger8 = StateNo = 41600 && AnimElemTime(25) >= 0

trigger9 = StateNo = 42100 && AnimElemTime(8) >= 0
trigger10= StateNo = 42200 && AnimElemTime(6) >= 0
trigger11= StateNo = 42202 && AnimElemTime(6) >= 0
trigger12= StateNo = 42600 && AnimElemTime(8) >= 50

trigger13= StateNo = 43100 && AnimElemTime(6)  >= 0
trigger14= StateNo = 43500 && AnimElemTime(9)  >= 0

trigger15= StateNo = 44100 && AnimElemTime(8)  >= 1
trigger16= StateNo = 44102 && AnimElemTime(8)  >= 1
trigger17= StateNo = 44200 && AnimElemTime(6)  >= 1
trigger18= StateNo = 44500 && AnimElemTime(8)  >= 0
trigger19= StateNo = 44502
trigger19= NumHelper(44510)
trigger19= Helper(44510),Anim = 44512
trigger20= StateNo = 44600 && AnimElemTime(5)  >= 1

trigger21= StateNo = 46100 && AnimElemTime(5)  >= 0
trigger22= StateNo = 46200 && AnimElemTime(6)  >= 0
trigger23= StateNo = 46500 && AnimElemTime(34) >= 4

[State -1,Nホーミング]
type = ChangeState
value = 350
triggerall = var(53) = 0
triggerall = var(33) = 0
triggerall = command != "a" && command != "holda"
triggerall = command = "x" || (command = "holdx" && !ctrl); || command = "holdx"
triggerall = fvar(25) >= 1000 || (var(47) > 0 && ctrl)
triggerall = StateNo != 1200;地上A斯封
triggerall = StateNo != 1210;地上B斯封
triggerall = StateNo != 1220;地上C斯封
triggerall = StateNo != 1230;空中A斯封
triggerall = StateNo != 1240;空中B斯封
triggerall = !(StateNo = [3000,3999]);超必殺
trigger1 = ctrl
;ホーミングキャンセル
trigger2 = MoveContact && ((StateNo != [700,799]) && StateNo != 1120 && StateNo != 2000 && StateNo != 40100);投げ・バースト
trigger3 = (StateNo = 703 && AnimElemTime(22) >= 0) || (StateNo = 753 && AnimElemTime(18) >= 0);Ｎ投げ空投げ
trigger4 = (Stateno = [1000,1099]) && AnimElemTime(6) >= 1;クヌギ途中
trigger5= MoveContact && StateNo = 1120 && AnimElemTime(5) >= 0
trigger6= MoveContact && StateNo = 2000 && AnimElemTime(5) >= 0
;アルカナホーミングキャンセル
trigger7 = StateNo = 41100 && AnimElemTime(6) >= 3
trigger8 = StateNo = 41200 && AnimElemTime(6) >= 0
trigger9 = StateNo = 41300 && (((Anim =[41302,41303])||(Anim =[41307,41308])) && AnimElemTime(2) >= 0)
trigger10= StateNo = 41500 && AnimElemTime(14) >= 0
trigger11= StateNo = 41600 && AnimElemTime(25) >= 0
trigger12= StateNo = 42100 && AnimElemTime(8) >= 0
trigger13= StateNo = 42200 && AnimElemTime(6) >= 0
trigger14= StateNo = 42202 && AnimElemTime(6) >= 0
trigger15= StateNo = 42600 && AnimElemTime(8) >= 50
trigger16= StateNo = 43100 && AnimElemTime(6)  >= 0
trigger17= StateNo = 43500 && AnimElemTime(9)  >= 0
trigger18= StateNo = 44100 && AnimElemTime(8)  >= 1
trigger19= StateNo = 44102 && AnimElemTime(8)  >= 1
trigger20= StateNo = 44200 && AnimElemTime(6)  >= 1
trigger21= StateNo = 44500 && AnimElemTime(8)  >= 0
trigger22= StateNo = 44502
trigger22= NumHelper(44510)
trigger22= Helper(44510),Anim = 44512
trigger23= StateNo = 44600 && AnimElemTime(5)  >= 1
trigger24= StateNo = 46100 && AnimElemTime(5)  >= 0
trigger25= StateNo = 46200 && AnimElemTime(6)  >= 0
trigger26= StateNo = 46500 && AnimElemTime(34) >= 4

[State ガードキャンセル地上6D4D]
type = ChangeState
value = 380+(5*command = "holdback")
triggerall = var(53) = 0
triggerall = var(33) = 0
triggerall = StateType != A
triggerall = command = "x" || command = "holdx"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = fvar(25) >= 1000
trigger1 = StateNo = [150,153]

[State ガードキャンセル空中6D4D]
type = ChangeState
value = 390+(5*command = "holdback")
triggerall = var(53) = 0
triggerall = var(33) = 0
triggerall = StateType = A
triggerall = command = "x" || command = "holdx"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = fvar(25) >= 1000
trigger1 = StateNo = [154,155]

;---------------------------------------------------------------------------
;アルカナ特殊動作
;---------------------------------------------------------------------------

;トラペズィオ(愛属性技)
[State トラペズィオ]
type = ChangeState
value = 41020
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(13) = 1
triggerall = var(58) = 1
triggerall = command = "holdup"
triggerall = var(29) = 0
trigger1 = PrevStateNo = 45
trigger1 = ctrl

;---------------------------------------------------------------------------
;特殊動作
;---------------------------------------------------------------------------

[State 空中ダッシュ]
type = ChangeState
value = var(16)
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = var(16) = 110 || var(16) = 115
triggerall = (vel Y < 0 && Pos Y <= -40) || (vel Y >= 0 && Pos Y < -10)
trigger1 = var(12) = 0
trigger1 = ctrl
;風カナ　オーラ
trigger2 = var(58) = 6
trigger2 = var(29) = 0
trigger2 = (var(12) <= 1 && var(13) <= 1) || (var(47) && var(12) <= 2 && var(13) <= 1)
trigger2 = ctrl || (MoveContact && var(47) && (StateNo = [600,660]))

[State フロントステップ/バックステップ]
type = ChangeState
value = var(15)
triggerall = var(53) = 0
triggerall = statetype = S
triggerall = var(15) = 100 || var(15) = 105
triggerall = StateNo != [100,109]
trigger1 = ctrl

[State ハイジャンプ]
type = ChangeState
value = 41
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = (command = "ハイジャンプ" && command != "ハイジャンプ失敗") || var(15) = 41
trigger1 = ctrl
trigger2 = MoveContact
trigger2 = StateNo = 200 || StateNo = 220 || StateNo = 230 || StateNo = 420
trigger3 = MoveContact && var(47)
trigger3 = (StateNo = [200,240]) || (StateNo = [400,460])
[State ハイジャンプ]
type = ChangeState
value = 41
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = command = "ハイジャンプ"|| var(15) = 41
trigger1 = MoveContact && var(58) = 6;風カナ　フォルティア
trigger1 = StateNo = 291 || StateNo = 292 || StateNo = 301 || StateNo = 302

[State 地上ジャンプキャンセル]
type = ChangeState
value = 40
triggerall = var(53) = 0
triggerall = statetype != A
triggerall = command = "holdup" || command = "U" || var(15) = 41
trigger1 = MoveContact
trigger1 = StateNo = 200 || StateNo = 220 || StateNo = 230 || StateNo = 420
trigger2 = MoveContact && var(58) = 6;風カナ　フォルティア
trigger2 = StateNo = 291 || StateNo = 292 || StateNo = 301 || StateNo = 302
trigger3 = MoveContact && var(47)
trigger3 = (StateNo = [200,240]) || (StateNo = [400,460])

[State 空中ハイジャンプ]
type = ChangeState
value = 46
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = (command = "ハイジャンプ" && command != "ハイジャンプ失敗"); || var(16) = 41
triggerall = Pos Y <= -25
triggerall = var(29) = 0
trigger1 = var(13) = 0
trigger1 = ctrl || (MoveContact && ((StateNo = [600,620]) || (var(47) && (StateNo = [600,660]))))
;風カナ　オーラ
trigger2 = var(58) = 6
trigger2 = (var(13) <= 1 && var(12) <= 1) || (var(47) && (var(13) <= 2 && var(12) <= 1))
trigger2 = ctrl || (MoveContact && !var(47) && (StateNo = [600,620])) || (MoveContact && var(47) && (StateNo = [600,660]))

[State 空中ジャンプ]
type = ChangeState
value = 45
triggerall = var(53) = 0
triggerall = statetype = A
triggerall = command = "holdup" || command = "U"
triggerall = Pos Y <= -25
triggerall = var(29) = 0
trigger1 = var(13) = 0
trigger1 = ctrl || (MoveContact && ((StateNo = [600,620]) || (var(47) && (StateNo = [600,660]))))
;風カナ　オーラ
trigger2 = var(58) = 6
trigger2 = (var(13) <= 1 && var(12) <= 1) || (var(47) && (var(13) <= 2 && var(12) <= 1))
trigger2 = ctrl || (MoveContact && !var(47) && (StateNo = [600,620])) || (MoveContact && var(47) && (StateNo = [600,660]))
