summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-20 22:18:18 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-20 22:18:18 -0400
commit471492b775fc2a0f5162f3d1c13c5472359beb14 (patch)
treef230b4d37385ca7dfdd8a44cca97faa0202c9dbe /home.asm
parentd1e11f77e525aa7a7751359db4e5380b420e882c (diff)
Reverted ld_hl_pointer macro
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm21
1 files changed, 14 insertions, 7 deletions
diff --git a/home.asm b/home.asm
index c1805e0fe..47ea6d370 100644
--- a/home.asm
+++ b/home.asm
@@ -967,8 +967,9 @@ GetPokemonName:: ; 343b
ld e, a
ld h, 0
ld l, a
+rept 2
add hl, hl
- add hl, hl
+endr
add hl, de
add hl, hl
ld de, PokemonNames
@@ -1342,8 +1343,9 @@ Function35de:: ; 35de
inc hl
.asm_35f8
+rept 2
inc hl
- inc hl
+endr
jr .asm_35e6
.asm_35fc
@@ -2108,10 +2110,12 @@ Function3eea:: ; 3eea
push bc
ld de, AttrMap - TileMap
add hl, de
+rept 2
inc b
- inc b
- inc c
+endr
+rept 2
inc c
+endr
call Function3f35
pop bc
pop hl
@@ -2135,10 +2139,12 @@ Function3f0d:: ; 3f0d
push bc
ld de, AttrMap - TileMap
add hl, de
+rept 2
inc b
- inc b
- inc c
+endr
+rept 2
inc c
+endr
call Function3f35
pop bc
pop hl
@@ -2259,8 +2265,9 @@ Function3f9f:: ; 3f9f
ld c, $8
.asm_3fa5
ld a, [de]
+rept 2
inc de
- inc de
+endr
cpl
ld [hl], $0
inc hl