summaryrefslogtreecommitdiff
path: root/engine/gfx.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-25 15:25:09 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-25 15:25:09 -0400
commitf7000f066941779d75ef445ed534c7126ae08a6b (patch)
tree0866f4c5cba168043ab2cbdf195baecb25e26d92 /engine/gfx.asm
parent3a779059709ea1851821f7809a32e125f0749f65 (diff)
Factor out Town Map tilemap and adjust its graphics
Diffstat (limited to 'engine/gfx.asm')
-rw-r--r--engine/gfx.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/gfx.asm b/engine/gfx.asm
index ca14505..5700904 100644
--- a/engine/gfx.asm
+++ b/engine/gfx.asm
@@ -70,7 +70,7 @@ LoadPokeDexGraphics::
call LoadPokemonMenuGraphics
ld de, PokedexGFX
ld hl, $9600
- lb bc, BANK(PokedexGFX), ((PokedexLocationGFX.End - PokedexGFX) / LEN_2BPP_TILE)
+ lb bc, BANK(PokedexGFX), ((PokedexGFX.End - PokedexGFX) / LEN_2BPP_TILE + 5) ; copies first 5 tiles of TownMapGFX
call Get2bpp
ld de, PokeBallsGFX
ld hl, $9720