
[Command]
name = "FB"
command = ~$B,$F,a+b


[Command]
name = "FB"
command = ~$B,$F,a+x

[Command]
name = "FB"
command = ~$B,$F,a+y

[Command]
name = "FB"
command = ~$B,$F,b+x

[Command]
name = "FB"
command = ~$B,$F,b+y

[Command]
name = "FB"
command = ~$B,$F,x+y


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

[Command]
name = "RShyu-jiheiru"
command = ~F, DF, D, DB, B, F, z
time = 18

[Command]
name = "hyu-jiheiru"
command = ~F, DF, D, DB, B, F, b
time = 18

[Command]
name = "RSta-boejji"
command = ~D, DF, F,D, DF, F, z
time = 18

[Command]
name = "ta-boejji"
command = ~D, DF, F,D, DF, F, b
time = 18

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

[Command]
name = "RSdeli-puhowaito"
command = ~F, DF, D, DB, B, z
time = 15

[Command]
name = "deli-puhowaito"
command = ~F, DF, D, DB, B, x
time = 15

[Command]
name = "rihurekutopiasu"
command = ~D, DB, B, y
time = 15

[Command]
name = "RSheirusupaiku"
command = ~D, DB, B, z
time = 15

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

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

[Command]
name = "kurisutaruraiza-"
command = ~F, D, DF, y
time = 15

[Command]
name = "RSkira-furi-zu"
command = ~D, DF, F, z
time = 15

[Command]
name = "kira-furi-zuK"
command = ~D, DF, F, a
time = 15

[Command]
name = "kira-furi-zu"
command = ~D, DF, F, x
time = 15

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------
[Command]
name = "FF"
command = ~F, F
time = 5

[Command]
name = "BB"
command = ~B, B
time = 5

;------------------------------------------------------------------------------
[Command]
name = "recovery"
command = c
time = 1

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

[Command]
name = "recovery"
command = a
time = 1

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

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

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

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

[Command]
name = "DFb"
command = /DF,b
time = 1

[Command]
name = "DFy"
command = /DF,y
time = 1

[Command]
name = "Fx"
command = /$F,x
time = 1

[Command]
name = "Fa"
command = /$F,a
time = 1

[Command]
name = "Fy"
command = /$F,y
time = 1

[Command]
name = "Fb"
command = /$F,b
time = 1

[Command]
name = "Ba"
command = /$B,a
time = 1

[Command]
name = "Bb"
command = /$B,b
time = 1

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

[Command]
name = "CT"
command = a+b+x+y
time = 5

[Command]
name = "GC"
command = /F,a+b
time = 5

[Command]
name = "GC"
command = /F,a+x
time = 5

[Command]
name = "GC"
command = /F,a+y
time = 5

[Command]
name = "GC"
command = /F,b+x
time = 5

[Command]
name = "GC"
command = /F,b+y
time = 5

[Command]
name = "GC"
command = /F,x+y
time = 5

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

[Command]
name = "CD"
command = /a+x
time = 1

[Command]
name = "CD" 
command = /a+y
time = 1

[Command]
name = "CD"
command = /b+x
time = 1

[Command]
name = "CD"
command = /b+y
time = 1

[Command]
name = "CD"
command = /x+y
time = 1

[Command]
name = "holda"
command = /a

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

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

[Command]
name = "holdx"
command = /x

[Command]
name = "holdy"
command = /y

[Command]
name = "holdz"
command = /z

;-| ボタン単発 |---------------------------------------------------------------

[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 = "hold_b"
command = /b
time = 1

[Command]
name = "highjump"
command = ~D,/$U
time = 6

[Command]
name = "highjumpC"
command = ~$U,$D,/$U
time = 6

;------------------------------------------------------------------------------
;-| 方向キー押しっぱなし |-----------------------------------------------------

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

;------------------------------------------------------------------------------
;-| 空中ジャンプ|-----------------------------------------------------
[Command]
name = "airjumpfwd"
command = UF
time = 1

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

[Command]
name = "airjumpback"
command = UB
time = 1

[Command]
name = "aircombofwd"
command = /UF
time = 1

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

[Command]
name = "aircomboback"
command = /UB
time = 1

;==============================================================================
;------------------------------------------------------------------------------
[Statedef -1]
;==============================================================================
;------------------------------------------------------------------------------

;カオストリガー
[State -1,]
type = ChangeState
value = 770
triggerall = var(25) = 0
triggerall = fvar(3) >= 52.5 
triggerall = command = "CT"
triggerall = command != "holdback"
triggerall = command != "holdfwd"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;フリーダムブラスト
[State -1,]
type = ChangeState
value = ifelse(statetype != A,750,760)
triggerall = var(25) = 0
triggerall = command = "c"
triggerall = power >= 1000
trigger1 = (stateno = 810) && (AnimElemTime(4) >= 1) || (stateno = 840) && (AnimElemTime(5) >= 1)
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) || (stateno = [600,700]) || (stateno = [1000,1200]) || (stateno = [3000,3029]) || (stateno = 4015)
trigger2 = movecontact
trigger3 = (stateno = [1031,1036]) && Var(14) != 0
;------------------------------------------------------------------------------

