summaryrefslogtreecommitdiff
path: root/engine/items/item_effects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/items/item_effects.asm')
-rw-r--r--engine/items/item_effects.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index ee65a29a..9f8c14c3 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -1,6 +1,6 @@
_DoItemEffect::
ld a, [wCurItem]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetItemName
call CopyName1
ld a, 1
@@ -556,7 +556,7 @@ PokeBallEffect:
call PrintText
ld a, [wCurPartySpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
call YesNoBox
@@ -614,7 +614,7 @@ PokeBallEffect:
call PrintText
ld a, [wCurPartySpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
call YesNoBox
@@ -690,7 +690,7 @@ PokeBallEffect:
.toss
ld hl, wNumItems
inc a
- ld [wItemQuantityChangeBuffer], a
+ ld [wItemQuantityChange], a
jp TossItem
.used_park_ball
@@ -2295,7 +2295,7 @@ RestorePPEffect:
push hl
ld a, [hl]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetMoveName
call CopyName1
pop hl
@@ -2556,7 +2556,7 @@ UseItemText:
UseDisposableItem:
ld hl, wNumItems
ld a, 1
- ld [wItemQuantityChangeBuffer], a
+ ld [wItemQuantityChange], a
jp TossItem
UseBallInTrainerBattle: