shithub: pokered

ref: 5d9d26bd5c64a5b11021bdd46e2e0786ddef888d
dir: /engine/load_pokedex_tiles.asm/

View raw version
; Loads tile patterns for tiles used in the pokedex.
LoadPokedexTilePatterns: ; 17840 (5:7840)
	call LoadHpBarAndStatusTilePatterns
	ld de,PokedexTileGraphics
	ld hl,vChars2 + $600
	ld bc,(BANK(PokedexTileGraphics) << 8) + $12
	call CopyVideoData
	ld de,PokeballTileGraphics
	ld hl,vChars2 + $720
	ld bc,(BANK(PokeballTileGraphics) << 8) + $01
	jp CopyVideoData ; load pokeball tile for marking caught mons