summaryrefslogtreecommitdiff
path: root/engine/variables.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/variables.asm')
-rwxr-xr-xengine/variables.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/variables.asm b/engine/variables.asm
index 3ddfce8d6..fde2583b7 100755
--- a/engine/variables.asm
+++ b/engine/variables.asm
@@ -7,9 +7,9 @@ _GetVarAction:: ; 80648 (20:4648)
ld c, a
ld b, 0
ld hl, .VarActionTable
-rept 3
add hl, bc
-endr
+ add hl, bc
+ add hl, bc
ld e, [hl]
inc hl
ld d, [hl]