;-| Button Remapping |-----------------------------------------------------
;操作（デフォルト）
;xバスター
;yリフレクト
;z特殊武器チェンジ右
;aジャンプ
;bダッシュ
;cギガアタック
;s特殊武器チェンジ左
;デフォルト（PS）
;x□
;y△
;zR1
;a?
;b◯
;cR2
;sL1
;[Remap]
;x = x
;y = y
;z = z
;a = a
;b = b
;c = c
;s = s
;ロクゼロ風
;x□
;yR1
;z△
;a?
;bL1
;cR2
;s◯
[Remap]
x = x
y = z
z = b
a = a
b = s
c = c
s = y

;-| Default Values |-------------------------------------------------------
[Defaults]
command.time = 15
command.buffer.time = 1


;-| Super Motions |--------------------------------------------------------
;

[Command]
name = "Shungokusatsu"   ;Same name as above
command = ~x, x, $F, y, c
time = 32

[Command]
name = "Shungokusatsu"   ;Same name as above
command = ~x, x, $F, y+c
time = 32

[Command]
name = "Shungokusatsu"   ;Same name as above
command = ~x, x, F+y+c
time = 32

[Command]
name = "Shungokusatsu"   ;Same name as above
command = ~x, x+F+y+c
time = 32

[Command]
name = "Misogi"   ;Same name as above
command = ~D, D, D, x+y+c
time = 25

[Command]
name = "MisogiEasy"   ;Same name as above
command = ~D, D, D, c
time = 25

[Command]
name = "DenjinHadouken"   ;Same name as above
command = ~D, F, D, F, x+y
time = 25

[Command]
name = "HyperHadouken"   ;Same name as above
command = ~D, F, D, F, x+y+c
time = 25

[Command]
name = "MetsuHadouken"   ;Same name as above
command = ~D, F, D, F, x+a+c
time = 25

[Command]
name = "Shinryuken"
command = ~D, F, D, F, a+b+c
time = 25

[Command]
name = "Shinryuken"
command = ~D, F, D, F, a+y+c
time = 25

[Command]
name = "ShinShoryuken"
command = ~D, F, D, F, a+b
time = 25

[Command]
name = "ShinShoryuken"
command = ~D, F, D, F, a+c
time = 25

[Command]
name = "ShinkuuHadouken1"
command = ~D, F, D, F, x
time = 25

[Command]
name = "ShinkuuHadouken2"   ;Same name as above
command = ~D, F, D, F, y
time = 25

[Command]
name = "ShouryuReppa1"
command = ~D, F, D, F, a
time = 25

[Command]
name = "ShouryuReppa2"
command = ~D, F, D, F, b
time = 25

[Command]
name = "MvCShinkuuHadouken"   ;Same name as above
command = ~D, F, D, F, c
time = 25

[Command]
name = "SmashKFUpper"   ;Same name as above
command = ~D, DB, B, D, DB, B, y;~F, D, DF, F, D, DF, y
time = 32

[Command]
name = "Secret4"
command = ~F, B, D, DF, c
time = 36

[Command]
name = "Secret3EX"
command = ~F, D, B, D, x+y
time = 36

[Command]
name = "Secret3H"
command = ~F, D, B, D, y
time = 36

[Command]
name = "Secret3L"
command = ~F, D, B, D, x
time = 36

[Command]
name = "Secret2"
command = ~D, B, D, F, x
time = 36

[Command]
name = "Secret2"
command = ~D, B, D, F, y
time = 36

[Command]
name = "Secret"
command = ~F, B, D, F, x
time = 36

[Command]
name = "Secret"
command = ~F, B, D, F, y
time = 36

;-| Special Motions |------------------------------------------------------
[Command]
name = "G_Cutter"
command = ~F, D, DF, c
time = 16
[Command]
name = "Shoryuken1"
command = ~F, D, DF, x
time = 16
[Command]
name = "Shoryuken2"
command = ~F, D, DF, y
time = 16
[Command]
name = "ShoryukenEX"
command = ~F, D, DF, x+y
time = 16
[Command]
name = "Ashura1"
command = ~F, D, DF, x+a
time = 16
[Command]
name = "Ashura2"
command = ~F, D, DF, y+b
time = 16
[Command]
name = "Ashura2"
command = ~F, D, DF, y+a
time = 16


