[Command]
Name = "waza1"
Command = ~F, D, DF, a
Time = 10

[Command]
Name = "waza2"
Command = ~D, B, b
Time = 10

[Command]
Name = "waza2.5"
Command = ~B, D, DB, b
Time = 10

[Command]
Name = "waza3x"
Command = ~D, F, x
Time = 10
[Command]
Name = "waza3y"
Command = ~D, F, y
Time = 10
[Command]
Name = "waza3z"
Command = ~D, F, z
Time = 10
[Command]
Name = "waza3xy"
Command = ~D, F, x+y
Time = 10
[Command]
Name = "waza3xz"
Command = ~D, F, x+z
Time = 10
[Command]
Name = "waza3xyz"
Command = ~D, F, x+y+z
Time = 10

[Command]
Name = "waza4x"
Command = ~D, B, x
Time = 10
[Command]
Name = "waza4y"
Command = ~D, B, y
Time = 10
[Command]
Name = "waza4z"
Command = ~D, B, z
Time = 10
[Command]
Name = "waza4xy"
Command = ~D, B, x+y
Time = 10
[Command]
Name = "waza4xz"
Command = ~D, B, x+z
Time = 10
[Command]
Name = "waza4xyz"
Command = ~D, B, x+y+z
Time = 10

[Command]
Name = "waza5x"
Command = ~B, D, F, x
Time = 20
[Command]
Name = "waza5y"
Command = ~B, D, F, y
Time = 20
[Command]
Name = "waza5z"
Command = ~B, D, F, z
Time = 20
[Command]
Name = "waza5xy"
Command = ~B, D, F, x+y
Time = 20
[Command]
Name = "waza5xz"
Command = ~B, D, F, x+z
Time = 20
[Command]
Name = "waza5xyz"
Command = ~B, D, F, x+y+z
Time = 20

[Command]
Name = "waza6"
Command = ~B, D, F, D, B, x+y+z
Time = 30

[Command]
Name = "waza6.5"
Command = ~F, D, B, D, F, x+y+z
Time = 30

[Command]
Name = "waza7"
Command = ~B, D, F, a
Time = 20

[Command]
Name = "waza8"
Command = ~F, D, B, a
Time = 20

[Command]
Name = "waza8.5"
Command = ~F, D, B, D, F, a
Time = 30

[Command]
Name = "waza9"
Command = ~B, D, F, B, D, F, a
Time = 40

[Command]
Name = "waza10"
Command = ~B, D, F, B, D, F, B, D, F, x+y+z
Time = 60

[Command]
Name = "FF"
Command = F, F
[Command]
Name = "BB"
Command = B, B

[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 = "xy"
Command = x+y
Time = 1
[Command]
Name = "xz"
Command = x+z
Time = 1
[Command]
Name = "xyz"
Command = x+y+z
Time = 1
[Command]
Name = "abc"
Command = a+b+c
Time = 1
[Command]
Name = "cz"
Command = c+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 = "up" 
Command = U
Time = 1
[Command]
Name = "down"
Command = D
Time = 1

[Command]
Name = "holda"
Command = /$a
Time = 1
[Command]
Name = "holdb"
Command = /$b
Time = 1
[Command]
Name = "holdc"
Command = /$c
Time = 1

[Command]
Name = "holdfwd"
Command = /$F
Time = 1
[Command]
Name = "holdback"
Command = /$B
Time = 1
[Command]
Name = "holdup" 
Command = /$U
Time = 1
[Command]
Name = "holddown"
Command = /$D
Time = 1

[Command]
Name = "recovery"
Command = a+b+c+x+y+z+s
Time = 0

[StateDef -1]

[State -2];当て身
type = ChangeState
value = 2000
Triggerall = command = "abc"
Triggerall = Life <= LifeMax/2 || Var(3) > 600
Triggerall = Power > 3000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -2];当て身(銀)
type = ChangeState
value = 2000
Triggerall = command = "abc"
Triggerall = Power > 5000
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -2];当て身
type = ChangeState
value = 2100
Triggerall = command = "waza2.5"
Triggerall = Life <= LifeMax/2 || Var(3) > 600
Triggerall = Power > 4000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];昇龍拳
type = ChangeState
value = 1100
Triggerall = command = "waza1"
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl
Trigger2 = stateno = 550

