diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 16:49:58 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 16:49:58 -0500 |
commit | 79bd48f85c7dd1868264e290b12dad17a6e25b95 (patch) | |
tree | b634d6eb4b11014f4376c62daf5acf2d4062fd99 | |
parent | f2ae74079fc917cbf7e1f640eb8beda0d4740887 (diff) |
Replace Stack with wStack.
-rw-r--r-- | engine/save.asm | 2 | ||||
-rw-r--r-- | engine/tileset_anims.asm | 4 | ||||
-rw-r--r-- | home/init.asm | 2 | ||||
-rw-r--r-- | 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] @@ -9,7 +9,7 @@ SECTION "Stack", WRAM0 StackBottom:: ds $100 - 1 -Stack:: +wStack:: StackTop:: ds 1 |