summaryrefslogtreecommitdiff
path: root/battle/ai/switch.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/ai/switch.asm')
-rwxr-xr-xbattle/ai/switch.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/battle/ai/switch.asm b/battle/ai/switch.asm
index 8f5db7a54..3a0b27a0f 100755
--- a/battle/ai/switch.asm
+++ b/battle/ai/switch.asm
@@ -626,9 +626,8 @@ FindEnemyMonsWithEnoughHP: ; 34b77
ld b, [hl]
inc hl
ld c, [hl]
-rept 2
inc hl
-endr
+ inc hl
; hl = MaxHP + 1
; b = (4 * b) % $100 + (c & 3)
; c = c / 4