diff options
Diffstat (limited to 'tilesets/animations.asm')
-rw-r--r-- | tilesets/animations.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tilesets/animations.asm b/tilesets/animations.asm index 89d38aa94..74679b1ee 100644 --- a/tilesets/animations.asm +++ b/tilesets/animations.asm @@ -367,9 +367,9 @@ ScrollTileUp: ; fc34f ld d, [hl] inc hl ld e, [hl] - ld bc, $e + ld bc, TILE_WIDTH * 2 - 2 add hl, bc - ld a, 4 + ld a, TILE_WIDTH / 2 .loop ld c, [hl] ld [hl], e @@ -391,14 +391,14 @@ ScrollTileUp: ; fc34f ScrollTileDown: ; fc36a ld h, d ld l, e - ld de, $e + ld de, TILE_WIDTH * 2 - 2 push hl add hl, de ld d, [hl] inc hl ld e, [hl] pop hl - ld a, 4 + ld a, TILE_WIDTH / 2 .loop ld b, [hl] ld [hl], d |