99 item stack glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 1: Line 1:
[[File:99 item stack glitch.png|frame|right|Corrupting the screen palette after purchasing Ultra Balls.]]
[[File:99 item stack glitch.png|frame|right|Corrupting the screen palette after purchasing Ultra Balls.]]
The '''99 item stack glitch''' is a memory corruption [[glitch]] which occurs in {{RB}} and {{JY}}. It does not work in English Yellow.
The '''99 item stack glitch''' is a memory corruption [[glitch]] and [[natural glitch]] which occurs in {{RB}} and {{JY}}. It does not work in English Yellow.
==Description==
==Description==
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.
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.