Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Celebi Egg glitch
SRAM glitch
Pomeg glitch data corruption
Tweaking
Pokémon cloning
Arbitrary code execution
Glitches by Generation
Other major glitches
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: How to catch glitch Pokémon in D/P(Pl?)  (Read 1755 times)

0 Members and 1 Guest are viewing this topic.

BUGLITCH

  • aze
  • GCLF Member
  • Offline Offline
  • i'm not xylo lmao
    • View Profile
    • PRAMA Initiative
How to catch glitch Pokémon in D/P(Pl?)
« on: March 12, 2018, 11:44:48 am »
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.



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 :



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.



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 :





« Last Edit: May 23, 2018, 12:45:03 am by BUGLITCH »

Quirky Flower Chicken ❤✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • (Image thanks Sanrio + Pexels)
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #1 on: March 12, 2018, 12:02:31 pm »
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?

(Image © Sanrio, Nintendo, HAL Laboratory)

✿ Hi! I'm Evie. I'm a transgender woman, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Passive, kind, but a little shy sometimes in public though warms up. Sensitive, however brave. I have a hidden protective side to me. Liberal feminist.

War is the birth of new love, love is the birth of new war. Having died once, lived twice. Together alone we are together.

Thank you for this lovely artwork Nyapon! :3

BUGLITCH

  • aze
  • GCLF Member
  • Offline Offline
  • i'm not xylo lmao
    • View Profile
    • PRAMA Initiative
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #2 on: March 12, 2018, 12:21:38 pm »
Thanks!
Hmm, I'm not sure what you meant but sadly I don't think the entry is accessible.

Gravedigger

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • I usually just derp around untill I find things..
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #3 on: March 12, 2018, 12:49:59 pm »
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

xylo

  • gen 4 is best gen
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • i'm not buglitch lmao
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #4 on: March 12, 2018, 02:35:02 pm »
Good work! :D
Twitter

hi, i'm xylo, the world's most inconsistent and terrible glitch-person-thing

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #5 on: March 15, 2018, 02:21:32 pm »
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
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #6 on: March 15, 2018, 06:52:36 pm »
Trying this on my Diamond cartridge yielded a crash before the battle transition showed up. Interestingly, Desmume crashes, but later.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

BUGLITCH

  • aze
  • GCLF Member
  • Offline Offline
  • i'm not xylo lmao
    • View Profile
    • PRAMA Initiative
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #7 on: March 16, 2018, 09:01:16 am »
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.

RichardG867

  • GCLF Member
  • Offline Offline
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #8 on: March 17, 2018, 12:04:21 pm »
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.



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):



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



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:



Also, my very first attempt ended in a crash during the battle transition, although I never manage to reproduce that.
« Last Edit: March 17, 2018, 09:50:10 pm by RichardG867 »

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #9 on: March 18, 2018, 12:48:24 pm »
I have uploaded a video on this, mostly bad egg, but got a few cool things.
https://youtu.be/oBcZrfUr-dE
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

Quirky Flower Chicken ❤✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • (Image thanks Sanrio + Pexels)
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #10 on: April 11, 2018, 12:55:09 pm »
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). :(
« Last Edit: April 11, 2018, 04:21:59 pm by Princess Torchic ❤ »

(Image © Sanrio, Nintendo, HAL Laboratory)

✿ Hi! I'm Evie. I'm a transgender woman, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Passive, kind, but a little shy sometimes in public though warms up. Sensitive, however brave. I have a hidden protective side to me. Liberal feminist.

War is the birth of new love, love is the birth of new war. Having died once, lived twice. Together alone we are together.

Thank you for this lovely artwork Nyapon! :3

BUGLITCH

  • aze
  • GCLF Member
  • Offline Offline
  • i'm not xylo lmao
    • View Profile
    • PRAMA Initiative
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #11 on: April 16, 2018, 04:15:41 pm »
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!

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #12 on: January 02, 2019, 12:50:15 pm »
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)


« Last Edit: January 03, 2019, 02:32:37 am by RETIRE »
Hey, I mainly focus on generation 4 glitches and specialise in voidspecific glitches.

If you'd like to see progress on gen 4 research you can watch my videos here:
https://www.youtube.com/c/RETIREglitch

Feel free to send me pms on the forum or add me on discord by tagging me in the glitchcity laboratories server ^•^

Quirky Flower Chicken ❤✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • (Image thanks Sanrio + Pexels)
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #13 on: January 03, 2019, 11:54:54 am »
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? ✿
« Last Edit: January 03, 2019, 01:00:59 pm by Evie ❤✿ »

(Image © Sanrio, Nintendo, HAL Laboratory)

✿ Hi! I'm Evie. I'm a transgender woman, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Passive, kind, but a little shy sometimes in public though warms up. Sensitive, however brave. I have a hidden protective side to me. Liberal feminist.

War is the birth of new love, love is the birth of new war. Having died once, lived twice. Together alone we are together.

Thank you for this lovely artwork Nyapon! :3

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: How to catch glitch Pokémon in D/P(Pl?)
« Reply #14 on: January 03, 2019, 03:53:29 pm »
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.
« Last Edit: January 03, 2019, 04:07:55 pm by RETIRE »
Hey, I mainly focus on generation 4 glitches and specialise in voidspecific glitches.

If you'd like to see progress on gen 4 research you can watch my videos here:
https://www.youtube.com/c/RETIREglitch

Feel free to send me pms on the forum or add me on discord by tagging me in the glitchcity laboratories server ^•^