shithub: pokered

ref: 70dde9d96b0e3025c72ae29783e94c56fa5cbe1c
dir: /engine/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 + $600
	lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
	call CopyVideoData
	ld de,PokeballTileGraphics
	ld hl,vChars2 + $720
	lb bc, BANK(PokeballTileGraphics), $01
	jp CopyVideoData ; load pokeball tile for marking caught mons