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.

Generation III Glitch Discussion

Gen III: Access Pokémon beyond the sixth slot sub-glitches. - Page 9

Re: Pokemon FRLG/E: Clone Pokémon and get Bad EGGs/Glitch Moves using Pomeg Berry!

Posted by: luckytyphlosion
Date: 2014-04-21 19:39:19
I'll change it.
EDIT: Changed.

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: VaeporSage
Date: 2014-04-22 06:31:58
Neither the Pokémon in my Daycare or the Egg they produced was distorted. I mustn't have scrolled up very far when I corrupted everything.

When viewed on its summary screen, Smeargle's glitch move is called (roughly)   K . So I'll refer to it as Unonkaana from now on.

However, while we all have this glitch move with this effect (Torchickens, luckytyphlosion and Werster have all found it), the name of this glitch move seems to vary between players. Additionally, mine was found on the Bad Egg in slot 5, Box 1, whereas Werster found his in slot 3 of Box 1. Could it be that these are a bunch of different moves that happen to cause the same effect?  :???:

Anyway, I tested out my Unonkaana a little more. Trying to delete it at the Move Deleter causes the screen to freeze violently, changing the screen's colour to pink-purple. Unonkaana does NOT want to be deleted.  :P

Unonkaana is a TOUGH move with a rating of 4 hearts, but in an actual Contest, the game freezes once it comes to your turn.  :D

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: werster
Date: 2014-04-22 17:53:44
Adding lots of edits to this post as I go along

Different glitch moves give different results, so it makes sense they would actually be different and have different names. That much seems super obvious. The three I've come across that seem to actually change the way the battle plays is:

Changing the battle to Prof Birch's battle asking you to stay (can't flee, but can catch/Fluffy Tail) Eg: http://puu.sh/8ju7i.png | Came from Level 7 Abra with only Teleport
Changing the battle to an ordinarly wild battle (Can also flee): Eg: http://puu.sh/8jteT.png | Came from Level 5 Beldum with only Take Down
Immdiately ending the battle as soon as you close the attack menu Eg: http://puu.sh/8jueO.jpg | Came from Level 25 Tentacool with Dive/Waterfall/Acid/Bubblebeam
Edit: Here's another one that gave Instant Victory (was the first one I got, just replicated it) http://puu.sh/8jGRJ.png | Came from Level 5 Beldum with only Take Down

It also seems that very often the same Pokemon get corrupted in the same way no matter their position in the box. What I mean by that is, my box was full of clones, and if one Tentacool got distorted in that way, all 4 of them did. I do emphasis "very often" though, because I did come across one instance with Beldum where only the one in slot 30 of box 1 got a glitch move, the rest were in tact.

Other moves I have come across that actually worked:

"A FIGHTING move" put the opponent to sleep (never seems to miss?) http://puu.sh/8jtnP.png | Came from Level 25 Tentacool with Dive/Waterfall/Acid/Bubblebeam
Edit: Another exact instance with a different name http://puu.sh/8jAl0.png | Came from Level 40 Sudowoodo with Flail/Low Kick/Rock Slide/Block

"A GHOST move" acted like Explosion/Selfdestruct http://puu.sh/8juMF.jpg | Came from level 60 Metagross with Meteor Mash/Aerial Ace/Explosion/Psychic
"A GHOST move" low power, 10-20, restored half health like Absorb http://puu.sh/8jAXg.png | Came from Level 70 Groudon with Fire Blast/Rest/Fissure/Solarbeam
"A WATER move" seemed to just be a really basic attack with around 20 power http://puu.sh/8jyCs.png | Came from Level 28 Wingull with Water Gun/Supersonic/Wing Attack/Mist (Also this was the first one I tried to watch the battle animation of. The game crashed if I had animations on)
"A NORMAL move" rose attack one stage http://puu.sh/8jyVk.png | Came from Level 6 Taillow with Peck/Growl/Focus Energy/Fly
"A NORMAL move" used spikes http://puu.sh/8jAtv.png | Came from Level 40 Sudowoodo with Flail/Low Kick/Rock Slide/Block
"A POISON move" seemed to be about 100 power and could burn (maybe 30%) http://puu.sh/8jBud.png | Came from Level 25 Oddish with Poisonpowder/Stunspore/Sleeppowder/Acid
"A DRAGON move" always seemed to miss and crashed ala HJK http://puu.sh/8jE0E.png | Came from Level 7 Abra with only Teleport
Edit: Got this again but with slightly different other moves http://puu.sh/8jHnT.png | Came from Level 6 Taillow with Peck/Growl/Focus Energy/Fly. Might be able to derive where the moves are coming from from this??

