Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg data corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitches
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
Glitch Pokémon cries
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

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: New cloning glitch with Poke Transporter  (Read 116 times)

0 Members and 1 Guest are viewing this topic.

Wanderer1391

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
New cloning glitch with Poke Transporter
« on: January 11, 2018, 10:14:36 pm »
So a new glitch was found recently involving the cloning glitch and Poke Transporter as seen in this video by the person who found it:
https://www.youtube.com/watch?v=itk0KpIQjhE

Said glitch works with both the English and Japanese versions of Gen 2 but I'm personally not sure on any other versions such as Korean Gold/Silver.

The thing I'm curious about though is what is actually happening here. Is the Transporter being tricked into reading another box as box 1 or are the Pokemon being partially cloned somehow as leftover data into box 1 as any Pokemon in box 1 end up being deleted?

Princess Torchic ❤

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • ⛄🦋
    • View Profile
Re: New cloning glitch with Poke Transporter
« Reply #1 on: January 12, 2018, 05:08:52 am »
Ooh this is cool. :)

The steps seems to be:

1. Fill a box that isn't box 1 (box 5 JP? box 6 EN?) with 20 (EN)/30 (JP) Pokémon (or possibly less if you don't plan to clone as many Pokémon)
2. Switch to box 1; must be empty.
3. Switch to the other box but reset the game early while saving.
4. Press the Home menu with the game running, load Poké Transporter.

; Poké Transporter thinks box 1 has the Pokémon from the other box when it is actually empty.

The glitched Pokémon counter might be related to the game reducing 20/30 from 0 (box 1's amount) and getting a glitched box amount value that is 256-(other box's amount). However that's just an educated guess as haven't tried this yet.

The thing I'm curious about though is what is actually happening here. Is the Transporter being tricked into reading another box as box 1 or are the Pokemon being partially cloned somehow as leftover data into box 1 as any Pokemon in box 1 end up being deleted?

Not sure, sorry. I'd guess the former because AD6C in SRAM (Pokémon in current box) would be wiped, so maybe:

1. The game updates the box data but not the box number yet.
or 2.  The game looks up which box to take data from this structure (probably not because you can only ever take Pokémon with the Poké Transporter from box 1):

Quote from: pokecrystal/sram.asm
SECTION "Boxes 1-7",  SRAM, BANK [2]

   box sBox1
   box sBox2
   box sBox3
   box sBox4
   box sBox5
   box sBox6
   box sBox7

I'm curious whether you can do anything else with the glitched box counter.
« Last Edit: January 12, 2018, 05:16:51 am by Princess Torchic ❤ »
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

I like to collect interesting video games. ^_^
https://www.vgcollect.com/Torchickens

Give love, receive love, repeat. But in order to love others you must first love yourself unconditionally, even if it means abandoning pressure from projects or taking time off work and empathise with the self as you are your own best friend. The key often is simply to follow your heart, your urges and have faith they are valid; use them to do what you want to do as long as it doesn't harm anyone, and/or sympathise and respect it as we all have bad days (even the prettiest rose has thorns but is still beautiful).

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: New cloning glitch with Poke Transporter
« Reply #2 on: January 13, 2018, 06:41:23 pm »
https://github.com/pret/pokecrystal/blob/82a05a1752b476caab8951fe03f539dcc1a63669/engine/save.asm#L41

Current box contents are saved to SRAM, then the box number in WRAM is changed and the new box loaded from SRAM.

Interestingly I don't think the box number in SRAM ever gets touched by simply changing boxes.
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