Item duplication glitch
- This article is about the glitch and subglitch in Generation I. For the glitch allowing the duplication of items underground, see List of glitches in Generation IV#Underground item duplication glitch.
Pokédex 000 item duplication glitch
The Pokédex 000 item duplication glitch (commonly referred to as the Rare Candy glitch due to the preferred item chosen to duplicate) is a glitch in the Generation I games. It allows the player to duplicate items in their Bag.
Through the development of Pokémon Yellow, which occurred in the two years following the release of Pokémon Red and Green in Japan, the old man glitch was disabled by blanking the data for wild Pokémon before overwriting it, and reprogramming shore tiles to not have any Pokémon. However, it is still possible to encounter Missingno. and exploit the item duplication glitch using the Ditto glitch or the Cable Club escape glitch, although Missingno. other than its Ghost and Fossil forms on Pokémon Yellow will commonly freeze the game. The glitch Pokémon g g and $ are also possible alternatives, through a combination of the Johto guard glitch and the Cable Club escape glitch, but both may also freeze the game after being sent out from the opponent's side.
The sixth item in the Bag is duplicated upon encountering the glitch Pokémon, and again if it is caught. The quantity of this item will be increased by 128, provided that the quantity is less than 128 before performing the glitch. This means that the player is free to perform the glitch again by swapping the item, or using/tossing the duplicated item to reduce its quantity back under 128.
If the player catches the 000-variant in battle, then it becomes possible to duplicate the sixth item again, given that the quantity of the item in the sixth slot is less that 128 (this can be achieved by using the item in the battle or switching another into its place).
Key items can be duplicated, but the only key items which are practical to duplicate are the Dome Fossil, Helix Fossil and Old Amber. Key items will stack, but the number next to the associated key item will not be visible. Under normal circumstances, it becomes impossible to remove duplicate key items without storing them one at a time in the PC; however, Fossils are an exception to this, because the game allows the player to revive the same Fossil Pokémon more than once.
Every Pokémon has two separate bit lists that tells the game whether it has been seen or caught. If the bit is off, that means it hasn't been caught or seen.
Missingno.'s Pokédex seen bit is in the same location as the bit that stores how many of the 6th item is in the Bag, as well as 'M (00)'s. This is why, when Missingno. or 'M (00) is encountered, the sixth item slot is increased by 128 if the quantity of the item is less than 128. The glitchy box symbol is a result of the game attempting to display a number greater than 99, which causes it to grab sprites from beyond the number sprites. Sometimes it can appear to be a blank tile, but if one goes somewhere else or out of battle it will revert back to an unusual tile.
A way to tell whether " 9" is in fact 9 or [blank tile]9 is to select Toss. The quantity is displayed with a leading zero if the amount is actually 9, and as simply " 9" if not.
Performing the glitch
After the battle, open the menu and view the items currently in the Bag. If done correctly, the game should show a glitch character followed by a standard number. This glitch character represents a place value of 10 or above.
If the amount of the item in question is already 128 or more, this glitch will not work.
255 stack duplication glitch
The 255 stack item duplication glitch is a glitch in Generation I that is caused by obtaining 255 of an item, and then tossing an item above it. This creates another stack of 255 items. The only way to obtain a stack of 255 items is via the Pokédex 000 item duplication glitch, making this glitch a subglitch of it.
Performing the glitch
The player must obtain 255 of an item. The only way to do this is via the Pokédex 000 item duplication glitch to obtain over 128 of an item, then using or tossing items until the player has 127, followed by performing the glitch again to increase the total number to 255. As long as there is exactly 255 of an item, tossing an item above it will cause this glitch. It means that the stack of 255 items is copied to the slot above it, as well as its original slot. Tossing an item below the 255 stack causes no glitch. Swapping the places of two items causes no glitch. When there are two or more non-adjacent item piles of quantity ×255, only the ×255 pile closest after the tossed item duplicates.
Using the glitch once will make the last item in the inventory act as the Cancel button. Twice will make the second to last item in your inventory act as the Cancel button. And so on. One cannot scroll beyond the Cancel button, even though the scroll arrow is there. Items below the acting Cancel button will be unreachable. The acting Cancel button can be swapped with another item, which will act as the Cancel button.
Adding an item to the Bag will erase the item acting as the Cancel button as well as those underneath it (which wouldn't be reachable in any case). A normally functioning Cancel button will be directly below the bought item.
Aside from the Cancel button issue, all items will function normally.
How it works
When an item is tossed, each item below it is copied upward one space, starting with the item directly below the tossed item and going down. However, when the game encounters a pile of quantity ×255 while going down the list, it is copied up, but the items after it are not, leaving two adjacent piles of ×255 of the same item. The game still decreases its count of the total number of inventory items by one (which accounts for the messed up Cancel button).
When the game goes down the list on this copying spree, encountering an FF byte signals to cancel the action for the button and stop copying, even though in this case the FF byte is for item quantity, not item type. Under normal cases, nobody would have ×255 of an item anyway. Under normal cases, since the Cancel button masks anything after it, the game doesn't have to delete the extra Cancel button left behind after copying the cancel button up one space.
|This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.|
- Glitch City Laboratories Forums (retrieved February 20, 2010)
|This article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games.|