summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands/thief.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/effect_commands/thief.asm')
-rw-r--r--engine/battle/effect_commands/thief.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/effect_commands/thief.asm b/engine/battle/effect_commands/thief.asm
index 6d32d68d4..5397c2bdf 100644
--- a/engine/battle/effect_commands/thief.asm
+++ b/engine/battle/effect_commands/thief.asm
@@ -26,7 +26,7 @@ BattleCommand_Thief: ; 37492
farcall ItemIsMail
ret c
- ld a, [EffectFailed]
+ ld a, [wEffectFailed]
and a
ret nz
@@ -74,7 +74,7 @@ BattleCommand_Thief: ; 37492
farcall ItemIsMail
ret c
- ld a, [EffectFailed]
+ ld a, [wEffectFailed]
and a
ret nz
@@ -103,7 +103,7 @@ BattleCommand_Thief: ; 37492
call BattlePartyAttr
ld d, h
ld e, l
- ld hl, BattleMonItem
+ ld hl, wBattleMonItem
ret
.enemyitem
@@ -111,6 +111,6 @@ BattleCommand_Thief: ; 37492
call OTPartyAttr
ld d, h
ld e, l
- ld hl, EnemyMonItem
+ ld hl, wEnemyMonItem
ret
; 37517