Use MAP_LENGTH in GetMapPointer

This commit is contained in:
Rangi 2021-12-30 18:16:22 -05:00
parent 69185e1657
commit a6cffc04c3

View File

@ -2023,7 +2023,7 @@ GetAnyMapPointer::
; find the cth map within the group ; find the cth map within the group
dec c dec c
ld b, 0 ld b, 0
ld a, 9 ld a, MAP_LENGTH
call AddNTimes call AddNTimes
ret ret