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

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
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) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Instant boxing glitch and first method to encounter an enemy DPbox  (Read 841 times)

0 Members and 1 Guest are viewing this topic.

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
After a small vacationbreak I'm back to cover some more new gen 4 related tech.
I'd like to thank Charmy for helping me researching the possibility of transfering glitchpokémon using this glitch,
he was a big help.

The instant boxing glitch makes use of mapscripts to trick the game into transfering migrated Pokémon without
actually ever capturing them in Pal Park.

To explain it, I made a video which goes very in depth:

https://youtu.be/WPIV0-SM4X4

For people unable to watch it, here's a technical explanation behind the glitch.

When we enter Pal Park outdoor's map a mapscript is ran that sets a couple of flags.

Pal Park indoor also runs mapscripts, with a check for one of the flags set in Pal Park.
If this flag is set, the game will then load a function that will make you able to box your Pokémon.

But, there are three different ways of leaving the Outdoor map with only a single one that should
allow the player to box the Pokémon.

When leaving with the Warp / RETIRE menu you shouldn't be able to box Pokémon,
for these two instances the flag is changed again.

When capturing all 6 the flag isn't altered, meaning you're allowed to box the Pokémon.
We can exploit this, since in the void you can enter Outdoor Pal Park (sets flag) and then Indoor Pal Park
which will run the mapscript and allow you to box your pokémon without capturing them.

So what can this be used for?

1) -Encountering a DPbox on the enemy side

DPbox is a Pokémon usually only existing out of 00 bytes, and can be encountered on the ally side
using glitched Partnermode or pomeg glitch. If you've read my alt-RETIRE post, you know that we can write
grasstiles in the void. If you do the instant boxing glitch, the Pokémon are copied from a portion of RAM to boxes, leaving 00 bytes.
For some reason their location in the encountertable is NOT wiped. This is important since usually you can't encounter DPbox in Pal Park since it doesn't have an assigned location. Since the location of the migrated Pokémon isn't wiped, we can now encounter 6 DPbox in the void in Pal Park battles. We can even capture them, but they won't show up in your box.

2) Forced boxing with full boxes
If you have all your boxes filled you usually can't participate in the Pal Park minigame since it gives a warning that your boxes are full.
When using the instant boxing glitch you skip the warning, meaning you can box migrated Pokémon with full boxes. Where do they go?
Well, they dissapear entirely. This is most likely intentional behaviour to prevent overflows or crashes.

