

ソード・オブ・ルイン
[Command]
name = "QCBQCF_x"
command = ~D,F,D,F,c
time = 30

;Ex1
[Command]
name = "ex1"
command = ~D,F,B,z
time = 30
;Ex2
[Command]
name = "ex2"
command = ~D,F,B,c
time = 30

[Command]
name = "grr"
command = ~D,B,D,B,z
time = 30

[Command]
name = "grr1"
command = ~D,B,D,B,c
time = 30

[Command]
name = "ugrr"
command = ~F,B,F,B,z
time = 30

[Command]
name = "sr"
command = ~D,F,b
time = 30

[Command]
name = "srair"
command = ~D,F,b
time = 30

[Command]
name = "BWG"
command = ~D,D,a
time = 30


[Command]
name = "DK"
command = ~D,B,a
time = 30

[Command]
name = "IPDFM"
command = ~D,F,a
time = 30

[Command]
name = "IPDPM"
command = ~D,D,x
time = 30

[Command]
name = "DCM"
command = ~D,B,x
time = 30

[Command]
name = "zan"
command = ~D,F,z
time = 15


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

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


;空中ジャンプガルル下向き　地上ガルル下向き
[Command]
name = "QCF_a"
command = ~D,B,c
time = 15

;グレイソード2連続切り
[Command]
name = "gs"
command = ~D,F,D,F,b
time = 15

;グレイソード1
[Command]
name = "app"
command = ~D,F,x
time = 15

;空中グレイソード1
[Command]
name = "appA"
command = ~D,F,x
time = 15

;グレイソード2
[Command]
name = "QCF_x"
command = ~D,F,y
time = 15

;空中グレイソード2
[Command]
name = "QCF_xs"
command = ~D,F,y
time = 15

;グレイソード3
[Command]
name = "tosi"
command = ~D,D,y
time = 15

;空中グレイソード3
[Command]
name = "tosis"
command = ~D,D,y
time = 15

;前パンチ・ウォー
[Command]
name = "maex"
command = /F,x
time = 1

[Command]
name = "QCB_b"
command = /D,z
time = 15

[Command]
name = "QCB_bair"
command = /D,z
time = 15
;***********************************
;ブロッキング
[Command]
name = "blocking-000"
command = B
time = 1

[Command]
name = "blocking-001"
command = /B
time = 1

[Command]
name = "blocking-002"
command = DB
time = 1

[Command]
name = "blocking-003"
command = /DB
time = 1

;***********************************
;前キック
[Command]
name = "maeb"
command = /F, b
time = 1

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

[Command]
name = "downback"
command = DB
time = 1

[Command]
name = "FF"
command = F, F
time = 10


[Command]
name = "BB"
command = B, B
time = 10


[Command]
name = "down_a"
command = /$D,a
time = 1


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


[Command]
name = "a"
command = a
time = 3


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


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


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

[Command]
name = "y"
command = y
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 = "recovery"
command = x+y
time = 1


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


[Command]
name = "hold_c"
command = /s

