summaryrefslogtreecommitdiff
path: root/home/battle.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/battle.asm
parentd1e11f77e525aa7a7751359db4e5380b420e882c (diff)
Reverted ld_hl_pointer macro
Diffstat (limited to 'home/battle.asm')
-rw-r--r--home/battle.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/home/battle.asm b/home/battle.asm
index fa72d75a0..832792d88 100644
--- a/home/battle.asm
+++ b/home/battle.asm
@@ -153,8 +153,9 @@ GetBattleVarAddr:: ; 39e7
ld hl, .battlevarpairs
ld c, a
ld b, 0
+rept 2
add hl, bc
- add hl, bc
+endr
ld a, [hli]
ld h, [hl]
@@ -174,8 +175,9 @@ GetBattleVarAddr:: ; 39e7
ld b, 0
ld hl, .vars
+rept 2
add hl, bc
- add hl, bc
+endr
ld a, [hli]
ld h, [hl]