summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-12-30 18:16:22 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-12-30 18:16:22 -0500
commita6cffc04c35a22778fe79f26c0e90b0f7164fb76 (patch)
treebf6727ac65bfe92d870451e20f3bbe9b1c88c3ba
parent69185e165755f4a03a5bbce9dd87e7e543a0f3ab (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 29593add0..2947efdca 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -2023,7 +2023,7 @@ GetAnyMapPointer::
; find the cth map within the group
dec c
ld b, 0
- ld a, 9
+ ld a, MAP_LENGTH
call AddNTimes
ret