
;------------------------------------------------------------------------
;ハイジャンプ
[Command]
name = "jump"    
command = D, $U
time = 20

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "ichigeki"
command = x+y+z

[Command]
name = "roman"
command = a+b+y

[Command]
name = "dead"
command = /F,y+z
time = 1

[Command]
name = "dead"
command = /F,c
time = 1

[Command]
name = "recover";Required (do not remove)
command = z
time = 1
[Command]
name = "recover";Required (do not remove)
command = x
time = 1
[Command]
name = "recover";Required (do not remove)
command = y
time = 1

[Command]
name = "dust";Required (do not remove)
command = y+b
time = 1

[Command]
name = "慣性ジャンプ"
command = U, F
time = 10

[Command]
name = "holdSZ"
command = /y+z
time = 1

[Command]
name = "holdC"
command = /c
time = 1

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

[Command]
name = "holdK"
command = /a
time = 1

[Command]
name = "holdHS"
command = /b
time = 1

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

[Command]
name = "holdZ"
command = /z
time = 1

[Command]
name = "foltlessZ"
command = /z
time = 1

[Command]
name = "burst"
command = c+a
time = 1

[Command]
name = "burst"
command = c+b
time = 1

[Command]
name = "burst"
command = c+x
time = 1

[Command]
name = "burst"
command = c+y
time = 1

[Command]
name = "burst"
command = /$F,z
time = 1

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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

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

;-| Hold Dir |--------------------------------------------------------------
[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 = "holdUF"
command = /UF
time = 1

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

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

[Command]
name = "holdDB"
command = /DB
time = 1

[Command]
name = "holdDF"
command = /DF
time = 1

[Command]
name = "holdD"
command = /D
time = 1

[Command]
name = "holdB"
command = /B
time = 1

[Command]
name = "holdF"
command = /F
time = 1

[command]
name="fwd"
command=F
time=1
[command]
name="back"
command=B
time=1
[command]
name="up"
command=U
time=1
[command]
name="down"
command=D
time=1

;-| 一撃BASARA技 |--------------------------------------------------------
[Command];神域
name = "神域"
command = ~D, B, D, F, z
time = 35


;-| BASARA技 |--------------------------------------------------------

[Command];神鏡
name = "神鏡"
command = ~D, B, D, B, z
time = 28

[Command];神烈
name = "神烈"
command = ~D, F, D, F, z
time = 28


;-| 必殺技 |------------------------------------------------------
[Command];神雫・地
name = "神雫・地"
command = ~D, DF, F, x

[Command];神雫・天
name = "神雫・天"
command = ~D, DF, F, y

[Command];神反・地
name = "神反・地"
command = ~D, B, x

[Command];神反・地(定置)
name = "神反・地(定置)"
command = ~B, D, DB, x

[Command];神反・天
name = "神反・天"
command = ~D, B, y

[Command];神反・天(定置)
name = "神反・天(定置)"
command = ~B, D, DB, y

[Command];神翔
name = "神翔"
command = ~F, D, DF, y

[Command];神陣
name = "神陣"
command = ~D, B, z

[Command];神速
name = "神速"
command = ~D, DF, F, 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 = "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


; Don't remove the following line. It's required by the CMD standard.
;-------------------------
;[Statedef -1]
;意味：
;	コマンド入力が可能ならば常時実行されるstate
[Statedef -1] ;この一行は削除しないで下さい

;===========================================================================
;                                 一撃BASARA技
;===========================================================================
;神域
[State -1, 神域]
type = ChangeState
value = 3500
triggerall = command = "神域"
triggerall = var(24) > 1
triggerall = !var(13)
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;一撃BASARA発動準備
[State -1, ichigeki]
type = ChangeState
value = 3499
triggerall = command = "b"||command = "ichigeki"
triggerall = fvar(30) >= 2
triggerall = var(24) = 0
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)

;===========================================================================
;                                 BASARA技
;===========================================================================
;---------------------------------------------------------------------------------------------
;神鏡
[State -1, 神鏡]
type = ChangeState
value = 3000
triggerall = power >= 1000
triggerall = command = "神鏡"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神烈
[State -1, 神烈]
type = ChangeState
value = 3100
triggerall = power >= 1000
triggerall = command = "神烈"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;===========================================================================
;                                 必殺技
;===========================================================================
;---------------------------------------------------------------------------------------------
;神雫・地
[State -1, 神雫・地]
type = ChangeState
value = 1000
triggerall = command = "神雫・地"
triggerall = numhelper(1010) != 3
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神翔
[State -1, 神翔]
type = ChangeState
value = 1200
triggerall = command = "神翔"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;空中神翔
[State -1, 神翔]
type = ChangeState
value = 1250
triggerall = command = "神翔"
trigger1 = statetype = A
trigger1 = ctrl||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620

