Glitchbattles caused by Partners
Posted by: RETIRE
Date: 2018-08-22 11:42:50
the location you spawn at when resetting the game.
Using this mechanic I was able to have a Partner, when save resetting I'd still have the partner with me,
although I would spawn at the location I wrote the wrongwarp to.
As always I made a video of all the finds, and added in all the glitchbattles too (it's quite long)
https://www.youtube.com/watch?v=KaxCAIWWWwY
So how do I pull this off?
First I do the Union room Wrongwarp, doing this causes me to warp 65536 tiles too far in the Pokémon center's top floor void.
This places me in the void, 6500 steps (rougly 405 bytes) above mapdata. The important thing to know is that when you wrongwarp like this,
a mapscript wasn't ran. Because of this the game will try to warp us to the Pokémon center when resetting the game, except the bytes it uses for this were never updated with the correct warpdata for the Pokemoncenter.
Not only that, these bytes are also used for Explorer Kit locations, elevator locations and also some other less important areas.
In order to save with partners, then reset to warp to somewhere I have to do a Union room Wrongwarp, then update the bytes with an elevator warp,
then get a partner and save reset. this will put me at the warp location of the elevator I used.
Now that I can get a partner anywhere, there are a couple of important factors to take into account here.
The first is that partners are usually assigned using a flag. The flag tell the game that you have a Partner following,
and usually while setting the flag it simultaneously writes the battle data of that partner into RAM. There's one exception to this,
being the Amity Square Partners. These set the flag, but never update the portion of RAM the game writes the battle data to.
The battle data for partners actually never get wiped (unless resetting console) upon removing a partner, only the flag is changed. This means you can load a Partner into RAM, then get an Amity Square partner and you'll have the battle data of the Partner previously used.
The bigger thing is that if there's no Partner loaded, battling causes glitchbattles to occur.
Most of them are tutorial battles, mixed with a different battle'type'. The battles happen depending on your ASLR, so if you reset your game you will most likely get different results than last time.
For example, you have a normal tutorial, a tutorial with a safari zone overlay, a tutorial that is simultaneously a Wifi battle,
even a battle that completely overwrites RAM when entered.
Next to that there's the fact that there's no doublebattle encountertable for battles on water. The game does prevent surfing,
and the usage of bikes to tweak. Luckely, it doesn't prevent you from getting a bike from a bikestall. Once we get on our bike we
tweak onto water. Once we enter a baytle we meet the glitchpokemon Dpbox, also known as '—–', invisible shiny bulbasaur and MissigNo of gen 4.
Here are some results you can pull off
[img]https://i.imgur.com/SC7EXH1.png[/img] [img]https://i.imgur.com/T8GViuw.png[/img] [img]https://i.imgur.com/4RgkYD1.png[/img]
[img]https://i.imgur.com/uUVh1aj.png[/img] [img]https://i.imgur.com/VRPJTSm.png[/img] [img]https://i.imgur.com/LVBuVAu.png[/img]
There's currently no known way to capture the Pokémon, since because there's no encountertable its empty, meaning the
DPbox is purely made out of 00's. Id of 00, 0 current health, no moves (struggle), you get the point.
Furthermore it is possible to get the doublebattles in the safari zone too, and the cool thing about this is that the game counts a 'loss' as
running out of balls in the safari zone. therefore you leave the safari zone with only dead Pokémon.