Ultra Ball and Great Ball glitch, how does it work?
Posted by: Torchickens
Date: 2014-06-01 14:27:12
In Pocket Monsters Blue, when you buy two sets of Ultra Ball x99 or Great Ball x99 it messes some data up.
If you bought two sets of Ultra Ball x99 the exit mat will no longer work, and if you save and reset you can see that what makes up the border has also changed.
If you bought two sets of Great Ball x99, your badges byte will be changed to something like 62h, which equates to having the Cascade Badge, Marsh Badge and Volcano Badge.
The cause is unknown. This glitch doesn't work on other versions, strangely not even in Red, Green or Pocket Monsters Pikachu.
Instead of another stack of x99, you can buy say 99 Great Balls and 1 Great Ball and get a different effect like no badges.
Do NOT save after buying the two sets of x99 Ultra Balls if you value your save file. You won't be able to escape Cinnabar Island PokéMart without blacking out, and there is no way to escape the Pokémon League at all, because loading the save file causes a freeze.
Relevant Poké Marts:
Lavender Town
Celadon Department Store - Great Ball section
Fuschia City
Cinnabar Island
Indigo Plateau
After some observation, the number of items you buy for the second stack directly influences the result.
With all badges, buy 99 Great Balls and then 1 Great Ball, and the number of badges address (D2D5) will change to 00 (no badges). With just the BoulderBadge (01), buy 99 Great Balls and then 1 Great Ball and it will change to 02 (just the Cascade Badge), suggesting it was a +1.
Another example; buy 99 Great Balls and then 50 Great Balls, and if you had FF in the badges byte it will change to 31h, which is 110001, so if you read the bits least significant first it means you have badge 1 (Boulder Badge), badge 5 (Soul Badge) and badge 6 (Marsh Badge). Notice that 31h is FFh + 32h (50, the number of balls for the second stack we bought) when modulo 256 is in effect.
The same logic applies to buying 99 Ultra Balls and another stack, but the address that changes is D2E7; the map's height in blocks, and changing this apparently means you can't use the exit mat to escape.
Why is it these addresses that change? They are notably close to D2C9; the 20th item quantity, if that matters.