summaryrefslogtreecommitdiff
path: root/engine/menus/menu_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/menus/menu_2.asm')
-rw-r--r--engine/menus/menu_2.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/menus/menu_2.asm b/engine/menus/menu_2.asm
index a0af3223..ea94f67b 100644
--- a/engine/menus/menu_2.asm
+++ b/engine/menus/menu_2.asm
@@ -1,7 +1,7 @@
PlaceMenuItemName:
push de
ld a, [wMenuSelection]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetItemName
pop hl
call PlaceString
@@ -12,7 +12,7 @@ PlaceMenuItemQuantity:
ld a, [wMenuSelection]
ld [wCurItem], a
farcall _CheckTossableItem
- ld a, [wItemAttributeParamBuffer]
+ ld a, [wItemAttributeValue]
pop hl
and a
jr nz, .done
@@ -171,7 +171,7 @@ StartMenu_PrintBugContestStatus:
and a
ld de, .NoneString
jr z, .no_contest_mon
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
.no_contest_mon