;---------------------------------------------------------------------------------------------
;神雫・天
[State -1, 神雫・天]
type = ChangeState
value = 1050
triggerall = command = "神雫・天"
triggerall = numhelper(1010) != 3
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神反・地(定置)
[State -1, 神反・地]
type = ChangeState
value = 1105
triggerall = command = "神反・地(定置)"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神反・地
[State -1, 神反・地]
type = ChangeState
value = 1100
triggerall = command = "神反・地"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神反・天(定置)
[State -1, 神反・天]
type = ChangeState
value = 1115
triggerall = command = "神反・天(定置)"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神反・天
[State -1, 神反・天]
type = ChangeState
value = 1110
triggerall = command = "神反・天"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神陣
[State -1, 神陣]
type = ChangeState
value = 1300
triggerall = command = "神陣"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;---------------------------------------------------------------------------------------------
;神速
[State -1, 神速]
type = ChangeState
value = 1400
triggerall = command = "神速"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
Trigger11 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger12 = stateno = 3900

;===========================================================================
;                                 システム関連
;===========================================================================

;------------------------------------------------------------------------------------
;ガーキャン
[State -1, dead angle attack]
type = ChangeState
value = 910
triggerall = command = "dead"
triggerall = Power >= 1000
triggerall = command != "holddown"
trigger1 = Stateno = 150
trigger2 = Stateno = 151
trigger3 = Stateno = 152
trigger4 = Stateno = 153
;-------------------------------------------------------------------------------------
[State -1, FD]
type = varset
var(26) = 1
trigger1 = command = "holdback" 
trigger1 = command = "holdC"
trigger1 = (StateNo = [120,165])||movetype != H
trigger1 = power > 10
ignorehitpause = 1


[State -1, FD]
type = varset
var(26) = 2
trigger1 = command = "holdback" 
trigger1 = command = "holdP" && command = "holdS"
trigger1 = (StateNo = [120,165])||movetype != H
trigger1 = power > 10
ignorehitpause = 1


[state 120x,]
type = varset
triggerall = var(45) <= 2
triggerall = power > 10
triggerall = var(26)
triggerall = command = "holdback" 
trigger1 = ctrl || fvar(0) || (stateno = 52 && time > 0)||stateno = 100||stateno = 103
var(45)  = 2
ignorehitpause = 1

[State -1, FD];パーフェクト
type = ChangeState
value = 120
triggerall = var(45) <= 2
triggerall = power > 10
triggerall = var(26)
triggerall = command = "holdback" 
trigger1 = ctrl || fvar(0) || (stateno = 52 && time > 0)||stateno = 100||stateno = 103
;------------------------------------------------------------------------------------
;パーフェクト
[State -1, foltless]
type = ChangeState
value = 120
triggerall = var(26)
triggerall = command != "c"
triggerall = command != "start"
triggerall = Power > 10
trigger1 = ctrl || fvar(0)
trigger1 = stateno !=[101,102];空中ダッシュ中
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 450 || stateno = 650
trigger4 = var(59) = 0
trigger4 = time <= 2
;------------------------------------------------------------------------------------
;直前ガード
[state -1,tyokuga]
type = varset
triggerall = !var(35)
trigger1 = command = "justDS" || command = "justDC"
trigger2 = Var(26)
trigger2 = Numhelper(11040)= 0
var(35)  = 30
ignorehitpause = 1
;---------------------------------------------------------------------------
;ブーストダッシュ
[State -1, Boost]
type = ChangeState
value = 3900
triggerall = var(5)
triggerall = command = "holdfwd"
trigger1 = stateno = 291 && movehit
trigger2 = stateno = 1006 && movehit
;---------------------------------------------------------------------------
;グレイブシュート
[State -1, dust attack]
type = ChangeState
value = 850
triggerAll = command = "holdfwd" && command = "holddown" && command = "c"||command = "holddown" && command = "c"||command = "holdfwd" && command = "holddown" && (command = "z"&&command = "y")||command = "holddown" && (command = "z"&&command = "y")
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 103
trigger3 = stateno = 100
Trigger4 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger5 = stateno = 3900
;---------------------------------------------------------------------------
;ハイジャンプ
[State -1]
type = ChangeState
value = 900
triggerall = command = "jump"
triggerall = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = [100,103]
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = command = "FF"
triggerall = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 200
trigger2 = movecontact
trigger2 = Var(10)
trigger3 = stateno = 210
trigger3 = movecontact
trigger3 = Var(10)
trigger4 = stateno = 220
trigger4 = movecontact
trigger4 = Var(10)
trigger5 = stateno = 1150
trigger5 = animelemtime(12) >= 0
trigger5 = Var(10)
trigger6 = stateno = 1151
trigger6 = animelemtime(12) >= 0
trigger6 = Var(10)

