in this site it says it can find leftover so can it in X and Y?
also can it find TMs in gen 5/6 as TMs are infinite?
"Items picked up range from Potions, Great Balls, Ultra Balls and Rare Candies up to Leftovers and some TMs. Better items have a lower chance of being found; furthermore, higher-level Pokémon will obtain better items." -pickup DB