diff options
Diffstat (limited to 'engine/items/item_effects.asm')
-rw-r--r-- | engine/items/item_effects.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 05cb7fbbd..eaff68fc2 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 @@ -566,7 +566,7 @@ PokeBallEffect: call PrintText ld a, [wCurPartySpecies] - ld [wNamedObjectIndexBuffer], a + ld [wNamedObjectIndex], a call GetPokemonName call YesNoBox @@ -626,7 +626,7 @@ PokeBallEffect: call PrintText ld a, [wCurPartySpecies] - ld [wNamedObjectIndexBuffer], a + ld [wNamedObjectIndex], a call GetPokemonName call YesNoBox @@ -702,7 +702,7 @@ PokeBallEffect: .toss ld hl, wNumItems inc a - ld [wItemQuantityChangeBuffer], a + ld [wItemQuantityChange], a jp TossItem .used_park_ball @@ -2333,7 +2333,7 @@ RestorePPEffect: push hl ld a, [hl] - ld [wNamedObjectIndexBuffer], a + ld [wNamedObjectIndex], a call GetMoveName call CopyName1 pop hl @@ -2594,7 +2594,7 @@ UseItemText: UseDisposableItem: ld hl, wNumItems ld a, 1 - ld [wItemQuantityChangeBuffer], a + ld [wItemQuantityChange], a jp TossItem UseBallInTrainerBattle: |