aboutsummaryrefslogtreecommitdiffstats
path: root/home/pics.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-04 01:00:45 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-04 01:00:45 -0400
commite4e0af4d6713161d46cc0a1d580645ca40d6fa81 (patch)
tree34468478ff888022c58fdb6548a02e4069e1fba9 /home/pics.asm
parentMake suggested changes from review (diff)
downloadpokeyellow-e4e0af4d6713161d46cc0a1d580645ca40d6fa81.tar.gz
pokeyellow-e4e0af4d6713161d46cc0a1d580645ca40d6fa81.tar.xz
pokeyellow-e4e0af4d6713161d46cc0a1d580645ca40d6fa81.zip
Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported by rgbds 0.4.0)
Diffstat (limited to 'home/pics.asm')
-rw-r--r--home/pics.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/pics.asm b/home/pics.asm
index 02683db7..c6d99cbb 100644
--- a/home/pics.asm
+++ b/home/pics.asm
@@ -93,7 +93,7 @@ LoadUncompressedSpriteData::
add a ; 8*(7*((8-w)/2) + 7-h) ; combined overall offset (in bytes)
ld [hSpriteOffset], a
xor a
- ld [$4000], a
+ ld [MBC1SRamBank], a
ld hl, sSpriteBuffer0
call ZeroSpriteBuffer ; zero buffer 0
ld de, sSpriteBuffer1
@@ -151,7 +151,7 @@ ZeroSpriteBuffer::
; de: output address
InterlaceMergeSpriteBuffers::
xor a
- ld [$4000], a
+ ld [MBC1SRamBank], a
push de
ld hl, sSpriteBuffer2 + (SPRITEBUFFERSIZE - 1) ; destination: end of buffer 2
ld de, sSpriteBuffer1 + (SPRITEBUFFERSIZE - 1) ; source 2: end of buffer 1