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

[Command]
name = "夢想封印_瞬"
command = ~D, DF, F, DF, D, DB, B, y
time = 20

[Command]
name = "夢想封印"
command = ~D, DF, F, D, DF, F, y
time = 20

;-| 必殺技 |------------------------------------------------------
[Command]
name = "強昇月脚"
command = ~F,D,DF, b

[Command]
name = "弱昇月脚"
command = ~F,D,DF, a

[Command]
name = "上段当身"
command = ~F,D,DF, x

[Command]
name = "下段当身"
command = ~F,D,DF, y

[Command]
name = "符投_追尾"
command = ~D,DF,F, a

[Command]
name = "符投_拡散"
command = ~D,DF,F, b

[Command]
name = "符投_弱退魔針"
command = ~D,DF,F, x

[Command]
name = "符投_強退魔針"
command = ~D,DF,F, y

[Command]
name = "弱龍脚"
command = ~D,DB,B, a

[Command]
name = "強龍脚"
command = ~D,DB,B, b

;-| ２回押し技 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

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

;-| ２・３個の同時押し技 |-----------------------------------------------
[Command]
name = "緊急回避前"
command = x+a
time = 1

[Command]
name = "緊急回避前"
command = z
time = 1

[Command]
name = "緊急回避後"
command = /$B,x+a
time = 1

[Command]
name = "緊急回避後"
command = /$B,z
time = 1

[Command]
name = "ゲージ溜め発動"
command = z+c
time = 1

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

[Command]
name = "ふっ飛ばし"
command = c
time = 1

[Command]
name = "おしっぱなしx"
command = /$x
time = 1

[Command]
name = "おしっぱなしy"
command = /$y
time = 1

[Command]
name = "おしっぱなしa"
command = /$a
time = 1

[Command]
name = "おしっぱなしb"
command = /$b
time = 1

[Command]
name = "おしっぱなしz"
command = /$z
time = 1

[Command]
name = "おしっぱなしc"
command = /$c
time = 1

;-| 方向とボタンで出す技 |---------------------------------------------------------
[Command]
name = "押し出し"
command = /$F,x
time = 1

[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 = "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


; 下の記述↓は絶対に消さないでください。
[Statedef -1]

;===========================================================================
;超必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;夢想封印_瞬
[State -1, M_Huin_S]
type = ChangeState
value = 1600
triggerall = command = "夢想封印_瞬"
triggerall = statetype != C
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl

;夢想封印
[State -1, M_Huin]
type = ChangeState
value = 1500
triggerall = command = "夢想封印"
triggerall = statetype != C
triggerall = power >= 1000
trigger1 = ctrl

;===========================================================================
;必殺技
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;強昇月脚
[State -1, H_Summer]
type = ChangeState
value = 1055
triggerall = command = "強昇月脚"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;弱昇月脚
[State -1, L_Summer]
type = ChangeState
value = 1050
triggerall = command = "弱昇月脚"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;下段当身
[State -1, L_Hitby]
type = ChangeState
value = 1075
triggerall = command = "下段当身"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;上段当身
[State -1, H_HitBy]
type = ChangeState
value = 1070
triggerall = command = "上段当身"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;符投_追尾
[State -1, hu_t]
type = ChangeState
value = 1000
triggerall = command = "符投_追尾"
triggerall = statetype != A
triggerall = numhelper(1005) = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;符投_拡散
[State -1, hu_k]
type = ChangeState
value = 1001
triggerall = command = "符投_拡散"
triggerall = statetype != A
triggerall = numhelper(1005) = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;符投_弱退魔針
[State -1, taima_l]
type = ChangeState
value = 1020
triggerall = command = "符投_弱退魔針"
triggerall = statetype != A
triggerall = NumProj = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;符投_強退魔針
[State -1, taima_h]
type = ChangeState
value = 1021
triggerall = command = "符投_強退魔針"
triggerall = statetype != A
triggerall = NumProj = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;弱龍脚
[State -1, ryu_l]
type = ChangeState
value = 1100
triggerall = command = "弱龍脚"
triggerall = NumProj = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;強龍脚
[State -1, ryu_h]
type = ChangeState
value = 1105
triggerall = command = "強龍脚"
triggerall = NumProj = 0
trigger1 = ctrl

;---------------------------------------------------------------------------
;===========================================================================
;通常動作
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;ふっ飛ばし関係
;---------------------------------------------------------------------------
;ガードキャンセルふっ飛ばし攻撃
[State -1, c_blow_off]
type = ChangeState
value = 251
triggerall = command = "ふっ飛ばし"
triggerall = power >= 500
trigger1 = stateno = 150
trigger2 = stateno = 151

;---------------------------------------------------------------------------
;ふっ飛ばし攻撃
[State -1, blow_off]
type = ChangeState
value = 250
triggerall = command = "ふっ飛ばし"
triggerall = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中ふっ飛ばし攻撃
[State -1, blow_off_air]
type = ChangeState
value = 255
triggerall = command = "ふっ飛ばし"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;特殊動作関係
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;緊急回避後
[State -1, Taunt910]
type = ChangeState
value = 910
triggerall = command = "緊急回避後"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;ガードキャンセル緊急回避後
[State -1, 910]
type = ChangeState
value = 910
triggerall = command = "緊急回避後"
triggerall = power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
;---------------------------------------------------------------------------
;緊急回避前
[State -1, Taunt900]
type = ChangeState
value = 900
triggerall = command = "緊急回避前"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;ガードキャンセル緊急回避前
[State -1, 900]
type = ChangeState
value = 900
triggerall = command = "緊急回避前"
triggerall = power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
;---------------------------------------------------------------------------
;ACタクティカルステップ
[State -1, tac900]
type = ChangeState
value = 900
triggerall = command = "緊急回避前"
triggerall = power >= 1000
trigger1 = stateno = [200,249]
;---------------------------------------------------------------------------
;ダウン回避
[State -1, Taunt]
type = ChangeState
value = 950
triggerall = command = "緊急回避前"
trigger1 = stateno = 5050
trigger1 = pos y >=-40
;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;投げ
[State -1, Throw]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H


;---------------------------------------------------------------------------
;(キャンセル)押し出し
[State -1, cansel_osidasi]
type = ChangeState
value = 300
triggerall = command = "押し出し"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = stateno = 205 && animelem = 2,>=0
trigger2 = stateno = 215 && animelem = 3,>=0
trigger3 = stateno = 235 && animelem = 3,>=0
trigger4 = stateno = 245 && animelem = 3,>=0
trigger5 = stateno = 400 && animelem = 2,>=0
trigger6 = stateno = 410 && animelem = 4,>=0
trigger7 = stateno = 440 && animelem = 7,<=0

;---------------------------------------------------------------------------
;押し出し
[State -1, osidasi]
type = ChangeState
value = 300
triggerall = command = "押し出し"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
;---------------------------------------------------------------------------

;===========================================================================
;---------------------------------------------------------------------------
;通常ボタン
;---------------------------------------------------------------------------
;遠距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X >50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time > 6
;---------------------------------------------------------------------------
;近距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X <=50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time > 6

;---------------------------------------------------------------------------
;遠距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X >50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6
;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X <=50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;遠距離立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X >50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 7
trigger3 = (stateno = 230) && time > 9
;---------------------------------------------------------------------------
;近距離立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 235
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X <=50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 7
trigger3 = (stateno = 230) && time > 9

;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X >50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6
;---------------------------------------------------------------------------
;近距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X <=50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

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

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact

