What is a short cheat in Pokemon diamond version to get a lot of masterballs?

get an action replay and it comes with that code