summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-15 18:16:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-15 18:16:50 -0400
commitf62e67f578037373efcfba476e4fd271dbb4ab1f (patch)
treee28637854d98f76dd15a66d757c80abd3dce22b5 /engine
parentb768d133250fd2a1d489399bedad57522ca75071 (diff)
Define wStackBottom
Diffstat (limited to 'engine')
-rw-r--r--engine/menus/save.asm2
1 files changed, 1 insertions, 1 deletions
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