There is no known video game titled "Rudy" that features Master Balls—the concept is exclusive to the Pokémon franchise.
If you meant a different game (perhaps a typo for Ruby, Red, or a fan-made project), clarify the title and I'll give you the correct answer for that game.