diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 16:55:39 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 16:55:39 -0500 |
| commit | e16dec874a239c162680b169391d3c0c7ee1fc70 (patch) | |
| tree | 4a18885606996ff59bb714afb5db9a548e2f94a7 /home | |
| parent | Remove trailing whitespace (diff) | |
| download | pokeyellow-e16dec874a239c162680b169391d3c0c7ee1fc70.tar.gz pokeyellow-e16dec874a239c162680b169391d3c0c7ee1fc70.tar.xz pokeyellow-e16dec874a239c162680b169391d3c0c7ee1fc70.zip | |
Sync more with pokeyellow
Diffstat (limited to 'home')
| -rw-r--r-- | home/clear_sprites.asm | 2 | ||||
| -rw-r--r-- | home/uncompress.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/clear_sprites.asm b/home/clear_sprites.asm index 34f4b4ec..79cc99d6 100644 --- a/home/clear_sprites.asm +++ b/home/clear_sprites.asm @@ -1,7 +1,7 @@ ClearSprites:: xor a ld hl, wOAMBuffer - ld b, 40 * 4 + ld b, wOAMBufferEnd - wOAMBuffer .loop ld [hli], a dec b diff --git a/home/uncompress.asm b/home/uncompress.asm index 9d08aa60..d3d84b26 100644 --- a/home/uncompress.asm +++ b/home/uncompress.asm @@ -561,7 +561,7 @@ ResetSpriteBufferPointers:: ; maps each nybble to its reverse NybbleReverseTable:: - db $0, $8, $4, $c, $2, $a, $6 ,$e, $1, $9, $5, $d, $3, $b, $7 ,$f + db $0, $8, $4, $c, $2, $a, $6, $e, $1, $9, $5, $d, $3, $b, $7, $f ; combines the two loaded chunks with xor (the chunk loaded second is the destination). Both chunks are differeintial decoded beforehand. UnpackSpriteMode2:: |
