Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg 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 glitch
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
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!

Search Wiki

 

Search Forums

 

Author Topic: Arbitrary code execution in Red/Blue using the "8F" item  (Read 217755 times)

Marv231 and 1 Guest are viewing this topic.

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #660 on: August 10, 2017, 06:57:00 am »
Not sure what your code is supposed to be, but it doesn't seem to be what you think.

You can use the standard Single-addresse value changing code to trigger the encounter of a Mew in the grass, but the level is variable.

Modified code for european games is:

Anything
8F
Lemonade x21
X Accuracy x221 (x220 if yellow)
Carbos x207
Poké Ball x119
Cool Water x201

Another solution is the fake Ditto Trick:

Anything
8F
ThunderStone x45
TM05 x4
Max Revive x21
Awakening x8
Max Ether x4
Repel x254 (253 if Yellow)
Poké Ball x25
Lemonade x1
Antidote x119
TM01 xany

Then you'll encounter mew by going on Route 16 from Celadon and closing the START Menu. There's a way to modify it to change the level, I'll try to do that later.

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov

Marv231

  • GCLF Member
  • Online Online
  • Gender: Male
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #661 on: August 10, 2017, 10:18:08 am »
Thanks.  The Celadon- Route 16 Code works fine.


I found another Setup, where the Level is the same, like the last seen Pokemon.
In my case, Level of Arbok, that I took out of the PC to have my Bottrap complete.
With leveling Arbok, I can set the Level of the Pokemon, I like to have.

Any Item x Indexnumber of the Pokemon, you want
S7
TM 50 x 36
TM 11 x9
TM 34 x94
TM08  x201

After using S7 and closing the menue, the Battle with the Pokemon starts

DoubleNegative

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #662 on: August 18, 2017, 11:58:53 am »
Is there a quick cloning method known in red and blue? I found an easy way, but I wanted to know if it's common knowledge by now.

Parzival

  • The Betrayed, The Cleansed, The Reborn
  • GCLF Member
  • *
  • Offline Offline
  • It begins.
    • View Profile
    • YT Channel
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #663 on: August 18, 2017, 12:21:09 pm »
Is there a quick cloning method known in red and blue? I found an easy way, but I wanted to know if it's common knowledge by now.
http://glitchcity.info/wiki/Pok%C3%A9mon_cloning_(Generation_I)
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.

I'm working with a small team on a few secret projects. I don't know when they'll be released, but when they are, they'll be below.

DoubleNegative

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #664 on: August 18, 2017, 03:53:41 pm »
Is there a quick cloning method known in red and blue? I found an easy way, but I wanted to know if it's common knowledge by now.
http://glitchcity.info/wiki/Pok%C3%A9mon_cloning_(Generation_I)

I found an 8F setup that can be used for cloning. It's way safer than save corruption and also probably faster. Should I post it here?

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #665 on: Yesterday at 04:44:38 am »
Totally.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

DoubleNegative

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #666 on: Yesterday at 08:46:51 am »
Easy (ish) cloning:
Prerequisite: box 1 is empty and the pokemon to clone is in another box. The pokemon to clone also cannot have any HMs.
You will also need the standard 5 pokemon 8F setup.

Inventory:
* any item x any
* 8F
* Lemonade x 19
* X accuracy x 128    (127 if using yellow, but then I don't know how wsm works.)
* Carbos x 218
* Poke ball x 119
* TM01 x any

Procedure:
* Change to box 1 and use 8F
* Move the pokemon to clone into box 1
* Release all the pokemon in box 1 by releasing from the top of the list repeatedly until the box is empty.
* Use 8F again. The box is now filled with unstable hybrids of your pokemon and 'M (FF)
* Withdraw as many as you want and use the daycare to stablize the hybrids. They should all stablize to be the originally deposited pokemon.

The last step is not necessary if you want to transfer the clones to sun/moon. Just transfer the box, toss 18 lemonade, use 8F, and withdraw the original pokemon.

natanelho

  • >_> Nothing to see here <_<
  • GCLF Member
  • Offline Offline
  • hey!WHAT THIS BOX DOES????
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #667 on: Today at 02:20:26 pm »
Easy (ish) cloning:
Prerequisite: box 1 is empty and the pokemon to clone is in another box. The pokemon to clone also cannot have any HMs.
You will also need the standard 5 pokemon 8F setup.

Inventory:
* any item x any
* 8F
* Lemonade x 19
* X accuracy x 128    (127 if using yellow, but then I don't know how wsm works.)
* Carbos x 218
* Poke ball x 119
* TM01 x any

Procedure:
* Change to box 1 and use 8F
* Move the pokemon to clone into box 1
* Release all the pokemon in box 1 by releasing from the top of the list repeatedly until the box is empty.
* Use 8F again. The box is now filled with unstable hybrids of your pokemon and 'M (FF)
* Withdraw as many as you want and use the daycare to stablize the hybrids. They should all stablize to be the originally deposited pokemon.

The last step is not necessary if you want to transfer the clones to sun/moon. Just transfer the box, toss 18 lemonade, use 8F, and withdraw the original pokemon.
can you please write the asm code? I really dont understand why people dont do it... that's very easy to do, pretty useful for the ones who want to know what exactly it does and it doesn't do any harm to anyone...