How do you get the attension to the galactic grunt in pastoria city?

i think you have to beat the Pastoria Gym Leader first