[State -1];竜巻旋風脚
type = ChangeState
value = 1200
Triggerall = command = "waza2"
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];壁五味波動
type = ChangeState
value = 1900
Triggerall = command = "waza10"
Triggerall = Life <= LifeMax/4 || Var(3) > 1800
Triggerall = Power > 5000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3rd壁波動
type = ChangeState
value = 1820
Triggerall = command = "waza9"
Triggerall = Life <= LifeMax/4 || Var(3) > 1800
Triggerall = Power > 5000
Triggerall = PalNo >= 7 && Var(7) = 1
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];五味波動拳
type = ChangeState
value = 1700
Triggerall = command = "waza6"
Triggerall = Life <= LifeMax/2 || Var(3) > 600
Triggerall = Power > 4000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];連続波動拳
type = ChangeState
value = 1750
Triggerall = command = "waza6.5"
Triggerall = Life <= LifeMax/2 || Var(3) > 600
Triggerall = Power > 4000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];落下波動拳
type = ChangeState
value = 1850
Triggerall = command = "waza8.5"
Triggerall = Life <= LifeMax/2 || Var(3) > 600
Triggerall = Power > 3000
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];初代覇王波動拳
type = ChangeState
value = 1605
Triggerall = command = "waza5xyz"
Triggerall = Power > 3000 && !NumProjID(105)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];覇王気功拳
type = ChangeState
value = 1603
Triggerall = command = "waza5xy"
Triggerall = Power > 2000 && !NumProjID(24)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];覇王ヨガ
type = ChangeState
value = 1604
Triggerall = command = "waza5xz"
Triggerall = Power > 2000 && !NumProjID(25)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];覇王波動拳
type = ChangeState
value = 1600
Triggerall = command = "waza5x"
Triggerall = Power > 2000 && !NumProjID(21)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];覇王ソニック
type = ChangeState
value = 1601
Triggerall = command = "waza5y"
Triggerall = Power > 2000 && !NumProjID(22)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];覇王タイガー
type = ChangeState
value = 1602
Triggerall = command = "waza5z"
Triggerall = Power > 2000 && !NumProjID(23)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];初代クロス波動拳
type = ChangeState
value = 1505
Triggerall = command = "waza4xyz"
Triggerall = Power > 2000 && !NumProjID(104)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロス気功拳
type = ChangeState
value = 1503
Triggerall = command = "waza4xy"
Triggerall = Power > 1000 && !NumProjID(19)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロス気功拳(銀)
type = ChangeState
value = 1503
Triggerall = command = "waza4xy"
Triggerall = Power > 2500 && !NumProjID(19)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスヨガ
type = ChangeState
value = 1504
Triggerall = command = "waza4xz"
Triggerall = Power > 1000 && !NumProjID(20)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスヨガ(銀)
type = ChangeState
value = 1504
Triggerall = command = "waza4xz"
Triggerall = Power > 2500 && !NumProjID(20)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロス波動拳
type = ChangeState
value = 1500
Triggerall = command = "waza4x"
Triggerall = Power > 1000 && !NumProjID(16)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロス波動拳(銀)
type = ChangeState
value = 1500
Triggerall = command = "waza4x"
Triggerall = Power > 2500 && !NumProjID(16)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスソニック
type = ChangeState
value = 1501
Triggerall = command = "waza4y"
Triggerall = Power > 1000 && !NumProjID(17)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスソニック(銀)
type = ChangeState
value = 1501
Triggerall = command = "waza4y"
Triggerall = Power > 2500 && !NumProjID(17)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスタイガー
type = ChangeState
value = 1502
Triggerall = command = "waza4z"
Triggerall = Power > 1000 && !NumProjID(18)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];クロスタイガー(銀)
type = ChangeState
value = 1502
Triggerall = command = "waza4z"
Triggerall = Power > 2500 && !NumProjID(18)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];初代3way波動拳
type = ChangeState
value = 1405
Triggerall = command = "waza3xyz"
Triggerall = Power > 2000 && !NumProjID(103)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3way気功拳
type = ChangeState
value = 1403
Triggerall = command = "waza3xy"
Triggerall = Power > 1000 && !NumProjID(14)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3way気功拳(銀)
type = ChangeState
value = 1403
Triggerall = command = "waza3xy"
Triggerall = Power > 2500 && !NumProjID(14)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayヨガ
type = ChangeState
value = 1404
Triggerall = command = "waza3xz"
Triggerall = Power > 1000 && !NumProjID(15)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayヨガ(銀)
type = ChangeState
value = 1404
Triggerall = command = "waza3xz"
Triggerall = Power > 2500 && !NumProjID(15)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3way波動拳
type = ChangeState
value = 1400
Triggerall = command = "waza3x"
Triggerall = Power > 1000 && !NumProjID(11)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3way波動拳(銀)
type = ChangeState
value = 1400
Triggerall = command = "waza3x"
Triggerall = Power > 2500 && !NumProjID(11)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayソニック
type = ChangeState
value = 1401
Triggerall = command = "waza3y"
Triggerall = Power > 1000 && !NumProjID(12)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayソニック(銀)
type = ChangeState
value = 1401
Triggerall = command = "waza3y"
Triggerall = Power > 2500 && !NumProjID(12)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayタイガー
type = ChangeState
value = 1402
Triggerall = command = "waza3z"
Triggerall = Power > 1000 && !NumProjID(13)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3wayタイガー(銀)
type = ChangeState
value = 1402
Triggerall = command = "waza3z"
Triggerall = Power > 2500 && !NumProjID(13)
Triggerall = PalNo = [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3rd波動拳
type = ChangeState
value = 1800
Triggerall = command = "waza7"
Triggerall = Power > 1000 && !NumProjID(106)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];3rd灼熱波動拳
type = ChangeState
value = 1810
Triggerall = command = "waza8"
Triggerall = Power > 2000 && !NumProjID(107)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];初代波動拳
type = ChangeState
value = 1005
Triggerall = command = "xyz"
Triggerall = Power > 1000 && !NumProjID(101)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];気功拳
type = ChangeState
value = 1003
Triggerall = P2Name != "Kamijo toma"
Triggerall = command = "xy"
Triggerall = !NumProjID(4)
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];ヨガ
type = ChangeState
value = 1004
Triggerall = P2Name != "Kamijo toma"
Triggerall = command = "xz"
Triggerall = !NumProjID(5)
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];波動拳
type = ChangeState
value = 1000
Triggerall = command = "x"
Triggerall = !NumProjID(1)
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];ソニック
type = ChangeState
value = 1001
Triggerall = command = "y"
Triggerall = !NumProjID(2)
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];タイガー
type = ChangeState
value = 1002
Triggerall = command = "z"
Triggerall = !NumProjID(3)
Trigger1 = RoundState = 2 && Life > 0 && StateType != A && Ctrl

