mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
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:
parent
49ef0121dc
commit
43fb5732a2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user