ref: 603bcfe2ae52fdcee147347d27e9bb3a23f19fd0
parent: 14a2ea835edc0fdd52b04ecd010a0c123471e0c6
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Sep 9 11:27:23 EDT 2018
wPreviousLandmark → wPrevLandmark
--- a/engine/events/map_name_sign.asm
+++ b/engine/events/map_name_sign.asm
@@ -34,7 +34,7 @@
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 @@
.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 @@
.CheckMovingWithinLandmark:
ld a, [wCurLandmark]
ld c, a
- ld a, [wPreviousLandmark]
+ ld a, [wPrevLandmark]
cp c
ret z
cp SPECIAL_MAP
--- a/engine/menus/intro_menu.asm
+++ b/engine/menus/intro_menu.asm
@@ -67,7 +67,7 @@
call OakSpeech
call InitializeWorld
ld a, 1
- ld [wPreviousLandmark], a
+ ld [wPrevLandmark], a
ld a, SPAWN_HOME
ld [wDefaultSpawnpoint], a
--- a/wram.asm
+++ b/wram.asm
@@ -155,7 +155,7 @@
wPrinterOpcode:: db
wPrevDexEntry:: db
wDisableTextAcceleration:: db
-wPreviousLandmark:: db
+wPrevLandmark:: db
wCurLandmark:: db
wLandmarkSignTimer:: dw