Jump to content

ItemDex/RB:093: Difference between revisions

m
no edit summary
>Bbbbbbbbba
m (Added a link.)
>Sherkel
mNo edit summary
Line 13:
[[File:8F glitch item name.png|link=]] (hex:5D) is a [[glitch item]] in {{RB}}, with [[index number]] 93 (hex:5D). The actual use of the item is for use in the Silph Co. elevator.
 
This glitch item's effect pointer is D163 in WRAM, which is the beginning of the party Pokémon data in memory, similar to Japanese Red/Green/Blue's [[ItemDexJP/RGB:090|5かい]]. As such it is very popular for [[arbitrary code execution]], as a bootstrap code to items can be representedwritten withusing partythe species of Pokémon herein the party.
 
==Usage==
Line 22:
 
==Bootstrapping==
There exists multiple different bootstrapping strategies with 8F. Most of them jump to $D322, which is the third item in the item pack. The advantage of using the third item slot is that this allows 8F to be the first item, and another item that is notunrelated part ofto the code to be the second (which is useful if the payload modifies the item).
 
===5 Pokémon "233 HP Pidgey" setup===
Line 32:
# Tentacool as the fourth Pokémon
# Kangaskhan as the fifth Pokémon
# Pidgey must have 233 current HP (it is OKokay to have a higher maximum HP)
 
To obtain such a Pidgey, Rare Candy it up to Lv100, apply up to 10 HP Ups. If the Pidgey still does not have 233 HP it has bad DVs. In this case either try another Pidgey or do many battles with this Pidgey (preferably Trainer battles, they are quicker than wild encounters) until depositing and withdrawing it gives it 233 HP (see [[bp:Box trick|box trick]]).
Line 107:
 
===In other European versions===
In other European versions, the 8F item is named 7EME ETAGE (French) / S7 (German) / 7°P (Italian) / P7 (Spanish). It still executes code the same way, but the setup will be different, becausedue to differences in the memory layout for those localizations is slightly different, with the third item at $D327 rather than $D322.
 
For the above three setups, the common fix is to replace the Onix with a Graveler (or to replace the Tangela with a Fearow to run code starting from item 1).
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.