;コマンドファイル

;-| 基本コンセプト |-----------------------------------------------------
;咲夜をカスタマイズするに当たっての基本方針は、
;
;１、(OSでは削除)
;２、咲夜の動作画像を全て使い、その動作は原作の表示フレーム数を再現すること。
;　　フレーム数を変える場合はAIRファイルに本来のフレーム数のアニメを残すこと。
;３、エフェクト等を簡略化して質素・軽快にすること。
;４、NAOKの発展型として自分にとっての手本となるように
;　　新たな記述・方法を多く取り入れ、使い方を理解すること。
;
;以上のようになっています。
;
;commonが変えられていないのは１のため、技が少ないのは２で同じ動作の攻撃を省いたため、
;大部分のエフェクトが無いのは１と３のため、各項目の効果や効能が意味不明なのは４のためです。
;
;カンフーマンはMUGENの神。

;-| 標準化 |-------------------------------------------------------
[Defaults]
; Timeを記述しなかった場合、以下の値が参照されます。最小値は1です。
Command.Time = 15

; buffer.Timeの値です。1～30まで設定できます。
; 普通は1です。
Command.buffer.Time = 1

;-| CPUアルゴリズム用コマンド |------------------------------
;CPUアルゴリズムを使う際に便利な記述です。
;AIを使わないなら必要ありません。

[Command]
Name = "CPU1"
Command = a, U, D, F, F, B, B, D, U, U
Time = 1

[Command]
Name = "CPU2"
Command = b, U, D, F, B, F, B, D, U, D
Time = 1

[Command]
Name = "CPU3"
Command = c, U, D, B, F, B, F, D, U, B
Time = 1

[Command]
Name = "CPU4"
Command = x, U, D, B, F, F, B, D, U, F
Time = 1

[Command]
Name = "CPU5"
Command = y, U, D, F, F, B, B, D, U, a
Time = 1

[Command]
Name = "CPU6"
Command = z, U, D, F, B, F, B, D, U, b
Time = 1

[Command]
Name = "CPU7"
Command = s, U, D, B, F, B, F, D, U, c
Time = 1

[Command]
Name = "CPU8"
Command = b, U, D, B, F, F, B, D, U, x
Time = 1

[Command]
Name = "CPU9"
Command = c, U, D, F, B, F, B, D, U, y
Time = 1

[Command]
Name = "CPU10"
Command = y, U, D, B, F, B, F, D, U, z
Time = 1

[Command]
Name = "CPU11"
Command = z, U, D, B, F, F, B, D, U, s
Time = 1

[Command]
Name = "CPU12"
Command = U, D, F, F, B, B, D, U, a+x
Time = 1

[Command]
Name = "CPU13"
Command = U, D, F, B, F, B, D, U, b+y
Time = 1

[Command]
Name = "CPU14"
Command = U, D, B, F, B, F, D, U, c+z
Time = 1

[Command]
Name = "CPU15"
Command = U, D, s, B, F, F, B, s, D, U
Time = 1

[Command]
Name = "CPU16"
Command = a, U, D, F, x, B, B, D, U, U
Time = 1

[Command]
Name = "CPU17"
Command = c, U, D, B, z, B, F, D, U, B
Time = 1

[Command]
Name = "CPU18"
Command = U, D, F, b, B, B, D, U, a+x
Time = 1

[Command]
Name = "CPU19"
Command = b, U, D, B, y, F, B, D, U, x
Time = 1

[Command]
Name = "CPU20"
Command = c, U, D, F, B, z, B, D, U, y
Time = 1

[Command]
Name = "CPU21"
Command = z, U, D, F, B, c, B, D, U, b
Time = 1

[Command]
Name = "CPU22"
Command = s, U, D, B, x, B, F, D, U, c
Time = 1

[Command]
Name = "CPU23"
Command = y, U, D, B, s, B, F, D, U, z
Time = 1

[Command]
Name = "CPU24"
Command = z, U, D, B, a, F, B, D, U, s
Time = 1

[Command]
Name = "CPU25"
Command = U, D, F, B, c, B, D, U, b+y
Time = 1

[Command]
Name = "CPU26"
Command = U, D, B, F, B, s, D, U, c+z
Time = 1

