summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-08-28 17:02:20 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-08-28 17:02:20 -0400
commit7ee8a6509e323ec012ece6273809e46830c29239 (patch)
treea58c8343919f9be0f208733f77506d783e5c269c /engine/items
parent236426138bf085c4b7b854b43d910370fffca290 (diff)
wcf4b -> wStringBuffer
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/item_effects.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 8114db2b..f58b737e 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -1307,9 +1307,9 @@ ItemUseMedicine:
jr nz, .statNameInnerLoop
jr .statNameLoop
.gotStatName
- ld de, wcf4b
+ ld de, wStringBuffer
ld bc, 10
- call CopyData ; copy the stat's name to wcf4b
+ call CopyData ; copy the stat's name to wStringBuffer
ld a, SFX_HEAL_AILMENT
call PlaySound
ld hl, VitaminStatRoseText
@@ -1984,7 +1984,7 @@ ItemUsePPRestore:
ld a, [hl]
ld [wd11e], a
call GetMoveName
- call CopyStringToCF4B ; copy name to wcf4b
+ call CopyToStringBuffer
pop hl
ld a, [wPPRestoreItem]
cp ETHER
@@ -2161,7 +2161,7 @@ ItemUseTMHM:
ld a, [wd11e]
ld [wMoveNum], a
call GetMoveName
- call CopyStringToCF4B ; copy name to wcf4b
+ call CopyToStringBuffer
pop af
ld hl, BootedUpTMText
jr nc, .printBootedUpMachineText
@@ -2187,7 +2187,7 @@ ItemUseTMHM:
ld a, [wcf91]
push af
.chooseMon
- ld hl, wcf4b
+ ld hl, wStringBuffer
ld de, wTempMoveNameBuffer
ld bc, 14
call CopyData ; save the move name because DisplayPartyMenu will overwrite it
@@ -2198,7 +2198,7 @@ ItemUseTMHM:
call DisplayPartyMenu
push af
ld hl, wTempMoveNameBuffer
- ld de, wcf4b
+ ld de, wStringBuffer
ld bc, 14
call CopyData
pop af
@@ -2553,7 +2553,7 @@ TossItem_::
ld a, [wcf91]
ld [wd11e], a
call GetItemName
- call CopyStringToCF4B ; copy name to wcf4b
+ call CopyToStringBuffer
ld hl, IsItOKToTossItemText
call PrintText
hlcoord 14, 7
@@ -2573,7 +2573,7 @@ TossItem_::
ld a, [wcf91]
ld [wd11e], a
call GetItemName
- call CopyStringToCF4B ; copy name to wcf4b
+ call CopyToStringBuffer
ld hl, ThrewAwayItemText
call PrintText
pop hl