[Command]
name = "Reppuu1"
command = ~F, D, x
time = 16

[Command]
name = "Reppuu2"
command = ~F, D, y
time = 16

[Command]
name = "Hadouken1"
command = ~D, F, x
time = 16

[Command]
name = "Hadouken2"
command = ~D, F, y
time = 16

[Command]
name = "Tatsumaki"
command = ~D, B ,y
time = 16

[Command]
name = "HadoukenEX"
command = ~D, F, x+y
time = 16

[Command]
name = "Hadouken1"
command = ~D, F, x
time = 16

[Command]
name = "Hadouken2"
command = ~D, F, y
time = 16

[Command]
name = "Tatsumaki1"
command = ~D, F, a
time = 16

[Command]
name = "Tatsumaki2"
command = ~D, F, b
time = 16

[Command]
name = "TatsumakiEX"
command = ~D, F, a+b
time = 16

[Command]
name = "TatsumakiEX"
command = ~D, F, a+c
time = 16

[Command]
name = "TatsumakiEX"
command = ~D, F, b+c
time = 16

[Command]
name = "TatsumakiR1"
command = ~D, B, a
time = 16

[Command]
name = "TatsumakiR2"
command = ~D, B, b
time = 16

[Command]
name = "TatsumakiREX"
command = ~D, B, a+b
time = 16

[Command]
name = "TatsumakiREX"
command = ~D, B, a+c
time = 16

[Command]
name = "TatsumakiREX"
command = ~D, B, b+c
time = 16

[Command]
name = "Tatsumaki"
command = ~D, B ,y
time = 16

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



;-| 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

[Command]
name = "UU"     ;Required (do not remove)
command = U, U
time = 20

[Command]
name = "DD"     ;Required (do not remove)
command = D, D
time = 10
;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

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

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

;-| Single Button |---------------------------------------------------------
[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 = "fwd"
command = F
time = 1

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

[Command]
name = "down"
command = D
time = 1

[Command]
name = "up"
command = U
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 = "hold_x"
command = /x
time = 1

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

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

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

[Command]
name = "hold_s"
command = /s
time = 1

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

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

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

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

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

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

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

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

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

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

[Statedef -1]
;===========================================================================
;瞬獄殺
;===========================================================================
[State -1]
type = ChangeState
value = 1450
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = (var(30) < 3 && life >= lifemax) || (var(30) = 3 && fvar(30) >= 1)
triggerall = power >= 4000
triggerall = command = "Shungokusatsu"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [400,449]
trigger5 = stateno = [1400,1402]
;===========================================================================
;禊（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1420
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3 && fvar(30) >= 1
triggerall = power >= 4000
triggerall = command = "Misogi"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [400,449]
trigger5 = stateno = [1400,1402]
;===========================================================================
;禊（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 1420
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 0
triggerall = power >= 4000
triggerall = command = "MisogiEasy"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [400,449]
trigger5 = stateno = [1400,1402]
;===========================================================================
;千拳唯打掌（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 7500
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = var(30) < 3
triggerall = life >= lifemax && power >= 4000
triggerall = command = "MvCShinkuuHadouken"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 450
trigger5 = stateno = 2450
;===========================================================================
;滅・波動拳
;===========================================================================
[State -1]
type = ChangeState
value = 1146
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = fvar(30) >= 0.5
triggerall = command = "MetsuHadouken"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;MVC真空波動拳
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(statetype!=A,1130,1135)
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 4000
triggerall = command = "HyperHadouken"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210 && statetype = A
trigger16 = stateno = 1212 && statetype = A
trigger17 = stateno = 1213 && statetype = A
trigger18 = stateno = [1302,1305]
;===========================================================================
;電刃波動拳
;===========================================================================
[State -1]
type = ChangeState
value = 1140
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 3000
triggerall = command = "DenjinHadouken"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210 && statetype != A
trigger16 = stateno = 1212 && statetype != A
trigger17 = stateno = 1213 && statetype != A
;===========================================================================
;神龍拳
;===========================================================================
[State -1]
type = ChangeState
value = 1260
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = (var(30) < 3 && life >= lifemax) || var(30) = 3
triggerall =  power >= 4000
triggerall = ifelse(var(30)<3,command = "MvCShinkuuHadouken",command = "Shinryuken")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210 && statetype != A
trigger16 = stateno = 1212 && statetype != A
trigger17 = stateno = 1213 && statetype != A
;===========================================================================
;真・昇龍拳
;===========================================================================
[State -1]
type = ChangeState
value = 1270
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 3000
triggerall = command = "ShinShoryuken"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210 && statetype != A
trigger16 = stateno = 1212 && statetype != A
trigger17 = stateno = 1213 && statetype != A
;===========================================================================
;昇龍裂破
;===========================================================================
[State -1]
type = ChangeState
value = 1255
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 2000
triggerall = command = "ShouryuReppa1" || command = "ShouryuReppa2"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210
trigger16 = stateno = 1212
trigger17 = stateno = 1213
trigger18 = stateno = [1302,1305]
trigger19 = stateno = 1121 &&  statetype = A
;===========================================================================
;昇龍裂破
;===========================================================================
[State -1]
type = ChangeState
value = 1250
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) < 3
triggerall = life >= lifemax && power >= 4000
triggerall = command = "ShinkuuHadouken2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]