[Command]
Name = "CPU27"
Command = U, B, s, F, B, D, U, s, D, F
Time = 1

[Command]
Name = "CPU28"
Command = b, U, D, F, B, y, B, D, U, D
Time = 1

[Command]
Name = "CPU29"
Command = x, U, D, B, a, F, B, D, U, F
Time = 1

[Command]
Name = "CPU30"
Command = y, U, D, F, b, B, B, D, U, a
Time = 1

[Command]
Name = "CPU31"
Command = U, U, D, B, B, F, F, D, U, a
Time = 1

[Command]
Name = "CPU32"
Command = D, U, D, B, F, B, F, D, U, b
Time = 1

[Command]
Name = "CPU33"
Command = B, U, D, F, B, F, B, D, U, c
Time = 1

[Command]
Name = "CPU34"
Command = F, U, D, B, F, F, B, D, U, x
Time = 1

[Command]
Name = "CPU35"
Command = a, U, D, B, B, F, F, D, U, y
Time = 1

[Command]
Name = "CPU36"
Command = z, U, D, F, B, F, B, D, U, b
Time = 1

[Command]
Name = "CPU37"
Command = c, U, D, F, B, F, B, D, U, s
Time = 1

[Command]
Name = "CPU38"
Command = b, U, D, B, F, F, B, D, U, x
Time = 1

[Command]
Name = "CPU39"
Command = y, U, D, B, F, B, F, D, U, c
Time = 1

[Command]
Name = "CPU40"
Command = z, U, D, F, B, F, B, D, U, y
Time = 1

[Command]
Name = "CPU41"
Command = s, U, D, B, F, F, B, D, U, z
Time = 1

[Command]
Name = "CPU42"
Command = x+a, U, D, B, B, F, F, D, U
Time = 1

[Command]
Name = "CPU43"
Command = y+b, U, D, B, F, B, F, D, U
Time = 1

[Command]
Name = "CPU44"
Command = z+c, U, D, F, B, F, B, D, U
Time = 1

[Command]
Name = "CPU45"
Command = U, D, s, B, F, F, B, s, D, U
Time = 1

[Command]
Name = "CPU46"
Command = U, U, D, B, B, x, F, D, U, a
Time = 1

[Command]
Name = "CPU47"
Command = B, U, D, F, B, z, B, D, U, c
Time = 1

[Command]
Name = "CPU48"
Command = x+a, U, D, B, B, b, F, D, U
Time = 1

[Command]
Name = "CPU49"
Command = x, U, D, B, F, y, D, B, U, b
Time = 1

[Command]
Name = "CPU50"
Command = c, U, D, F, B, z, B, D, U, y
Time = 1

[Command]
Name = "CPU51"
Command = b, U, D, B, c, B, F, D, U, z
Time = 1

[Command]
Name = "CPU52"
Command = c, U, D, F, B, x, B, D, U, s
Time = 1

[Command]
Name = "CPU53"
Command = z, U, D, F, B, s, B, D, U, y
Time = 1

[Command]
Name = "CPU54"
Command = s, U, D, B, F, a, B, D, U, z
Time = 1

[Command]
Name = "CPU55"
Command = y+b, U, D, B, c, B, F, D, U
Time = 1

[Command]
Name = "CPU56"
Command = z+c, U, D, s, B, F, B, D, U
Time = 1

[Command]
Name = "CPU57"
Command = F, D, s, U, D, B, F, s, B, U
Time = 1

[Command]
Name = "CPU58"
Command = D, U, D, B, y, B, F, D, U, b
Time = 1

[Command]
Name = "CPU59"
Command = F, U, D, B, F, a, B, D, U, x
Time = 1

[Command]
Name = "CPU60"
Command = a, U, D, B, B, b, F, D, U, y
Time = 1

;-| 超必殺技 |--------------------------------------------------------
;ここには超必殺技を記述してください。
;同じ名前を「Name =」欄に書けますがコマンドは違ったものにしてください。
;カンフーマンは弱パンチと強パンチで技が出せるように
;同じ名前のコマンドで内容が弱と強になっています。
;「Time=20」と書くことで、
;「コマンドを20フレーム以内に入力」と設定できます。

