
;--------------------------------------------------------------------------
;	AIスイッチコマンド

[Command]
Name = "AI01"
Command = ~D,U,D,U,D,U,D,U,D,U,a
Time = 1

[Command]
Name = "AI02"
Command = ~D,U,D,U,D,U,D,U,D,U,b
Time = 1

[Command]
Name = "AI03"
Command = ~D,U,D,U,D,U,D,U,D,U,c
Time = 1

[Command]
Name = "AI04"
Command = ~D,U,D,U,D,U,D,U,D,U,x
Time = 1

[Command]
Name = "AI05"
Command = ~D,U,D,U,D,U,D,U,D,U,y
Time = 1

[Command]
Name = "AI06"
Command = ~D,U,D,U,D,U,D,U,D,U,z
Time = 1

[Command]
Name = "AI07"
Command = ~U,D,U,D,U,D,U,D,U,D,a
Time = 1

[Command]
Name = "AI08"
Command = ~U,D,U,D,U,D,U,D,U,D,b
Time = 1

[Command]
Name = "AI09"
Command = ~U,D,U,D,U,D,U,D,U,D,c
Time = 1

[Command]
Name = "AI10"
Command = ~U,D,U,D,U,D,U,D,U,D,x
Time = 1

[Command]
Name = "AI11"
Command = ~U,D,U,D,U,D,U,D,U,D,y
Time = 1

[Command]
Name = "AI12"
Command = ~U,D,U,D,U,D,U,D,U,D,z
Time = 1

[Command]
Name = "AI13"
Command = ~B,F,B,F,B,F,B,F,B,F,a
Time = 1

[Command]
Name = "AI14"
Command = ~B,F,B,F,B,F,B,F,B,F,b
Time = 1

[Command]
Name = "AI15"
Command = ~B,F,B,F,B,F,B,F,B,F,c
Time = 1

[Command]
Name = "AI16"
Command = ~B,F,B,F,B,F,B,F,B,F,x
Time = 1

[Command]
Name = "AI17"
Command = ~B,F,B,F,B,F,B,F,B,F,y
Time = 1

[Command]
Name = "AI18"
Command = ~B,F,B,F,B,F,B,F,B,F,z
Time = 1

[Command]
Name = "AI19"
Command = ~F,B,F,B,F,B,F,B,F,B,a
Time = 1

[Command]
Name = "AI20"
Command = ~F,B,F,B,F,B,F,B,F,B,b
Time = 1

[Command]
Name = "AI21"
Command = ~F,B,F,B,F,B,F,B,F,B,c
Time = 1

[Command]
Name = "AI22"
Command = ~F,B,F,B,F,B,F,B,F,B,x
Time = 1

[Command]
Name = "AI23"
Command = ~F,B,F,B,F,B,F,B,F,B,y
Time = 1

[Command]
Name = "AI24"
Command = ~F,B,F,B,F,B,F,B,F,B,z
Time = 1

[Command]
Name = "AI25"
Command = ~U,D,U,D,U,D,U,D,U,D,s
Time = 1

[Command]
Name = "AI26"
Command = ~B,F,B,F,B,F,B,F,B,F,s
Time = 1

[Command]
Name = "AI27"
Command = ~U,D,U,D,U,D,U,D,U,D,s
Time = 1

[Command]
Name = "AI28"
Command = ~B,F,B,F,B,F,B,F,B,F,s
Time = 1

;------------------------------
;	AI用コマンド

[Command]
Name = "236236236236C"
Command = ~D, DF, F, D, DF, F, D, DF, F, D, DF, F, c
Time = 1

[Command]
Name = "214214214214C"
Command = ~D, DB, B, D, DB, B, D, DB, B, D, DB, B, c
Time = 1

[Command]
Name = "4123641236C"
Command = ~B, DB, D, DF, F, B, DB, D, DF, F, c
Time = 1

[Command]
Name = "6321463214C"
Command = ~F, DF, D, DB, B, F, DF, D, DB, B, c
Time = 1

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

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

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

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

[Command]
Name = "263Z"
Command = ~D, F, DF, z
Time = 20

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

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

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

