mirror of https://github.com/pret/pokecrystal.git
Use `MAP_LENGTH` in `GetMapPointer`
This commit is contained in:
parent
69185e1657
commit
a6cffc04c3
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue