mirror of
https://github.com/pret/pokered.git
synced 2026-04-24 23:19:55 -05:00
12 lines
429 B
NASM
Executable File
12 lines
429 B
NASM
Executable File
; 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
|