When you throw a normal Pokeball at a Pokemon, there are 50-50 chances whether it will be caught or not but if you throw a master ball, it does not matter how strong or high-level the Pokemon might be, it will be caught without any fail. Here's the cheat code for having them: 82025840 0001.