From a6cffc04c35a22778fe79f26c0e90b0f7164fb76 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 30 Dec 2021 18:16:22 -0500 Subject: [PATCH] Use `MAP_LENGTH` in `GetMapPointer` --- home/map.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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