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

View File

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

View File

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