summaryrefslogtreecommitdiff
path: root/engine/printer
diff options
context:
space:
mode:
Diffstat (limited to 'engine/printer')
-rw-r--r--engine/printer/print_party.asm6
-rw-r--r--engine/printer/printer.asm2
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/printer/print_party.asm b/engine/printer/print_party.asm
index 4889b6ad8..c29142876 100644
--- a/engine/printer/print_party.asm
+++ b/engine/printer/print_party.asm
@@ -170,7 +170,7 @@ PrintPartyMonPage1:
lb bc, 2, 3
call PrintNum
ld a, [wCurPartySpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld [wCurSpecies], a
ld hl, wPartyMonNicknames
call GetCurPartyMonName
@@ -186,7 +186,7 @@ PrintPartyMonPage1:
inc hl
ld [hl], "."
inc hl
- ld de, wNamedObjectIndexBuffer
+ ld de, wNamedObjectIndex
lb bc, PRINTNUM_LEADINGZEROS | 1, 3
call PrintNum
hlcoord 1, 9
@@ -297,7 +297,7 @@ PlaceMoveNameString:
and a
jr z, .no_move
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetMoveName
jr .got_string
diff --git a/engine/printer/printer.asm b/engine/printer/printer.asm
index 8fac5165c..5764b86d7 100644
--- a/engine/printer/printer.asm
+++ b/engine/printer/printer.asm
@@ -728,7 +728,7 @@ Printer_PrintBoxListSegment:
ld a, [de]
cp $ff
jp z, .finish
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld [wCurPartySpecies], a
push bc