99 item stack glitch: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>ISSOtm
m (Added a categ.)
>SatoMew
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|thumb|160px|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==
Line 11: Line 10:


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==
*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, 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 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==
*[http://forums.glitchcity.info/index.php?topic=6953.0 Ultra Ball and Great Ball glitch, how does it work? - Glitch City Laboratories Forums thread].
* [https://forums.glitchcity.info/index.php?topic=6953.0 Ultra Ball and Great Ball glitch, how does it work? - Glitch City Laboratories Forums thread]
*[https://www.youtube.com/watch?v=OXzQ9rEEa0g Youtube video by TheZZAZZGlitch].
* [https://www.youtube.com/watch?v=OXzQ9rEEa0g YouTube video by TheZZAZZGlitch]
*[https://www.youtube.com/watch?v=R5o_t_ddsy0 Youtube video of the 99 item stack's applications by ChickasaurusGL].
* [https://www.youtube.com/watch?v=R5o_t_ddsy0 YouTube video of the 99 item stack's applications by ChickasaurusGL]
*[https://www.youtube.com/watch?v=6PxBIzRY4eg Youtube video of the glitch being used to go to the S.S. Anne Deck by SM].
* [https://www.youtube.com/watch?v=6PxBIzRY4eg YouTube video of the glitch being used to go to the S.S. Anne Deck by SM]
*[https://www.youtube.com/watch?v=sv2MzM7CPt8 Youtube video of memory corruption caused by buying Ultra Balls and Great Balls in Japanese Blue by ChickasaurusGL].
* [https://www.youtube.com/watch?v=sv2MzM7CPt8 YouTube video of memory corruption caused by buying Ultra Balls and Great Balls in Japanese Blue by ChickasaurusGL]
{{stub}}
{{stub}}
[[Category:Generation I glitches]]
[[Category:Generation I glitches]]
[[Category:Generation I natural glitches]]
[[Category:Generation I natural glitches]]
[[Category:Natural glitches]]
[[Category:Natural glitches]]
[[Category:Pages with an accompanying Youtube video]]

Revision as of 01:04, 24 November 2016

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.

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.

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.

Examples

  • 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 Wiki by expanding it.