diff options
author | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-07-03 15:13:35 -0500 |
---|---|---|
committer | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-07-03 15:13:35 -0500 |
commit | 5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (patch) | |
tree | f8ee8f2d9c8042b55edb1a4761833511ab1695b1 /home | |
parent | 8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff) |
No more ldh
Diffstat (limited to 'home')
-rw-r--r-- | home/pic.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/pic.asm b/home/pic.asm index 68e5c0ad..4bc7b31c 100644 --- a/home/pic.asm +++ b/home/pic.asm @@ -57,13 +57,13 @@ _UncompressSpriteData:: ; 251a (0:251a) ; note that this is an endless loop which is terminated during a call to MoveToNextBufferPosition by manipulating the stack UncompressSpriteDataLoop:: ; 2556 (0:2556) ld hl, S_SPRITEBUFFER1 - ld a, [W_SPRITELOADFLAGS] + ld a, [W_SPRITELOADFLAGS] bit 0, a jr z, .useSpriteBuffer1 ; check which buffer to use ld hl, S_SPRITEBUFFER2 .useSpriteBuffer1 call StoreSpriteOutputPointer - ld a, [W_SPRITELOADFLAGS] + ld a, [W_SPRITELOADFLAGS] bit 1, a jr z, .startDecompression ; check if last iteration call ReadNextInputBit ; if last chunk, read 1-2 bit unpacking mode |