diff options
Diffstat (limited to 'engine/items')
-rw-r--r-- | engine/items/item_effects.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 7a499e28..9e3473f2 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -1433,9 +1433,9 @@ ItemUseMedicine: 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 @@ -2221,7 +2221,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 @@ -2406,7 +2406,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 @@ -2433,7 +2433,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 @@ -2444,7 +2444,7 @@ ItemUseTMHM: call DisplayPartyMenu push af ld hl, wTempMoveNameBuffer - ld de, wcf4b + ld de, wStringBuffer ld bc, 14 call CopyData pop af @@ -2835,7 +2835,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 @@ -2855,7 +2855,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 |