When the daycare man tells you that you have an egg, save your game right in front of him. take the eggs until you have five eggs, hatch them and if none of them are shiny then soft reset and get five more eggs. This makes so that you have a chance to get a shiny egg in the first 5 frames instead of just the first frame.