[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 = "623A"
Command = ~F, D, DF, a
Time = 15
[Command]
Name = "623B"
Command = ~F, D, DF, b
Time = 15
[Command]
Name = "623C"
Command = ~F, D, DF, c
Time = 15

[Command]
Name = "421A"
Command = ~B, D, DB, a
Time = 15
[Command]
Name = "421B"
Command = ~B, D, DB, b
Time = 15
[Command]
Name = "421C"
Command = ~B, D, DB, c
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 = "2"
Command = D
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 = "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, Test]
Type = Null;ChangeState
Value = 3590
TriggerAll = Command = "x"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------　プレイヤースペルカード攻撃（萃夢想）
[State -1, PlayerSpell_S]
Type = ChangeState
Value = IfElse((Command="623Z"),3040,IfElse((Command="236Z"),3020,3060))
TriggerAll = (Command = "623Z") || (Command = "236Z") || (Command = "214Z")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(46) = 0;	ストーリーモード時無効
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Power >= 1000;	パワー有り
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = 1000) && (StateNo = 119) && MoveContact && (AnimElem =9, >0)
Trigger11  = (StateNo = 1001) && MoveContact
Trigger12  = (Var(12) = 1011) && (StateNo = 119) && MoveContact && (AnimElem =7, >0)
Trigger13  = (StateNo = 1012) && MoveContact
Trigger14  = (StateNo = 1049) && MoveContact
Trigger15  = (StateNo = 1060) && (Time > 35)

;------------------------------　マイナスフィンガー or アイスイリュージョン
[State -1, 3080]
Type = ChangeState
Value = 3080
TriggerAll = Command  = "263Z"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(46) = 0;	ストーリーモード時無効
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Power >= 1000;	パワー有り
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

;------------------------------　バブルリング or ジェリーフィッシュドール
[State -1, 3100]
Type = ChangeState
Value = 3100
TriggerAll = Command  = "421Z"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(46) = 0;	ストーリーモード時無効
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Power >= 1000;	パワー有り
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,118]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,629]) && MoveContact
Trigger4   = (StateNo = [640,659]) && MoveContact

;------------------------------　スイカバークレイドル
[State -1, 1020_1030]
Type = ChangeState
Value = IfElse((Command="623A"),1020,1030)
TriggerAll = (Command = "623A") || (Command = "623B")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

;------------------------------　空中スイカバークレイドル
[State -1, 1024_1033]
Type = ChangeState
Value = IfElse((Command="623A"),1024,1033)
TriggerAll = (Command = "623A") || (Command = "623B")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,639]) && MoveContact
Trigger4   = (StateNo = [700,709]) && (StateNo%5=1) && (Time>0)
Trigger5   = (StateNo = [700,709]) && (StateNo%5=2)
Trigger6   = (StateNo = [720,749]) && (AnimElem =6, >0)
Trigger7   = (StateNo = 700) && (AnimElem =5, >0)
Trigger8   = (StateNo = 740) && (AnimElem =4, >0)

;------------------------------　バブルトラップ
[State -1, 1100]
Type = ChangeState
Value = 1100
TriggerAll = Command  = "623C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

------------------------------　空中バブルトラップ
[State -1, 1110]
Type = ChangeState
Value = 1110
TriggerAll = Command  = "623C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,639]) && MoveContact
Trigger4   = (StateNo = [700,709]) && (StateNo%5=1) && (Time>0)
Trigger5   = (StateNo = [700,709]) && (StateNo%5=2)
Trigger6   = (StateNo = [720,749]) && (AnimElem =6, >0)
Trigger7   = (StateNo = 700) && (AnimElem =5, >0)
Trigger8   = (StateNo = 740) && (AnimElem =4, >0)

;------------------------------　スイカバーアタック
[State -1, 1000_1010]
Type = ChangeState
Value = IfElse((Command="236A"),1000,1010)
TriggerAll = (Command = "236A") || (Command = "236B")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

;------------------------------　空中スイカバーアタック
[State -1, 1080_1090]
Type = ChangeState
Value = IfElse((Command="236A"),1080,1090)
TriggerAll = (Command = "236A") || (Command = "236B")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,639]) && MoveContact
Trigger4   = (StateNo = [700,709]) && (StateNo%5=1) && (Time>0)
Trigger5   = (StateNo = [700,709]) && (StateNo%5=2)
Trigger6   = (StateNo = [720,749]) && (AnimElem =6, >0)
Trigger7   = (StateNo = 700) && (AnimElem =5, >0)
Trigger8   = (StateNo = 740) && (AnimElem =4, >0)

;------------------------------　スイカバーアロー
[State -1, 1040_1041_1042]
Type = ChangeState
Value = IfElse((Command="214A"),1040,IfElse((Command="214B"),1041,1042))
TriggerAll = (Command = "214A") || (Command = "214B") || (Command = "214C")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

