Jump to content

GlitchDexES/RB:195: Difference between revisions

No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 15:
|flagown=Own Gengar
|typing=Ghost/Poison
|category= (SRAM BBB0B013) (locked by default)
|height=2.3m
|weight=52.3kg
Line 67:
[[File:RB Dex C3 ES BGB.png]]
 
The Pokédex data is sourced from B013 in SRAM. The reason why the Pokédex number and picture changes into No.a 006different Pokémon seems to be because address BBB0 is written into CF96 (C3F9 the starting position of the species name on the screen + 0xB9D bytes), though what is actually happening is more technical as SRAM is locked at this point.
 
The results will vary based on the emulator, with BGB version 1.5.9 giving Scyther (No. 123) (read 0x1A) and vba-v24-svn422 giving Charizard (No. 006) (read 0xFF; [[GlitchDexES/RB:255|0 'MÙ Ù (FF)]]). Behavior on an actual Game Boy and Virtual Console is unknown.
 
There is a way to unlock the SRAM using [[OAM DMA hijacking]] to get the actual value of BBB0 (so e.g. 02 in BBB0 gives Kangaskhan's picture); with the following code:
<pre>
ld a,xx (replace xx with desired bank)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.