summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home.asm b/home.asm
index 47ea6d370..1cde0d5d0 100644
--- a/home.asm
+++ b/home.asm
@@ -1457,7 +1457,7 @@ CheckTrainerBattle:: ; 360d
.startbattle
pop de
pop af
- ld [$ffe0], a
+ ld [hLastTalked], a
ld a, b
ld [CurFruit], a
ld a, c
@@ -1474,7 +1474,7 @@ Function3674:: ; 3674
Function367e:: ; 367e
call GetMapScriptHeaderBank
ld [EngineBuffer1], a
- ld a, [$ffe0]
+ ld a, [hLastTalked]
call GetMapObject
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc