From 79bd48f85c7dd1868264e290b12dad17a6e25b95 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 23 Jan 2018 16:49:58 -0500 Subject: [PATCH] Replace Stack with wStack. --- engine/save.asm | 2 +- engine/tileset_anims.asm | 4 ++-- home/init.asm | 2 +- wram.asm | 2 +- 4 files changed, 5 insertions(+), 5 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 diff --git a/home/init.asm b/home/init.asm index d8e476c3f..88ab0b58b 100644 --- a/home/init.asm +++ b/home/init.asm @@ -79,7 +79,7 @@ Init:: ; 17d or c jr nz, .ByteFill - ld sp, Stack + ld sp, wStack ; Clear HRAM ld a, [hCGB] diff --git a/wram.asm b/wram.asm index 81e23e9dc..023aa28b0 100644 --- a/wram.asm +++ b/wram.asm @@ -9,7 +9,7 @@ SECTION "Stack", WRAM0 StackBottom:: ds $100 - 1 -Stack:: +wStack:: StackTop:: ds 1