[Command]
Name = "カード宣言"
Command = ~D, D, z
Time = 15

[Command]
Name = "スペルカード"
Command = ~D, DF, F, z
Time = 20

[Command]
Name = "スペルカードⅡ"
Command = ~D, DB, B, z
Time = 20

[Command]
Name = "スペルカードⅢ"
Command = ~D, DF, F, x
Time = 20

;-| 必殺技 |------------------------------------------------------
;一般的に超必殺技の次は、必殺技を記述します。
;コマンドの一部が重なる場合、先に書かれたものが優先されるので
;気を付けてください。

[Command]
Name = "236_y"
Command = ~D, DF, F, y

[Command]
Name = "236_a"
Command = ~D, DF, F, a

[Command]
Name = "236_b"
Command = ~D, DF, F, b

[Command]
Name = "236_c"
Command = ~D, DF, F, c

[Command]
Name = "214_a"
Command = ~D, DB, B, a

[Command]
Name = "214_b"
Command = ~D, DB, B, b

[Command]
Name = "214_y"
Command = ~D, DB, B, y

[Command]
Name = "214_x"
Command = ~D, DB, B, x

[Command]
Name = "214_c"
Command = ~D, DB, B, c

[Command]
Name = "22x"
Command = ~D, DB, B, x

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

[Command]
Name = "623_y"
Command = ~F, D, DF, y

[Command]
Name = "623_a"
Command = ~F, D, DF, a

[Command]
Name = "623_b"
Command = ~F, D, DF, b

[Command]
Name = "412_a"
Command = ~B, DB, D, a

[Command]
Name = "412_b"
Command = ~B, DB, D, b

[Command]
Name = "412_c"
Command = ~B, DB, D, c

[Command]
Name = "22_a"
Command = ~D, D, a

[Command]
Name = "22_b"
Command = ~D, D, b

[Command]
Name = "22_c"
Command = ~D, D, c

[Command]
Name = "jump"    
Command = ~$D,$U
Time = 10

[Command]
Name = "jump"    
Command = /z,U
Time = 10

;-| 2回押し |-----------------------------------------------------------
[Command]
Name = "FF"     ;消さないように
Command = F, F
Time = 10

[Command]
Name = "FF"     ;消さないように
Command = /z, F
Time = 10

[Command]
Name = "BB"     ;消さなくて良い
Command = B, B
Time = 10

[Command]
Name = "BB"     ;消さなくて良い
Command = /z, B
Time = 10

;-| 2,3ボタン同時押し |-----------------------------------------------

[Command]
Name = "recovery" ;消さないこと
Command = /B,a

[Command]
name = "ab"
command = a+b
time = 1

[Command]
Name = "recovery" ;消さないこと
Command = /B,b

[Command]
Name = "recovery" ;消さないこと
Command = /B,c

[Command]
Name = "recovery" ;消さないこと
Command = /B,z

[Command]
Name = "recovery" ;消さないこと
Command = /a,B

[Command]
Name = "recovery" ;消さないこと
Command = /b,B

[Command]
Name = "recovery" ;消さないこと
Command = /c,B

[Command]
Name = "recovery" ;消さないこと
Command = /z,B

;-| 方向とボタン |---------------------------------------------------------
[Command]
Name = "down_a"
Command = /$D,a
Time = 1

[Command]
Name = "down_b"
Command = /$D,b
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 = "holdfwddown";Required (do Not reMove)
Command = /$DF
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 = "holdfwdup"
Command = /$UF
Time = 1

[Command]
Name = "hold_x"
Command = /x
Time = 1

[Command]
Name = "hold_a"
Command = /a
Time = 1

[Command]
Name = "hold_y"
Command = /y
Time = 1

[Command]
Name = "hold_b"
Command = /b
Time = 1

[Command]
Name = "hold_z"
Command = /z
Time = 1

[Command]
Name    = "holdz"
Command = /$z
Time    = 1

[Command]
Name = "hold_c"
Command = /c
Time = 1

[Command]
Name = "U"
Command = U
Time = 1

[Command]
Name = "D"
Command = D
Time = 1

[Statedef -1] ;必須記述