"d you like to record your battle" worked like Recover http://puu.sh/8jI5I | Came from Level 36 Zubat with Wing Attack/Confuse Ray/Air Cutter/Mean Look
"some huge string of characters that went on for 4 overflowed textboxes" acted exactly like Bide http://puu.sh/8juts.jpg | Came from level 60 Metagross with Meteor Mash/Aerial Ace/Explosion/Psychic
"String of character that went for 1 textbox" acted like Splash, "But nothing happened!" http://puu.sh/8jB6z.png (And before you ask, yes I did try to use it in Rain) | Came from Level 70 Groudon with Fire Blast/Rest/Fissure/Solarbeam

Found another move that seemed to have 0 accuracy, so I went through the trouble of getting a Smeargle to check it to see what it was. Game froze when I got to this screen http://puu.sh/8jCKZ.png

Anything with this move http://puu.sh/8jGBz.png seems to softlock the game. Can move around until you try to advance the game (A or B) then it locks up

(A few others too that I don't have pictures of, will update if anything different found)

Additionally, Bad Eggs can get various Held Items. I've seen Focus Bands and what I think was a Quick Claw, along with a bunch of ?, but none of them can be taken. Also of note: I had a Latios with Protect/Refresh/Luster Purge/Psychic that turned into this: http://puu.sh/8jtFa.png

So to me it seems like somewhere along the line it's advancing the hex number of some moves by a certain amount, which generally comes to be a glitch move (which there seem to be quite a few of, with a lot of varied effects), but occasionally come back to a regular move. I also had something similar happen with my Abra getting Scratch and Vine Whip

I can't figure out where it determines which Pokemon in the boxes get corrupted, nor their moves either. It's somewhere before you start the battle where you do the corruption, because if you reload a savestate in front of a Wild Pokemon and then scroll up, you get the same results (but how far you scroll up determines how many Pokemon get corrupted, to a certain point) I also did the same thing with the same Wild Pokemon, and got different results (scrolling up 50 times against a Level 3 Female Wurmple corrupted half my box, but scroll up 50 times against a different Level 3 Female Wurmple corrupted the other half of my box) http://puu.sh/8jwFx.jpg vs http://puu.sh/8jwGG.jpg (And as you can see from the second pic, I also had the slight name change)

So it could be the stats of that Pokemon? The tile on the map you encounter the battle? Quite possibly something else entirely I'm not thinking of, just trying to think of a way to control the outcomes

Another one I got: What seemed to be an invisible Poke http://puu.sh/8jwRQ.jpg There was no indication there was a Pokemon there, I was trying to hit B but accidently got A and the message showed up to withdraw it. It says it's a bad egg but has no sprite in the menu http://puu.sh/8jx8C.png . In battle it sparkled (think it was just an added effect with a ball, but not one I could identify) http://puu.sh/8jx1S.png But it had no moves so didn't really help much. Looking at it's summary screen for long enough reset the game http://puu.sh/8jxqR.png

Got a normal Egg instead of a Bad one http://puu.sh/8jA0v.png Came from a Level 60 Latios that was originally caught in a Master Ball http://puu.sh/8jzRF.png

Got the Repel modifier one. Seemed to go to 999 steps by my count, but that might be off by a few. Happened while scrolling up through the Pokemon, had nothing to do with the Bad Eggs

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: voltage
Date: 2014-04-22 18:36:22

Another weird one I got: What seemed to be an invisible Poke http://puu.sh/8jwRQ.jpg There was no indication there was a Pokemon there, I was trying to hit B but accidently got A and the message showed up to withdraw it. It says it's a bad egg but has no sprite in the menu http://puu.sh/8jx8C.png . In battle it sparkled (think it was just an added effect with a ball, but not one I could identify) http://puu.sh/8jx1S.png But it had no moves so didn't really help much. Looking at it's summary screen for long enough reset the game http://puu.sh/8jxqR.png


I came across this and two similar ones (but with no sprite, not even glitch sprites) when I found my Bad Decamark.

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: werster
Date: 2014-04-22 18:43:35
Alright yeah I just got a Bed Decamark too. Seems like it comes from a Pokemon actually being in that spot, and then turning invisible, whereas the Black Bad Egg comes from seemingly nothing, as those slots were blank when I found them

Edit: Nevermind, seems more like I always get a bad decamark whenever I don't have 6 Pokmon in my party (only 4 dead, and withdraw only 1 bad egg) Also I managed to get a Black Bad Egg to have moves by withdrawing a blank with a visible Bad Egg, and could escape from trainer battles http://puu.sh/8jzIB.png

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: luckytyphlosion
Date: 2014-04-22 18:52:33
What would happen if you try to beat a Trainer Battle mutated into a Wild battle? Would the battle end as a wild battle, or would the trainer send out another Pokémon. Same with the Battle Frontier. (To avoid whiting out, get a wild smeargle to sketch the glitch move)

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: werster
Date: 2014-04-22 18:55:48
I'd imagine it'd end, as that's what it does in Gen 1, but I can test that out later if no one else does

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: pokechu22
Date: 2014-04-22 19:41:01

What would happen if you try to beat a Trainer Battle mutated into a Wild battle? Would the battle end as a wild battle, or would the trainer send out another Pokémon. Same with the Battle Frontier. (To avoid whiting out, get a wild smeargle to sketch the glitch move)


I can partially answer that: Move 0F0A (I think) caused the game to become a safari battle after switching it around a few times (in firered).  However, you had Pokémon out.  So you could attack.  If you did attack, the opponent would take damage, but you couldn't win it, as safari battles can't be won via damage. 

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: werster
Date: 2014-04-22 20:37:21
This one seemed pretty interesting, so I'm making a new post for this. Came from a Level 29 Vulpix with Will-o-Wisp/Confuse Ray/Imprison/Flamethrower

This move http://puu.sh/8jET5.png is called "Deeply" and raised attack 2 stages.

This move http://puu.sh/8jETI.png is ..weird. It does this: http://puu.sh/8jF0J.png and then when you advance the textbox http://puu.sh/8jF3c.jpg It does indeed OHKO if it hits, but can miss. Both moves also seemed to have increased priority.

What I found more peculiar was after I opened the attack menu, I could no longer use items, which I found annoying because I was trying to catch the Smeargle after I caught it. After checking my Pokemon and coming back, this happened. http://puu.sh/8jEyo.jpg

I then had the idea to use a Revive, then go to attacks, and then switch. http://puu.sh/8jFfz.jpg Going to the Pokemon menu at anytime switches it back to this screen though http://puu.sh/8jFnf.jpg

Edit:  Trying to test Smeargle in Battle Frontier, unfortuntely the move I have has 0 accuracy so I can't kill anything. Things to note though, you don't actually lose the battle when you catch a Pokemon, it ends in a draw, which can get you the win in Battle Dome. Also The opposing Pokemon flees on turn 2, which can get you easy wins in Pyramid (and also gives you more vision from Wild Pokemon)

Edit: Welp… got the result https://www.youtube.com/watch?v=9k49yd4yw0I

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: Ketsuban
Date: 2014-04-22 23:33:23
Oh hey there. Didn't notice you joined. What up, Werster? :D

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: pigdevil2010
Date: 2014-04-23 05:36:50
Seems like performing this glitch will randomly write a value into a Pokemon in PC. I discovered that performing this glitch will write a glitch move into the 20th Pokemon of Box 1. In this case, it changed my Mightyena's Take down to i ÏQ AAI. (0x4024). However, this move just simply freeze the game with "Bad EGG used a DRAGON move!"

[img]http://i.imgur.com/nYSkjiu.png[/img]

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: luckytyphlosion
Date: 2014-04-23 16:31:30
Just a theory (don't criticize me if I'm wrong, I don't know programming), but I was thinking when you have the cursor over a Glitch/Box Pokemon in the glitched Party, you would be changing the value if the Pokémon was highlighted or not, which would correspond to a Pokemon Box Value, but the value wouldn't be changed back. When the value is changed, it makes a Pokémon invalid, so it becomes a Bad EGG. It also could be overwriting different values (moves, markings, OT etc.).

Just a thought though, so don't take it too seriously.

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: pokechu22
Date: 2014-04-23 17:06:49

Just a theory (don't criticize me if I'm wrong, I don't know programming), but I was thinking when you have the cursor over a Glitch/Box Pokemon in the glitched Party, you would be changing the value if the Pokémon was highlighted or not, which would correspond to a Pokemon Box Value, but the value wouldn't be changed back. When the value is changed, it makes a Pokémon invalid, so it becomes a Bad EGG. It also could be overwriting different values (moves, markings, OT etc.).

Just a thought though, so don't take it too seriously.


Even if it was changed back, the game would set it to 0.  Which would cause corruption.  You're probably correct.

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: Torchickens
Date: 2014-04-23 17:30:54
Welcome to the forums, werster. I know that you posted on the temporary forums before about the Generation II map distortion (party overload) glitch and it's nice to see you're still interested in sharing your findings with us.

Thanks for your research on the different moves you can get and their effects. It's good you've distinguished some ones that can let you end a Trainer battle but have different effects.


Seems like performing this glitch will randomly write a value into a Pokemon in PC. I discovered that performing this glitch will write a glitch move into the 20th Pokemon of Box 1. In this case, it changed my Mightyena's Take down to i ÏQ AAI. (0x4024). However, this move just simply freeze the game with "Bad EGG used a DRAGON move!"

[img]http://i.imgur.com/nYSkjiu.png[/img]


This is what luckytyphlosion, myself, VaeporSage, werster and others have been experimenting with recently. The Pokémon that receives a glitch move is random, but once you enter battle, the results are (apparently) the same from that point, as long as you scroll up to the area (one slot each from FF up to D7 or so) you want to corrupt.


I can't figure out where it determines which Pokemon in the boxes get corrupted, nor their moves either. It's somewhere before you start the battle where you do the corruption, because if you reload a savestate in front of a Wild Pokemon and then scroll up, you get the same results (but how far you scroll up determines how many Pokemon get corrupted, to a certain point) I also did the same thing with the same Wild Pokemon, and got different results (scrolling up 50 times against a Level 3 Female Wurmple corrupted half my box, but scroll up 50 times against a different Level 3 Female Wurmple corrupted the other half of my box) http://puu.sh/8jwFx.jpg vs http://puu.sh/8jwGG.jpg (And as you can see from the second pic, I also had the slight name change)

So it could be the stats of that Pokemon? The tile on the map you encounter the battle? Quite possibly something else entirely I'm not thinking of, just trying to think of a way to control the outcomes


The box data values affected are randomized a lot, apparently to validate the Pokémon. They are 'dynamic':

They are affected when you:

1) Open and close the boxes. Doing this can change where boxed Pokémon data for a specific Pokémon begins.
2) Open then close the Pokémon menu from out of battle.
3) Enter a warp
4) Open then close the Pokédex
5) Open the close the Bag
6) Open/close the PokéNav
7) Open/close the Trainer Card/Frontier Pass screen
8) Open/close the Option screen
9) Soft-reset and select Continue (this wouldn't even be helpful if it wasn't randomized, because the game wouldn't have you send out the Decamark; you have to have switched to the last Pokémon in the current session)

This is quite possibly related to what gets corrupted and what doesn't. It's a shame entering a battle itself randomizes the values.

Note that the set of values you got one time may return! If you have a save state just before getting an encounter to send out your Decamark, it's possible that you'll get the same values and therefore the same Bad EGGs/glitch moves when you enter battle and scroll up the same number of times. It's also likely that you'll get different results though. Also, getting an encounter on the same tile doesn't mean you'll get the same results.

Which values may you change indiscriminately in the Pokémon data structure without a Pokémon turning into a Bad EGG?

Simply messing with the personality value can turn a Pokémon into a Bad EGG. This article is written as if it must be the 48 byte 'data' section that should have a correct checksum (computed by adding all of the unencrypted values of that section one word at a time), but why would changing the personality value that is outside of that data section matter?

Re: Gen III: Access Pokémon beyond the sixth slot sub-glitches.

Posted by: TSK
Date: 2014-04-24 02:58:11
This glitch intrigues me greatly so I've dug up my limited debug skills and have started taking a look around. So far I've only managed to reinvent the wheel and found out where box data is stored in RAM. Now that I have this though I might be able to uncover some more interesting stuff.

For those that it may help the following adress seems to hold the box data base pointer at all time: 03005d94
Box 1 slot 1 data can be found by incrementing the pointer by 4.
You can verify this by opening up a memory viewer and having a look at the pointed to location, if you move the pokemon in BOX 1 slot 1 a chunk of memory will become 0.

EDIT: I should mention this is for pokemon emerald with version string "POKEMON EMERBPEE01".