summaryrefslogtreecommitdiff
path: root/engine/load_pokedex_tiles.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/load_pokedex_tiles.asm')
-rwxr-xr-xengine/load_pokedex_tiles.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/load_pokedex_tiles.asm b/engine/load_pokedex_tiles.asm
new file mode 100755
index 00000000..7a49adaa
--- /dev/null
+++ b/engine/load_pokedex_tiles.asm
@@ -0,0 +1,11 @@
+; 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