3) The possibility to transfer glitchpokémon and bad eggs.
When I discovered the glitch, Charmy was so kind to help me research the possibility to transfer glitchpokémon.
By now we've established that Pokémon indexes higher than intended don't have an assigned location (or in DPbox's case, index 00).
We also know that we can skip the capturing, so naturaly we had to test if we could box glitchpokémon using this.
And as expected, they were boxed without any issue, no encounters required.
The only issue is that we have no proof that you can transfer them via the migration proces, since we had no way to test this in an efficient manor ourselves. Instead we injected thrash into the Pal Park RAM directly, and these did get boxed.

All of what was listed above can be seen in the video too.
« Last Edit: July 31, 2018, 09:24:12 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 ^•^

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #1 on: July 31, 2018, 09:36:48 am »
I saw your video. Amazing work, you and Charmy!

So I wonder if there's a way to legitimately force glitch Pokémon (other than -----) in the Pal Park data?
« Last Edit: July 31, 2018, 09:37:52 am by Evie Torchic the Glitch Scientist »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #2 on: July 31, 2018, 09:40:03 am »
I saw your video. Amazing work, you and Charmy!

So I wonder if there's a way to legitimately force glitch Pokémon (other than -----) in the Pal Park data?

Gues time will tell, I will certainly try to find any that will transfer, if it's not possible then that's quite unfortunate.
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 ^•^

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #3 on: July 31, 2018, 09:58:39 am »
When you erase your save file with Up+Select+B does it fill the Pal Park Pokémon buffers with 00 or FF? I wonder whether you could get glitch Pokémon which show in the boxes that way.

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #4 on: July 31, 2018, 10:26:36 am »
When you erase your save file with Up+Select+B does it fill the Pal Park Pokémon buffers with 00 or FF? I wonder whether you could get glitch Pokémon which show in the boxes that way.

Interesting question, I'd assume it overwrites it with 00's since I've never seen any glitchpokemon in my boxes, but the only way to be sure would be to test that with a wiped savefile and not resetting the console until you've done the glitch
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 ^•^

Sherkel

  • Ringsome on the aquaface
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #5 on: July 31, 2018, 09:40:18 pm »
Oh my God, this is ridiculously thorough. I don't have much else to say on this, but it's the first step forward in Gen 4 glitch Pokémon species in forever, and possibly a useful exploit for other purposes too. Wonderful video style too. Just great work all around.

Sticking to quality control and moderation until I sort some IRL matters out. I check in here almost daily and will answer questions, but not all of them.
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #6 on: July 31, 2018, 09:44:22 pm »
Oh my God, this is ridiculously thorough. I don't have much else to say on this, but it's the first step forward in Gen 4 glitch Pokémon species in forever, and possibly a useful exploit for other purposes too. Wonderful video style too. Just great work all around.

Thank you so much ^°^
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 ^•^

Npo

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #7 on: August 02, 2018, 10:45:15 am »
...
3) The possibility to transfer glitchpokémon and bad eggs.
When I discovered the glitch, Charmy was so kind to help me research the possibility to transfer glitchpokémon.
By now we've established that Pokémon indexes higher than intended don't have an assigned location (or in DPbox's case, index 00).
We also know that we can skip the capturing, so naturaly we had to test if we could box glitchpokémon using this.
And as expected, they were boxed without any issue, no encounters required.
The only issue is that we have no proof that you can transfer them via the migration proces, since we had no way to test this in an efficient manor ourselves. Instead we injected thrash into the Pal Park RAM directly, and these did get boxed.

All of what was listed above can be seen in the video too.


This is a really cool find! I am interested in testing to see if we can transfer glitch Pokemon from gen 3 over to gen 4 using this method, I have tried to migrate different glitch Pokemon before but the migration menu seems to have checks in place to prevent that. If you try to select a Pokemon with an invalid species id it will state something like "this Pokemon is prohibited from migrating." and won't let you pick it. Are there particular glitch Pokemon that we know of that will allow you to migrate?

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #8 on: August 02, 2018, 12:01:37 pm »
Quote
This is a really cool find! I am interested in testing to see if we can transfer glitch Pokemon from gen 3 over to gen 4 using this method, I have tried to migrate different glitch Pokemon before but the migration menu seems to have checks in place to prevent that. If you try to select a Pokemon with an invalid species id it will state something like "this Pokemon is prohibited from migrating." and won't let you pick it. Are there particular glitch Pokemon that we know of that will allow you to migrate?

We haven't found any, only reference we had is an old article that stated a particular decamark passed, I'm hoping to figure out it's ID.
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 ^•^

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #9 on: August 08, 2018, 05:07:19 am »
That's amazing. Too bad we can't keep it though.

Also sadly i don't think we'll ever be able to transfer glitch pokemon other than 0x0000. The game checks if the pokemon are valid when you select them via the transfer option prior to loading your save file. So unless there's a way to trigger this script while bypassing the check... we're stuck.
« Last Edit: August 08, 2018, 05:08:54 am by Tabbender »
Issou la chancla

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #10 on: August 08, 2018, 10:46:19 am »
That's amazing. Too bad we can't keep it though.

Also sadly i don't think we'll ever be able to transfer glitch pokemon other than 0x0000. The game checks if the pokemon are valid when you select them via the transfer option prior to loading your save file. So unless there's a way to trigger this script while bypassing the check... we're stuck.

maybe if you could send a pokemon over with invalid checksums that will become  a bad egg over time it could be possible
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 ^•^

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Re: Instant boxing glitch and first method to encounter an enemy DPbox
« Reply #11 on: August 09, 2018, 05:15:43 am »
Unsure. Pokemon with an invalid checksum are turned into Bad Eggs in gen 3 as well, and you cant' transfer eggs.
Issou la chancla