summaryrefslogtreecommitdiff
path: root/battle/ai/items.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-07-20 23:05:28 -0700
committeryenatch <yenatch@gmail.com>2015-07-20 23:05:28 -0700
commit973721491c38aa3014f5b28982227a618d2f6b59 (patch)
treee01415064e6da53a471d75b2eb0113846650322b /battle/ai/items.asm
parenta3c6931fa8edd09fcea678fd8d2e9988951380de (diff)
parent0b5471f385d3cc66bb4ae7aa4191ce3af9f50cac (diff)
Merge remote-tracking branch 'kanzure/master' into gfx-script
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r--battle/ai/items.asm7
1 files changed, 4 insertions, 3 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm
index 3a880a00c..5cd3fd7fc 100644
--- a/battle/ai/items.asm
+++ b/battle/ai/items.asm
@@ -193,9 +193,9 @@ AI_TryItem: ; 38105
jr z, .has_item
dec de
+rept 3
inc hl
- inc hl
- inc hl
+endr
jr .loop
.has_item
@@ -213,8 +213,9 @@ AI_TryItem: ; 38105
pop de
pop hl
+rept 2
inc hl
- inc hl
+endr
jr c, .loop
.used_item