;RSヒュージヘイル
[State -1,]
type = ChangeState
value = 3005
triggerall = fvar(3) >= 35
triggerall = var(25) = 0
triggerall = command = "RShyu-jiheiru" || (NumHelper(60000)&&Helper(60000),Var(0)=3005 && Helper(60000),Var(1)>0)
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;ヒュージヘイル
[State -1,]
type = ChangeState
value = 3000
triggerall = var(25) = 0
triggerall = command = "hyu-jiheiru" || (NumHelper(60000)&&Helper(60000),Var(0)=3000 && Helper(60000),Var(1)>0)
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;RSターボエッジ
[State -1,]
type = ChangeState
value = 3015
triggerall = fvar(3) >= 35
triggerall = var(25) = 0
triggerall = command = "RSta-boejji" || (NumHelper(60000)&&Helper(60000),Var(0)=3015 && Helper(60000),Var(1)>0)
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;ターボエッジ
[State -1,]
type = ChangeState
value = 3010
triggerall = var(25) = 0
triggerall = command = "ta-boejji" || (NumHelper(60000)&&Helper(60000),Var(0)=3010 && Helper(60000),Var(1)>0)
triggerall = power >= 1000
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

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

;RSヘビィホワイト
[State -1,]
type = ChangeState
value = 1052
triggerall = power >= 500
triggerall = var(25) = 0
triggerall = command = "RSdeli-puhowaito"|| (NumHelper(60000)&&Helper(60000),Var(0)=1052 && Helper(60000),Var(1)>0)
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;ディープホワイト
[State -1,]
type = ChangeState
value = 1050
triggerall = command = "deli-puhowaito"|| (NumHelper(60000)&&Helper(60000),Var(0)=1050 && Helper(60000),Var(1)>0)
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;リフレクトピアス
[State -1,]
type = ChangeState
value = 1040
triggerall = command = "rihurekutopiasu"|| (NumHelper(60000)&&Helper(60000),Var(0)=1040 && Helper(60000),Var(1)>0)
triggerall = command != "a"
triggerall = command != "b"
triggerall = command != "x"
triggerall = statetype != A
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;RSヘイルスパイク
[State -1,]
type = ChangeState
value = 1035
triggerall = command = "RSheirusupaiku"|| (NumHelper(60000)&&Helper(60000),Var(0)=1035 && Helper(60000),Var(1)>0)
triggerall = power >= 500
triggerall = var(25) = 0
trigger1 = ctrl
trigger1 = statetype = A
trigger2 = (stateno = [600,699])
trigger2 = movecontact

;ヘイルスパイク
[State -1,]
type = ChangeState
value = 1030
triggerall = command = "heirusupaiku"|| (NumHelper(60000)&&Helper(60000),Var(0)=1030 && Helper(60000),Var(1)>0)
trigger1 = ctrl
trigger1 = statetype = A
trigger2 = (stateno = [600,699])
trigger2 = movecontact

;バインディングフロスト
[State -1,]
type = ChangeState
value = 1020
triggerall = command = "baindelinguhurosuto"|| (NumHelper(60000)&&Helper(60000),Var(0)=1020 && Helper(60000),Var(1)>0)
triggerall = var(22) = 0
triggerall = NumHelper(1023) = 0
triggerall = NumHelper(1024) = 0
triggerall = NumHelper(1025) = 0
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;クリスタルライザー
[State -1,]
type = ChangeState
value = 1010
triggerall = command = "kurisutaruraiza-"|| (NumHelper(60000)&&Helper(60000),Var(0)=1010 && Helper(60000),Var(1)>0)
triggerall = var(22) = 0
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) || (stateno = [600,699])
trigger2 = (stateno != 246)
trigger2 = movecontact

