aboutsummaryrefslogtreecommitdiffstats
path: root/home/pics.asm
diff options
context:
space:
mode:
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