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.
This commit is contained in:
yenatch
2014-06-24 09:06:19 -07:00
parent 49ef0121dc
commit 43fb5732a2

View File

@@ -2053,7 +2053,7 @@ GetAnyMapHeaderPointer:: ; 0x2bed
; get pointer to map group ; get pointer to map group
dec b dec b
ld c, b ld c, b
ld b, $0 ld b, 0
ld hl, MapGroupPointers ld hl, MapGroupPointers
add hl, bc add hl, bc
add hl, bc add hl, bc
@@ -2065,8 +2065,8 @@ GetAnyMapHeaderPointer:: ; 0x2bed
; find the cth map header ; find the cth map header
dec c dec c
ld b, $0 ld b, 0
ld a, OlivineGym_MapHeader - OlivinePokeCenter1F_MapHeader ld a, 9
call AddNTimes call AddNTimes
ret ret
; 0x2c04 ; 0x2c04