shithub: pokered

ref: 0c4d2e178ebbcee1d0b8de6354fef2d1134d90bc
dir: /engine/gfx/load_pokedex_tiles.asm/

View raw version
; Loads tile patterns for tiles used in the pokedex.
LoadPokedexTilePatterns:
	call LoadHpBarAndStatusTilePatterns
	ld de, PokedexTileGraphics
	ld hl, vChars2 tile $60
	lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
	call CopyVideoData
	ld de, PokeballTileGraphics
	ld hl, vChars2 tile $72
	lb bc, BANK(PokeballTileGraphics), 1
	jp CopyVideoData ; load pokeball tile for marking caught mons