;---------------------------------------------------------------------------
[State -1, air dash];空中ダッシュ
type = ChangeState
value = 101
triggerall = command = "FF"
triggerall = command != "holdback" 
triggerall = Var(4) = 0
triggerall = pos y <= -50
triggerall = statetype = A
triggerall = Var(2) <= 1||Var(2) = 5
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = Var(8)
trigger3 = stateno = 610
trigger3 = movecontact
Trigger3 = Var(8)
trigger4 = stateno = 620
trigger4 = movecontact
;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
;---------------------------------------------------------------------------
[State -1, air dash];空中後ダッシュ
type = ChangeState
value = 102
triggerall = command = "BB"
triggerall = command != "holdfwd" 
triggerall = Var(4) = 0
triggerall = statetype = A
triggerall = Var(2) <= 1||Var(2) = 5
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 600
trigger2 = movecontact
Trigger2 = Var(8)
trigger3 = stateno = 610
trigger3 = movecontact
Trigger3 = Var(8)
trigger4 = stateno = 620
;---------------------------------------------------------------------------
;吹き飛ばし攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 290
TriggerAll = command = "c"||(command = "z"&&command = "y")
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl|| fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
Trigger4 = (HitOver && (StateNo = 5001 || StateNo = 5011)) || (StateNo = 5120 && AnimTime = 0)
trigger5 = stateno = 3900
;---------------------------------------------------------------------------
;投げ
[State -1, Throw]
type = ChangeState
value = 800
triggerall = command = "z"
triggerall = statetype = S
triggerall = ctrl || fvar(0)
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X <= 20
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X <= 20
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------
[State -1, 立ち→中]
type = ChangeState
value = 250
triggerall = command = "y"
triggerall = command != "z"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, 立ち→強]
type = ChangeState
value = 260
triggerall = command = "z"
triggerall = command != "y"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = Var(21)
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = Var(21)
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = Var(21)
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = Var(21)
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = Var(21)
trigger8 = movecontact
trigger8 = stateno = 220
trigger9 = Var(21)
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = Var(21)
trigger10 = movecontact
trigger10 = stateno = 422
trigger11 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, 立ち弱]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl|| fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 200
trigger4 = animelemtime(4) >= 0
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, 立ち中]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = Var(21)
trigger5 = movecontact
trigger5 = stateno = 400
trigger6 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, 立ち強]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = Var(21)
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = Var(21)
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = Var(21)
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, 挑発]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 210
trigger6 = movecontact
trigger6 = stateno = 220
trigger7 = movecontact
trigger7 = stateno = 400
trigger8 = movecontact
trigger8 = stateno = 410
trigger9 = movecontact
trigger9 = stateno = 421
trigger10 = movecontact
trigger10 = stateno = 422
trigger11 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, しゃがみ弱]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = stateno = 400
trigger4 = animelemtime(4) >= 0
trigger5 = movecontact
trigger5 = stateno = 200
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, しゃがみ中]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl || fvar(0)
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 400
trigger6 = Var(21)
trigger6 = movecontact
trigger6 = stateno = 210
trigger7 = stateno = 3900
;------------------------------------------------------------------------------
[State -1, しゃがみ強]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 103
trigger4 = movecontact
trigger4 = stateno = 200
trigger5 = movecontact
trigger5 = stateno = 400
trigger6 = movecontact
trigger6 = stateno = 210
trigger6 = Var(21)
trigger7 = movecontact
trigger7 = stateno = 410
trigger7 = Var(21)
trigger8 = movecontact
trigger8 = stateno = 220
trigger8 = Var(21)
trigger9 = stateno = 3900
;---------------------------------------------------------------------------
;エリアルスパイク
[State -1, Jump dust]
type = ChangeState
value = 650
triggerall = command = "z"
triggerall = command = "holddown"
Triggerall = Var(8)
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact
;------------------------------------------------------------------------------
[State -1, ジャンプ弱]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = animelemtime(5) >= 0
trigger3 = stateno = 600
trigger3 = movecontact
Trigger3 = !Var(8)
trigger4 = stateno = 610
trigger4 = movecontact
Trigger4 = Var(8)
trigger5 = stateno = 620
trigger5 = movecontact
Trigger5 = Var(8)
;---------------------------------------------------------------------------
[State -1, ジャンプ中]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 620
trigger3 = movecontact
Trigger3 = Var(8)
;---------------------------------------------------------------------------
[State -1, ジャンプ強]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl || fvar(0)||(stateno=[101,102])&&time > 6
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
Trigger3 = Var(8)
;---------------------------------------------------------------------------
[State 50, 0];二段ジャンプ
type = ChangeState
TriggerAll = Var(58) != 1
triggerall = command = "holdup"
triggerall = command != "z"
triggerall = stateno = 50
triggerall = Ctrl = 1
trigger1 = numhelper(6030) = 0
trigger1 = var(2) = 1
trigger2 = var(48) = 3
value = 45
ctrl = 1
;---------------------------------------------------------------------------
;空中ハイジャンプキャンセル
[State -1, Air Jump cansel]
type = varset
triggerall = command = "jump"
triggerall = statetype = A
triggerall = var(2) <= 1
trigger1 = stateno = 600
trigger1 = movecontact
trigger1 = var(10)
trigger2 = stateno = 610
trigger2 = movecontact
trigger3 = stateno = 620
trigger3 = movecontact
trigger3 = var(10)
v = 3
value = 1
ignorehitpause = 1

