summaryrefslogtreecommitdiff
path: root/engine/gfx/load_pokedex_tiles.asm
blob: a3f691714de56a42cd23f601faac8f5967d5e2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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