mirror of
https://github.com/pret/pokered.git
synced 2026-04-25 15:57:04 -05:00
rename functions, clean up address/wram comments, other misc only broken up so that all changes are viewable on github
12 lines
407 B
NASM
Executable File
12 lines
407 B
NASM
Executable File
; 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
|