;===========================================================================
;真空竜巻（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1350
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) < 3
triggerall = life >= lifemax && power >= 4000
triggerall = command = "ShinkuuHadouken2"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = [400,449]
trigger3 = stateno = 1200
trigger4 = stateno = [1300,1301]

;===========================================================================
;真空波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1121
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = (var(30) < 3 && life >= lifemax) || var(30) = 3
triggerall = power >= ifelse(var(30)=3,2000,4000)
triggerall = command = "ShinkuuHadouken1" || (command = "ShinkuuHadouken2" && var(30) = 3)
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = [400,449]
trigger3 = stateno = 1200
trigger4 = stateno = [1300,1301]
trigger5 = stateno = 1210 && statetype = A
trigger6 = stateno = 1212 && statetype = A
trigger7 = stateno = 1213 && statetype = A
trigger8 = stateno = [1302,1305]
trigger9 = stateno = 1350
;===========================================================================
;真空波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1120
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = (var(30) < 3 && life >= lifemax) || var(30) = 3
triggerall = power >= ifelse(var(30)=3,2000,4000)
triggerall = command = "ShinkuuHadouken1" || (command = "ShinkuuHadouken2" && var(30) = 3)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
trigger14 = stateno = 1112
trigger15 = stateno = 1210 && statetype != A
trigger16 = stateno = 1212 && statetype != A
trigger17 = stateno = 1213 && statetype != A
;===========================================================================
;??????
;===========================================================================
[State -1]
type = ChangeState
value = 1245
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
;triggerall = life <= 250
triggerall = (command = "Secret3L"||command = "Secret3H")||command = "Secret3EX"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;??????
;===========================================================================
[State -1]
type = ChangeState
value = 1230
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
;triggerall = life <= 250
triggerall = command = "Secret4"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;??????
;===========================================================================
[State -1]
type = ChangeState
value = 1240
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
;triggerall = life <= 250
triggerall = command = "G_Cutter"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;??????
;===========================================================================
[State -1]
type = ChangeState
value = 1125
triggerall = var(59) = 0
triggerall = var(31) < 2
triggerall = var(30) = 3
;triggerall = life <= 250
triggerall = ifelse(var(31)=0,command = "Secret",command = "Secret2")
triggerall = statetype != A
trigger1 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger2 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger3 = stateno = [400,449]
trigger4 = stateno = [1400,1402]
trigger5 = stateno = 450
trigger6 = stateno = 2450
trigger7 = (StateNo = 1600 || StateNo = 1610 || StateNo = 1620 || StateNo = 1630) && Time >= 20
trigger8 = (StateNo = 1640 || StateNo = 1650 || StateNo = 1660 || StateNo = 1670) && Time >= 20

