[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| ad |-------------------------------------------------------
[Defaults]

command.time = 15

command.buffer.time = 1

;-| AI |------------------------------------------------------
[Command]
name = "CPU1"
command = U, D, F, U, D, F
time = 1

[Command]
name = "CPU2"
command = U, B, F, U, D, F
time = 1

[Command]
name = "CPU3"
command = U, D, D, U, D, F
time = 1

[Command]
name = "CPU4"
command = F, B, U, U, D, F, U, B, U, D, F
time = 1

[Command]
name = "CPU5"
command = U, F, U, B, U, D, F
time = 1

[Command]
name = "CPU6"
command = U, D, B, U, B, U, D, F
time = 1

[Command]
name = "CPU7"
command = F, F, B, U, B, U, D, F
time = 1

[Command]
name = "CPU8"
command = U, D, U, U, B, U, D, F
time = 1

[Command]
name = "CPU9"
command = F, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU10"
command = F, F, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU11"
command = U, U, F, U, B, U, D, F
time = 1

[Command]
name = "CPU12"
command = U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU13"
command = U, B, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU14"
command = U, F, B, U, U, B, U, D, F
time = 1

[Command]
name = "CPU15"
command = U, B, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU16"
command = U, B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU17"
command = U, D, B, F, U, B, U, D, F
time = 1

[Command]
name = "CPU18"
command = U, D, B, D, U, B, U, D, F
time = 1

[Command]
name = "CPU19"
command = U, D, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU20"
command = U, D, U, B, U, B, U, D, F
time = 1

[Command]
name = "CPU21"
command = U, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU22"
command = F, F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU23"
command = U, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU24"
command = B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU25"
command = D, D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU26"
command = D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU27"
command = F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU28"
command = U, U, U, U, B, U, D, F
time = 1

[Command]
name = "CPU29"
command = U, U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU30"
command = D, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU31"
command = U, D, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU32"
command = U, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU33"
command = U, D, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU34"
command = F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU35"
command = U, F, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU36"
command = U, D, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU37"
command = F, F, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU38"
command = U, D, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU39"
command = F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU40"
command = F, F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU41"
command = U, U, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU42"
command = U, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU43"
command = U, B, F, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU44"
command = U, F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU45"
command = U, B, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU46"
command = U, B, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU47"
command = U, D, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU48"
command = U, D, B, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU49"
command = U, D, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU50"
command = U, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU51"
command = U, D, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU52"
command = U, B, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU53"
command = U, D, D, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU54"
command = F, B, U, U, D, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU55"
command = U, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU56"
command = U, D, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU57"
command = F, F, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU58"
command = U, D, U, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU59"
command = F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU60"
command = F, F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

;--------------------------------------------------------------
[Command]
name = "一闪"
command = ~D, F, D, F, z
time = 30

[Command]
name = "忍之终结杀戮"
command = ~D, F, D, F, c
time = 30
;------------------------------------------------------------
;二气
[Command]
name = "忍之残杀"
command = ~D, F, D, F, y
time = 30

[Command]
name = "忍之切割"
command = ~D, B, D, B, z
time = 30

[Command]
name = "终极忍之杀戮"
command = ~D, F, D, F, b
time = 30

[Command]
name = "忍之手里剑"
command = ~D, B, D, B, b
time = 30

[Command]
name = "忍之护身"
command = ~D, B, D, B, y
time = 30

;一气
[Command]
name = "忍之气流"
command = ~D, F, D, F, x
time = 30

[Command]
name = "忍之火流术"
command = ~D, F, D, F, a
time = 30

[Command]
name = "八稚女"
command = ~D, B, D, B, a
time = 30

[Command]
name = "忍之飞刃"
command = ~D, B, D, B, x
time = 30
;--------------------------------------------------------------
[Command]
name = "忍符咒"
command = ~D,F, z
time = 30

[Command]
name = "忍之追杀"
command = ~B,F, y
time = 30

[Command]
name = "忍之地爆"
command = ~D,D, z
time = 30

[Command]
name = "忍之空袭"
command = ~D,D, c
time = 30

[Command]
name = "忍之前踢"
command = ~B,F, b
time = 30

[Command]
name = "忍之刺杀"
command = ~D,F, c
time = 30

[Command]
name = "忍之连踢"
command = ~F,D,F, b
time = 30

[Command]
name = "前瞬移"
command = ~D,B, b
time = 10

[Command]
name = "后瞬移"
command = ~D,B, a
time = 10

[Command]
name = "忍之反击"
command = ~D,B, c
time = 10

[Command]
name = "忍之复仇A"
command = ~D,B, x
time = 10

[Command]
name = "忍摔"
command = ~D,B, y
time = 10

[Command]
name = "忍之刃A"
command = ~D,F, a
time = 10

[Command]
name = "忍之刃B"
command = ~D,F, b
time = 10

[Command]
name = "飞道慢"
command = ~D,F, x
time = 10

[Command]
name = "飞道快"
command = ~D,F, y
time = 10

[Command]
name = "忍之切割"
command = ~B, F, x
time = 10

[Command]
name = "小升龙A"
command = ~F,D,F, x
time = 30

[Command]
name = "大升龙A"
command = ~F,D,F, y
time = 30

[Command]
name = "忍之暗杀"
command = ~B,F, z
time = 30

[Command]
name = "忍术（火）"
command = ~B,F, s
time = 30

;-| 俀夞墴偟媄 |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

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

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

[Command]
name = "ax"
command = a+x
time = 1

[Command]
name = "by"
command = b+y
time = 1

[Command]
name = "recovery"
command = z
time = 1

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

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

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

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

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

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

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

[Command]
name = "fwd_x"
command = /F,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_x"
command = /x
time = 1

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

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

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

[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

[statedef -1]

[State -1, 忍之护身]
type = ChangeState
value = 3100
triggerall = var(17)= 0
Triggerall = var(59) = 0
triggerall = command = "忍之护身"
triggerall = statetype != A
triggerall = numhelper(9998) = 0
triggerall = power>=2000
triggerall = life<=300
trigger1 = ctrl

[State -1,一闪]
type = ChangeState
value = 3200
triggerall = var(59)= 0
triggerall = command = "一闪"
triggerall = power >= 3000 && Life<=300
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之终结杀戮]
type = ChangeState
value = 3000
triggerall = var(59)= 0
triggerall = command = "忍之终结杀戮"
triggerall = power >= 3000 && Life<=300
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之切割]
type = ChangeState
value = 2500
triggerall = var(59)= 0
triggerall = command = "忍之切割"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之手里剑]
type = ChangeState
value = 2400
triggerall = var(59)= 0
triggerall = command = "忍之手里剑"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 终极忍之杀戮]
type = ChangeState
value = 2300
triggerall = var(59)= 0
triggerall = command = "终极忍之杀戮"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之残杀]
type = ChangeState
value = 2200
triggerall = var(59)= 0
triggerall = command = "忍之残杀"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之飞刃]
type = ChangeState
value = 2150
triggerall = var(59)= 0
triggerall = command = "忍之飞刃"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 207 && movecontact
trigger3 = stateno = 209 && movecontact
trigger4 = stateno = 210 && movecontact
trigger5 = stateno = 240 && movecontact
trigger6 = stateno = 245 && movecontact
trigger7 = stateno = 500 && movecontact
trigger8 = stateno = 1300 && movecontact
trigger9 = stateno = 1401 && movecontact
trigger10 = stateno = 1260 && movecontact
trigger11 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 八稚女]
type = ChangeState
value = 2100
triggerall = var(59)= 0
triggerall = command = "八稚女"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 240 && movecontact
trigger3 = stateno = 245 && movecontact
trigger4 = stateno = 500 && movecontact
trigger5 = stateno = 1300 && movecontact
trigger6 = stateno = 1150 && movecontact
trigger7 = stateno = 1250 && movecontact
trigger8 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之火流术]
type = ChangeState
value = 2050
triggerall = var(59)= 0
triggerall = command = "忍之火流术"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 240 && movecontact
trigger3 = stateno = 245 && movecontact
trigger4 = stateno = 500 && movecontact
trigger5 = stateno = 1300 && movecontact
trigger6 = stateno = 1150 && movecontact
trigger7 = stateno = 1250 && movecontact
trigger8 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之气流]
type = ChangeState
value = 2000
triggerall = var(59)= 0
triggerall = command = "忍之气流"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 240 && movecontact
trigger3 = stateno = 245 && movecontact
trigger4 = stateno = 500 && movecontact
trigger5 = stateno = 1300 && movecontact
trigger6 = stateno = 1900 && movecontact
trigger7 = stateno = 1250 && movecontact
trigger8 = time>=15 && stateno = 1000 || stateno = 1002

