Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex

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: Re: Arbitrary code execution in Red/Blue using the "8F" item  (Read 971 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
    • 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 pokemon 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 »

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!!!