aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/load_pokedex_tiles.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-03 09:38:52 -0400
committerGitHub <noreply@github.com>2020-07-03 09:38:52 -0400
commitc85050497c1bd062e9cd40bf5b32fa3beca366cc (patch)
tree9593ddd3ab820223ab580d5fc0ae133b485b8315 /engine/gfx/load_pokedex_tiles.asm
parentActually run .travis/webhook.sh (diff)
parentAdd engine/movie/oak_speech/ subdirectory (diff)
downloadpokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.tar.gz
pokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.tar.xz
pokeyellow-c85050497c1bd062e9cd40bf5b32fa3beca366cc.zip
Merge pull request #256 from Rangi42/master
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