There is exactly one Master Ball in the single-player portion of Pokemon Emerald, and you collect it inside the Team Magma Hideout.
If you want more, Emerald has a well-known cloning trick that only works at the Battle Frontier. Give the Master Ball to a Pokemon to hold, then use the Battle Frontier cloning service to duplicate it.
This works in Emerald and nowhere else. Other games in the series do not allow it, so do not waste time trying the same setup elsewhere.