From d237b01cfb241f417567c964e0df0658cf921570 Mon Sep 17 00:00:00 2001 From: Narishma-gb <194818981+Narishma-gb@users.noreply.github.com> Date: Wed, 10 Sep 2025 06:31:11 +0200 Subject: Misc. naming and cleanup (#139) * Name some printer/diploma routines * Name `wd434` * Name `NAME_LENGTH_JP` * Rename `callabd`/`calladb` to `farcall`/`callfar` --- home/pics.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home/pics.asm') diff --git a/home/pics.asm b/home/pics.asm index 7a58a05e..18d86f2e 100644 --- a/home/pics.asm +++ b/home/pics.asm @@ -87,7 +87,7 @@ LoadUncompressedSpriteData:: add a add a ; 8*(7*((8-w)/2) + 7-h) ; combined overall offset (in bytes) ldh [hSpriteOffset], a - ld a, $0 + ld a, BANK("Sprite Buffers") call OpenSRAM ld hl, sSpriteBuffer0 call ZeroSpriteBuffer ; zero buffer 0 @@ -146,7 +146,7 @@ ZeroSpriteBuffer:: ; in the resulting sprite, the rows of the two source sprites are interlaced ; de: output address InterlaceMergeSpriteBuffers:: - ld a, $0 + ld a, BANK("Sprite Buffers") call OpenSRAM push de ld hl, sSpriteBuffer2 + (SPRITEBUFFERSIZE - 1) ; destination: end of buffer 2 -- cgit v1.3.1-sl0p