diff --git a/engine/events/map_name_sign.asm b/engine/events/map_name_sign.asm index 0ec2600d1..0b6b2b203 100644 --- a/engine/events/map_name_sign.asm +++ b/engine/events/map_name_sign.asm @@ -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 diff --git a/engine/menus/intro_menu.asm b/engine/menus/intro_menu.asm index d327f2d50..89b2f5a77 100644 --- a/engine/menus/intro_menu.asm +++ b/engine/menus/intro_menu.asm @@ -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 diff --git a/wram.asm b/wram.asm index 11e899f97..0dcbafb03 100644 --- a/wram.asm +++ b/wram.asm @@ -155,7 +155,7 @@ wPrinterConnectionOpen:: db wPrinterOpcode:: db wPrevDexEntry:: db wDisableTextAcceleration:: db -wPreviousLandmark:: db +wPrevLandmark:: db wCurLandmark:: db wLandmarkSignTimer:: dw