diff options
author | yenatch <yenatch@gmail.com> | 2018-06-30 17:50:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 17:50:33 -0400 |
commit | 2641f93ad084b1329b3f3b9f7c8c222445fc4832 (patch) | |
tree | fb048bbc8bb7257dbd8169e2442117da5d2b30d2 /engine/gfx/load_pics.asm | |
parent | 91f914718a263839daef24d44eda857bfc7cca95 (diff) | |
parent | da5125e1411f9599b883181c5ee6e31252d37ac8 (diff) |
Merge pull request #534 from Rangi42/master
[RTM] Fix triple newlines left over from removing address comments, and other improvements
Diffstat (limited to 'engine/gfx/load_pics.asm')
-rw-r--r-- | engine/gfx/load_pics.asm | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/engine/gfx/load_pics.asm b/engine/gfx/load_pics.asm index 9be8428a9..64190083d 100644 --- a/engine/gfx/load_pics.asm +++ b/engine/gfx/load_pics.asm @@ -158,7 +158,6 @@ GetAnimatedEnemyFrontpic: ld de, wDecompressEnemyFrontpic + 7 * 7 tiles ld c, 7 * 7 .got_dims - push hl push bc call LoadFrontpicTiles @@ -418,39 +417,39 @@ PadFrontpic: jr z, .five .seven_loop - ld c, $70 + ld c, 7 << 4 call LoadOrientedFrontpic dec b jr nz, .seven_loop ret .six - ld c, $70 + ld c, 7 << 4 xor a call .Fill .six_loop - ld c, $10 + ld c, (7 - 6) << 4 xor a call .Fill - ld c, $60 + ld c, 6 << 4 call LoadOrientedFrontpic dec b jr nz, .six_loop ret .five - ld c, $70 + ld c, 7 << 4 xor a call .Fill .five_loop - ld c, $20 + ld c, (7 - 5) << 4 xor a call .Fill - ld c, $50 + ld c, 5 << 4 call LoadOrientedFrontpic dec b jr nz, .five_loop - ld c, $70 + ld c, 7 << 4 xor a call .Fill ret |