mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
11 lines
431 B
NASM
11 lines
431 B
NASM
; 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
|