Jump to content

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

 
Line 49:
It is extrapolated beyond the valid end of the table, and lands in the middle of <code>EmotionBubble</code> code for a <code>call 1622</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 0x22 (dec:34) is what defines the Pokédex number (family). In v1.1 and later, the location of this routine was changed; hence the relevant instruction at 10:6904 became <code>call 1628</code> with again the 0x28 (dec:40) 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] workswork, such as the sprite pointer being retrieved for Nidoking (Wigglytuff in v1.1) but not the sprite bank.
 
<!--
Cookies help us deliver our services. By using our services, you agree to our use of cookies.