summaryrefslogtreecommitdiff
path: root/battle/effects/thief.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effects/thief.asm')
-rw-r--r--battle/effects/thief.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/effects/thief.asm b/battle/effects/thief.asm
index dbbe0396b..730fcd66c 100644
--- a/battle/effects/thief.asm
+++ b/battle/effects/thief.asm
@@ -30,11 +30,11 @@ BattleCommand50: ; 37492
and a
ret nz
- ld a, [InLinkBattle]
+ ld a, [wLinkMode]
and a
jr z, .stealenemyitem
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
dec a
ret z