You can pick up Rare Candy at the Goldenrod Radio Tower for three points.
To earn those points, tune in to Buena's radio show between 6:00 p.m. and 12:00 a.m. She reads out a password during the broadcast. Write it down, then head to the Radio Tower in Goldenrod and repeat the password to the receptionist to claim your points and your candy.