;===========================================================================
;阿修羅閃空（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1400
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = life >= lifemax && var(30) < 3 || var(30) = 3
triggerall = command = "Ashura1" || (command = "Ashura2" && var(30) = 3)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;EX昇龍拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1213
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 1000
triggerall = command = "ShoryukenEX"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1110
;===========================================================================
;昇龍拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(command="Shoryuken1",1210,1212)
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = command = "Shoryuken1" || command = "Shoryuken2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;昇龍拳（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 1200
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = command = "Shoryuken1"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;ダブルキック（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 7200
triggerall = var(59) = 0
triggerall = statetype != A
triggerall = var(31) = 1
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = command = "Shoryuken2"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]
trigger5 = stateno = 450
trigger6 = stateno = 2450
;===========================================================================
;ファイヤースピナー（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 7300
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = command = "Hadouken2"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]
trigger5 = stateno = 450
trigger6 = stateno = 2450
trigger7 = stateno = 460
trigger8 = stateno = 2460
;===========================================================================
;EX竜巻旋風脚（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1305
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 1000
triggerall = command = "TatsumakiREX"
trigger1 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger2 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger3 = stateno = [400,449]
trigger4 = stateno = [1400,1402]
trigger5 = stateno = 1210
trigger6 = stateno = 1212
trigger7 = stateno = [1110,1111]
;===========================================================================
;竜巻旋風脚（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1303
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = command = "TatsumakiR1" || command = "TatsumakiR2"
trigger1 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger2 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger3 = stateno = [400,449]
trigger4 = stateno = [1400,1402]

;===========================================================================
;EX竜巻旋風脚（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1304
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = power >= 1000
triggerall = command = "TatsumakiEX"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;竜巻旋風脚（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1302
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = command = "Tatsumaki1" || command = "Tatsumaki2"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;EX斬空波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1113
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = numhelper(1101) < 1 || var(46) = 1
triggerall = power >= 1000
triggerall = command = "HadoukenEX"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger3 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger4 = stateno = 1210 && statetype = A
trigger5 = stateno = 1212 && statetype = A
trigger6 = stateno = [1302,1303]
;===========================================================================
;波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1112
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = numhelper(1101) < 1 || var(46) = 1
triggerall = power >= 1000
triggerall = command = "HadoukenEX"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
trigger13 = stateno = 1210 && statetype != A
trigger14 = stateno = 1212 && statetype != A
;===========================================================================
;???（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1190
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = numhelper(1101) < 1 || var(46) = 1
triggerall = command = "Reppuu1" || command = "Reppuu2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1110
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = numhelper(1101) < 1 || var(46) = 1
triggerall = command = "Hadouken1" || command = "Hadouken2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 200
trigger5 = stateno = 201
trigger6 = stateno = 202
trigger7 = stateno = 203
trigger8 = stateno = 204
trigger9 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger10 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20
trigger11 = stateno = [400,449]
trigger12 = stateno = [1400,1402]
;===========================================================================
;波動拳（１２P）
;===========================================================================
[State -1]
type = ChangeState
value = 1111
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = numhelper(1101) < 1 || var(46) = 1
triggerall = command = "Hadouken1" || command = "Hadouken2"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = 1500 || StateNo = 1510 || StateNo = 1520 || StateNo = 1530) && Time >= 20
trigger3 = (StateNo = 1540 || StateNo = 1550 || StateNo = 1560 || StateNo = 1570) && Time >= 20

;===========================================================================
;竜巻旋風脚（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 1300
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = command = "Hadouken2"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;斬空波動拳（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = 1107
triggerall = var(59) = 0
triggerall = var(31) < 1
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = command = "Hadouken1"
triggerall = statetype = A
trigger1 = ctrl

;===========================================================================
;波動拳or通し（１２P以外）
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(var(31)=0,1100,7100)
triggerall = var(59) = 0
triggerall = var(31) < 2
triggerall = var(30) < 3
triggerall = life >= lifemax
triggerall = numhelper(1101) < 1
triggerall = command = "Hadouken1"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 450
trigger5 = stateno = 2450

;===========================================================================
;セービング（１２Pのみ）
;===========================================================================
[State -1]
type = ChangeState
value = 445
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = var(30) = 3
triggerall = command = "Saving"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = 1110 && power >= 2000
trigger5 = stateno = 1112 && power >= 2000
trigger6 = stateno = 1210 && statetype != A && power >= 2000
trigger7 = stateno = 1212 && statetype != A && power >= 2000
trigger8 = stateno = 1213 && statetype != A && power >= 2000