[State -1, 忍之追杀]
type = ChangeState
value = 1950
triggerall = var(59)= 0
triggerall = command = "忍之追杀"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1650 && movecontact
trigger4 = stateno = 1200 && movecontact

[State -1, 忍之前踢]
type = ChangeState
value = 1850
triggerall = var(59)= 0
triggerall = command = "忍之前踢"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact

[State -1, 忍之刺杀]
type = ChangeState
value = 1900
triggerall = var(59)= 0
triggerall = command = "忍之刺杀"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1650 && movecontact
trigger4 = stateno = 1200 && movecontact

[State -1, 忍之暗杀]
type = ChangeState
value = 1800
triggerall = var(59)= 0
triggerall = command = "忍之暗杀"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact

[State -1, 忍摔]
type = ChangeState
value = 1750
triggerall = var(59)= 0
triggerall = command = "忍摔"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact

[State -1, 忍之连踢]
type = ChangeState
value = 1700
triggerall = var(59)= 0
triggerall = command = "忍之连踢"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact

[State -1, 忍之地爆]
type = ChangeState
value = 1650
triggerall = var(59)= 0
triggerall = command = "忍之地爆"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1203 && movecontact
trigger4 = stateno = 1213 && movecontact

[State -1, 前瞬移]
type = ChangeState
value = 1600
triggerall = var(59)= 0
triggerall = command = "前瞬移"
triggerall = statetype != A
trigger1 = ctrl