[State -1];空中初代波動拳
type = ChangeState
value = 1305
Triggerall = command = "xyz"
Triggerall = Power > 1000 && !NumProjID(102)
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中気功拳
type = ChangeState
value = 1303
Triggerall = P2Name != "Kamijo toma"
Triggerall = command = "xy"
Triggerall = !NumProjID(9)
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中ヨガ
type = ChangeState
value = 1304
Triggerall = P2Name != "Kamijo toma"
Triggerall = command = "xz"
Triggerall = !NumProjID(10)
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中波動拳
type = ChangeState
value = 1300
Triggerall = command = "x"
Triggerall = !NumProjID(6)
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中ソニック
type = ChangeState
value = 1301
Triggerall = command = "y"
Triggerall = !NumProjID(7)
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中タイガー
type = ChangeState
value = 1302
Triggerall = command = "z"
Triggerall = !NumProjID(8)
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];立ちパンチ
type = ChangeState
value = 200
Triggerall = command = "a"
Trigger1 = RoundState = 2 && Life > 0 && StateType = S && Ctrl

[State -1];立ちキック
type = ChangeState
value = 250
Triggerall = command = "b"
Trigger1 = RoundState = 2 && Life > 0 && StateType = S && Ctrl

[State -1];しゃがみパンチ
type = ChangeState
value = 300
Triggerall = command = "a"
Trigger1 = RoundState = 2 && Life > 0 && StateType = C && Ctrl

[State -1];しゃがみキック
type = ChangeState
value = 350
Triggerall = command = "b"
Trigger1 = RoundState = 2 && Life > 0 && StateType = C && Ctrl

[State -1];空中パンチ
type = ChangeState
value = 400
Triggerall = command = "a"
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];空中キック
type = ChangeState
value = 450
Triggerall = command = "b"
Trigger1 = RoundState = 2 && Life > 0 && StateType = A && Ctrl

[State -1];投げ
type = ChangeState
value = 500
Triggerall = P2Name != "Kamijo toma"
Triggerall = command = "c"
Trigger1 = RoundState = 2 && Life > 0 && StateType = S && Ctrl

[State -2];ワープ
Type = ChangeState
Triggerall = command = "cz"
TriggerAll = P2Name != "Kamijo toma"
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType = A
Trigger1 = StateNo = [5000,5199]
Value = 600

[State -2];ピューン
Type = ChangeState
Triggerall = command = "cz"
TriggerAll = P2Name != "Kamijo toma"
Triggerall = PalNo != [4,6]
Trigger1 = RoundState = 2 && Life > 0 && StateType != A
Trigger1 = StateNo = [5000,5199]
Value = 650

[State -1];同時押しスペシャル
Type = ChangeState
Trigger1 = Command = "a" && AnimElem = 2,>1 && (Command="x"||Command="y"||Command="z"||Command="holdup") && ((StateNo=231&&Command="holddown") || (Command!="holddown"&&StateNo=330)) && RoundState = 2
Value=IFelse(Command="holdup",40,IFelse(Command="holddown",IFelse(Command="x",300,IFelse(Command="y",310,320)),IFelse(P2Dist X<60*Const(Size.XScale),IFelse(Command="x",201,IFelse(Command="y",211,221)),IFelse(Command="x",200,IFelse(Command="y",210,220)))))