;---------------------------------------------------------------------------
[State -1];壁蹴り
type = ChangeState
value = 300
triggerall = var(59) = 0
trigger1 = StageVar(Info.Name) != "Sky Days"
triggerall = frontedgedist <= 1
triggerall = command = "holdfwd"
triggerall = p2name != "iX"
triggerall = p4name != "iX"
triggerall = p2name != "Omega Zero"
triggerall = p4name != "Omega Zero"
triggerall = p2name != "Vile MMHX"
triggerall = p4name != "Vile MMHX"
triggerall = p2name != "skiver"
triggerall = p4name != "skiver"
triggerall = !(enemy,name = "VAVA MK2" && enemy,var(58) > 0)
triggerall = !(enemy,name = "VAVA MK2" && enemy,stateno = 106)
triggerall = !(enemy,name = "VAVA MK2" && enemy,stateno = 111)
triggerall = statetype = A
triggerall = pos y <= -20
;triggerall = pos y >= -180
triggerall = anim != 310
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1,];Xコンバット空刃
type = ChangeState
value = 430
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y" && command = "holddown"
triggerall = statetype = A
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1,];Xコンバット空中ダッシュ
type = ChangeState
value = 441
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y"
triggerall = statetype = A
trigger1 = stateno = 110
;---------------------------------------------------------------------------
[State -1,];Xコンバットダッシュ
type = ChangeState
value = ifelse(life>=lifemax,442,440)
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y"
triggerall = statetype != A
trigger1 = stateno = 100 && ctrl = 0
;---------------------------------------------------------------------------
[State -1,];Xコンバット空中
type = ChangeState
value = 420
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y"
triggerall = statetype = A
triggerall = stateno != 110
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1,];Xコンバットしゃがみ
type = ChangeState
value = 410
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y"
triggerall = statetype = C
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1,];Xコンバット立ち
type = ChangeState
value = 400
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "y" 
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 20
triggerall = stateno != 100

;---------------------------------------------------------------------------
;壁セイバー
[State -1]
type = ChangeState
value = 470
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = command = "y"
triggerall = stateno = 300 || stateno = 470 || stateno = 2470
triggerall = time >= 1;animelem = 4,>0
trigger1 = ctrl
;---------------------------------------------------------------------------
;空中Zセイバー
[State -1]
type = ChangeState
value = 460
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Zセイバー
[State -1]
type = ChangeState
value = 450
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = command = "y"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
;---------------------------------------------------------------------------
;アーム展開
[State -1]
type = ChangeState
value = 1030
triggerall = var(59) = 0
triggerall = fvar(39) <= 0
triggerall = var(31) = 2
triggerall = command = "y"
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20

;---------------------------------------------------------------------------
[State -1];ジャンプ
type = ChangeState
value = 50
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
;---------------------------------------------------------------------------
[State -1,];ダッシュ
type = ChangeState
value = 100
triggerall = var(59) = 0
triggerall = command = "FF" || command = "b" 
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 20
;---------------------------------------------------------------------------
[State -1];ヴァリアブルエアダッシュ
type = ChangeState
value = 112
triggerall = var(59) = 0
triggerall = var(31) = 0
trigger1 = command = "UU"
trigger2 = command = "b" && command = "holdup"
triggerall = statetype = A
triggerall = ctrl
triggerall = (var(20) = 0 && var(30) = 0)||  (var(20) < 2 && var(30) = 3) 
triggerall = stateno != 300
triggerall = stateno != 420
triggerall = stateno != 450
;---------------------------------------------------------------------------
[State -1];エアダッシュ
type = ChangeState
value = 60
triggerall = var(59) = 0
triggerall = var(31) = 1
trigger1 = command = "a"
triggerall = statetype = A
triggerall = ctrl
triggerall = (var(20) = 0 && var(30) <  2) || (var(20) < 2 && var(30) = 3)
triggerall = stateno != 300
triggerall = stateno != 470
triggerall = stateno != 2470
triggerall = stateno != 60
;---------------------------------------------------------------------------
[State -1];エアダッシュ
type = ChangeState
value = 110
triggerall = var(59) = 0
trigger1 = command = "FF"
trigger2 = command = "b"
triggerall = statetype = A
triggerall = ctrl
triggerall = (var(20) = 0 && var(30) <  3) || (var(20) < 2 && var(30) = 3)
triggerall = stateno != 300
triggerall = stateno != 420
triggerall = stateno != 450
;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
[State -1];イクスバスター
type = ChangeState
value = 204
triggerall = var(59) = 0
triggerall = var(12) = 1
triggerall = var(57) = 0
triggerall = command = "x"
triggerall = ctrl
trigger1 = stateno = 0
trigger2 = stateno = 200
trigger3 = stateno = 201
trigger4 = stateno = 202
trigger5 = stateno = 203
trigger6 = stateno = 204

