map_header → map_def; map_header_2 → map_data

This commit is contained in:
Remy Oukaour
2018-01-16 22:57:19 -05:00
parent 3d0e1819e9
commit bf074f3598
421 changed files with 2698 additions and 2699 deletions

View File

@@ -1,8 +1,8 @@
Function8b342:: ; 8b342
; Loads the secondary map header pointer, then runs through a
; Loads the map data pointer, then runs through a
; dw with three dummy functions. Spends a lot of energy
; doing pretty much nothing.
call GetSecondaryMapHeaderPointer
call GetMapDataPointer
ld d, h
ld e, l

View File

@@ -4329,7 +4329,7 @@ Function11581e: ; 11581e
push hl
ld a, [wCurrMapCallbackCount]
ld l, a
ld a, [wCurrMapCallbackHeaderPointer]
ld a, [wCurrMapCallbacksPointer]
ld h, a
cp b
jr c, .asm_1158bb
@@ -4351,7 +4351,7 @@ Function11581e: ; 11581e
ld a, l
ld [wCurrMapCallbackCount], a
ld a, h
ld [wCurrMapCallbackHeaderPointer], a
ld [wCurrMapCallbacksPointer], a
pop bc
pop hl
ld hl, wCurrMapSceneScriptCount
@@ -4896,7 +4896,7 @@ Function115b00: ; 115b00
push hl
ld a, [wCurrMapCallbackCount]
ld l, a
ld a, [wCurrMapCallbackHeaderPointer]
ld a, [wCurrMapCallbacksPointer]
ld h, a
cp b
jr c, .asm_115b36
@@ -4918,7 +4918,7 @@ Function115b00: ; 115b00
ld a, l
ld [wCurrMapCallbackCount], a
ld a, h
ld [wCurrMapCallbackHeaderPointer], a
ld [wCurrMapCallbacksPointer], a
pop bc
pop hl
ld hl, wCurrMapSceneScriptCount