;------------------------------　空中スイカバーアロー
[State -1, 1050_1051_1052]
Type = ChangeState
Value = IfElse((Command="214A"),1050,IfElse((Command="214B"),1051,1052))
TriggerAll = (Command = "214A") || (Command = "214B") || (Command = "214C")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,639]) && MoveContact
Trigger4   = (StateNo = [700,709]) && (StateNo%5=1) && (Time>0)
Trigger5   = (StateNo = [700,709]) && (StateNo%5=2)
Trigger6   = (StateNo = [720,749]) && (AnimElem =6, >0)
Trigger7   = (StateNo = 700) && (AnimElem =5, >0)
Trigger8   = (StateNo = 740) && (AnimElem =4, >0)

;------------------------------　アイスビット
[State -1, 1060]
Type = ChangeState
Value = 1060
TriggerAll = Command  = "236C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

------------------------------　アイスビーム
[State -1, 1070]
Type = ChangeState
Value = 1070
TriggerAll = Command  = "236C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(58) >= 0;	ノーマルモード時
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType = A
TriggerAll = Pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [600,639]) && MoveContact
Trigger4   = (StateNo = [700,709]) && (StateNo%5=1) && (Time>0)
Trigger5   = (StateNo = [700,709]) && (StateNo%5=2)
Trigger6   = (StateNo = [720,749]) && (AnimElem =6, >0)
Trigger7   = (StateNo = 700) && (AnimElem =5, >0)
Trigger8   = (StateNo = 740) && (AnimElem =4, >0)

;■■■■■■■■■■■■■■■■■■■■■■■■■
;	プレイヤー操作用（全モード共通）
;--------------------------------------------------

;------------------------------　霊撃（通常）
[State -1, 800]
Type = ChangeState
Value = 800
TriggerAll = Command = "22C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(43) > 0;	ボム有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [100,109]) && (StateNo%5 = 2) && (Time > 0)

;------------------------------　霊撃（攻撃キャンセル）
[State -1, 801]
Type = ChangeState
Value = 801
TriggerAll = Command = "22C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(43) > 0;	ボム有り
TriggerAll = StateType != A
Trigger1   = (StateNo = [200,260]) && MoveContact
Trigger2   = (StateNo = [400,449]) && MoveContact
Trigger3   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger4   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger5   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger6   = (StateNo = 500) && (AnimElem =5, >0)
Trigger7   = (StateNo = 540) && (AnimElem =4, >0)
Trigger8   = (Var(12) = 1000) && (StateNo = 119) && MoveContact && (AnimElem =9, >0)
Trigger9   = (StateNo = 1001) && MoveContact
Trigger10  = (Var(12) = 1011) && (StateNo = 119) && MoveContact && (AnimElem =7, >0)
Trigger11  = (StateNo = 1012) && MoveContact
Trigger12  = (StateNo = 1049) && MoveContact
Trigger13  = (StateNo = 1060) && (Time > 35)
Trigger14  = (Var(12) = [1100,1119]) && (StateNo = 119) && MoveContact
Trigger15  = (StateNo = [1120,1122]) && (AnimElem=5,>0)
Trigger16  = (StateNo = 1160) && (Time > 42)

;------------------------------　霊撃（ガードキャンセル）
[State -1, 802]
Type = ChangeState
Value = 802
TriggerAll = Command = "22C"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(43) > 0;	ボム有り
TriggerAll = StateType != A
Trigger1   = StateNo = 151 || StateNo = 153
Trigger2   = StateNo = 150 || StateNo = 152
Trigger2   = Time > 0
Trigger3   = StateNo = [130, 131]
Trigger3   = PrevStateNo = [150, 153]
Trigger4   = StateNo = 140 && StateType != A
Trigger4   = PrevStateNo = [150, 153]

;------------------------------　クラッシュ技
[State -1, 240_440]
Type = ChangeState
Value = IfElse((Command="22A"),240,440)
TriggerAll = (Command = "22A") || (Command = "22B")
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = 400) && MoveContact

;------------------------------　屈拳ショット
[State -1, 500]
Type = ChangeState
Value = 500
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 160;	遠距離
TriggerAll = StateType != A
TriggerAll = NumHelper(502) < 2
Trigger1   = Ctrl
Trigger1   = NumHelper(501) < 2
;------------------------------　屈蹴ショット
[State -1, 520]
Type = ChangeState
Value = 520
TriggerAll = Command = "b"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 220;	遠距離
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------　屈射撃
[State -1, 540]
Type = ChangeState
Value = 540
TriggerAll = Command = "c"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 160;	遠距離
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------　立ち拳ショット
[State -1, 300_305]
Type = ChangeState
Value = IfElse((Command="holdfwd"),305,300)
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 160;	遠距離
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------　立ち蹴ショット
[State -1, 320]
Type = ChangeState
Value = 320
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 160;	遠距離
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------　立ち射撃
[State -1, 340_345]
Type = ChangeState
Value = IfElse((Command="holdfwd"),345,340)
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 160;	遠距離
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------　空中拳ショット
[State -1, 700_705]
Type = ChangeState
Value = IfElse((Command="holddown"),705,700)
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 180;	遠距離
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger3   = (StateNo = 105) && (Time > 4)

