ItemDex/RB:089: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Abwayax
m (1 revision)
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
([[ItemDex|↑ Back to the ItemDex index]].)
{{ItemInfoGenI
|1=4F<br>[[File:RB item 59 inventory.png]]
|2=59
|3=089
|4=01:fa65 (ECHO1)
|5=No
|6=No
|7=0
|8=0
|9=$fa, $85, $50}}


[[File:4F glitch item name.png|link=]] (hex:59) is a [[glitch item]] in {{RB}}. Its name is taken from lists of lift destinations.
4F

4F
Using this glitch item will result in [[arbitrary code execution]] at FA65 in the Echo RAM region (equivalent to DA65; in the middle of Day Care data).
Dec: 089

Hex: 59
During the start of the execution of 4F, the following registers and stats are expected to be constant:
Price: 0

Sell Price: Unsellable
*a=65
Effect Outside: Advanced effect
*bc=00b0
Effect in Battle: Does nothing
*de=0001
*hl=fa65
*Flags z, n, h, c are not set
*lcdc=E3
*ie=0D
*if=F0
*spd=0
*rom=3 (FFB8; loaded ROM bank)
*ime=1
*ima=1


{{clr}}
[[Category:Glitch items]]
[[Category:Pokémon Red and Blue glitch items]]
[[Category:Arbitrary code execution glitch items]]
[[Category:ItemDex]]

Latest revision as of 21:13, 29 February 2024

(↑ Back to the ItemDex index.)

Name (transcribed): 4F

Identifier (HEX): 59
Identifier (DEC): 089
Effect pointer: 01:fa65 (ECHO1)
Unterminated name glitch item?: No
Tossable/Sellable?: No
Buy Price: 0
Sell Price: 0
Name bytes: $fa, $85, $50

(hex:59) is a glitch item in Pokémon Red and Blue. Its name is taken from lists of lift destinations.

Using this glitch item will result in arbitrary code execution at FA65 in the Echo RAM region (equivalent to DA65; in the middle of Day Care data).

During the start of the execution of 4F, the following registers and stats are expected to be constant:

  • a=65
  • bc=00b0
  • de=0001
  • hl=fa65
  • Flags z, n, h, c are not set
  • lcdc=E3
  • ie=0D
  • if=F0
  • spd=0
  • rom=3 (FFB8; loaded ROM bank)
  • ime=1
  • ima=1