ItemDex/RB:089: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
m (Update info)
No edit summary
 
Line 14: Line 14:


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).
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


{{clr}}
{{clr}}
[[Category:Glitch items]]
[[Category:Glitch items]]

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