;===========================================================================
;これらは変数にすると便利みたいですが、以前はバグがありました。

[State -1, Combo Condition Reset] ;初期化
Type = VarSet
Trigger1 = 1
V = 1
Value = 0
IgnoreHitPause = 1

[State -1, Combo Condition Check];技の出せる条件のショートカット
Type = VarSet
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) || ( StateNo = 2050 )
Trigger2 = StateNo != 440
Trigger2 = MoveContact
Trigger3 = StateNo = 2590 && Anim = 2590 && Time >= 22
Trigger4 = StateNo = 2590 && Anim = 2590 && Time >= 19
Trigger5 = StateNo = 2465 && Time >= 19
V = 1
Value = 1
IgnoreHitPause = 1

[State -1, Author Check1]
Type = VarSet
TriggerAll = RoundState = 0 ;新しい方法はどんどん試していく
TriggerAll = RoundsExisted = 0
TriggerAll = StateNo != [180,189]
Trigger1 = Enemy,AuthorName = "GATT"         ;不具合防止
V = 22
Value = 1
IgnoreHitPause = 1

;===========================================================================
;ダッシュ
[State -1, Run Fwd]
Type = ChangeState
Value = 100
;TriggerAll = Var(20) = 0
Trigger1 = Command = "FF" 
Trigger1 = StateType = S && Ctrl

;バックステップ
[State -1, Run Back]
Type = ChangeState
Value = 118
TriggerAll = Var(20) = 0
Trigger1 = Command = "BB" 
Trigger1 = StateType = S && Ctrl

;---------------------------------------------------------------------------
;空中ダッシュ
;空中ダッシュを連続でできないように「StateNo != 」としています

;空中前ダッシュ
[State -1, Fwd Air Dash]
Type = ChangeState
Value = 103
TriggerAll = Command = "FF" || Command = "holdz" && Command = "holdfwd"
triggerall = statetype = A
triggerall = var(4) >= 0
triggerall = anim != 103
Trigger1 = StateNo = 50 
Trigger2 = StateNo = 103 && Time > 15
Trigger3 = StateNo = 108 && Time > 15
Trigger4 = StateNo = 2240 || StateNo = 2260
Trigger4 = Time >= 14
Trigger5 = StateNo = 2512 || StateNo = 2513
Trigger5 = Time >= 13
Trigger6 = StateNo = 2591
Trigger6 = Time >= 21

;空中後ダッシュ
[State -1, Back Air Dash]
Type = ChangeState
Value = 108
TriggerAll = Command = "BB" || Command = "holdz" && Command = "holdback"
triggerall = statetype = A
triggerall = var(4) >= 0
triggerall = anim != 108
Trigger1 = StateNo = 50 
Trigger2 = StateNo = 103 && Time > 15
Trigger3 = StateNo = 108 && Time > 15
Trigger4 = StateNo = 2240 || StateNo = 2260
Trigger4 = Time >= 14
Trigger5 = StateNo = 2475 && Var(5) = 0 && Time >= 14
Trigger6 = StateNo = 2475 && Var(5) = 1 && Time >= 16
Trigger7 = StateNo = 2512 || StateNo = 2513
Trigger7 = Time >= 13
Trigger8 = StateNo = 2591
Trigger8 = Time >= 21

;高速ジャンプ
[State -1, Jump]
Type = ChangeState
Value = 41
TriggerAll = Command = "jump"
TriggerAll = Statetype != A
Trigger1 = Ctrl
Trigger2 = StateNo = 100
Trigger3 = StateNo = 2220 || StateNo = 2465
Trigger3 = Time >= 16
Trigger4 = StateNo = 2230
Trigger4 = Time >= 14
Trigger5 = StateNo = 2250
Trigger5 = Time >= 20
Trigger6 = StateNo = 2255
Trigger6 = Time >= 24
Trigger7 = StateNo = 2590 || StateNo = 2600 || StateNo = 2700
Trigger7 = Time >= 22
Trigger8 = StateNo = 2510 || StateNo = 2511
Trigger8 = Time >= 13
Trigger9 = StateNo = 2590
Trigger9 = Time >= 28

;===========================================================================