;RSキラーフリ−ズ
[State -1,]
type = ChangeState
value = 1001
triggerall = power >= 500
triggerall = var(25) = 0
triggerall = var(22) = 0
triggerall = command = "RSkira-furi-zu"|| (NumHelper(60000)&&Helper(60000),Var(0)=1001 && Helper(60000),Var(1)>0)
triggerall = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact

;キラーフリ−ズK
[State -1,]
type = ChangeState
value = ifelse(statetype = A,1008,1002)
triggerall = var(22) = 0
triggerall = NumProjID(1000) = 0
triggerall = command = "kira-furi-zuK"|| (NumHelper(60000)&&Helper(60000),Var(0)=1002 && Helper(60000),Var(1)>0)
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) || (stateno = [600,699])
trigger2 = (stateno != 246)
trigger2 = movecontact

;キラーフリ−ズ
[State -1,]
type = ChangeState
value = ifelse(statetype = A,1005,1000)
triggerall = var(22) = 0
triggerall = NumProjID(1000) = 0
triggerall = command = "kira-furi-zu"|| (NumHelper(60000)&&Helper(60000),Var(0)=1000 && Helper(60000),Var(1)>0)
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) || (stateno = [600,699])
trigger2 = (stateno != 246)
trigger2 = movecontact

;==============================================================================
;------------------------------------------------------------------------------

;ダッシュハイジャンプ
[State -1, ]
type = ChangeState
value = 530
TriggerAll=var(59) = 0
triggerall = statetype != A
triggerall = command = "highjump"
Trigger1 = (stateno = [100,102])

;ハイジャンプ
[State -1, ]
type = ChangeState
value = 530
TriggerAll=var(59) = 0
triggerall = statetype != A
triggerall = command = "highjump" || (NumHelper(60000)&&Helper(60000),Var(0)=530 && Helper(60000),Var(1)>0)
Triggerall = var(26) = [1,6]
trigger1 = ctrl
trigger2 = (stateno = [200,248]) && movecontact
trigger2 = stateno != [230,235]
trigger2 = stateno != 242

;しゃがみ攻撃キャンセルハイジャンプ
[State -1, ]
type = ChangeState
value = 530
TriggerAll=var(59) = 0
triggerall = command = "highjump"
triggerall = statetype = C
Triggerall = var(26) = [1,6]
trigger1 = (stateno = [410,440]) && movecontact
trigger1 = stateno != 410
trigger1 = stateno != 412
trigger1 = stateno != 430

;空中前ジャンプ
[State -1, ]
type = ChangeState
value = ifelse(p2dist x < 0,520,510)
triggerall = statetype = A
TriggerAll=var(59) = 0
TriggerAll=var(24) <= 7
triggerall = var(0) = 0
triggerall = var(7) = 0
trigger1 = command = "airjumpfwd"
trigger1 = Pos Y <= -20
trigger1 = Vel Y >= -5
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = command = "aircombofwd"
trigger2 = (stateno = [610,645]) && movecontact
trigger2 = (stateno != 612)
trigger2 = (stateno != 640)
trigger2 = (stateno != 642)

;空中FB(CT)前ジャンプ
[State -1, ]
type = ChangeState
value = ifelse(p2dist x < 0,520,510)
triggerall = statetype = A
TriggerAll=var(59) = 0
triggerall = command = "aircombofwd"
trigger1 = Var(25) != 0 && movecontact

;空中垂直ジャンプ
[State -1, ]
type = ChangeState
value = 515
triggerall = statetype = A
TriggerAll=var(59) = 0
TriggerAll=var(24) <= 7
triggerall = var(0) = 0
triggerall = var(7) = 0
trigger1= command = "airjump"
trigger1 = Pos Y <= -20
trigger1 = Vel Y >= -5
trigger1 = statetype = A
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2= command = "aircombo"
trigger2 = (stateno = [610,645]) && movecontact
trigger2 = (stateno != 612)
trigger2 = (stateno != 640)
trigger2 = (stateno != 642)

;空中FB(CT)垂直ジャンプ
[State -1, ]
type = ChangeState
value = 515
triggerall = statetype = A
TriggerAll=var(59) = 0
triggerall = command = "aircombo"
trigger1 = Var(25) != 0 && movecontact

