From 43fb5732a27c49396965024291ae2c44d27e9dd5 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 24 Jun 2014 09:06:19 -0700 Subject: [PATCH] Don't use Olivine maps to define the length of a map header. The first and second map header labels have no semantic meaning with regard to length. In fact, none of the labels are used at all. --- home/map.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/map.asm b/home/map.asm index 2291faa29..17c311d28 100644 --- a/home/map.asm +++ b/home/map.asm @@ -2053,7 +2053,7 @@ GetAnyMapHeaderPointer:: ; 0x2bed ; get pointer to map group dec b ld c, b - ld b, $0 + ld b, 0 ld hl, MapGroupPointers add hl, bc add hl, bc @@ -2065,8 +2065,8 @@ GetAnyMapHeaderPointer:: ; 0x2bed ; find the cth map header dec c - ld b, $0 - ld a, OlivineGym_MapHeader - OlivinePokeCenter1F_MapHeader + ld b, 0 + ld a, 9 call AddNTimes ret ; 0x2c04