
[Remap]
x=x
y=y
z=z
a=a
b=b
[Defaults]
command.time=15
command.buffer.time=1
[Command]
name="recovery"
command=x+y
time=1
[Command]
name="down_a"
command=/$D,a
time=1
[Command]
name="down_b"
command=/$D,b
time=1
[Command]
name="a"
command=a
time=1
[Command]
name="b"
command=b
time=1
[Command]
name="c"
command=c
time=1
[Command]
name="x"
command=x
time=1
[Command]
name="y"
command=y
time=1
[Command]
name="z"
command=z
time=1
[Command]
name="start"
command=s
time=1
[Command]
name="holdfwd"
command=/$F
time=1
[Command]
name="holdback"
command=/$B
time=1
[Command]
name="holdup"
command=/$U
time=1
[Command]
name="holddown"
command=/$D
time=1
[Statedef -1]


[State ]
type=tagout
trigger1=0;!IsHelper
trigger2=loseKO||lose||RoundState>=3

[State ]
type=ChangeState  
value=300+random%4+(power>2000)*random%2
trigger1=statetype=S&&var(40)
trigger1=RoundState=2
trigger1=ctrl&&(var(0)&1)

[State ]
type=ChangeState  
value=300+random%4+(power>2000)*random%1
trigger1=statetype=S&&!var(40)
trigger1=RoundState=2
trigger1=ctrl&&(var(0)&1)



[State ]
type=tagout
triggerall=1;fobN
trigger1=0



[State ]
type=ChangeState
value=300
triggerall=command="start"
triggerall=command!="holddown"
trigger1=statetype=S
trigger1=ctrl
[State ]
type=ChangeState
value=301
triggerall=command="z"
triggerall=command!="holddown"
trigger1=statetype=S
trigger1=ctrl
[State ]
type=ChangeState
value=302
triggerall=command="b"
triggerall=command!="holddown"
trigger1=statetype=S
trigger1=ctrl

[State ]
type=ChangeState
value=303
triggerall=command="x"
triggerall=command!="holddown"
trigger1=statetype=S
trigger1=ctrl

[State ]
type=ChangeState
value=304
triggerall=command="c"
triggerall=command!="holddown"
trigger1=statetype=S
trigger1=ctrl
[State ]
type=ChangeState
value=20
triggerall=1
trigger1=command="holdfwd"||command="holdback"
trigger1=statetype=S
trigger1=ctrl