[State -1];イクスバスター
type = ChangeState
value = 200
triggerall = var(59) = 0
triggerall = var(12) < 1
triggerall = var(57) = 0
triggerall = command = "x"
triggerall = ctrl
trigger1 = stateno = 0
trigger2 = stateno = 200
trigger3 = stateno = 201
trigger4 = stateno = 202
trigger5 = stateno = 203
trigger6 = stateno = 204

[State -1]
type = ChangeState
triggerall = var(59) = 0
triggerall = var(31) = 0
triggerall = command = "c" && (command = "hold_z" && command = "hold_s")
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 1080

[State -1];ハイパーモード　アルティメット
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(39) <= 0
triggerall = var(31) = 0
triggerall = command = "c" && command = "holdup"
triggerall = (power >= 4000 && var(30) < 3) ||  var(30) = 3
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 1001

[State -1];ハイパーモード　Xファイア
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 0
triggerall = command = "c"
triggerall = (power >= 4000 && var(30) < 3) ||  var(30) = 3
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 1000

;===========================================================================
;ヴォルティックチェーン
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(numhelper(10001)>=1,6102,6100)
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 1
triggerall = (command = "holddown" && command = "c") && (command = "hold_z" && command = "hold_s")
triggerall = power >= 3000
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;スパークカリバー
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(statetype=A,6051,6050)
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 1
triggerall = (command = "holdfwd" && command = "c") && (command = "hold_z" && command = "hold_s")
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;ライトニングスフィア
;===========================================================================
[State -1]
type = ChangeState
value = ifelse(statetype=A,6001,6000)
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 1
triggerall = (command = "holdup" && command = "c") && (command = "hold_z" && command = "hold_s")
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
trigger4 = stateno = [10,12]

;===========================================================================
;ヴォルティクステンペスト
;===========================================================================
[State -1]
type = ChangeState
triggerall = var(59) = 0
triggerall = var(31) = 1
triggerall = fvar(38) <= 0
triggerall = numhelper(10001) > 0
triggerall = command = "c" && (command = "hold_z" && command = "hold_s")
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 6550

;===========================================================================
;アンリミテッドヴォルト
;===========================================================================
[State -1]
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 1
triggerall = numhelper(10001) < 1
triggerall = command = "c" && (command = "hold_z" && command = "hold_s")
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 6500

[State -1];アクショントリガー　Xファイア
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(38) <= 0
triggerall = var(31) = 1
triggerall = command = "c"
triggerall = (power >= 1 && var(30) < 1) || (power >= 4000 && var(30) = 1) || var(30) = 3
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 1010

[State -1];アクショントリガー　Xファイア
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(39) <= 0
triggerall = var(31) = 2
triggerall = command = "c"
triggerall = (power >= 1 && var(30) < 1) || (power >= 4000 && var(30) = 2) || var(30) = 3
trigger1 = stateno = 1031
trigger2 = stateno = 1040
trigger3 = stateno = 1041
trigger4 = stateno = 1042
value = 1052

[State -1];アクショントリガー　Xファイア
type = ChangeState
triggerall = var(59) = 0
triggerall = fvar(39) <= 0
triggerall = stateno != 1031
triggerall = var(31) = 2
triggerall = command = "c"
triggerall = (power >= 1 && var(30) < 1) || (power >= 4000 && var(30) = 2) || var(30) = 3
trigger1 = ctrl
trigger2 = stateno = 100
trigger3 = stateno = 20
value = 1051


