You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
map_header → map_def; map_header_2 → map_data
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user