;バニシングエブリシング
[State -1]
Type = ChangeState
Value = 2380
TriggerAll = Var(20) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "z"
TriggerAll = Command = "holdback"
Trigger1 = Statetype != A && Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 16
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1, Teleport]
type = ChangeState
value = 2386
triggerall = command = "ab"
TriggerAll = Var(20) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
Trigger2 = StateNo = 2386
Trigger2 = Time >= 26

[State -1, Teleport]
type = ChangeState
value = 2386
triggerall = command = "ab"
triggerall = alive = 1
TriggerAll = Var(20) = 0
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = [130,153]
trigger3 = stateno = 5001
trigger4 = stateno = 5002
trigger5 = stateno = 5010
trigger6 = stateno = 5011
trigger7 = stateno = 5012
trigger8 = stateno = 5021
trigger9 = stateno = 5022
trigger10 = stateno = 5110
trigger11 = stateno = 5120
trigger12 = stateno = 5110
trigger13 = stateno = 5035
trigger14 = stateno = 5030
trigger15 = stateno = 5050
trigger16 = stateno = 5040
trigger17 = stateno = 5071
Trigger18 = StateNo = 2386
Trigger18 = Time >= 26

[State -1]
Type = ChangeState
Value = 2388
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = life <= 400
TriggerAll = Power = 3000
TriggerAll = Command = "214_y"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3530;2387
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Power >= 1000
TriggerAll = Command = "236_y"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 2392
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "214_x"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 2395
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_a"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3500
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_b"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3504
TriggerAll = palno = [1,6]
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "214_a"
TriggerAll = NumHelper(3505) = 0
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3504
TriggerAll = palno = [7,12]
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "214_a"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3514
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "623_b"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3510
TriggerAll = Command = "214_b"
Trigger1 = Statetype != A && Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22


[State -1]
Type = ChangeState
Value = 3510
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll =  Command = "214_b"
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -50
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact
Trigger3 = StateNo = 2240  || StateNo = 2475 && Var(5) = 0
Trigger3 = Time >= 14
Trigger4 = StateNo = 2475 && Var(5) = 1 && Time >= 16

[State -1 ]
type = ChangeState
value = 3510
triggerall = palno = 6
triggerall = command = "214_b"
triggerall = alive = 1
;triggerall = root,stateno != 2386
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = stateno >= 150
trigger2 = Stateno <= 153
trigger4 = stateno = 5001
trigger5 = stateno = 5002
trigger7 = stateno = 5011
trigger8 = stateno = 5012
trigger9 = stateno = 5020
trigger10 = stateno = 5021
trigger11 = stateno = 5022
trigger12 = stateno = 5110
trigger13 = stateno = 5120
trigger14 = stateno = 5110
trigger15 = stateno = 5035
trigger17 = stateno = 5050
trigger18 = stateno = 5040
trigger19 = stateno = 5071
Trigger20 = StateNo = 2386
Trigger20 = Time >= 26

[State -1]
Type = ChangeState
Value = 3518
TriggerAll = Var(20) = 0
TriggerAll = Command = "236_c"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1, Teleport]
type = ChangeState
value = 3520
triggerall = command = "214_c"
trigger1 = ctrl = 1
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

[State -1]
Type = ChangeState
Value = 3543
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "623_y"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;バニシングエブリシング
[State -1]
Type = ChangeState
Value = 2382
TriggerAll = Var(20) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "z"
TriggerAll = Command = "holdfwd"
Trigger1 = Statetype != A && Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;離剣の見A
[State -1]
Type = null;ChangeState
Value = 2510
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_a"
Trigger1 = Statetype != A && Ctrl
Trigger1 = Movetype != H
Trigger1 = Var(1)
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;離剣の見B
[State -1]
Type = null;ChangeState
Value = 2511
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_b"
Trigger1 = Statetype != A && Ctrl
Trigger1 = Movetype != H
Trigger1 = Var(1)
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;空中離剣の見A
[State -1]
Type = ChangeState
Value = 2512
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_a"
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -10
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact
Trigger3 = StateNo = 2240 || StateNo = 2475 && Var(5) = 0 || StateNo = 2260
Trigger3 = Time >= 14
Trigger4 = StateNo = 2475 && Var(5) = 1 && Time >= 16

