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 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: Re: Arbitrary code execution in Red/Blue using the "8F" item  (Read 1499 times)

0 Members and 1 Guest are viewing this topic.

eironeia

  • GCLF Member
  • Offline Offline
  • how is babby formed
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« on: November 16, 2014, 12:08:48 am »
Does the item underflow glitch with map looping in Celadon City to obtain 8F, as described in the opening post, work without modification in FR/ES/IT/DE R/B?

EstebanZD

  • Basic Glitcher
  • Not yet posted
  • Offline Offline
  • Gender: Male
  • Glitch text please ������������������������϶������
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #1 on: November 22, 2014, 09:46:43 pm »
¿How I can make when I use the code, the quantity of the 4 item increases by one?
¿And increase the index number of the 5 item by one?
I'm very interested of that, because I want to make a custom application who makes certain things, but I can't do that "fast" because I need to pickup 1 item from the PC every time I want to continue, but with changing it "automactly" via 8F I can do it pretty fast ;D
« Last Edit: November 23, 2014, 08:15:11 am by EstebanZD »
Glitchs aren't cheats/hacks, they are things in-game who can make a more interesting gameplay.

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
[DELETED]
« Reply #2 on: October 09, 2015, 04:26:58 pm »
[DELETED]
« Last Edit: December 11, 2016, 11:30:49 am by SatoMew »

SnorLapraSuicuinEkans

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • 8f lol
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #3 on: November 16, 2015, 02:54:18 pm »
Luckily I bought Double Team in Celadon
« Last Edit: November 16, 2015, 03:14:40 pm by SnorLapraSuicuinEkans »
How to use 8f... 8__8

darksarcasm

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #4 on: March 06, 2016, 06:18:58 pm »
Hello everyone,

I spent about 4 hours getting everything set up to try out some of these glitches, and I "used" the 5F item, which glitched the screen up and froze the game. When I reloaded, my save data was deleted (or corrupted or at a wrong memory location or whatever).

Are there any of these glitch items or situations I should be careful around besides using 5F when attempting this again? I'm assuming I shouldn't ever "use" any of these glitch items again, but my curiosity got the best of me. I wanted to try programming that Pong game ZZAAZZ made, but I don't want to go through all the trouble of all these steps to find that my save file gets deleted after doing it (I'm doing this on the 3DS VC)

As a side note - do these RAM changes "stick" after resetting? Say I "program" Pong like ZZAAZZ does in his video, then save. When I use 8F, I'm redirected to the Pong game, which presumably you get out of by resetting your game. If, upon reloading the save game, I use 8F again, will I be put back in the Pong game? Where exactly is the code "saved" to in the RAM - is it saved somewhere that could be easily overwritten (like your Pokemon data in your Boxes) or somewhere that the game doesn't touch?

Still learning a lot about this - it's all so fascinating! Thank you for all this work you've guys documented, I've been geeking out about this for the past week ever since I picked up the games up again since they've been released on the 3DS.

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 #5 on: March 27, 2016, 04:07:11 am »
Oh yes this probably is the problem since DA88 + 10 = DA98. Which indeed is not the proper jump, so it should be working with Female Nidoran (hex ID 0F).
« Last Edit: March 27, 2016, 04:08:59 am by Krys3000 »

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

Dante

  • GCLF Member
  • Offline Offline
  • MissingNo is mainstream
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #6 on: June 26, 2016, 07:57:00 am »
This doesn't work on ITA Pokemon Red.

8F
Item you want to morph
Burn Heal x43
Ice Heal x43
Full Heal x201

In the video on youtube zzazz also have 90 potions in his 6th slot. I tried both ways but the game just crash.

TheZZAZZGlitch

  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Unknown opcode fc at 801a
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #7 on: June 28, 2016, 03:25:01 pm »
What's the TM01 for in that code? Because I don't have that TM anymore..

You can replace it with Parlyz Heal x201
qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF

TheZZAZZGlitch

  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Unknown opcode fc at 801a
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #8 on: September 17, 2016, 02:33:17 am »
However, to access SRAM, you must unlock it (write $0A in range 0000 - 1FFF). Plus, to prevent your save file from decaying, you should lock SRAM right after (either write any non-$0A to the memory range, or call some game code that just does that). Saving in any way (and accessing / updating the HoF too) should also lock SRAM.

