aboutsummaryrefslogtreecommitdiffstats
path: root/home/uncompress.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-06-30 12:47:22 -0400
committerGitHub <noreply@github.com>2025-06-30 12:47:22 -0400
commit56c405de09ce267c4cfbc68a15c37b2ff51c635a (patch)
tree47d25c237e9af824f7a57295a2d2e298b194a8e6 /home/uncompress.asm
parentDistinguish single trainer pics section from Pokemon pics (diff)
downloadpokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.gz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.xz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.zip
Replace hardware_constants.asm with hardware.inc (#511)
Diffstat (limited to 'home/uncompress.asm')
-rw-r--r--home/uncompress.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/uncompress.asm b/home/uncompress.asm
index b6cb1e8d..731ae642 100644
--- a/home/uncompress.asm
+++ b/home/uncompress.asm
@@ -11,15 +11,15 @@ UncompressSpriteData::
push af
ld a, b
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
- ld a, SRAM_ENABLE
- ld [MBC1SRamEnable], a
+ ld [rROMB], a
+ ld a, RAMG_SRAM_ENABLE
+ ld [rRAMG], a
xor a
- ld [MBC1SRamBank], a
+ ld [rRAMB], a
call _UncompressSpriteData
pop af
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ ld [rROMB], a
ret
; initializes necessary data to load a sprite and runs UncompressSpriteDataLoop