Jump to content

GlitchDexES/RB:195: Difference between revisions

m
Line 69:
The Pokédex data is sourced from B013 in SRAM. The reason why the Pokédex number and picture changes into a different 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; with the following code:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.