Actually, none of that is necessary in Gen I. SRAM is permanently unlocked there and can be accessed at any time. The programmers didn't decide to take advantage of SRAM locking until Generation II.
qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF

tigere89

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #9 on: February 09, 2017, 02:21:45 pm »
Greetings to all,

I simply wanted to say thank you for the information provided on this topic. Unfortunately I  lost my 8F shortly after obtaining it by putting it into my item box.

This being said, I wanted to confirm that by placing the item in Computer Item Box, that it would be lost; I think this is due to not resetting the item list by buying 3 different items first before saving.

Thank you, any insight would be great.

Tigere89

Sock

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #10 on: April 24, 2017, 11:36:17 am »
ALTERNATIVE CATCH 'EM ALL

This version of the Catch 'Em All script requires more items, but gives the Pokemon instead of forcing an encounter (like: BLUE got EEVEE!), and allows for getting normally unobtainable glitch Pokemon without trading. The given Pokemon depends on the quantity of the 3rd item.

Remark: Avoid obtaining Missingno with this method. It will duplicate your 6th item and screw the opcodes up.

Video: http://www.youtube.com/watch?v=Sw0h7ImFsAs#t=865s

ITEM LIST (starting from the first slot):
* Any item
* 8F
Repel                x[SpeciesIndex]
X Speed              x14
Ultra Ball           x64
TM05                 x72
Lemonade             x201






Is there a way to alter the Pokemon's level that is being generated by this beautiful script? With this script they are all level 2 and I am hoping this is a way to alter the script to produce a level 100 Poke.

Thank you!!!

Laffeyh

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #11 on: June 06, 2017, 03:18:41 pm »
LAST MODIFICATION: I FOUND THE SOLUTION BY ACCIDENT HERE ON THE FORUM

Hey there,

I am currently trying to transfer the alternative Catch 'Em All Script to german versions.

The item combination just adds Items to my bag.

I tried some things like adding +5 to the second last item and even to other items. But it does't seem to work.

Changing the quantity of Repel changes the Item added to the Inventory.

Later, I tried this:
I compared other differences between english and non-english versions. I set up the regular english version.                  
                  
                  
1. I changed the repels -1 and used the normal version => 2 potions added                  
2. I changed the repels -2 and used the normal version => 2 super-potions added                  
3. I changed the repels -3 and used the normal version => 2 max potions added                  
4. I changed the repels -4 and used the normal version => 2 full restores                  
                  
This shows me, that the number of repels adds somehow a hex-code for items?                  
                  
5. Then I removed the first item => 2 masterballs added                  
6. Bought 2 Awakening and put on the first space 2 Potions added                  
                  
Since for the normal catch em all glitch the quantity differences for other language's versions is mostly +5.                  
                  
7. I tried to use +5 of TM5 => game crashed.                   
8. I tried to use 5 on x-speed => game crashed                  
9. I tried to use +5 of TM5 and +5 on x-speed => game crashed                  
10. I experimented with X-Accuracy => game crashed                  
11. I experimented with X-Special => game crashed                  
                  
                  
Maybe someone can help me and maybe I found out some crazy stuff.                  

Thank you
« Last Edit: June 06, 2017, 04:52:36 pm by Laffeyh »

8F

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #12 on: June 16, 2017, 04:48:10 pm »
Thanks so much for the reply!

However, I'm now running into another problem. During step 5, while I am trying to get to route 6 a message pops up followed by a battle. After losing the battle I try agin to route 6 and the game lags more than skyrim on my toaster. Bringing up the menu also displays 0 Error. I also cant get in from the underground tunnel as the same thing happens upon arrival.
« Last Edit: June 16, 2017, 04:49:24 pm by 8F »

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 #13 on: September 21, 2017, 06:21:48 pm »
You could just set 8F to make you encounter Mew. Just saying.

You should edit D15A/5C/5E to $0F, then.
Putting a 0xF (15) is the ID of Nidoran female. He means 0x15 (21) which is Mew's ID.
Wow, ISSOtm, you're getting a bit out of practice here.
Is Aevilia taking too much of a toll on you or something?
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.