mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 23:18:23 +00:00
11 lines
405 B
NASM
Executable file
11 lines
405 B
NASM
Executable file
; Loads tile patterns for tiles used in the pokedex.
|
|
LoadPokedexTilePatterns: ; 17840 (5:7840)
|
|
call LoadHpBarAndStatusTilePatterns
|
|
ld de,PokedexTileGraphics ; $6488
|
|
ld hl,$9600
|
|
ld bc,(BANK(PokedexTileGraphics) << 8) + $12
|
|
call CopyVideoData
|
|
ld de,PokeballTileGraphics ; $697e
|
|
ld hl,$9720
|
|
ld bc,(BANK(PokeballTileGraphics) << 8) + $01
|
|
jp CopyVideoData ; load pokeball tile for marking caught mons
|