Main Menu

Glitches

References/Resources

Affiliates

Technical

Search Wiki

Toolbox

Difference between revisions of "99 item stack glitch"
 Page | Discussion | View source | History

From Glitch City Laboratories

Jump to: navigation, search
[checked revision][checked revision]
Line 1: Line 1:
 +
{{Major glitches}}
 
[[File:99 item stack glitch.png|thumb|160px|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.

Revision as of 09:30, 1 March 2017

Major glitches of the Pokémon series
Core glitch Variants, consequences, and exploits
Arbitrary code execution (various generations) see template, Remote code execution, Cart-swap arbitrary code execution, Unintended ROM code execution
No major extensions 99 item stack glitch (Generation I), Berry glitch (Generation III), Bug-Catching Contest data copy glitch (Japan only), Cloning, Ditto DV manipulation, Elite Four door glitch (Japan Diamond/Pearl only), Expanded party encounter table manipulation (Generation I), Item duplication glitch, Meta-map script activation (Generation I), Transform held item glitch (Japan only), Mimic glitch (Japanese Diamond/Pearl), Pokémon merge glitch ("Q Glitch", Generation I), Roaming Pokémon encounter glitch, (Mimic) Transform Rage glitch, Sketch glitch, Time Capsule exploit (Generation II), Tweaking (Generation IV)
Buffer overflow techniques Japanese unterminated name glitch item instant encounter glitch, LOL glitch, Rival LOL glitch, Instant LOL glitch, RAM LOL glitch, oobLG, blockoobLG, Instant encounter infinite chain glitch (LGFly)), Super Glitch (Generation I) (party remaining HP glitch), Super Glitch (Generation III), Text pointer manipulation mart buffer overflow glitch, CoolTrainer♀-type move, Double distort CoolTrainer♀ corruption, Yami Shop glitch
Item stack duplication glitch (Generation I) Generation I expanded items pack (Glitch Rocket HQ maps, Map FE (English and non-English European Yellow), Map script pointer manipulation (arbitrary code execution, map script pointer item ball manipulation), Text pointer manipulation (arbitrary code execution, item ball manipulation, mart buffer overflow), Trainerless instant encounter glitch
Bad clone glitch (Generation II) ????? party overloading (Type 0xD0 move glitch, ????? map corruption, Celebi trick, Celebi Egg trick, Shiny Celebi trick, Glitch move map corruption, Overloaded party map corruption, Glitch Unown (Glitch Unown map corruption) Duplicate key items glitch (Infinite items and item creation, Expanded Balls pocket (Wrong pocket TM/HMs, Glitch Pokédex categories))
Select glitches (Japanese Red/Green) Closed menu: Dokokashira door glitch (International), Fossil conversion glitch (international), Second type glitch, Skip to Level 100 glitch, Trainer mutation glitch, Walk through walls (International), Lift glitch, Badge describer glitch
Pomeg glitch Pomeg data corruption glitch ("Glitzer Popping")
2x2 block encounter glitches (Generation I) Left-facing shore tile glitch (in-game trade shore encounter trick, Old man trick, Trade link up shore encounter trick, Fight Safari Zone Pokémon trick)
Glitch City Safari Zone exit glitch, RAM manipulation, Out of bounds Glitch City (Generation II), Slowpoke Well out of bounds corruption (French Gold/Silver/Crystal)
Large storage box byte shift glitch Storage box remaining HP glitch, Generation I max stat trick
Pikachu off-screen glitch Trainer corruption glitch
SRAM glitches Generation I save corruption, 255 Pokémon glitch, Send party Pokémon to a new game (Generation I), Generation II save corruption, Mailbox glitches, Mystery Gift item corruption, Trainer House glitches
Surf down glitch Grass/rock Surfing glitch (Spanish/Italian only) (adaptions: Submerge glitch (international), 8 8 (0x7C) grass/rock surfing glitch (English Red/Blue))
Trainer escape glitch Death-warp, Mew trick, Ditto trick, Experience underflow glitch
Walk through walls Ledge method, Museum guy method, Rival's effect, Select glitch method (International Select glitch method), Brock Through Walls
ZZAZZ glitch Party Pokémon box data shift glitch



(view, talk, edit)
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

YouTube video by TheZZAZZGlitch
YouTube video by ChickasaurusGL
YouTube video by SM

(warp to S.S. Anne exploit)

YouTube video by ChickasaurusGL

(in Japanese Blue)

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