;------------------------------　空中蹴ショット
[State -1, 720_725]
Type = ChangeState
Value = IfElse((Command="holddown"),725,720)
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 180;	遠距離
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger3   = (StateNo = 105) && (Time > 4)

;------------------------------　空中射撃
[State -1, 740_745]
Type = ChangeState
Value = IfElse((Command="holddown"),745,740)
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = P2Dist X > 180;	遠距離
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 105) && (Time > 4)

;------------------------------　屈拳
[State -1, 400]
Type = ChangeState
Value = 400
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 400) && MoveContact

;------------------------------　屈蹴
[State -1, 420]
Type = ChangeState
Value = 420
TriggerAll = Command = "b"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 400) && MoveContact

;------------------------------　屈水蒸気爆発
[State -1, 430]
Type = ChangeState
Value = 430
TriggerAll = Command = "c"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(41) = 0;	霊力有り
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------　レバー拳
[State -1, 210]
Type = ChangeState
Value = 210
TriggerAll = Command = "a"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 220) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = 100) && (Time > 4)

;------------------------------　レバー蹴
[State -1, 230]
Type = ChangeState
Value = 230
TriggerAll = Command = "b"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 220) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = 100) && (Time > 4)

;------------------------------　レバー水蒸気爆発
[State -1, 260]
Type = ChangeState
Value = 260
TriggerAll = Command = "c"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 220) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = 100) && (Time > 4)

;------------------------------　立ち水蒸気爆発
[State -1, 250]
Type = ChangeState
Value = 250
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------　立ち蹴
[State -1, 220]
Type = ChangeState
Value = 220
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 400) && MoveContact

;------------------------------　立ち拳
[State -1, 200]
Type = ChangeState
Value = 200
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 400) && MoveContact

;------------------------------　空中レバー拳
[State -1, 640]
Type = ChangeState
Value = 640
TriggerAll = Command = "a"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType = A
Triggerall = pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------　空中レバー蹴
[State -1, 650]
Type = ChangeState
Value = 650
TriggerAll = Command = "b"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType = A
Triggerall = pos Y < -25
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------　空中拳
[State -1, 600]
Type = ChangeState
Value = 600
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------　空中蹴
[State -1, 620]
Type = ChangeState
Value = 620
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------　空中水蒸気爆発
[State -1, 630]
Type = ChangeState
Value = 630
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------　ダッシュ
[State -1, 100]
Type = ChangeState
Value = 100
TriggerAll = (Command = "66") || ((Command = "holdfwd") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [300,349]) && (StateNo%5 > 0)
Trigger3   = (StateNo = 241) && (Time > 10)

;------------------------------　バックダッシュ
[State -1, 105]
Type = ChangeState
Value = 105
TriggerAll = (Command = "44") || ((Command = "holdback") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [300,349]) && (StateNo%5 > 0)
Trigger3   = (StateNo = 241) && (Time > 10)

;------------------------------　空中ダッシュ
[State -1, 110]
Type = ChangeState
Value = 110
TriggerAll = (Command = "66") || ((Command = "holdfwd") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(10) > 0;	空中ダッシュ可能
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger3   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger4   = (StateNo = [700,749]) && (StateNo%5 > 0)

;------------------------------　空中バックダッシュ
[State -1, 115]
Type = ChangeState
Value = 115
TriggerAll = (Command = "44") || ((Command = "holdback") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(10) > 0;	空中ダッシュ可能
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1)  && (Time > 9)
Trigger3   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger4   = (StateNo = [700,749]) && (StateNo%5 > 0)

;------------------------------　高速ジャンプ
[State -1, 103]
Type = ChangeState
Value = 103
TriggerAll = Command = "holdup"
TriggerAll = Command != "holddown"
TriggerAll = Var(49) = 0;	AI不可
TriggerAll = Var(11) > 0;	高速ジャンプ可能
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [300,319]) && (StateNo%5 > 0)
Trigger3   = (StateNo = [320,349]) && (StateNo%5 = 0) && (AnimElem = 6, >0)
Trigger4   = (StateNo = 500) && (AnimElem = 5, >0)
Trigger5   = (StateNo = 540) && (AnimElem = 4, >0)
Trigger6   = (StateNo = 1160) && (Time > 42)
Trigger7   = (StateNo = [300,349]) && (StateNo%5 > 0)
Trigger8   = (StateNo = 241) && (Time > 10)
