How do you get infinite rare candies in Pokemon Emerald?

How do you get infinite rare candies in Pokemon Emerald?

See also  When was the last time Michigan and Michigan State played undefeated?