How do you use the Mystery Gift option in Pokemon Emerald?

Easy just go to any poke'mart and at the bottom,left of the counter is a piece of paper.Click:a on it then write "LINK TOGETHER WITH ALL"the lady will tell you mystery gift is unlocked.then save.You can restart by holding A,B,SELECT and START.After you will find "MYSTERY GIFT".:) then you need to have a wireless adapter Connected