wPreviousLandmark → wPrevLandmark

This commit is contained in:
Rangi 2018-09-09 15:27:23 -04:00
parent 14a2ea835e
commit 603bcfe2ae
3 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ ReturnFromMapSetupScript::
call .CheckMovingWithinLandmark call .CheckMovingWithinLandmark
jr z, .dont_do_map_sign jr z, .dont_do_map_sign
ld a, [wCurLandmark] ld a, [wCurLandmark]
ld [wPreviousLandmark], a ld [wPrevLandmark], a
call .CheckSpecialMap call .CheckSpecialMap
jr z, .dont_do_map_sign jr z, .dont_do_map_sign
@ -49,7 +49,7 @@ ReturnFromMapSetupScript::
.dont_do_map_sign .dont_do_map_sign
ld a, [wCurLandmark] ld a, [wCurLandmark]
ld [wPreviousLandmark], a ld [wPrevLandmark], a
ld a, $90 ld a, $90
ldh [rWY], a ldh [rWY], a
ldh [hWY], a ldh [hWY], a
@ -60,7 +60,7 @@ ReturnFromMapSetupScript::
.CheckMovingWithinLandmark: .CheckMovingWithinLandmark:
ld a, [wCurLandmark] ld a, [wCurLandmark]
ld c, a ld c, a
ld a, [wPreviousLandmark] ld a, [wPrevLandmark]
cp c cp c
ret z ret z
cp SPECIAL_MAP cp SPECIAL_MAP

View File

@ -67,7 +67,7 @@ NewGame:
call OakSpeech call OakSpeech
call InitializeWorld call InitializeWorld
ld a, 1 ld a, 1
ld [wPreviousLandmark], a ld [wPrevLandmark], a
ld a, SPAWN_HOME ld a, SPAWN_HOME
ld [wDefaultSpawnpoint], a ld [wDefaultSpawnpoint], a

View File

@ -155,7 +155,7 @@ wPrinterConnectionOpen:: db
wPrinterOpcode:: db wPrinterOpcode:: db
wPrevDexEntry:: db wPrevDexEntry:: db
wDisableTextAcceleration:: db wDisableTextAcceleration:: db
wPreviousLandmark:: db wPrevLandmark:: db
wCurLandmark:: db wCurLandmark:: db
wLandmarkSignTimer:: dw wLandmarkSignTimer:: dw