Lottery

The Lottery is a daily activity that can be done in Generation III and IV. After pulling a lottery ticket, it checks the 5-digit number on it. If it matches from right to left any of the ID of the pokemon you win a master ball. Getting a match of 4 or less gives you a lesser prize and getting no matches gives you nothing. For example, if one of your pokemon's ID is 12345 and the lottery ticket is 12345, you get a master ball. If the lottery ticket says, 67345, you get a 3rd prize which is a lesser prize than a mster ball. Getting 54321 gets you nothing, even though the 3 in the number matches.