aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-07-17 17:30:53 -0500
committerGitHub <noreply@github.com>2019-07-17 17:30:53 -0500
commit36597a7917144bbf5d9ae63a0f9d537f6f58eb74 (patch)
treee478588912070f759c95b8c276c03dc7a296c9d2 /home
parentMerge pull request #201 from SatoMew/master (diff)
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.gz
pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.xz
pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.zip
Merge pull request #220 from Rangi42/master
Replace some hard-coded values with constants
Diffstat (limited to 'home')
-rw-r--r--home/overworld.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 66bf73a7..9404a713 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -887,7 +887,7 @@ LoadTileBlockMap::
ld hl, wOverworldMap
ld a, [wMapBackgroundTile]
ld d, a
- ld bc, $0514
+ ld bc, wOverworldMapEnd - wOverworldMap
.backgroundTileLoop
ld a, d
ld [hli], a