From f62e67f578037373efcfba476e4fd271dbb4ab1f Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 15 Jun 2020 18:16:50 -0400 Subject: Define wStackBottom --- engine/menus/save.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/menus/save.asm b/engine/menus/save.asm index f8207204..93250034 100644 --- a/engine/menus/save.asm +++ b/engine/menus/save.asm @@ -322,7 +322,7 @@ UpdateStackTop: FindStackTop: ; Find the furthest point that sp has traversed to. ; This is distinct from the current value of sp. - ld hl, wStackTop - $fc + ld hl, wStackBottom .loop ld a, [hl] or a -- cgit v1.2.3