summaryrefslogtreecommitdiff
path: root/engine/items/tmhm.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:46:49 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:46:49 -0500
commit524f57703fb362dd9a131edb1eb5aebad5ffe633 (patch)
treef49e12f9e57b60128d6ea7b50116b66835874734 /engine/items/tmhm.asm
parentb87c45afcd9fcd06be459f112b01e6035dc3f20b (diff)
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer"
Diffstat (limited to 'engine/items/tmhm.asm')
-rw-r--r--engine/items/tmhm.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm
index e8cbbb00..c240282f 100644
--- a/engine/items/tmhm.asm
+++ b/engine/items/tmhm.asm
@@ -15,7 +15,7 @@ TMHMPocket:
ld b, 0
add hl, bc
ld a, [hl]
- ld [wItemQuantityBuffer], a
+ ld [wItemQuantity], a
call .ConvertItemToTMHMNumber
scf
ret
@@ -375,7 +375,7 @@ TMHM_DisplayPocketItems:
ld [wTempTMHM], a
.okay
predef GetTMHMMove
- ld a, [wNamedObjectIndexBuffer]
+ ld a, [wNamedObjectIndex]
ld [wPutativeTMHMMove], a
call GetMoveName
pop hl