summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-11-02 21:02:29 -0700
committerYamaArashi <shadow962@live.com>2016-11-02 21:02:29 -0700
commit10289bf7ddac46d0188da06f2714dbce0dece59c (patch)
treebe7bd310294562ab8840677a492289027ab131e7
parent77c3e22a4ecd3dc81918f00c548cef7c634f3419 (diff)
use hardware constants in 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