[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

[Command]
name = "holdx"
command = /$x
time = 1

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

[Command]
name = "holdz"
command = /$z
time = 1

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

[Command]
name = "どれか上"
command = $U
time = 1
[Statedef -1]
;---------------------------------------------------------------------------
ソード・オブ・ルイン
[State -1, Custom Combo]
type = ChangeState
value = 9007
triggerall = command = "QCBQCF_x"
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno = 200 || stateno = 210 || stateno = 220 || stateno = 230 || stateno = 240 || stateno = 250
;-----------------------------------------------
;スラッシュ
[State -1, kiru]
type = ChangeState
value = 1110
triggerall = command = "ex1"
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl = 1
;-----------------------------------------------
;スラッシュ
[State -1, kiru]
type = ChangeState
value = 850
triggerall = command = "ex2"
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl = 1
;--------------------------------------
;ガルルキャノン・フルパワー
[State -1,]
type = ChangeState
value = 1600
triggerall = var(59) = 0
triggerall = Power >= 3000
triggerall = var(30) != 1
trigger1 = command = "grr"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;--------------------------------------
;--------------------------------------
;ガルルキャノン
[State -1,]
type = ChangeState
value = 1645
triggerall = var(59) = 0
triggerall = Power >= 1000
triggerall = var(30) != 1
trigger1 = command = "grr1"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;--------------------------------------
;アルティメットガルルキャノン
[State -1,]
type = ChangeState
value = 35000
triggerall = var(59) = 0
triggerall = Power >= 3000
triggerall = life <= 200
triggerall = var(30) != 1
trigger1 = command = "ugrr"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;--------------------------------------
[State -1,]
type = ChangeState
value = 35000
triggerall = var(59) = 0
trigger1 = PalNo = 12
triggerall = var(30) != 1
trigger1 = command = "ugrr"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1 = statetype != A
trigger1 = ctrl = 1
;--------------------------------------
;空中回転ガルル下向き
[State -1, Air garuru under]
type = ChangeState
value = 2500
triggerall = command = "QQCF_a"
triggerall = statetype != S
triggerall = statetype != C
triggerall = stateno = 225
triggerall = power >= 500
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
trigger3 = stateno = 226
;--------------------------------------

;--------------------------------------
;地上ガルル↑向き
[State -1, ground garuru ue]
type = ChangeState
value = 2200
triggerall = command = "QQCF_a"
triggerall = statetype != A
triggerall = statetype != C
triggerall = power >= 500
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;--------------------------------------
;地上ガルル下向き
[State -1, ground garuru under]
type = ChangeState
value = 2100
triggerall = command = "QCF_a"
triggerall = statetype != A
triggerall = statetype != C
triggerall = power >= 500
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;--------------------------------------
;空中ジャンプガルル下向き
[State -1, Air garuru under]
type = ChangeState
value = 2000
triggerall = command = "QCF_a"
triggerall = statetype != S
triggerall = statetype != C
triggerall = power >= 500
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;--------------------------------------
;空中ジャンプガルル下向き
[State -1, Air garuru under]
type = ChangeState
value = 2350
triggerall = command = "QCF_z"
triggerall = statetype != S
triggerall = statetype != C
triggerall = power >= 500
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;---------------------------------------------------------------------------
;衝撃波
[State -1, ]
type = ChangeState
value = 6001
triggerall = command = "zan"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact
;--------------------------------------
;グレイソード1
[State -1, shouryuu]
type = ChangeState
value = 1000
triggerall = command = "app"
triggerall = statetype != A
triggerall = power >= 300
trigger1 = ctrl = 1
trigger2 = stateno >= 201
trigger2 = stateno <= 400
trigger2 = movecontact = 1
;--------------------------------------
;グレイソード2
[State -1, kiriotosi]
type = ChangeState
value = 1200
triggerall = command = "QCF_x"
triggerall = statetype != A
triggerall = power >= 300
trigger1 = ctrl = 1
trigger2 = stateno >= 201
trigger2 = stateno <= 400
trigger2 = movecontact = 1
;////////////////////////////////////
;グレイソード3
[State -1, kiriage]
type = ChangeState
value = 1100
triggerall = command = "tosi"
triggerall = statetype != A
triggerall = power >= 300
trigger1 = ctrl = 1
trigger2 = stateno >= 201
trigger2 = stateno <= 400
trigger2 = movecontact = 1
;--------------------------------------
;////////////////////////////////////
;グレイソード2連続切り
[State -1, kiriage]
type = ChangeState
value = 3200
triggerall = command = "gs"
triggerall = statetype != A
triggerall = power >= 600
trigger1 = ctrl = 1
trigger2 = stateno >= 201
trigger2 = stateno <= 400
trigger2 = movecontact = 1
;--------------------------------------
;ダッシュスラッシュ
[State -1, kiriotosi]
type = ChangeState
value = 520
triggerall = command = "sr"
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno >= 201
trigger2 = stateno <= 400
trigger2 = movecontact = 1
;--------------------------------------
;ダッシュスラッシュair
[State -1, kiriotosi]
type = ChangeState
value = 530
triggerall = command = "srair"
triggerall = statetype != S
triggerall = statetype != C
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;-------------------------------------------------------------------
;ブラックウォーグレイモン
[State -1, Throw]
type = ChangeState
value = 17000
Triggerall = command = "BWG"
triggerall = power >= 500
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;-------------------------------------------------------------------
;デュークモン
[State -1, Throw]
type = ChangeState
value = 17010
Triggerall = command = "DK"
triggerall = power >= 800
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;-------------------------------------------------------------------
;インペリアルドラモン
[State -1, Throw]
type = ChangeState
value = 17020
Triggerall = command = "IPDFM"
triggerall = power >= 1000
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;------------------------------------------------------------------------;
;デュークモンクリムゾンモード
[State -1, Throw]
type = ChangeState
value = 17050
Triggerall = command = "DCM"
triggerall = power >= 1500
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;------------------------------------------------------------------------;
;------------------------------------------------------------------------;
;インペリアルドラモンパラディンモード
[State -1, Throw]
type = ChangeState
value = 17070
Triggerall = command = "IPDPM"
triggerall = power >= 1500
triggerall = life <= 500
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;--------------------------------------
;--------------------------------------------------
[State -1, Throw]
type = ChangeState
value = 17070
Triggerall = command = "IPDPM"
trigger1 = PalNo = 12
;triggerall = var(9) = 0
;trigger1 = var(10) = 0
;trigger1 = var(11) = 0
;trigger1 = var(12) = 0
trigger1 = statetype = S
trigger1 = ctrl
;--------------------------------------

;--------------------------------------------------
;--------------------------------------------------
;回転
[State -1, Run Fwd]
type = ChangeState
value = 110
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
;--------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;--------------------------------------------------
;回転2
[State -1, Back Dash]
type = ChangeState
value = 111
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
;--------------------------------------------------
;バックダッシュ
[State -1, Back Dash]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
;--------------------------------------------------
;--------------------------------------------------

;--------------------------------------------------
;ジャンプパンチ2
[State -1,Jump Light Punch]
type = ChangeState
value = 610
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl= 1
trigger2 = stateno = 600
trigger2 = statetime >= 7
trigger3 = stateno = 640
trigger3 = movecontact = 1
;--------------------------------------------------
;ジャンプパンチ3
[State -1,Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl= 1
trigger2 = stateno = 600
trigger2 = statetime >= 7
trigger3 = stateno = 640
trigger3 = movecontact = 1
-----------------------------------------------------
-----------------------------------------------------
;パンチA
[State -1,Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl= 1
trigger2 = stateno = 200
trigger2 = time > 8
trigger3 = stateno = 210
trigger3 = time > 8
;--------------------------------------------------
;パンチB
[State -1,Stand Light Punch]
type = ChangeState
value = 210
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl= 1
trigger2 = stateno = 210
trigger2 = time > 8
trigger3 = stateno = 200
trigger3 = time > 8

;--------------------------------------------------
;パンチC
[State -1,Stand Light Punch]
type = ChangeState
value = 220
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl= 1
trigger2 = stateno = 200
trigger2 = time > 8
trigger3 = stateno = 230
trigger3 = movecontact= 1
--------------------------------------------------
;挑発
;[State -1, Taunt]
;type = ChangeState
;value = 195
;trigger1 = statetype != A
;trigger1 = command = "start"
;trigger1 = ctrl = 1
;--------------------------------------------------
;しゃがみパンチA
[State -1,Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl= 1
trigger2 = stateno = 430
trigger2 = movecontact= 1
trigger3 = stateno = 200
trigger3 = movecontact= 1
;--------------------------------------------------
;しゃがみパンチB
[State -1,Crouching Light Punch]
type = ChangeState
value = 410
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl= 1
trigger2 = stateno = 430
trigger2 = movecontact= 1
trigger3 = stateno = 200
trigger3 = movecontact= 1
;--------------------------------------------------
;しゃがみパンチC
;[State -1,Crouching Light Punch]
;type = ChangeState
;value = 420
;triggerall = command = "x"
;triggerall = command = "holddown"
;trigger1 = statetype = C
;trigger1 = ctrl= 1
;trigger2 = stateno = 430
;trigger2 = movecontact= 1
;trigger3 = stateno = 200
;trigger3 = movecontact= 1
;--------------------------------------------------


[State -1, パワー溜め]
type = ChangeState
value = 900
triggerall = var(59) = 0
triggerall = command = "hold_c"
triggerall = power < 3000
triggerall = var(30) != 1
trigger1 = statetype != A && ctrl



;------------------------------------------------------------------------
;--------------------------------------
;空中グレイソード1
[State -1, shouryuu]
type = ChangeState
value = 670
triggerall = command = "appA"
triggerall = statetype = A
triggerall = power >= 200
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;--------------------------------------
;空中グレイソード2
[State -1, kiriotosi]
type = ChangeState
value = 660
triggerall = command = "QCF_xs"
triggerall = statetype != S
triggerall = statetype != C
triggerall = power >= 200
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1
;--------------------------------------
;空中グレイソード3
[State -1, kiriage]
type = ChangeState
value = 650
triggerall = command = "tosis"
triggerall = statetype != S
triggerall = statetype != C
triggerall = power >= 200
trigger1 = ctrl = 1
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 = movecontact = 1

;--------------------------------------
;アッパー
[State -1, Punch Forward]
type = ChangeState
value = 290
Triggerall = command = "x"
trigger1 = statetype = S
trigger1 = ctrl= 1
trigger2 = (StateNo = 200) && (AnimElemTime(4) > 0)
trigger3 = (StateNo = 210) && (AnimElemTime(4) > 0)
;--------------------------------------
;ゼロ距離ガルル
[State -1,]
type = ChangeState
value = 1011
triggerall = statetype != A
triggerall = command = "QCB_b"
triggerall = p2bodydist X <= 115
triggerall = p2bodydist Y >= -50
triggerall = p2statetype != L
trigger1 = ctrl
trigger2 = stateno = 1210
trigger2 = movehit
;--------------------------------------
;ゼロ距離ガルルair
[State -1,]
type = ChangeState
value = 1013
triggerall = statetype != S
triggerall = command = "QCB_bair"
triggerall = p2bodydist X <= 115
triggerall = p2bodydist Y >= -10
triggerall = p2statetype != L
trigger1 = ctrl
trigger2 = stateno >= 600
trigger2 = stateno <= 640
trigger2 =  movehit

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

;ガード
[State -1, Guard]
type = ChangeState
value = 120
triggerall = !Var(59)
triggerall = command = "holdy"
triggerall = command != "holdfwd" && command != "holdback"
triggerall = command != "holdup" && command != "D"
triggerall = ctrl
triggerall = stateno != [120,159]
trigger1 = statetype != A
trigger2 = statetype = A
trigger2 = inguarddist
