summaryrefslogtreecommitdiff
path: root/battle/ai/items.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-08 13:27:26 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-08 13:27:26 -0500
commitac824f62fc6bdbc63f2f9fb7bd17e4827a535f36 (patch)
tree78eb17196fca085052cae87ae2997b0ac1b55657 /battle/ai/items.asm
parentc34264ddd89c2af4ba1370d4a2789009e9139b48 (diff)
More battle core labels
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r--battle/ai/items.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm
index f91f45ee5..cf78980b3 100644
--- a/battle/ai/items.asm
+++ b/battle/ai/items.asm
@@ -16,7 +16,7 @@ AI_SwitchOrTryItem: ; 38000
bit SUBSTATUS_CANT_RUN, a
jr nz, DontSwitch
- ld a, [wc731]
+ ld a, [wEnemyWrapCount]
and a
jr nz, DontSwitch