summaryrefslogtreecommitdiff
path: root/home/pic.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/pic.asm')
-rw-r--r--home/pic.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/pic.asm b/home/pic.asm
index 797b1c70..a1c18e8a 100644
--- a/home/pic.asm
+++ b/home/pic.asm
@@ -7,10 +7,10 @@ UncompressSpriteData::
ld a, b
ld [H_LOADEDROMBANK], a
ld [MBC1RomBank], a
- ld a, $a
- ld [$0], a
+ ld a, SRAM_ENABLE
+ ld [MBC1SRamEnable], a
xor a
- ld [$4000], a
+ ld [MBC1SRamBank], a
call _UncompressSpriteData
pop af
ld [H_LOADEDROMBANK], a