summaryrefslogtreecommitdiff
path: root/engine/menus/save.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-15 23:28:24 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-15 23:28:24 -0400
commit4342ced31f53ff5d523a7a9cf15aad8e37b355ae (patch)
treecf2d1e7d8d40ca31ab2b7180acfbb9e4eed8573b /engine/menus/save.asm
parentbb0264e619a5c6a3eef1e73a6cd63ddeb3295749 (diff)
Identify wObjectPriorities
Diffstat (limited to 'engine/menus/save.asm')
-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 dc677c8ca..98a3a25c5 100644
--- a/engine/menus/save.asm
+++ b/engine/menus/save.asm
@@ -314,7 +314,7 @@ UpdateStackTop:
FindStackTop:
; Find the furthest point that sp has traversed to.
; This is distinct from the current value of sp.
- ld hl, wStack - $ff
+ ld hl, wStackBottom
.loop
ld a, [hl]
or a