[State -1,后瞬移]
type = ChangeState
value = 1610
triggerall = var(59)= 0
triggerall = command = "后瞬移"
triggerall = statetype != A
trigger1 = ctrl

[State -1, 忍之空袭]
type = ChangeState
value = 1550
triggerall = var(59)= 0
triggerall = command = "忍之空袭"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1650 && movecontact

[State -1, 忍之反击]
type = ChangeState
value = 1500
triggerall = var(59)= 0
triggerall = command = "忍之反击"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact


[State -1, 小升龙]
type = ChangeState
value = 1400
triggerall = var(59)= 0
triggerall = command = "小升龙A"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1200 && movecontact
trigger4 = stateno = 1250 && movecontact

[State -1, 大升龙]
type = ChangeState
value = 1405
triggerall = var(59)= 0
triggerall = command = "大升龙A"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1200 && movecontact
trigger4 = stateno = 1250 && movecontact

[State -1, 忍之空擒]
type = ChangeState
value = 1350
triggerall = var(59)= 0
triggerall = command = "recovery"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 1201
trigger3 = stateno = 610 &movehit
trigger4 = stateno = 640 &movehit
trigger5 = stateno = 650 &movehit
trigger6 = stateno = 1300 &movehit

[State -1, 忍之空擒]
type = ChangeState
value = 1350
triggerall = var(59)= 0
triggerall = command = "recovery"
triggerall = statetype = A
trigger1 = stateno = 105


