[statedef 30000] ;AI Walk 1
statetype = S
physics = N
anim = 20
movetype = I
ctrl = 0

[State 30000,1]
type = VelSet
trigger1 = 1
x = const(velocity.walk.fwd.x)

[State 30000,2 Medium Pulp Juice]
type = ChangeState
value = 215
triggerall = (p2stateno != [5100,5120])
triggerall = RoundState = 2
triggerall = p2stateno != 52
triggerall = p2statetype != L
triggerall = P2movetype != H
trigger1 = (p2bodydist X = [-10,92])
trigger1 = (p2bodydist Y = [0,0])

[state 30000,3] ;Get out of state
type = changestate
value = 0
trigger1 = p2movetype = A
trigger2 = p2dist y < 0
trigger3 = p2dist x < 0
trigger4 = roundstate != 2
ctrl = 1

; Jump Start
[Statedef 40000]
type    = S
physics = S
anim = 40
ctrl = 0
sprpriority = 1

[State 40000, 4]
type = VelSet
trigger1 = AnimTime = 0
x = const(velocity.jump.fwd.x)
y = const(velocity.jump.y)

[State 40000, 6]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1

