diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-22 18:13:20 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-22 18:13:20 -0400 |
commit | 15427f532085846ab6b51719be687951a094cb6c (patch) | |
tree | edea9b189e91641a12dd521756894df84aeeace7 /engine/load_pokedex_tiles.asm | |
parent | ea3ba4cde3706b7c77efb705555ec0c86321cbe2 (diff) |
Pull a lot of engine out of main.asm
Diffstat (limited to 'engine/load_pokedex_tiles.asm')
-rwxr-xr-x | engine/load_pokedex_tiles.asm | 11 |
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 |