Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

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: Glitchbattles caused by Partners  (Read 552 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
Glitchbattles caused by Partners
« on: August 22, 2018, 10:42:50 am »
As I recently posted under my 'wrongwarp' article, using these Wrongwarps you can desync savedata and
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
 
   

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.
« Last Edit: August 23, 2018, 01:25:15 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 ^•^

Evie ❤✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Happy in my new form ^^
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #1 on: August 22, 2018, 03:47:13 pm »
Amazing as always! :)

So do you think there's no possible way to change the ----- to a different glitch Pokémon? :( Though it seems unlikely would be interesting if you could use this or another glitch to have a Generation IV hybrid on the user's side.
✿ Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Passive, kind, but a little shy sometimes in public though warms up. Sensitive, however brave.

Thank you for this lovely artwork Nyapon! :3

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #2 on: August 22, 2018, 04:13:26 pm »
Amazing as always! :)

So do you think there's no possible way to change the ----- to a different glitch Pokémon? :( Though it seems unlikely would be interesting if you could use this or another glitch to have a Generation IV hybrid on the user's side.

Well if there's one thing I've noticed from my time glitching in gen 4 is that the developers almost never made the game clear RAM when its no longer needed. If it reads from data that can be written to its very likely you can make a Pokémon show up. I'm currently playing around with doing Wifi battles before having the tutorial + wifi battletype hoping some leftover data can be used, even if its just for the playersprites when losing the fight.
« Last Edit: August 22, 2018, 04:14:04 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 ^•^

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #3 on: August 29, 2018, 06:42:43 am »
Is it possible to take Battle Tower partners outside of the BT using this ?
Issou la chancla

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #4 on: August 29, 2018, 10:23:41 am »
From testing I'm fairly certain that despite showing in battle, they're not actually partners outside that.
It's more of a scripted battle, same goes for the battle with barry at spear pillar.
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: Glitchbattles caused by Partners
« Reply #5 on: August 29, 2018, 11:28:29 am »
But isn't their data saved into the partner battle data ?
Issou la chancla

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #6 on: August 29, 2018, 12:07:19 pm »
It should be unrelated to the Partners themselves
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: Glitchbattles caused by Partners
« Reply #7 on: August 29, 2018, 12:14:45 pm »
Well they do show up in battle and fight alongside you like partners do, so it would make sense for their battle data to be stored at the same place in battle... and since you said data in gen 4 almost never gets wiped, wouldn't it be possible to make the game use their in-battle data anywhere using this glitch ?
Issou la chancla

RETIRE

  • Master of tilewriting
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • The Gen 4 dude
    • View Profile
Re: Glitchbattles caused by Partners
« Reply #8 on: August 29, 2018, 06:26:09 pm »
Well not as an actual partner no, as I said the battletower ones don't utilise the flag to give you a partner, they're scripted battles. Its possible it has some kinda influence on the wifi battles if you do those afterwards, although I doubt it'd be anything useful
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 ^•^