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 IV Glitch Discussion

How to catch glitch Pokémon in D/P(Pl?) - Page 1

How to catch glitch Pokémon in D/P(Pl?)

Posted by: BUGLITCH
Date: 2018-03-12 12:44:48
Hello guys, I found a way to get glitch Pokémon in D/P without using any emulator-only glitches like "glitch scripts" or similar things. (however I couldn't test on real hardware for now)

It's using a glitch I will call the Battle Corruption Glitch from now on.

This glitch will corrupt the wild encounters as well as the Great Marsh encounters. I called it Battle Corruption Glitch because it's actually affecting every battles, you will get why later.

I think the best way to explain it is to go through the process of its discovery.

Pomeg Glitch

You may know that you can't directly get a Fainted Pokemon with the Pomeg in D/P/Pl, however it's easy to get one by using Pomeg in order to get a negative amount of HP, so that you can use a Rare Candy to raise its HP to 0.

[img]http://www.prama-initiative.com/DPP/BCG/pomeg.png[/img]

You may also know that, if you have less than six Pokémon in your team, and if all your Pokémon are Fainted, the game will pick the Pokemon just after your last one (the 5th if you have 4, the 6th Pokemon if you have 5 etc) which will result in you sending in battle the well known "DPBox".

If you have 6 Pokemon, the game will crash, because it wants to access the 7th Pokemon of your team, which is out of bound. (However I'm not quite sure about this anymore because double battles work if you have 5 fainted Pokémon on you, so the problem might be elsewhere)

I wanted to avoid this crash to see what was really happening, the way I did it is by having 6 invalid Pokémon in my team (KO, Eggs), but I cheated to have some invalid Pokemon that could fight (the empty Pokémon). Basically, I had 3 Fainted Pokémon in my team, and I edited my team size to 6.

This was the result of it :

[img]http://www.prama-initiative.com/DPP/BCG/empty.png[/img]

As you can see, the wild Pokemon is glitched, this is what I called the Battle Corruption Glitch.

Battle Corruption Glitch

So this is what the BCG is: having a team of 6 invalid Pokémons will result in a wild encounter against glitched Pokémon, however it was impossible to know because of the crash.

How to not crash

So from there, it's easy to conclude than the crash was the result of our Pokémon, not of the wild corrupted one.

So all I had to do is to find a place where our Pokémon wasn't appearing, I picked the Great Marsh.

[img]http://www.prama-initiative.com/DPP/BCG/BCG.png[/img]

So here it is guys, all you have to do is to get 6 invalids Pokemon in your team by using the Pomeg, before heading to the Great Marsh.

Most of the time, it will crash, all Pokemons called "Bad eggs" are a no go, I couldn't catch any of them. But I could catch some of the non-bad eggs one :

[img]http://www.prama-initiative.com/DPP/BCG/box.png[/img]

[img]http://www.prama-initiative.com/DPP/BCG/e.png[/img]

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: Torchickens
Date: 2018-03-12 13:02:31
Wow! This is groundbreaking :).

Amazing find BUGLITCH.

If you bring up the Pokédex entry of one of these glitch Pokémon could that lead to reliable arbitrary code execution?

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: BUGLITCH
Date: 2018-03-12 13:21:38
Thanks!
Hmm, I'm not sure what you meant but sadly I don't think the entry is accessible.

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: Gravedigger
Date: 2018-03-12 13:49:59
I think we'll need to find a way to circumvent the crashes on hardware, but it has potential to work with the correct setups, I hope

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: xylo
Date: 2018-03-12 15:35:02
Good work! :D

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: Stackout
Date: 2018-03-15 15:21:32
Reminds me of this, which was the same effect (well, seems so anyway) caused by editing a save file with 0 Pokémon in the party to have partycount=6: https://forums.glitchcity.info/index.php?topic=7168.0

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: ISSOtm
Date: 2018-03-15 19:52:36
Trying this on my Diamond cartridge yielded a crash before the battle transition showed up. Interestingly, Desmume crashes, but later.

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: BUGLITCH
Date: 2018-03-16 10:01:16

Reminds me of this, which was the same effect (well, seems so anyway) caused by editing a save file with 0 Pokémon in the party to have partycount=6: https://forums.glitchcity.info/index.php?topic=7168.0


Oh yep, never saw this topic, but yes, having your partycount to 6 while having no Pokémon means having 6 invalid Pokémon, so that's it.

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: RichardG867
Date: 2018-03-17 13:04:21
This is also possible in the HG/SS Safari Zone. The following screenshots were taken on HeartGold with a party of 6 fainted Pokémon. Ending the encounter in any way results in a crash while returning to the overworld (black screen), however the glitches never run away from too many throws/bait/mud.

[img]https://i.imgur.com/WgoMgOb.png[/img] [img]https://i.imgur.com/kwSuyoq.png[/img] [img]https://i.imgur.com/PuwDXLO.png[/img] [img]https://i.imgur.com/fL7Gwzr.png[/img]

The Bad Eggs hang the game and eventually crash with a stuck music note, while the blue boxes appear to just hang. All Bad Eggs have a really long animation (normal hop, then sprite jumps around randomly), but I did find a blue box that had Bulbasaur's cry and animation followed by the jump-around sequence.

I did manage to catch some that didn't crash immediately, but they do crash before the summary (see second image). Throwing bait also crashes (third image):

[img]https://i.imgur.com/71gWjie.png[/img] [img]https://i.imgur.com/WGZ69KB.png[/img] [img]https://i.imgur.com/vaMDf17.png[/img]

This one broke out of the ball, started watching carefully and promptly crashed with some top screen corruption:

[img]https://i.imgur.com/SOXra8u.png[/img]

This blue box broke out of 20 balls and was only catchable with an Action Replay code to increase the catch rate, it didn't crash at first, although it crashed while loading the overworld as I mentioned above:

[img]https://i.imgur.com/XskLDgH.png[/img] [img]https://i.imgur.com/AP3C8fh.png[/img] [img]https://i.imgur.com/XOlvumg.png[/img]

Also, my very first attempt ended in a crash during the battle transition, although I never manage to reproduce that.

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: 0ErrorYT
Date: 2018-03-18 13:48:24
I have uploaded a video on this, mostly bad egg, but got a few cool things.
https://youtu.be/oBcZrfUr-dE

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: Torchickens
Date: 2018-04-11 13:55:09

This is also possible in the HG/SS Safari Zone.

(…)


I think this is an obscure fact but I'm not sure if Pomeg glitch works in HeartGold/SoulSilver.
Unfortunately for that reason this may be a Diamond/Pearl/Platinum(?) only glitch. I didn't test the Japanese version however.

In at least English HeartGold/SoulSilver I wasn't able to get the Pomeg glitch to work and I believe I did the same things for it to successfully work in Diamond/Pearl/Platinum (as in this video https://www.youtube.com/watch?v=E12pPXg4-dM).

For what its worth if it is possible in HeartGold/SoulSilver you can also activate a glitch where the walking Pokémon stays on the spot by having only fainted Pokémon but can't remember how.

Going to go test this on physical Diamond/Pearl and Platinum by modifying the save file first.

Edit 1: US Diamond results: Set up the party like BUGLITCH did but the game froze before battle. :(
Edit 2: EU Platinum results: Freeze as before
Edit 3: JP Diamond results: Freeze as before
Edit 4: Also for what it's worth, I tried this on the original DS ('DS phat'), a DS Lite and New Nintendo 3DS XL. Same result sadly.
Edit 5: Added PKM file for hacked Azumarill. To get it to 0 HP use the Pomeg Berry and then the Rare Candy. https://sites.google.com/site/torchickens2/miscellany
Edit 6: Yep, HeartGold/SoulSilver can't be used for the Pomeg glitch, including Japanese versions (only the maximum HP is reduced). :(

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: BUGLITCH
Date: 2018-04-16 17:15:41
There there
Yeah sadly it doesn't seem to work on hardware.

If it's only due to the battles, we can maybe still try to learn how to control the corruption to get non-crashing Pokémons (or even non-glitchmons).

If it's due to the corruption itself, well, we should stop trusting DS emulation on corruption glitches like cascade glitch, battle corruption glitch, glitchscripts etc. which are then just due to a glitch in emulation (well cascade glitch actually works but not the same way).

Anyway this was still fun to experiment these things with you guys!

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: RETIRE
Date: 2019-01-02 12:50:15
And, then I decided that it was time to revive this glitch and make it work on hardware. Using the method shown here it nearly works, but one extra factor is required! You need to be in a doublebattle, then the battle seems to stabilize allowing you to achieve the Battlecorruption!

Because of partnermode being achievable anywhere in diamond and pearl its probably the most useful there, because that allows you to corrupt wild battles anywhere, but it works in platinum and HG/SS too. It also works on doublebattles with trainers, and since the corruption seems to be influenced by the enemy's stats, if it works once with it'll always works with this couple (altho ASLR also influences the results)

[img]https://i.imgur.com/27cKHIY.jpg[/img]
[img]https://i.imgur.com/tavAxjx.jpg[/img]

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: Torchickens
Date: 2019-01-03 11:54:54
You mean to say the only extra requirement needed was to be in a Double Battle? :O

Wow, this is amazing! Nice work. Really want to try it again now and see if any of the glitch Pokémon can be obtained with no freezing dex entries.

Umm.. Just to be sure, do you need to both be in the Safari Zone and double battle mode with all fainted Pokémon?

Re: How to catch glitch Pokémon in D/P(Pl?)

Posted by: RETIRE
Date: 2019-01-03 15:53:29

You mean to say the only extra requirement needed was to be in a Double Battle? :O

Wow, this is amazing! Nice work. Really want to try it again now and see if any of the glitch Pokémon can be obtained with no freezing dex entries.

Umm.. Just to be sure, do you need to both be in the Safari Zone and double battle mode with all fainted Pokémon?



You do not have to be in the safari zone, the safari overlay will be removed once you have a partner anyway. Speaking of the safari zone, here are two dp exclusive methods to get 6 dead pokémon/eggs in partnermode!

First is the easy option, you take a normal partner out of bounds using the wrong warp setup, swap out your pokémon for weak pokemon or eggs, enter safari zone and kill all 6 in one battle.
You'll get safari kicked with 6 dead pokémon. Using eggs also works meaning you have to kill less of them

Second option is a bit harder, but might proove more interesting if you could get a stable battle. If you get an amity square partner out of bounds you need to have 5 eggs and one weak pokémon, save in front of the safari girls, and enter hoping to get a wifi battletype and die in it to get Safari kicked. Resetting if you do not get the desired result

Either of these methods will allow you to have doublebattles with 6 dead pokémon anywhere in dp. For platinum you can only do this glitch around partners their areas and heartgold is probably limited to double trainerbattles.