Coin Case glitches: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (formatting, misc)
m (→‎Arbitrary code execution: added a few links in the text)
Line 898: Line 898:


==Arbitrary code execution==
==Arbitrary code execution==
When the game jumps to $E112, it starts executing data related to Pokemon cries as machine instructions. In particular, when Coin Case is used after hearing Machop's cry, the game will eventually reach address $E912. Data around that address is related to the overworld, and, while difficult, can be manipulated through moving around in different patterns. In particular, by exiting Professor Elm's Laboratoy and moving four steps to the right (prior to using the Coin Case after hearing to a Machop's cry), the game will jump to address $FA98, which is in the middle of the data of the third Pokemon in the player's party. The game can therefore be made to execute specific code (based on the Pokemon's attributes such as species, item held, or moves) by deliberately placing party Pokemon. By placing a specific species of Pokemon in the fourth slot of the party with the correct held item and first move, the game's execution may even be made to jump to the memory area that stores the items deposited in the player's PC, where code will execute based on the identifier and quantity of the items in the PC.
When the game jumps to $E112, it starts executing data related to [[Pokemon]] cries as machine instructions. In particular, when {{key|II|Coin Case}} is used after hearing {{p|Machop}}'s cry, the game will eventually reach address $E912. Data around that address is related to the overworld, and, while difficult, can be manipulated through moving around in different patterns. In particular, by exiting Professor Elm's Laboratory and moving four steps to the right (prior to using the Coin Case after hearing to a Machop's cry), the game will jump to address $FA98, which is in the middle of the data of the third Pokemon in the player's party. The game can therefore be made to execute specific code (based on the Pokemon's attributes such as species, item held, or moves) by deliberately placing party Pokemon. By placing a specific species of Pokemon in the fourth slot of the party with the correct held item and first move, the game's execution may even be made to jump to the memory area that stores the items deposited in the player's PC, where code will execute based on the identifier and quantity of the items in the PC.


====Video====
====Video====

Revision as of 00:56, 29 June 2014

0572Minccino.png This article does not yet meet the quality standards of Bulbapedia. Please feel free to edit this article to make it conform to Bulbapedia norms and conventions.
050Diglett.png This article is incomplete.
Please feel free to edit this article to add missing information and complete it.

Coin Case glitches are a variety of glitches involving the Coin Case in Gold and Silver Versions. They all involve listening to a Pokémon's cry then immediately using the Coin Case. Due to a translation bug, the Coin Case text is improperly terminated, making the game jump to $E112 every time it is used. This section of RAM is used by the game to store data related to Pokémon cries. Depending on the Pokémon's cry listened to, one of several effects will be activated: the game may restart with an altered color scheme and possibly blocks of color placed on the screen ("Glitch Dimension" and "Shadow Puppets"), the game may freeze, or "Coin Case:" and a glitch phrase may be displayed (e.g., "which move?he PP of"). The most well known of these glitches can be performed in Pokémon Gold using the Machop in Vermilion City.

Glitches caused by each Pokémon cry

Pokémon Effect
Bulbasaur ‡Glitch Dimension
Ivysaur *which move?PP of
Venusaur *which move?
Charmander *†which move?he PP of
Charmeleon *†which move?he PP of
Charizard *which move?
Squirtle *†which move?he PP of
Wartortle *†which move?he PP of
Blastoise *which move?
Caterpie ‡Glitch Dimension
Metapod ‡Glitch Dimension
Butterfree *†which move?he PP of
Weedle ‡Glitch Dimension
Kakuna Glitch dimension
Beedrill ‡Glitch Dimension
Pidgey ‡Glitch Dimension
Pidgeotto *which move?
Pidgeot *which move?
Rattata *which move?
Raticate *which move?
Spearow *which move?
Fearow *which move?
Ekans *†which move?he PP of
Arbok ‡Glitch Dimension
Pikachu ‡Glitch Dimension
Raichu ‡Glitch Dimension
Sandshrew which move?he PP of
Sandslash *which move?
Nidoran♀ ‡Glitch Dimension
Nidorina Glitch dimension
Nidoqueen which move?he PP of
Nidoran♂ *which move?
Nidorino ‡Glitch Dimension
Nidoking *which move?
Clefairy ‡Glitch Dimension
Clefable ???
Vulpix ‡Glitch Dimension
Ninetales ‡Glitch Dimension
Jigglypuff ‡Glitch Dimension
Wigglytuff ‡Glitch Dimension
Zubat ‡Glitch Dimension
Golbat *which move?
Oddish ‡Glitch Dimension
Gloom *which move?he PP of
Vileplume *which move?
Paras Glitch Dimension
Parasect which move?he PP of
Venonat which move?PP of
Venomoth ???
Diglett ‡Glitch Dimension
Dugtrio ‡Glitch Dimension
Meowth ???
Persian ???
Psyduck ‡Glitch Dimension
Golduck ???
Mankey ‡Glitch Dimension
Primeape which move?PP of
Growlithe which move?PP of
Arcanine ???
Poliwag which move?
Poliwhirl ‡Glitch Dimension
Poliwrath ???
Abra ‡Glitch Dimension
Kadabra which move?
Alakazam ???
Machop Glitch dimension
Machoke Glitch dimension
Machamp Glitch dimension
Bellsprout Glitch dimension
Weepinbell ???
Victreebel ???
Tentacool ‡Glitch Dimension
Tentacruel which move?
Geodude ‡Glitch Dimension
Graveler which move?
Golem ???
Ponyta which move?
Rapidash ???
Slowpoke which move?
Slowbro ???
Magnemite ‡Glitch Dimension
Magneton ???
Farfetch'd ???
Doduo ‡Glitch Dimension
Dodrio ???
Seel ‡Glitch Dimension
Dewgong which move?
Grimer which move?
Muk which move?
Shellder ???
Cloyster ???
Gastly which move?
Haunter which move?PP of
Gengar which move?
Onix which move?
Drowzee ‡Glitch Dimension
Hypno ???
Krabby Glitch dimension
Kingler ???
Voltorb ‡Glitch Dimension
Electrode Blackout
Exeggcute ???
Exeggutor ???
Cubone ???
Marowak ???
Hitmonlee ‡Glitch Dimension
Hitmonchan ???
Lickitung ???
Koffing ???
Weezing ???
Rhyhorn ???
Rhydon ???
Chansey ???
Tangela ???
Kangaskhan ???
Horsea ???
Seadra ???
Goldeen ???
Seaking which move?he PP of
Staryu ???
Starmie ???
Mr. Mime ???
Scyther ???
Jynx ???
Electabuzz ???
Magmar ???
Pinsir ???
Tauros ???
Magikarp ???
Gyarados which move?he PP of
Lapras ???
Ditto ???
Eevee ???
Vaporeon ???
Jolteon ???
Flareon ???
Porygon ???
Omanyte ???
Omastar ???
Kabuto ???
Kabutops ???
Aerodactyl ???
Snorlax ???
Articuno ???
Zapdos ???
Moltres ???
Dratini ???
Dragonair ???
Dragonite ???
Mewtwo which move?he PP of
Mew ???
Chikorita ???
Bayleef ???
Meganium which move?he PP of
Cyndaquil ‡Glitch Dimension
Quilava which move?
Typhlosion which move?
Totodile ‡Glitch Dimension
Croconaw ‡Glitch Dimension
Feraligatr which move?he PP of
Sentret ???
Furret ???
Hoothoot ???
Noctowl ???
Ledyba ???
Ledian ???
Spinarak ▓0
Ariados ???
Crobat ???
Chinchou ???
Lanturn ???
Pichu ???
Cleffa ???
Igglybuff ???
Togepi ???
Togetic which move?he PP of
Natu ‡Glitch Dimension
Xatu Glitch Dimension
Mareep ‡Glitch Dimension
Flaaffy ‡Glitch Dimension
Ampharos ???
Bellossom ???
Marill ???
Azumarill ???
Sudowoodo ???
Politoed ???
Hoppip ???
Skiploom ???
Jumpluff ???
Aipom ???
Sunkern ???
Sunflora ???
Yanma ???
Wooper ???
Quagsire ???
Espeon ???
Umbreon ???
Murkrow ???
Slowking ???
Misdreavus ???
Unown ???
Wobbuffet ???
Girafarig ???
Pineco ???
Forretress ???
Dunsparce ???
Gligar ???
Steelix ???
Snubbull ???
Granbull ???
Qwilfish ???
Scizor ???
Shuckle ???
Heracross ???
Sneasel ???
Teddiursa ???
Ursaring ???
Slugma ???
Magcargo ???
Swinub ???
Piloswine ???
Corsola ???
Remoraid ???
Octillery ???
Delibird ???
Mantine ???
Skarmory ???
Houndour ???
Houndoom ???
Kingdra ???
Phanpy ???
Donphan ???
Porygon2 ???
Stantler ???
Smeargle ???
Tyrogue ???
Hitmontop which move?
Smoochum ???
Elekid ???
Magby ???
Miltank ‡Glitch Dimension
Blissey ???
Raikou ???
Entei which move?he PP of
Suicune which move?he PP of
Larvitar ???
Pupitar ???
Tyranitar ???
Lugia ???
Ho-Oh which move?
Celebi ???
?????????? ‡Glitch Dimension

An asterisk by an effect means that the text is displayed in a dialogue box one line under "Coins:".

"†" (a dagger)in addition to an asterisk by an effect means that the text goes over the edge of the dialogue box.

"‡" (double daggers) by an effect means that a special version of the "Glitch Dimension" is started, dubbed "Shadow Puppets" or called the "Shadow Puppet Effect".

In "▓0", 0 is replaced by the number of coins you have.

Display alterations

Glitch dimension

Main article: Glitch dimension

When accessed, the game restarts in what appears as an altered color scheme. This is particularly evident in the beginning cutscene/intro movie. The entire (apparently) game can be played as normal. When the player talks to a character, gets on his bike, goes through a door/portal, opens the menu, or does any other action affecting his sprite (though not necessarily changing it), a purple block is generated depending on the position of the player. At other times, seemingly randomly, blocks of color will be generated. For example, after flying to Cinnabar Island and Surfing downwards, the water will be blue, red and green in different places. Battles will be conducted with the colors of the HP bar, names, Pokémon, and Trainers altered, and with blocks of purple. Interestingly, the blocks seem to slide across the screen as the battle begins (at the point where the stat areas and Trainer slide into view). In towns, houses, routes, and other locations, blocks of color can be made to disappear by moving so that they move off-screen. The blocks appear to not be just a display problem, because they scroll with the map. This is apparently caused by the game thinking that it is being played on a Classic Game Boy.

When a cheating device is used to walk through objects, in some cases where the game does not freeze when the player walks out of the game, the game will restart in a "clean" glitch dimension where the background of the title screen is grey and has no blocky effects. Gameplay will be virtually the same, the only difference being; when a person is talked to, glitch dimension blocks will appear.

When the color scheme is altered in the title sequence to display Ho-Oh in color, this can only be done in Gold version. It will not work in Silver version and will not display Lugia in color.

File:Glitchdimensionho-oh.gif
Ho-Oh showing its true colors, in a "clean" Glitch Dimension.

Video

By Zachtheglitchbuster
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.


Shadow Theater

Everything is completely white, except for the sprites (such as the player character, the NPCs, the Game Freak logo at the beginning). The sprites are either black, extremely darkened, dark blue, or near white. Sometimes an already-dark sprite will become white. Sprites with areas of high contrast (near black near white combinations) will appear partially black and partially white. Menus are not visible, but it is possible to navigate through them by memory. When viewing the PokéGear only the arrow selector pointing upwards is visible in the upper-left corner. During battles, the images of the Pokémon are not visible, but the blacked-out move graphics are. The specific cause of this is unknown, but is probably related to the cause of the Glitch Dimension.

Video

By Gligar13Vids
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.


Changes in the beginning cutscene

Object(s) Original color Color in Glitch Dimension Color in Shadow Theater
Game Freak logo Yellow White Black
Shellder Blue-white with red tongue Pink with blue tongue Black
Lapras Blue with blue-white shell Pink-Red with light pink shell Black
Magikarp Red Blue Black
Pikachu Yellow, red cheek pouches Same as normal color Black
Jigglypuff Purple Same as normal color Black
Totodile Light blue Pink Black
Chikorita Green Light orange Black
Cyndaquil Orange and black with red flames Same as normal color Black with white detail
Charizard Red Blue White
Gold Version Gold Silver Invisible
Ho-Oh silhouette Black Red with pink wing tips Black
Sparkles from silhouette Yellow Purple Black
Silver Version Silver ??? Invisible
Lugia silhouette Black ??? Black
Clouds from silhouette Grey ??? Black
"Pokémon" logo Yellow with blue border Dark yellow with blue border and green shadow Invisible/White

Arbitrary code execution

When the game jumps to $E112, it starts executing data related to Pokemon cries as machine instructions. In particular, when Coin Case is used after hearing Machop's cry, the game will eventually reach address $E912. Data around that address is related to the overworld, and, while difficult, can be manipulated through moving around in different patterns. In particular, by exiting Professor Elm's Laboratory and moving four steps to the right (prior to using the Coin Case after hearing to a Machop's cry), the game will jump to address $FA98, which is in the middle of the data of the third Pokemon in the player's party. The game can therefore be made to execute specific code (based on the Pokemon's attributes such as species, item held, or moves) by deliberately placing party Pokemon. By placing a specific species of Pokemon in the fourth slot of the party with the correct held item and first move, the game's execution may even be made to jump to the memory area that stores the items deposited in the player's PC, where code will execute based on the identifier and quantity of the items in the PC.

Video

By Crystal_
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.




Multiple
generations
Transform glitchesGlitch TrainersCloning glitchesError messagesArbitrary code execution
Generation I GlitchesBattle glitchesOverworld glitches
--0 ERRORBroken hidden itemsCable Club escape glitchDual-type damage misinformation
Experience underflow glitchFight Safari Zone Pokémon trickGlitch CityItem duplication glitchItem underflow
Mew glitchOld man glitchPewter Gym skip glitchPokémon merge glitchRhydon glitchRival twins glitch
Select glitches (dokokashira door glitch, second type glitch) • Super Glitch
Time Capsule exploitWalking through wallsZZAZZ glitch
Generation II GlitchesBattle glitches
Bug-Catching Contest glitchCelebi Egg glitchCoin Case glitchesExperience underflow glitch
Glitch dimensionGlitch EggTeru-samaTime Capsule exploitTrainer House glitchesGS Ball mail glitch
Generation III GlitchesBattle glitches
Berry glitchDive glitchPomeg glitchGlitzer Popping
Generation IV GlitchesBattle glitchesOverworld glitches
Acid rainGTS glitchesPomeg glitchRage glitch
Surf glitchTweakingPal Park Retire glitch
Generation V GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Frozen Zoroark glitchSky Drop glitch
Generation VI GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Lumiose City save glitchSymbiosis Eject Button glitchToxic sure-hit glitch
Generation VII GlitchesBattle glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitch
Generation VIII Glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitchParty item offset glitch
Generation IX Glitches
Glitch effects Game freezeGlitch battleGlitch song
Gen I only: Glitch screenTMTRAINER effectInverted sprites
Gen II only: Glitch dimension
Lists Glitches (GOMystery DungeonTCG GBSpin-off)
Glitch Pokémon (Gen IGen IIGen IIIGen IVGen VGen VIGen VIIGen VIII)
Glitch moves (Gen I) • Glitch types (Gen IGen II)


Project GlitchDex logo.png This article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games.