Jump to content

GlitchDexJP/Y:217 (v1.1+): Difference between revisions

>Torchickens
No edit summary
 
(One intermediate revision by the same user not shown)
Line 41:
 
This glitch Pokémon is significantly different in the v1.0 release of the game (see [[GlitchDexJP/Y:217 (v1.0)]]) due to belonging to a different family, resulting different sprites, starting moves and other 'base stat data structure' data.
 
 
==Detailed explanation for differences==
''See also: [[Pokémon Yellow]]''
 
Specifically, the memory address 0xD0E3 is loaded, decremented and used as an offset for the <code>PokedexOrder</code> table at 10:682D. The offset will depend on the index number of the Pokémon minus one; in this case 0xD8. As (10):682D+D8=6905, this is the pointer for ▼たネ゙ゃヂ's Pokédex number (or offset 0x42905).
 
It is extrapolated beyond the valid end of the table, and lands in the middle of <code>EmotionBubble</code> code for a <code>call 1628</code> instruction, responsible for adding the correct emotion bubble graphics (e.g. from a Trainer's "!" bubble) and the assigning the number of tiles to replace in VRAM. Specifically, the 0x28 (dec:40) is what defines the Pokédex number (family). In v1.0, the location of this routine is different; hence the relevant instruction at 10:6904 became <code>call 1622</code> with again the 0x22 (dec:34) at 10:6905 defining the family.
 
Additional side effects are due to how glitch Pokémon families and the [https://iimarckus.org/i/missing-number/ base stats data structure] work, such as the sprite pointer being retrieved for Wigglytuff (Nidoking in v1.0) but not the sprite bank.
 
<!--
Cookies help us deliver our services. By using our services, you agree to our use of cookies.