diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-20 11:28:05 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-20 11:28:05 -0400 |
commit | d9300a9becc9aa699b7191f87d8b493a93139ba2 (patch) | |
tree | 14f742415c8976596a8d79a6dcdaa040e6b34083 /home/map.asm | |
parent | bef792f2d21ccac0127aeffd9e0838aba81f44b6 (diff) |
Fix unnecessary white space and retire add_n_times
Diffstat (limited to 'home/map.asm')
-rw-r--r-- | home/map.asm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/home/map.asm b/home/map.asm index beefb2c3f..01c3b5824 100644 --- a/home/map.asm +++ b/home/map.asm @@ -150,7 +150,9 @@ Function2198:: ; 2198 add a ld l, a ld h, 0 - add_n_times hl, hl, 3 +rept 3 + add hl,hl +endr ld a, [TilesetBlocksAddress] add l ld l, a @@ -1703,7 +1705,9 @@ GetFacingTileCoord:: ; 2a07 srl a ld l, a ld h, 0 - add_n_times hl, hl, 2 +rept 2 + add hl,hl +endr ld de, .Directions add hl, de @@ -1745,7 +1749,9 @@ Function2a3c:: ; 2a3c jr z, .nope ld l, a ld h, $0 - add_n_times hl, hl, 2 +rept 2 + add hl,hl +endr ld a, [TilesetCollisionAddress] ld c, a ld a, [TilesetCollisionAddress + 1] |