Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Pokémon Glitch Discussion

World's stupidest question - Page 2

Re: World's stupidest question

Posted by: Raven Freak
Date: 2012-12-19 21:08:40
IIRC you can't catch any of the glitches in the $F0 range, as the game automatically locks up when you encounter it. Use this code to own the Pokemon, however this changes your first Pokemon, so use a Pokemon you don't want to keep.
01??64D1 
01??6BD1
Also to catch other glitches that don't crash the game use this code to steal the trainer's Pokemon:
010157D0

Re: World's stupidest question

Posted by: MrGlitch
Date: 2012-12-19 21:47:55
Okay, cool. So the game forces a trainer encounter to prevent itself from crashing upon encountering a glitch Pokemon?

Re: World's stupidest question

Posted by: Raven Freak
Date: 2012-12-19 21:53:17
Not in this case, the game crashes due to the trainer in general. I believe the game points to invalid data in which causes the crash. $F0 contains null data, because there were no Pokemon added to those empty slots. It just pulls random data from the game, which it can't read. Of course this is all a theory. :P

Re: World's stupidest question

Posted by: Torchickens
Date: 2012-12-20 05:19:30

Okay, cool. So the game forces a trainer encounter to prevent itself from crashing upon encountering a glitch Pokemon?


This is part of a routine with all index numbers >199, and isn't necessarily to prevent the game from freezing.  I'm not exactly sure how it works, though the first trainer class starts at 201 (Youngster) and 'Jacred' (#200) is actually 'trainer class 256'.  If you keep the code (01xxD8CF) on, the trainer will send out the equivalent glitch Pokémon, otherwise they'll have a different 'glitch roster' that changes with 01xx5DD0 (last roster # in memory).

If you use 01xx59D0 and 01xx5DD0 you can encounter trainers with real rosters. For example, 01D059D0 and 01015DD0 gives Super Nerd's first roster - Magnemite Lvl 11 + Voltorb Lvl 11 (but it doesn't if you use 01xxD8CF)

When you use the Ditto trick (Trainer-Fly glitch), the game writes a value to 01xx59D0 based on the last special stat and the roster number is derived from the opponent's attack stage, which is normally 7 (0 boosts/drops).

Re: World's stupidest question

Posted by: camper
Date: 2012-12-20 08:02:55

Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get [IMG]http://i.imgur.com/Ksr0y.png[/img] (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.

I think… you just encountered the FD (253) trainer, who of course crashed your game.

Re: World's stupidest question

Posted by: MrGlitch
Date: 2012-12-20 16:49:23


Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get [IMG]http://i.imgur.com/Ksr0y.png[/img] (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.

I think… you just encountered the FD (253) trainer, who of course crashed your game.

That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index…

Re: World's stupidest question

Posted by: GARYM9
Date: 2012-12-20 23:27:52



Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get [IMG]http://i.imgur.com/Ksr0y.png[/img] (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.

I think… you just encountered the FD (253) trainer, who of course crashed your game.

That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index…


The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.

Re: World's stupidest question

Posted by: camper
Date: 2012-12-20 23:42:47




Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get [IMG]http://i.imgur.com/Ksr0y.png[/img] (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.

I think… you just encountered the FD (253) trainer, who of course crashed your game.

That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index…


The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.

The second method is better, as it doesn't have to view the front sprite of the glitch Pokemon, which often crashes the game.

Re: World's stupidest question

Posted by: GARYM9
Date: 2012-12-21 00:26:47





Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get [IMG]http://i.imgur.com/Ksr0y.png[/img] (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.

I think… you just encountered the FD (253) trainer, who of course crashed your game.

That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index…


The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.

The second method is better, as it doesn't have to view the front sprite of the glitch Pokemon, which often crashes the game.


I said the first method because I didn't know whether or not he meant actually battle them.

Re: World's stupidest question

Posted by: MrGlitch
Date: 2012-12-21 15:50:55

The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.

I'm not necessarily trying to catch them, just encounter them without a freeze/lock-up.

So you're saying that I should deactivate the code, go into a normal wild Pokemon battle, then turn the code on during the battle?

Re: World's stupidest question

Posted by: Darkness_LordII
Date: 2012-12-21 16:38:14
To catch a glitch pokemon C8 and beyond on a real system with gameshark

1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)

This take some pratice, but its actually very easy to do.

Ive always wondered how pokemon trainer were coded in the game. Why going over C8 will make appear the trainer and the glitched pokemon, do they share the same slot or are ''fused'' into one? So far ive never seen a Glitch Trainer in the form of Yellow Jessie & James or Ash. If anyone has a picture or a video of a Glitched Jessie & James trainer, I would appreciate it

Re: World's stupidest question

Posted by: Torchickens
Date: 2012-12-21 16:50:57

Ive always wondered how pokemon trainer were coded in the game. Why going over C8 will make appear the trainer and the glitched pokemon, do they share the same slot or are ''fused'' into one? So far ive never seen a Glitch Trainer in the form of Yellow Jessie & James or Ash. If anyone has a picture or a video of a Glitched Jessie & James trainer, I would appreciate it


In Red/Blue D12Bh is a byte that determines whether the opponent is a Cable Club trainer or not. When D12B is 01, all Pokémon Trainers look like Red. When you abuse the Cable Club escape glitch, D12B stays at 01 so you can battle a Trainer who looks like Red with the roster of the person you linked with after viewing their party. The Trainer AI is still the same as the normal Trainer class, so if you try it with e.g. Bruno, you will encounter a Trainer who looks like Red but with a tendency to use X Defend.

After the memory gets corrupted by the ZZAZZ glitch, it happens that D12Bh is changed to 153; tricking the game into thinking all Trainers are from the Cable Club. This is related to why the 'death Trainer' appears.

I'd imagine there's probably a similar byte that makes Trainers look like Jessie & James, though I don't know for sure if there is.

Re: World's stupidest question

Posted by: MrGlitch
Date: 2013-01-01 14:02:05

1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)

I've confirmed that this works.

I've also confirmed that "a" is a pain in the ass to battle!  It won't let me attack after I've selected an attack.  I'd really like to see someone delve into the inner workings of "a" and see why it spawns so many text boxes, for one thing.

Re: World's stupidest question

Posted by: Raven Freak
Date: 2013-01-01 15:29:28
The reason why it "spawns text boxes" is simply due to it's name being too long, in which you have to keep pressing A to get to the next line of "text". The game caps the number of characters (or letters) in your name and a Pokemon's name, that max number for a Pokemon is 10 (though technically IIRC it's 11 due to the fact that it needs a certain byte to tell the game the text is finished.) a's name surpasses that of the normal 10 letters, that's why the game forces you to keep spamming the A button. There are various other glitches that have longer names than what's allowed too btw.

Re: World's stupidest question

Posted by: GARYM9
Date: 2013-01-01 17:46:31


1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)

I've confirmed that this works.

I've also confirmed that "a" is a pain in the ass to battle!  It won't let me attack after I've selected an attack.  I'd really like to see someone delve into the inner workings of "a" and see why it spawns so many text boxes, for one thing.


It's due to an improperly terminated name.  The game looks for HEX $50 before it can terminate a name.