;空中ジャンプキャンセル
[State -1, Air Jump cansel]
type = ChangeState
value = 45
triggerall = command = "holdup"
triggerall = statetype = A
triggerall = var(2) <= 1
trigger1 = stateno = 600
trigger1 = movecontact
trigger1 = var(10)
trigger2 = stateno = 610
trigger2 = movecontact
trigger3 = stateno = 620
trigger3 = movecontact
trigger3 = var(10)

;---------------------------------------------------------------------------
;ハイジャンプキャンセル
[State -1, Jump cansel]
type = ChangeState
value = 900
triggerall = command = "jump"
triggerall = statetype = S
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 410
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger3 = Var(10)
trigger4 = stateno = 220
trigger4 = movecontact
trigger4 = Var(10)
trigger5 = stateno = 400
trigger5 = movecontact
trigger5 = Var(10)
trigger6 = stateno = 421
trigger6 = movecontact
trigger6 = Var(10)
trigger7 = stateno = 422
trigger7 = movecontact
trigger7 = Var(10)
trigger8 = stateno = 1310
trigger8 = movecontact
trigger9 = stateno = 1320
trigger9 = movecontact
trigger10 = stateno = 1330
trigger10 = movecontact
trigger11 = stateno = 1000
trigger11 = Var(21)
trigger11 = animelemtime(4) >= 0
trigger12 = stateno = 1050
trigger12 = Var(21)
trigger12 = animelemtime(5) >= 0

;---------------------------------------------------------------------------
;ジャンプ仕込み
[State -1, Jump cansel]
type = varset
var(48) = 1
triggerall = command = "holdup"
triggerall = command != "jump"
triggerall = statetype != A
triggerall = stateno != 900
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 410
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger3 = Var(10)
trigger4 = stateno = 220
trigger4 = movecontact
trigger4 = Var(10)
trigger5 = stateno = 400
trigger5 = movecontact
trigger5 = Var(10)
trigger6 = stateno = 421
trigger6 = movecontact
trigger6 = Var(10)
trigger7 = stateno = 422
trigger7 = movecontact
trigger7 = Var(10)
trigger8 = stateno = 1310
trigger8 = movecontact
trigger9 = stateno = 1320
trigger9 = movecontact
trigger10 = stateno = 1330
trigger10 = movecontact
trigger11 = stateno = 1000
trigger11 = Var(21)
trigger11 = animelemtime(4) >= 0
trigger12 = stateno = 1050
trigger12 = Var(21)
trigger12 = animelemtime(5) >= 0
ignorehitpause = 1

;---------------------------------------------------------------------------
;ジャンプキャンセル
[State -1, Jump cansel]
type = ChangeState
value = 40
triggerall = command = "holdup"
triggerall = statetype != A
trigger1 = stateno = 210
trigger1 = movecontact
trigger2 = stateno = 410
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger3 = Var(10)
trigger4 = stateno = 220
trigger4 = movecontact
trigger4 = Var(10)
trigger5 = stateno = 400
trigger5 = movecontact
trigger5 = Var(10)
trigger6 = stateno = 421
trigger6 = movecontact
trigger6 = Var(10)
trigger7 = stateno = 422
trigger7 = movecontact
trigger7 = Var(10)
trigger8 = stateno = 1310
trigger8 = movecontact
trigger9 = stateno = 1320
trigger9 = movecontact
trigger10 = stateno = 1330
trigger10 = movecontact
trigger11 = stateno = 1000
trigger11 = Var(21)
trigger11 = animelemtime(4) >= 0
trigger12 = stateno = 1050
trigger12 = Var(21)
trigger12 = animelemtime(5) >= 0


