How do you get infinity master balls using a cheat code on Pokemon emerald?

Go to Mt. Cornet and its in the cave. About 50 of them. I found 23. My son is crazy bout Pokemon games, try seeing to get Pokemon Diamond.

My name s Toby and impossible you cant do that the only way to get inlimited master balls.The only way to get that is to buy a action replay.Their on amazon for like 20 dollars so don't be a