;空中後ろジャンプ
[State -1, ]
type = ChangeState
value = ifelse(p2dist x < 0,510,520)
triggerall = statetype = A
TriggerAll=var(59) = 0
TriggerAll=var(24) <= 7
triggerall = var(0) = 0
triggerall = var(7) = 0
trigger1 = command = "airjumpback"
trigger1 = Pos Y <= -20
trigger1 = Vel Y >= -5
trigger1 = statetype = A
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = command = "aircomboback"
trigger2 = (stateno = [610,645]) && movecontact
trigger2 = (stateno != 612)
trigger2 = (stateno != 640)
trigger2 = (stateno != 642)

;空中FB(CT)後ろジャンプ
[State -1, ]
type = ChangeState
value = ifelse(p2dist x < 0,510,520)
triggerall = statetype = A
TriggerAll=var(59) = 0
triggerall = command = "aircomboback"
trigger1 = Var(25) != 0 && movecontact

;空中ダッシュ
[State -1, Dash]
type = ChangeState
value = 500
TriggerAll=var(59) = 0
triggerall = var(0) = 0
triggerall = statetype = A
triggerall = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
triggerall = command != "holdup"
trigger1 = command = "FF"
trigger1 = Pos Y <= -35 && Vel Y <= 0
trigger2 = command = "FF"
trigger2 = Pos Y <= -15 && Vel Y >= 0

;キャンセル空中ダッシュ
[State -1, Dash]
type = ChangeState
value = 500
TriggerAll=var(59) = 0
triggerall = var(0) = 0
triggerall = statetype = A
triggerall = command != "holdup"
triggerall = command = "FF"
trigger1 = (stateno = [610,645]) && movecontact
trigger1 = stateno != 612
trigger1 = stateno != 630
trigger1 = stateno != 640
trigger1 = stateno != 642
trigger1 = stateno != 645

;キャンセルFB(CT)空中ダッシュ
[State -1, Dash]
type = ChangeState
value = 500
TriggerAll=var(59) = 0
triggerall = statetype = A
triggerall = command != "holdup"
triggerall = command = "FF"
trigger1 = Var(25) != 0 && movecontact

;空中バクステ
[State -1, Dash]
type = ChangeState
value = 505
TriggerAll=var(59) = 0
triggerall = var(0) = 0
triggerall = statetype = A
triggerall = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
triggerall = command != "holdup"
trigger1 = command = "BB"
trigger1 = Pos Y <= -35 && Vel Y <= 0
trigger2 = command = "BB"
trigger2 = Pos Y <= -15 && Vel Y >= 0

;キャンセル空中バクステ
[State -1, Dash]
type = ChangeState
value = 505
TriggerAll=var(59) = 0
triggerall = var(0) = 0
triggerall = statetype = A
triggerall = command != "holdup"
triggerall = command = "BB"
trigger1 = (stateno = [610,645]) && movecontact
trigger1 = stateno != 612
trigger1 = stateno != 630
trigger1 = stateno != 640
trigger1 = stateno != 642
trigger1 = stateno != 645

;キャンセルFB(CT)空中バクステ
[State -1, Dash]
type = ChangeState
value = 505
TriggerAll=var(59) = 0
triggerall = statetype = A
triggerall = command != "holdup"
triggerall = command = "BB"
trigger1 = Var(25) != 0 && movecontact

;ダッシュ
[State -1, Dash]
type = ChangeState
value = 100
triggerall = command = "FF"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Var(25) != 0 && movecontact
trigger3 = Var(25) != 0 && (stateno = [1031,1036]) && Var(14) != 0

;バックステップ
[State -1, Back Step]
type = ChangeState
value = 105
triggerall = command = "BB"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Var(25) != 0 && movecontact
trigger3 = Var(25) != 0 && (stateno = [1031,1036]) && Var(14) != 0

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;投げ
[State -1, ]
type = ChangeState
value = 800
triggerall = command = "b"
triggerall = command != "a"
triggerall = command != "x"
triggerall = command != "y"
triggerall = var(22) = 0
triggerall = statetype = S
triggerall = ctrl || (stateno = [100,102])
triggerall = stateno != 100
triggerall = p2bodydist X < 15
trigger1 = command = "holdfwd"
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;------------------------------------------------------------------------------
;空中投げ
[State -1, ]
type = ChangeState
value = 830
triggerall = command = "b"
triggerall = command != "a"
triggerall = command != "x"
triggerall = command != "y"
triggerall = statetype = A
triggerall = ctrl
triggerall = stateno != 100
triggerall = p2bodydist X = [0,15]
triggerall = p2bodydist Y = [-120,30]
trigger1 = command = "holdfwd"
trigger1 = (p2statetype = A)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = (p2statetype = A)
trigger2 = p2movetype != H

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

