summaryrefslogtreecommitdiff
path: root/misc/gfx_41.asm
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gfx_41.asm')
-rwxr-xr-xmisc/gfx_41.asm8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/gfx_41.asm b/misc/gfx_41.asm
index e7cde8faa..691ee7099 100755
--- a/misc/gfx_41.asm
+++ b/misc/gfx_41.asm
@@ -481,9 +481,11 @@ _Get2bpp:: ; 104284
ld a, b ; bank
ld l, c ; number of tiles
ld h, $0
-rept 4
- add hl, hl ; multiply by 16 (16 bytes of a 2bpp = 8 x 8 tile)
-endr
+ ; multiply by 16 (16 bytes of a 2bpp = 8 x 8 tile)
+ add hl, hl
+ add hl, hl
+ add hl, hl
+ add hl, hl
ld b, h
ld c, l
ld h, d ; address