summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/thief.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-07-29 19:56:54 -0400
committerGitHub <noreply@github.com>2018-07-29 19:56:54 -0400
commit98e670f3637b5f845a91423ee2d624d2f1e331a6 (patch)
tree20bacd2c3cd766eedddd636de59a99af1d662866 /engine/battle/move_effects/thief.asm
parent2ec900d96c3b6020be0816151b9ad606c04114b5 (diff)
parente346cc7b4152578106f7708363b41d076a3e8d52 (diff)
Merge pull request #548 from Rangi42/master
Add meaningful aliases for wd265
Diffstat (limited to 'engine/battle/move_effects/thief.asm')
-rw-r--r--engine/battle/move_effects/thief.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/move_effects/thief.asm b/engine/battle/move_effects/thief.asm
index 64de1a4fe..34a9699fc 100644
--- a/engine/battle/move_effects/thief.asm
+++ b/engine/battle/move_effects/thief.asm
@@ -21,7 +21,7 @@ BattleCommand_Thief:
; Can't steal mail.
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
ld d, a
farcall ItemIsMail
ret c
@@ -45,7 +45,7 @@ BattleCommand_Thief:
ld [de], a
call .playeritem
- ld a, [wd265]
+ ld a, [wNamedObjectIndexBuffer]
ld [hl], a
ld [de], a
jr .stole
@@ -68,7 +68,7 @@ BattleCommand_Thief:
; Can't steal mail!
- ld [wd265], a
+ ld [wNamedObjectIndexBuffer], a
ld d, a
farcall ItemIsMail
ret c
@@ -86,7 +86,7 @@ BattleCommand_Thief:
ld [de], a
call .enemyitem
- ld a, [wd265]
+ ld a, [wNamedObjectIndexBuffer]
ld [hl], a
ld [de], a