aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/load_pokedex_tiles.asm
blob: b0857137f94afb6db2f06a2b8ee49cdff2f9bc9f (plain) (blame)
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) / TILE_SIZE
	call CopyVideoData
	ld de, PokeballTileGraphics
	ld hl, vChars2 tile $72
	lb bc, BANK(PokeballTileGraphics), 1
	jp CopyVideoData ; load pokeball tile for marking caught mons