256x item selling price glitch
Exclusive to Ruby and Sapphire:
256x item selling price glitch | Amazing Trainers | Berry glitch | Draining hitpoints animation glitch | Evolution animation glitch | Sticky Hold glitch | Mossdeep City Skitty glitch | Truck glitch | Nightmare glitch | Mossdeep City Skitty glitch
Acro Bike instability glitches (Japanese only) | Dark red selector glitch (International only) | Excessive doll arrangement glitch (Japanese only) | Mail and Trick glitches (Japanese only) | Surf on land (Japanese only)
Exclusive to FireRed and LeafGreen:
Celadon City origin glitch | Pokédex species glitch | Roaming Pokémon Roar glitch
Exclusive to Emerald:
Battle Pike poison knockout glitch | Black curtains glitch | Mart worker glitch | Mover Vigoroth cry glitch (Japanese only)
In various or all entries:
Azurill gender glitch | Boss HP recruit glitch (Mystery Dungeon) | Decamark-specific glitches | Dewford Gym footprint glitch | Evolution move-learning glitch | Focus Punch glitch | Roaming Pokémon IV glitch | Sky Pillar glitch | Thunderbolt glitch | VBlank RNG interrupt glitch
The 256x item selling price glitch is a glitch in Pokémon Ruby and Sapphire.
Under normal circumstances, it only occurs with Berries, the only items possible to have over 99 of without using a cheating device or glitches.
Summary
When selling over 256 of an item, although the correct sell price is displayed (both before and after selling), the actual amount of money received does not match it. This amount is calculated not with the actual number of items sold, but with this number modulo 256 (i.e. the lower byte). Effectively, the total cost for every 256 of the item is ignored.
For example, Berries cost 10 Pokédollars each. If 258 were sold, the total amount of money gained in this case would be 10 * 2 Pokédollars, or 20 Pokédollars (a loss of 2560 Pokédollars), as the group of 256 are not counted. In another example, if 999 were sold, the total amount of money gained would be (999 modulo 256) * 10 or 2310 Pokédollars.
YouTube video
| |