summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:49:58 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:49:58 -0500
commit79bd48f85c7dd1868264e290b12dad17a6e25b95 (patch)
treeb634d6eb4b11014f4376c62daf5acf2d4062fd99 /engine
parentf2ae74079fc917cbf7e1f640eb8beda0d4740887 (diff)
Replace Stack with wStack.
Diffstat (limited to 'engine')
-rw-r--r--engine/save.asm2
-rw-r--r--engine/tileset_anims.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/save.asm b/engine/save.asm
index 4291754e9..be9d7f109 100644
--- a/engine/save.asm
+++ b/engine/save.asm
@@ -332,7 +332,7 @@ UpdateStackTop: ; 14c6b
FindStackTop: ; 14c90
; Find the furthest point that sp has traversed to.
; This is distinct from the current value of sp.
- ld hl, Stack - $ff
+ ld hl, wStack - $ff
.loop
ld a, [hl]
or a
diff --git a/engine/tileset_anims.asm b/engine/tileset_anims.asm
index 5113ae9a3..931fcba09 100644
--- a/engine/tileset_anims.asm
+++ b/engine/tileset_anims.asm
@@ -481,7 +481,7 @@ AnimateWaterTile: ; fc402
adc HIGH(WaterTileFrames)
ld h, a
-; Stack now points to the start of the tile for this frame.
+; The stack now points to the start of the tile for this frame.
ld sp, hl
ld l, e
@@ -845,7 +845,7 @@ AnimateWhirlpoolTile: ; fc678
adc h
ld h, a
-; Stack now points to the desired frame.
+; The stack now points to the desired frame.
ld sp, hl
ld l, e