;空中離剣の見B
[State -1]
Type = ChangeState
Value = 2513
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "236_b"
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -10
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact
Trigger3 = StateNo = 2240 || StateNo = 2475 && Var(5) = 0 || StateNo = 2260
Trigger3 = Time >= 14
Trigger4 = StateNo = 2475 && Var(5) = 1 && Time >= 16

;バウンスノーバウンス上
[State -1]
Type = null;ChangeState
Value = 2600
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "214_a"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;バウンスノーバウンス後
[State -1]
Type = null;ChangeState
Value = 2700
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "214_b"
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;アンビシャスジャック
[State -1]
Type = ChangeState
Value = 2590
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "c"
TriggerAll = NumHelper(2592) = 0
TriggerAll = NumHelper(2593) = 0
TriggerAll = NumHelper(2594) = 0
TriggerAll = NumHelper(2595) = 0
TriggerAll = NumHelper(2596) = 0
TriggerAll = NumHelper(2597) = 0
TriggerAll = NumHelper(2598) = 0
TriggerAll = NumHelper(2599) = 0
Trigger1 = Statetype != A
Trigger1 = Ctrl
Trigger2 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) ||( StateNo = 2050 )
Trigger2 = MoveContact
Trigger3 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger3 = MoveContact
Trigger4 = StateNo = 2220 || StateNo = 2465
Trigger4 = Time >= 19
Trigger5 = StateNo = 2230
Trigger5 = Time >= 14
Trigger6 = StateNo = 2250 || StateNo = 2255
Trigger6 = Time >= 20
Trigger7 = StateNo = 2590
Trigger7 = Time >= 22

;空中アンビシャスジャック
[State -1]
Type = ChangeState
Value = 2591
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "c"
TriggerAll = Var(2) = 0
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -10
TriggerAll = NumHelper(2592) = 0
TriggerAll = NumHelper(2593) = 0
TriggerAll = NumHelper(2594) = 0
TriggerAll = NumHelper(2595) = 0
TriggerAll = NumHelper(2596) = 0
TriggerAll = NumHelper(2597) = 0
TriggerAll = NumHelper(2598) = 0
TriggerAll = NumHelper(2599) = 0
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact
Trigger3 = StateNo = 2240 || StateNo = 2475 && Var(5) = 0 || StateNo = 2260
Trigger3 = Time >= 14
Trigger4 = StateNo = 2591 && Var(5) = 1 && Time >= 16

;霊撃（キャンセル）
[State -1]
Type = ChangeState
Value = 851
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "22_c"
TriggerAll = Power >= 500
TriggerAll = StateNo != [100,101]
TriggerAll = Var(2) = 0
TriggerAll = Statetype != A
Trigger1 = ( StateNo = [200,299] ) || ( StateNo = [400,499] ) || ( StateNo = 2001 ) || ( StateNo = 2050 )
Trigger1 = MoveContact
Trigger2 = ( StateNo = [2020,2050] ) || ( StateNo = 2061 )
Trigger2 = MoveContact
Trigger3 = StateNo = 2220 || StateNo = 2465
Trigger3 = Time >= 19
Trigger4 = StateNo = 2230
Trigger4 = Time >= 14
Trigger5 = StateNo = 2250 || StateNo = 2255
Trigger5 = Time >= 20
Trigger6 = StateNo = 2590 || StateNo = 2600 || StateNo = 2700
Trigger6 = Time >= 22
Trigger7 = StateNo = 2510 || StateNo = 2511
Trigger7 = Time >= 13
Trigger8 = StateNo = 2590
Trigger8 = Time >= 28

;霊撃（ノーマル）
[State -1]
Type = ChangeState
Value = 850
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "22_c"
TriggerAll = Power >= 500
TriggerAll = StateNo != [100,101]
Trigger1 = Statetype != A && Ctrl
Trigger1 = Var(2) = 0
Trigger2 = StateNo = [150,153]


;スラッシュＣ
[State -1]
Type = ChangeState
Value = 2050
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "holdfwd"
TriggerAll = Command = "a"
TriggerAll = StateNo != 100
Trigger1 = StateType = S && Ctrl
Trigger2 = StateNo = [200,240]
Trigger2 = MoveContact
Trigger3 = StateNo = [400,435]
Trigger3 = MoveContact

