Talk:Coin Case glitches

Add topic
Active discussions

so, basically, it's Machop's or Machoke's cry followed by the coin case that sets it off. Wouldn't that be easier to say on the page? Me and my fellow torchics agree on this - Sk8torchic 19:23, 23 October 2008 (UTC)

It should be mentioned that you don't have to fly. This is misleading because i tried it without flying and it worked... so a pokemon with fly should be removed from the things you need,(GT4GTR 03:23, 21 December 2008 (UTC))

Should it also be mentioned that this glitch can be done by leaving the world with a walk through walls code or something, cause i have found this to work too... http://au.youtube.com/watch?v=enJoLybvjMM (GT4GTR 07:05, 22 December 2008 (UTC))

Technical Details

This glitch is actually nothing special. When you crash the game, there are some error checks (which don't always work) that will simply reboot it. However, these checks don't reboot correctly.

When a Game Boy game powers on the CPU registers are left in a known state by the Game Boy's boot ROM. Each Game Boy model leaves them in a different state. This is the only reliable way to tell which model the game is running under. Therefore if a game wants to use GB Color features it must check the registers immediately at power-on to see if it's running on a colour-compatible model.

The error handler does not bypass this check when it reboots the game. Since the CPU registers are no longer in the state they were in at startup, the detection fails and the game believes it is running on the orignal Game Boy. Therefore it will never change the on-screen colours, leaving them at whatever they were set to before. If you crash the game on the map, you can see that the colours left on the screen are those of your surroundings.

The only real interesting aspect of this glitch is the colourization of the title screen. Apparently the artists drew a coloured image, and then changed their minds and decided to set the palettes to black rather than redrawing the image.

This glitch can be fixed with a two-byte change to the ROM: change the 2 bytes at address 2 to D2 05. This will make it skip the GBC check and reboot normally. As a Codebreaker code that would be 010002D2 01000305. Game Genie: D20-02F 050-03F. That doesn't stop the game from crashing, just makes the colours work correctly afterward.

What is interesting is why this particular sequence of events crashes the game in the first place.

Unsure

Does this glitch work in Pokémon Crystal?--Tmwps 07:20, 11 April 2009 (UTC)

The crazy colour effect is still there if you crash the game (but since it's GBC only and thinks it's not on a GBC, it doesn't let you play), but I'm not sure if the crash can still be triggered. HyperHacker 05:08, 17 April 2009 (UTC)

Adding to that it gives the message 'This game is only for use on the gameboy colour,' apparantly what happens when you try to play some games on the super gameboy --Chickasaurus 17:56, 1 January 2010 (UTC)

Isn't this article a stub?

I mean, sheesh, it doesn't even tell you how it works. Dolphins_are_awesome (and Vulpix are too)! 23:28, 4 May 2009 (UTC)

Uh, yeah it does. Missingno. Master says: The Celebi Glitch is real!(talk page) 18:30, 14 June 2009 (UTC)
Um, assuming that Dolphins is referring Glitch Dimension, unless the glitch activates by simply talking to those pokemon, it doesn't. And if that is all that's required, it should be specified that no further actions are necessary. --Twilightdusk 16:22, 30 March 2010 (UTC)
In fact, if that's all that's necessary, it hardly falls under Coin Case glitches, leading me to believe that the information is indeed incomplete. --Twilightdusk 17:04, 30 March 2010 (UTC)

Found something out

The Farfetch'd in Azelia can also trigger this glitch. I tried it and I used the Farfetch'd in Azelia instead of the Machop or Machoke and it worked.Pokemon champ 08:42, 3 July 2009 (UTC)

Dratini glitch and also regarding the move to Coin Case glitches

I don't know why that particular Dratini is so significant, because the same 'Coins which move?PP of' effect can be caused by any Dratini cry and even unrelated Pokémon like Articuno's cry in the Pokédex. If we keep the name should we at least add that in fact Dratini isn't the only Pokémon which can give you (arguably 65535 coins)? --Chickasaurus 20:48, 9 March 2010 (UTC)

Also, whilst the 'Dratini glitch' and similar effects are only part of Coin Case glitches, the Glitch Dimension isn't. The article already states that if one trades a Ditto with the Cooltrainer move that he/she can also start the Glitch Dimension, for this reason should the Glitch Dimension should have its own article? The Coin Case glitches article could still have its own Glitch Dimension section but lots of glitches also cause that same effect (with different colours or not). Hope I'm not tediously repeating myself lol. --Chickasaurus 21:00, 9 March 2010 (UTC)

@First Comment: Yes, maybe we should try document them all? If you'd like to give it a go then please tell me so I can help a bit.

@Second comment: The glitch dimsension starts a lot for me when using gameshark codes on an emulator to do lots of wierd stuff at once. Could be related to that as it seems to restart with glitch dimension when using the move occupying hex 00 too.

OwnageMuch 02:27, 10 March 2010 (UTC)

Glitch dimension is really just Graphical glitches. We could simply merge it with sprite glitch (with is pretty short and mainly cheating) to get a full graphical glitches article. We could then mention that doing the Machop-Coin Case glitch activates the "Glitch Dimension". --SnorlaxMonster 10:41, 11 March 2010 (UTC)
I got a 'Glitch dimension' on Tetris the other day, so I guess it is more just a result of the game attempting to reset the game (as an error trap), but it may fail to set the byte for the default colours back to its normal variable, I agree that we make one large graphical glitches article. It reminds me of the old Gamecube neutral controller position exploit. If you hold the controller stick forward while turning on the console the game will always act as if you are still holding forward even when you release it. --Chickasaurus 17:37, 12 March 2010 (UTC)

Um

If this articles does explain how the glitch works, it's very unclear. I still don't really understand how to activate this glitch... someone who knows how to do this really needs to clarify it. :/ --ZestyCactus 04:13, 25 April 2010 (UTC)

Use the Coin Case, then listen to one of the mentioned Pokémon's crys. --SnorlaxMonster 06:24, 25 April 2010 (UTC)
Other way around, listen to Pokémon's cry and then use coin case. OwnageMuch 06:45, 1 May 2010 (UTC)

Cause of these glitches

Although these are relatively useless, why is the Coin Case so glitchy? It's just a case that stores coins, but for some odd reason, it seems, a lot of glitches are associated with it. Has anyone on the internet researched this? Seritinajii 16:25, 23 May 2010 (UTC)

I did consider researching the topic before, but to my knowledge it has not been completely solved. "Which move?PP of" is actually 65535 coins, or perhaps a range of values for coins around that value because that is what happens if you use a game-altering device such as a cheating device or hex editor to change the amount of coins in the Coin Case to FFFF (65535). For this reason perhaps it could be suggested that the amount of coins does not just change for instance the 20 in "20 coins." but each single letter at a time. Quantities above 9999 coins are undefined and if this theory is true, perhaps it is the cause of such phenomenum when the game tries to draw data from nearby bytes as text.
The reason a Pokémon cry would do this though, is questionable. My theory is perhaps certain sounds add a certain amount of coins to the Coin Case, e.g. K'ching sound 1 = +50 coins and K'ching sound 2= +500 coins; so maybe something like 'Machop sound' would give an extra quantity of coins over +9999 which makes the GameBoy use its internal reset (appears as 'glitch dimension') for completely invalid information. Maybe this could be backed up by the fact that Pokémon that use the same cries (identifier/ index number wise) but with different pitches have the same effect (e.g. Omanyte and Machop) but I haven't tested this with every cry yet.

--Chickasaurus 17:09, 23 May 2010 (UTC)

The actual reason the Coin Case is glitchy is the endcode $50 (which is supposed to be $57 but got fixed in Crystal). $50 allowed for arbitrary execution. TAS using arbitrary execution and submission details. Pikachu25 (talk) 16:00, 25 March 2014 (UTC)

Yes, I'm aware of what you mean. This was documented by Sanky in July 2013, and my comment above was in 2010. The endcode that causes the glitch is actually a $57 (see offset 0x1985B0 in Gold), not $50. In fact, $50 would cause the glitch not to happen. Chickasaurus (talk) 02:06, 26 March 2014 (UTC)

Change of location

I performed this glitch on Gold in the basement of the Goldenrod Department Store, and after I listened to a Cyndaquil cry the normal glitch happened but I reloaded in the lobby of the National Park. My Pokemon team was from quite a while ago, and saved prior to the glitch in the department store. I know I had saved many times after the save file activated in the glitch, so it couldn't have been that my previous save had failed. Is this a part of the glitch not listed on the article? Riolupaws (talk) 21:02, 20 July 2012 (UTC)

???

Does ??? after a Pokémon mean that it doesnt do anything or that it's not yet discovered? Because I am willing to listen to those cries to find out what they do.--Quagsires (talk) 15:05, 14 August 2014 (UTC)

The second part is correct. We are not sure what that cry will do for the glitch. --Super goku (talk) 01:52, 15 August 2014 (UTC)

Switching pockets

Aren't these effects different when switching pockets or not before using the Coin Case? MMMMMMMMMMMMM (talk) 23:40, 28 December 2015 (UTC)

Needs heavy rework

The Coin Case is well known for being capable of arbitrary code execution. In several cases, such as Machop's cry, the cry happens to contain an `inc sp` command, which messes up the call stack and causes code execution to jump to graphics ram, meaning that the result of the coin case glitch in some cases depends on what is on the screen, i.e. where the player is standing. It's merely listed as "glitch dimension" on this page, likely because that is what happened when one particular editor tried it. I think this page should either be removed for non-notability (no one is going to look up specifically how to get the "which move?he PP of" message!) or edited to discuss the ACE possibilities. Xolroc (talk) 01:01, 16 January 2017 (UTC)

Do you really need to fly?

Is flying to Cherrygrove city optional when doing the Pokémon modifying glitch? MageMagius (talk) 08:10, 8 July 2021 (UTC)

Return to "Coin Case glitches" page.