Main Menu
Main Page
Recent changes
Random page


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)
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitches

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

Pokémon GameShark codes
The Big HEX List
Glitch Pokémon cries
GB programming
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

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

Site Source Code

Search Wiki


Search Forums


Author Topic: [Help] Pokemon Yellow duplicate part pokemon  (Read 70 times)

0 Members and 1 Guest are viewing this topic.


  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
[Help] Pokemon Yellow duplicate part pokemon
« on: January 30, 2018, 09:19:09 am »
So This is sorta a continuation of my Previous Post asking for help cloning pokemon. I am trying to come up with a custom item code that will copy the data of the first pokemon in my party to the 2nd one. However I don't know much about how gen 1 memory works, so bear with me.

so i know that the memory address for pokemon 1 in the party is D163, and the 2nd party pokemon is D164. I don't know if copying the value of the first adress to the 2nd one would clone all of the data, or if i would have to write EVERY adress for the pokemon data of pokemon 1 to pokemon 2. however if the first method would work, would this code work?

Code: [Select]
$D322 <- 2E 64 || ld l, 64
$D324 <- 26 DA || ld h, DA
$D326 <- F9 || ld sp, hl
$D328 <- 2E 65    || ld l, 65
$D32a <- 26 DA || ld h, DA
$D32c <- F8 00 || ld hl, (sp + $00)
$D32e <- 2E 63 || ld l, 63
$D330 <- 26 DA || ld h, DA
$D332 <- 36 02 || ld (hl), 02
$D334 <- 39 || ret

Sorry if this is completely wrong. I am new to this and i'm trying to figure this out. Can someone help me with this custom code? it would be a huge help as It would make transfering to gen 7 a lot easier.


  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: [Help] Pokemon Yellow duplicate part pokemon
« Reply #1 on: January 30, 2018, 10:08:32 am »
Nope, the code you wrote will not work. Not only wont it work, but it will also crash the game when "ret" is hit because you tampered with the stack pointer. Also, the boot strapper for ws m exectues code from $D321, not $D322. Recall Yellow memory is -1 of that of Red's.

Just use:

Thunderstone x106
TM09 x17
Master ball x209
Repel x150
Lemonade x44
TM45 x42
Hyper Potion x19
TM41 x61
Fire stone x247
Tm01 any

Pokemon 2 will be a hybrid of 1. Use the daycare to stabalize.

And I hate to be "that guy", but please do not start another topic on a subject that is being discussed on another active topic.
« Last Edit: January 30, 2018, 11:17:32 am by Epsilon »
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago


  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: [Help] Pokemon Yellow duplicate part pokemon
« Reply #2 on: January 30, 2018, 12:57:59 pm »
ok, thanks! and sorry! I wasn't sure if this would count as the same topic as before or not! that you for clearing it up. sorry for the issue.