;ニープレス
[State -1]
Type = ChangeState
Value = 2000
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "holdfwd"
TriggerAll = Command = "b"
TriggerAll = StateNo != 100
Trigger1 = StateType = S && Ctrl
Trigger2 = StateNo = [200,240]
Trigger2 = MoveContact
Trigger3 = StateNo = [400,435]
Trigger3 = MoveContact

;ハイスラッシュＣ
[State -1]
Type = ChangeState
Value = 2060
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "22x"
Trigger1 = StateType = S && Ctrl
Trigger1 = Movetype != H
Trigger1 = Var(1)
Trigger1 = StateNo != 2590 && StateNo != 2420
Trigger2 = StateNo = [200,240]
Trigger2 = MoveContact
Trigger3 = StateNo = [400,435]
Trigger3 = MoveContact
Trigger4 = StateNo = 2050
Trigger4 = MoveContact

;史上最強のレディースファスト
[State -1]
Type = ChangeState
Value = 2020
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "22y"
Trigger1 = StateType = S && Ctrl
Trigger1 = Movetype != H
Trigger1 = Var(1)
Trigger1 = StateNo != 2590 && StateNo != 2420
Trigger2 = StateNo = [200,240]
Trigger2 = MoveContact
Trigger3 = StateNo = [400,435]
Trigger3 = MoveContact
Trigger4 = StateNo = 2050
Trigger4 = MoveContact

;ダブルニープレス
[State -1]
Type = ChangeState
Value = 2010
TriggerAll = Var(50) = 0
Trigger1 = Time >= 5
Trigger1 = Time <= 40
Trigger1 = Statetype != A
Trigger1 = Command = "b"
Trigger1 = Command = "holdfwd"
Trigger1 = Command != "holdfwddown"
Trigger1 = StateNo = 100

;咲夜パンチ
[State -1]
Type = ChangeState
Value = 205
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "a"
TriggerAll = Command != "holddown"
TriggerAll = StateNo != 100
Trigger1 = StateType = S
Trigger1 = Ctrl
Trigger2 = ( StateNo = 200 ) && Time > 6
Trigger3 = ( StateNo = 205 ) && Time > 6
Trigger3 = MoveContact
Trigger4 = StateNo = 205
Trigger4 = MoveContact

;咲夜キック
[State -1]
Type = ChangeState
Value = 235
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "b"
TriggerAll = Command != "holddown"
TriggerAll = StateNo != 100
Trigger1 = StateType = S
Trigger1 = Ctrl
Trigger2 = StateNo = 205
Trigger2 = MoveContact


;遠距離A射撃
[State -1]
Type = ChangeState
Value = 2220
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "x"
TriggerAll = Command != "holddown"
TriggerAll = Var(2) = 0
TriggerAll = StateNo != 100
Trigger1 = Statetype != A && Ctrl
Trigger2 = StateNo = [200,499]
Trigger2 = MoveContact

;遠距離B射撃
[State -1]
Type = null;ChangeState
Value = 2250
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "y"
TriggerAll = Command != "holddown"
TriggerAll = StateNo != 100
Trigger1 = StateType = S && Ctrl
Trigger2 = StateNo = [200,299]
Trigger2 = MoveContact

;停止用射撃　地上
[State -1]
Type = ChangeState
Value = 2800
TriggerAll = Var(20) = 0
TriggerAll = Var(50) != 0
TriggerAll = Command = "a" || Command = "b" || Command = "c" || Command = "y" || Command = "x"
TriggerAll = Command != "holddown"
TriggerAll = StateNo != 100
Trigger1 = StateType = S
Trigger1 = Ctrl
Trigger2 = StateNo = 101

;咲夜切り上げ
[State -1]
Type = ChangeState
Value = 405
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
Trigger1 = StateType = C
Trigger1 = Ctrl
Trigger2 = StateNo = 205
Trigger2 = MoveContact

;咲夜足払い
[State -1]
Type = ChangeState
Value = 435
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "b"
TriggerAll = Command = "holddown"
Trigger1 = StateType = C
Trigger1 = Ctrl
Trigger2 = StateNo = 405
Trigger2 = MoveContact