;クリアシールド
[State -1,]
type = ChangeState
value = 4000
triggerall = fvar(3) >= 8
triggerall = var(22) = 0
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])

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

;6P
[State -1,]
type = ChangeState
value = 205
triggerall = command = "Fx"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,220]) && movecontact
trigger2 = stateno != 205
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;5P
[State -1,]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 400 && movecontact
trigger4 = stateno = 200 && time >= 6

;6K
[State -1,]
type = ChangeState
value = 215
triggerall = command = "Fa"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,210]) && movecontact
trigger2 = stateno != 205
trigger3 = (stateno = [400,410]) && movecontact

;5K
[State -1,]
type = ChangeState
value = 210
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = 200) && movecontact
trigger3 = (stateno = 400) && movecontact

;------------------------------------------------------------------------------
;6S
[State -1,]
type = ChangeState
value = 235
triggerall = command = "Fy"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,230]) && movecontact
trigger2 = stateno != 205
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;近S
[State -1,]
type = ChangeState
value = 220
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = p2bodydist X = [-45,65]
triggerall = p2bodydist Y = [-250,0]
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,210]) && (stateno != 205) && movecontact
trigger3 = (stateno = 400) && movecontact

;遠S
[State -1,]
type = ChangeState
value = 230
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,220]) && movecontact
trigger2 = stateno != 205
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;6HS
[State -1,]
type = ChangeState
value = 245
triggerall = command = "Fb"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,230]) && movecontact
trigger2 = stateno != 205
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;4HS
[State -1,]
type = ChangeState
value = 242
triggerall = command = "Bb"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,230]) && movecontact
trigger3 = (stateno = [400,410]) && movecontact

;5HS
[State -1,]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])
trigger2 = (stateno = [200,220]) && movecontact
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact
trigger4 = (stateno = 440) && movecontact

;------------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl || (stateno = [100,102])

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;2P
[State -1,]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 400 && movecontact || (stateno = [100,102])
trigger3 = stateno = 200 && movecontact
trigger4 = stateno = 400 && time >= 6

;2K
[State -1,]
type = ChangeState
value = 410
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 200) && movecontact || (stateno = [100,102])
trigger3 = (stateno = 400) && movecontact

;------------------------------------------------------------------------------
;2S
[State -1,]
type = ChangeState
value = 430
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,230]) && movecontact || (stateno = [100,102])
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;2HS
[State -1,]
type = ChangeState
value = 441
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,230]) && movecontact || (stateno = [100,102])
trigger2 = stateno != 210
trigger2 = stateno != 215
trigger3 = (stateno = [400,410]) && movecontact

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;J6P
[State -1,]
type = ChangeState
value = 605
triggerall = command = "Fx"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,630]) && movecontact
trigger2 = stateno != 605
trigger2 = stateno != 612

;JP
[State -1,]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && movecontact
trigger3 = var(7) != 0
trigger3 = movecontact
trigger3 = (stateno = 610) || (stateno = 630) || (stateno = 632)

;J2K
[State -1,]
type = ChangeState
value = 612
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl && stateno != [613,614]
trigger2 = (stateno = [600,630]) && movecontact
trigger2 = stateno != 605
trigger2 = stateno != 612
trigger3 = var(7) != 0
trigger3 = movecontact
trigger3 = (stateno = 640)

;JK
[State -1,]
type = ChangeState
value = 610
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,630]) && movecontact
trigger2 = stateno != 605
trigger2 = stateno != 610
trigger2 = stateno != 612
trigger3 = var(7) != 0
trigger3 = movecontact
trigger3 = (stateno = [600,640])
trigger3 = stateno != 605
trigger3 = stateno != 612

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

;JS
[State -1,]
type = ChangeState
value = 630
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,610]) && movecontact
trigger2 = stateno != 605
trigger3 = var(7) != 0
trigger3 = movecontact
trigger3 = (stateno = 630) || (stateno = 640)

;JHS
[State -1,]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,635]) && movecontact
trigger2 = stateno != 612

;JBA
[State -1,]
type = ChangeState
value = 650
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,640]) && movecontact
trigger2 = stateno != 612

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