From Bulbapedia
An employee of the Battle Subway lives in the house in the south east, initially giving the player a Rare Candy he had found the first time he is spoken to. After seven consecutive battles on the Battle Subway, he will give a number of vitamins, Max Revives, or Max Elixirs for each set of seven battles won at the Battle Subway that day, capping at ten per day.