summaryrefslogtreecommitdiff
path: root/engine/gfx/load_pokedex_tiles.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-02 23:30:21 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-02 23:30:21 -0400
commitf275790aec4a796ed969b099364abfdf25385967 (patch)
treec56edfd01a61e9aa0e3c3ee8a046e66b5a1984e4 /engine/gfx/load_pokedex_tiles.asm
parent5559d51c863b6fb529ea0494d857950a36fe85b7 (diff)
Add subdirectories to engine/ similar to pokecrystal
Diffstat (limited to 'engine/gfx/load_pokedex_tiles.asm')
-rwxr-xr-xengine/gfx/load_pokedex_tiles.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/gfx/load_pokedex_tiles.asm b/engine/gfx/load_pokedex_tiles.asm
new file mode 100755
index 00000000..70bcf04d
--- /dev/null
+++ b/engine/gfx/load_pokedex_tiles.asm
@@ -0,0 +1,11 @@
+; 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