summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-12-30 18:16:24 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-12-30 18:16:24 -0500
commit309c94b4014b5789a983de84d3facb332b09bf9a (patch)
treec47de44f1b007b04c6e2050d08e1d2ca9763965f
parent697093f7879ce1a45de8f26637f9758df885bbbf (diff)
Use `MAP_LENGTH` in `GetMapPointer`
-rw-r--r--home/map.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/map.asm b/home/map.asm
index 688d83cc..63ef1a05 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -1867,7 +1867,7 @@ GetAnyMapPointer::
; find the cth map within the group
dec c
ld b, 0
- ld a, 9
+ ld a, MAP_LENGTH
call AddNTimes
ret