Main Menu





Search Wiki


99 item stack glitch
 Page | Discussion | View source | History

From Glitch City Laboratories

Revision as of 19:04, 23 November 2016 by SatoMew (talk | contribs)
Jump to: navigation, search
Corrupting the screen palette after purchasing Ultra Balls.

The 99 item stack glitch is a memory corruption glitch and natural glitch which occurs in Pokémon Red and Blue and Pokémon Yellow (Japanese). It does not work in English Yellow.


If the player performs a task which adds to the number of items in a list (purchasing an item from a Poké Mart, depositing it via the PC or withdrawing it via the PC) while they have an existing stack of that item ×99 in the last slot of the inventory (e.g. Ultra Ball ×99), the game will try to add to an item quantity of the same item from beyond that slot in an attempt to contain the items in an existing stack without creating a new one.

Due to a glitch, the end terminator is ignored if it directly proceeds an item quantity, and the game may add to the quantities of items even if the 'item quantity' represents an unrelated memory address.

The glitch won't happen if the player has less item slots occupied than previously (eg, if the player has had 15 item slots filled in his inventory, having less than 15 item slots occupied will prevent the glitch.

Note that any memory address with value hex:FF will end the search ; hence having all 8 badges will prevent most corruptions.


  • In English versions, when buying Ultra Balls with Ultra Ball ×99 in the last slot of the inventory, it is possible to corrupt $D35D (item 32 quantity; controlling the screen palette) if $D35C (item 32; current sound bank value) is 2 (Ultra Ball).
  • In English versions, one can exploit the Yami Shop glitch to buy Master Balls. If D364 (Block-X ID) is 01 and there are no Master Ball stacks which aren't ×99 before it, then one can add to D365 (map exit warp) to access locations up to hex:63 (S.S. Anne Deck). It may be necessary to change the quantity in address D358 to 99 first.
  • In Japanese versions, when buying Great Balls with Great Ball ×99 in the last slot of the inventory, it is possible to corrupt number of badges ($D2D5) if the options byte is equal to 3 (Battle Animation On, Battle Style On, medium text speed).

External links

This article or section is a stub. You can help Glitch City Laboratories wiki by expanding it. RB 234 fs crop.png