summaryrefslogtreecommitdiff
path: root/engine/switch_items.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/switch_items.asm')
-rwxr-xr-xengine/switch_items.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/switch_items.asm b/engine/switch_items.asm
index 0d4512876..b699d4719 100755
--- a/engine/switch_items.asm
+++ b/engine/switch_items.asm
@@ -231,9 +231,8 @@ ItemSwitch_ConvertSpacingToDW: ; 24a80 (9:4a80)
ld c, a
ld b, 0
ld hl, .spacing_dws
-rept 2
add hl, bc
-endr
+ add hl, bc
ld c, [hl]
inc hl
ld b, [hl]