When capturing Rayquaza, use the master ball and it will be caught but when capturing Groundon or kygore, weaken then use master ball.
If you need more help, we've got more Pokemon Emerald cheats and also check out all of the answers for this game
Comments for this hint