99 item stack glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>ISSOtm
m (→‎Description: Added some stuff... really minor.)
>ISSOtm
m (Added a categ.)
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]] and [[natural 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.
Line 9: Line 11:


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



==Examples==
==Examples==
Line 14: Line 17:
*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 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).
*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==
==External links==
Line 25: Line 29:
[[Category:Generation I natural glitches]]
[[Category:Generation I natural glitches]]
[[Category:Natural glitches]]
[[Category:Natural glitches]]
[[Category:Pages with an accompanying Youtube video]]