;咲夜足払い2
[State -1]
Type = ChangeState
Value = 2030
TriggerAll = Var(20) = 0
Trigger1 = Time >= 5
Trigger1 = Time <= 40
Trigger1 = StateType != A
Trigger1 = Command = "b"
Trigger1 = Command = "holddown"
Trigger1 = StateNo = 100

;通常射撃（屈み）
[State -1]
Type = null;ChangeState
Value = 2465
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "c"
TriggerAll = Command = "holddown"
TriggerAll = StateNo != [100,101]
TriggerAll = Movetype != H
Trigger1 = StateType = C
Trigger1 = Ctrl
Trigger1 = Var(1)
Trigger1 = Var(2) = 0
Trigger1 = StateNo != 2400 && StateNo != 2420

;遠距離A射撃（しゃがみ）
[State -1]
Type = ChangeState
Value = 2230
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "x"
TriggerAll = Command = "holddown"
TriggerAll = Var(2) = 0
TriggerAll = StateNo != 105
Trigger1 = StateType = C && Ctrl
Trigger2 = StateNo = [200,499]
Trigger2 = MoveContact

;遠距離B射撃（しゃがみ）
[State -1]
Type = null;ChangeState
Value = 2255
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "y"
TriggerAll = Command = "holddown"
TriggerAll = Var(2) = 0
TriggerAll = StateNo != 105
Trigger1 = StateType = C && Ctrl
Trigger2 = StateNo = [200,499]
Trigger2 = MoveContact

;停止用射撃　しゃがみ
[State -1]
Type = ChangeState
Value = 2820
TriggerAll = Var(20) = 0
TriggerAll = Var(50) != 0
TriggerAll = Command = "a" || Command = "b" || Command = "c" || Command = "y"|| Command = "x"
TriggerAll = Command = "holddown"
Trigger1 = StateType = C
Trigger1 = Ctrl

;空中咲夜切り
[State -1]
Type = ChangeState
Value = 605
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "a"
TriggerAll = StateNo != 105
Trigger1 = StateType = A
Trigger1 = Ctrl

;空中咲夜蹴り
[State -1]
Type = ChangeState
Value = 635
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "b"
TriggerAll = StateNo != 105
Trigger1 = StateType = A
Trigger1 = Ctrl
Trigger2 = StateNo = 605
Trigger2 = MoveContact

;通常射撃（空中）
[State -1]
Type = null;ChangeState
Value = 2475
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = Command = "c"
TriggerAll = StateNo != 105
TriggerAll = FVar(16) = 0
TriggerAll = Pos Y < -10
TriggerAll = Var(2) = 0
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact

;空中遠距離A射撃
[State -1]
Type = ChangeState
Value = 2240
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "x"
TriggerAll = Var(2) = 0
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -6
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact

;空中遠距離B射撃
[State -1]
Type = null;ChangeState
Value = 2260
TriggerAll = Var(20) = 0
TriggerAll = Var(50) = 0
TriggerAll = FVar(16) = 0
TriggerAll = Command = "y"
TriggerAll = StateNo != 105
TriggerAll = Pos Y < -6
Trigger1 = StateType = A && Ctrl
Trigger2 = StateNo = [600,640]
Trigger2 = MoveContact

;停止用射撃　空中
[State -1]
Type = ChangeState
Value = 2840
TriggerAll = Var(50) != 0
TriggerAll = Command = "a" || Command = "b" || Command = "c" || Command = "y"|| Command = "x"
TriggerAll = StateNo != 105
Trigger1 = StateType = A
Trigger1 = Ctrl
Trigger2 = StateNo = 42 && Time >= 4
Trigger3 = StateNo = 43 && Time >= 4
Trigger4 = StateNo = 100 && Time >= 10
Trigger5 = StateNo = 108 && Time >= 8

;挑発
[State -1]
Type = ChangeState
Value = 195
TriggerAll = Var(20) = 0
TriggerAll = RoundState = 2
TriggerAll = Command = "start"
Trigger1 = Statetype != A
Trigger1 = Ctrl
