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: Korean TM49 arbitrary code execution thread  (Read 284 times)

0 Members and 1 Guest are viewing this topic.

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Korean TM49 arbitrary code execution thread
« on: August 23, 2019, 11:19:24 am »
Using this method, you can perform arbitrary code execution with wrong pocket TM49 (gift from Bugsy). You don't need a bootstrap Pokémon for this method as it runs PC items directly. It requires a Bellsprout and clearing the whole game without saving with the save cleared with Up+Select+B.

https://www.youtube.com/watch?v=pbSavUyFC_Y

The following code from PC item 5 will let you warp to the Safari Zone gate for instance once you use TM49 from the wrong pocket:

 
X Accuracy x1
TM27 x1 (Return, Goldenrod Department Store gift)
Ultra Ball x2
Great Ball x45
Great Ball x45
Great Ball x45
Great Ball x45
Full Restore x3
Energypowder x4
Focus Band x1 (Saffron City Fighting Dojo)
Ultra Ball x2
Great Ball x44
Super Potion x80
Ultra Ball x4
Heal Powder x4
Leaf Stone x1 (Sea Cottage (from Bill's grandfather) or possibly Mystery Gift)
Ultra Ball x2
TM10 x(any) (Get from Lake of Rage or buy from Celadon Department Store)

I'm going to try and make a code to fill the Pokédex and a wild Pokémon mod, given that in VC Korean Gold/Silver it seems to be normally impossible. Watch this space :).
« Last Edit: August 23, 2019, 11:25:10 am by Princess Torchic Owl Lover ☽ ❤ »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



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

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. 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

bwill11

  • pleb with a big brain and nothing to do with it
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Korean TM49 arbitrary code execution thread
« Reply #1 on: August 23, 2019, 11:39:50 am »
Why is it necessary to not have a save file?
What if you wanted to research glitches but the opponent said
Enem.
Enem.
Enem.
Enem.
Enem.
Enem.
Enem.
Enem.
Enem.
Enem.

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Re: Korean TM49 arbitrary code execution thread
« Reply #2 on: August 23, 2019, 07:02:35 pm »
Why is it necessary to not have a save file?

Saving the game any other way than entering the Hall of Fame initialises the box data, making the 'free bad clone' this way impossible.

Here is a code to complete the Pokédex with TM49, from PC item 5. You need any wrong pocket copy of TM49.

PC item 5 and below:

X Accuracy x2
Ultra Ball x46
Great Ball x1
Great Ball x4
Poké Doll x94
X Accuracy x1
TM28 x1
Poke Ball x5
Nevemeltice x1
Antidote x9
Great Ball x62
TM04 x1
Burn Heal x10
TM42 x1
TM24 x1
(Any item) x2
Full Restore x1
Paralyz Heal x13
Energypowder x12
Full Restore x1
Escape Rope x19
Protein x27
Repel x20
TM19 x1
Calcium x1
Great Ball x4
Full Restore x7
Energypowder x38
TM29 x1
Full Heal x38
Fresh Water x1
Full Restore x1
Paralyz Heal x4
Stick x1
Great Ball x4
Leaf Stone x1
Bicycle x1
Fresh Water x32
Spell Tag x1
Great Ball x4
TM10 x1
Great Ball x4

To get 251 seen/own instead of x0, swap the items starting from Full Restore x7 to item 5 and up and use TM47 again, or just toss everything above it.

To get multiple of the same stack, the same method as EN Gold (buy two 99 stacks and toss from them after depositing them) may work.

Code at D2D6:

2102022E04010404255E2101DC0105056B01090904
3EC2010A0AEA01D70102010E010D0D790C0E01131
31B1B1414D2011F0104040E077926DD0126262E010
E010D0469010404220107012E2071010404C9010404FF

This is annoying for now, but hopefully it should work on Virtual Console too.



Edit on August 25 2019: Sorry I made an error with this code. The code by mistake, assumed the TM28 x1 was the glitched unusable one (ID 0xDC), which you can only get with cheats. You may still be able to get this (e.g. swapping from expanded Balls pocket, another ACE) but use it with the normal TM28 and your party names will be corrupted instead.

At first glance, there wasn't a work around other than the following. Assuming you have the normal TM28 (0xDB) instead; use (any item) x2 below the TM24, instead of Ultra Ball x1. This adds 256 to the FF fill length, which now starts at DB01 instead of DC01; ensuring the same Pokédex data is touched. In other words, both your party names and Pokédex will be corrupted, so be sure to use this with party Pokémon you don't want, which can be released later. The PC Pokémon names will be fine.
« Last Edit: August 24, 2019, 08:26:58 pm by Princess Torchic Owl Lover ☽ ❤ »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



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

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. 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