load_pokedex_tiles.asm 429 B

123456789101112
  1. ; Loads tile patterns for tiles used in the pokedex.
  2. LoadPokedexTilePatterns:
  3. call LoadHpBarAndStatusTilePatterns
  4. ld de, PokedexTileGraphics
  5. ld hl, vChars2 + $600
  6. lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
  7. call CopyVideoData
  8. ld de, PokeballTileGraphics
  9. ld hl, vChars2 + $720
  10. lb bc, BANK(PokeballTileGraphics), $01
  11. jp CopyVideoData ; load pokeball tile for marking caught mons