diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:29:30 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:29:30 -0500 |
commit | 99e66c25577e367d6c7ca75fea8b466b54c3317a (patch) | |
tree | 56183dddfd540a395086a7540060c374f9541723 /engine/battle/move_effects/thief.asm | |
parent | 1a054661ecac2d6075961e486213b6880c0afc4e (diff) |
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"
Fixes #789
Diffstat (limited to 'engine/battle/move_effects/thief.asm')
-rw-r--r-- | engine/battle/move_effects/thief.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/move_effects/thief.asm b/engine/battle/move_effects/thief.asm index e588c5ff7..03e3fb6ac 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 [wNamedObjectIndexBuffer], a + ld [wNamedObjectIndex], a ld d, a farcall ItemIsMail ret c @@ -45,7 +45,7 @@ BattleCommand_Thief: ld [de], a call .playeritem - ld a, [wNamedObjectIndexBuffer] + ld a, [wNamedObjectIndex] ld [hl], a ld [de], a jr .stole @@ -68,7 +68,7 @@ BattleCommand_Thief: ; Can't steal mail! - ld [wNamedObjectIndexBuffer], a + ld [wNamedObjectIndex], a ld d, a farcall ItemIsMail ret c @@ -86,7 +86,7 @@ BattleCommand_Thief: ld [de], a call .enemyitem - ld a, [wNamedObjectIndexBuffer] + ld a, [wNamedObjectIndex] ld [hl], a ld [de], a |