Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/engine/gfx/load_pokedex_tiles.asm
1271 views
1
; Loads tile patterns for tiles used in the pokedex.
2
LoadPokedexTilePatterns:
3
call LoadHpBarAndStatusTilePatterns
4
ld de, PokedexTileGraphics
5
ld hl, vChars2 tile $60
6
lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
7
call CopyVideoData
8
ld de, PokeballTileGraphics
9
ld hl, vChars2 tile $72
10
lb bc, BANK(PokeballTileGraphics), 1
11
jp CopyVideoData ; load pokeball tile for marking caught mons
12
13