Replace Stack with wStack.

This commit is contained in:
luckytyphlosion
2018-01-23 16:49:58 -05:00
parent f2ae74079f
commit 79bd48f85c
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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