From 603bcfe2ae52fdcee147347d27e9bb3a23f19fd0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 9 Sep 2018 15:27:23 -0400 Subject: [PATCH] =?UTF-8?q?wPreviousLandmark=20=E2=86=92=20wPrevLandmark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- engine/events/map_name_sign.asm | 6 +++--- engine/menus/intro_menu.asm | 2 +- wram.asm | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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