[State -1, 忍之切割]
type = ChangeState
value = 1300
triggerall = var(59)= 0
triggerall = command = "忍之切割"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 410
trigger3 = movecontact
trigger4 = stateno = 245
trigger4 = movecontact

[State -1,忍之刃B]
type = ChangeState
value = 1250
triggerall = var(59)= 0
triggerall = command = "忍之刃B"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1200 && movecontact
trigger4 = stateno = 1150 && movecontact
trigger5 = stateno = 1300 && movecontact


[State -1,忍之刃A]
type = ChangeState
value = 1200
triggerall = var(59)= 0
triggerall = command = "忍之刃A"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1150 && movecontact
trigger4 = stateno = 1300 && movecontact

[State -1,忍符咒]
type = ChangeState
value = 1150
triggerall = var(59)= 0
triggerall = command = "忍符咒"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1150 && movecontact
trigger4 = stateno = 1300 && movecontact

[State -1,忍之复仇]
type = ChangeState
value = 1100
triggerall = var(59)= 0
triggerall = command = "忍之复仇A"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1900 && movecontact
trigger4 = stateno = 1150 && movecontact
trigger5 = stateno = 1300 && movecontact

[State -1,忍术（火）]
type = ChangeState
value = 1050
triggerall = var(59)= 0
triggerall = command = "忍术（火）"
triggerall = statetype != A
trigger1 = ctrl
trigger2=(stateno=[200,500]) && movecontact
trigger3 = stateno = 1900 && movecontact
trigger4 = stateno = 1150 && movecontact
trigger5 = stateno = 1300 && movecontact

[State -1, 飞道慢]
type = ChangeState
value = 1000
triggerall = var(59)=0&&!Numhelper(1001)&&!Numhelper(1004)&&P2stateno != 1020
triggerall = statetype != A &&P2stateno != [8900,8901]
triggerall = command = "飞道慢"
trigger1 = ctrl
trigger2 = stateno = 500 && movecontact

[State -1, 飞道快]
type = ChangeState
value = 1002
triggerall = var(59)=0&&!Numhelper(1001)&&!Numhelper(1004)&&P2stateno != 1020
triggerall = statetype != A &&P2stateno != [8900,8901]
triggerall = command = "飞道快"
trigger1 = ctrl
trigger2 = stateno = 500 && movecontact

[State -1, 跑]
type = ChangeState
value = 100
triggerall = var(59) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 后跳]
type = ChangeState
value = 105
triggerall = var(59) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

[state -1,受身]
type = changestate
value = 730
triggerall = var(59) = 0
triggerall = roundstate = 2
triggerall = command = "z"
trigger1 = stateno = [5100,5101]

[State -1,蓄气]
type = ChangeState
value = 900
triggerall = statetype = S
triggerall = Power < Powermax
triggerall = var(59)= 0
triggerall = ctrl = 1
trigger1 = command = "hold_a"
trigger1 = command = "hold_y"

[State -1, 投A]
type = ChangeState
value = 800
triggerall = var(59)= 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = p2movetype != H
triggerall = P2dist X =[-40,40]
triggerall = statetype != A
triggerall = p2statetype != A
triggerall = p2movetype != A && p2movetype != H
triggerall = statetype = S  && stateno != 100
triggerall = ctrl
trigger1 = command = "holdfwd"
trigger2 = command = "holdback" && p2movetype != H
ignorehitpause = 0

[State -1, 投B]
type = ChangeState
value = 800
triggerall = var(59)= 0
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = p2movetype != H
triggerall = P2dist X =[-40,40]
triggerall = statetype != A
triggerall = p2statetype != A
triggerall = p2movetype != A  && p2movetype != H
triggerall = statetype = S && stateno != 100
triggerall = ctrl
trigger1 = command = "holdfwd"
trigger2 = command = "holdback" && p2movetype != H
ignorehitpause = 0

