summaryrefslogtreecommitdiff
path: root/misc/gfx_41.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-08 14:11:24 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-08 14:11:24 -0400
commite95d42e0af1921f516c1fd4269024aa3f586514f (patch)
tree3130d8d059dbeb247b24bd31eec28c6e358659d8 /misc/gfx_41.asm
parentbb58230ca7a3f0f3c58af2b182051cf33ba609ac (diff)
All functions in main.asm have non-generic names
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