[State -1, 前闪]
type = ChangeState
value = 700
triggerall = var(59)=0
triggerall = command = "recovery"
triggerall = command =  "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 后闪]
type = ChangeState
value = 701
triggerall = var(59)=0
triggerall = command  = "recovery"
triggerall = command  = "holdback"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 原地闪]
type = ChangeState
value = 740
triggerall = var(59)= 0
trigger1 = statetype != A
triggerall = command  = "recovery"
trigger1 = ctrl

[State -1, 嘲讽]
type = ChangeState
value = 195
triggerall = var(59)= 0
triggerall = command = "s"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, CD]
type = ChangeState
value = 500
triggerall = var(59)= 0
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl
trigger2 =(stateno=[200,499]) && movecontact
trigger3 = Power >= 500
trigger3 = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153

[State -1, 奈奈落]
type = ChangeState
value = 660
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "holddown"
triggerall = command = "y"
trigger1 = statetype = A && ctrl
trigger2 = stateno = 620  && movecontact

[State -1, 200]
type = ChangeState
value = 200
triggerall = var(59)= 0
triggerall = P2dist X != [-50,50]
triggerall = command = "x"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 205  && movecontact
trigger3 = stateno = 230  && movecontact
trigger4 = stateno = 400  && movecontact

[State -1, 205]
type = ChangeState
value = 205
triggerall = var(59)= 0
triggerall = P2dist X = [-50,50]
triggerall = command = "x"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 230  && movecontact

[State -1, 215]
type = ChangeState
value = 215
triggerall = var(59)= 0
triggerall = p2bodydist X <= 25
triggerall = command = "y"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 200  && movecontact
trigger3 = stateno = 205  && movecontact
trigger4 = stateno = 410  && movecontact

[State -1, 210]
type = ChangeState
value = 210
triggerall = var(59)= 0
triggerall = command = "y"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 200  && movecontact
trigger3 = stateno = 205  && movecontact
trigger4 = stateno = 245  && movecontact


[State -1, 230]
type = ChangeState
value = 230
triggerall = var(59)= 0
triggerall = p2bodydist X >= 25
triggerall = command = "a"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl

[State -1, 235]
type = ChangeState
value = 235
triggerall = var(59)= 0
triggerall = p2bodydist X <= 25
triggerall = command = "a"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl

[State -1, 245]
type = ChangeState
value = 245
triggerall = var(59)= 0
triggerall = p2bodydist X <= 25
triggerall = command = "b"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 200  && movecontact
trigger3 = stateno = 205  && movecontact
trigger4 = stateno = 410  && movecontact

[State -1, 240]
type = ChangeState
value = 240
triggerall = var(59)= 0
triggerall = command = "b"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 200  && movecontact
trigger3 = stateno = 205  && movecontact

[State -1, 400]
type = ChangeState
value = 400
triggerall = var(59)= 0
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 400  && movecontact
trigger3 = stateno = 430  && movecontact

[State -1, 410]
type = ChangeState
value = 410
triggerall = var(59)= 0
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 400  && movecontact

[State -1, 430]
type = ChangeState
value = 430
triggerall = var(59)= 0
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl

[State -1, 440]
type = ChangeState
value = 440
triggerall = var(59)= 0
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 410  && movecontact

[State -1, 600]
type = ChangeState
value = 600
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "x"
trigger1 = statetype = A && ctrl

[State -1, 610]
type = ChangeState
value = 610
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "y"
trigger1 = statetype = A && ctrl

[State -1, 620]
type = ChangeState
value = 620
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "a"
trigger1 = statetype = A && ctrl

[State -1, 640]
type = ChangeState
value = 640
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "b"
trigger1 = statetype = A && ctrl
trigger2 = stateno = 620  && movecontact

[State -1, 650]
type = ChangeState
value = 650
triggerall = var(59)= 0
triggerall = roundstate = 2
triggerall = command = "c"
trigger1 = statetype = A && ctrl
trigger2 = stateno = 620  && movecontact

