summaryrefslogtreecommitdiff
path: root/engine/printer
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:46:49 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:46:49 -0500
commit524f57703fb362dd9a131edb1eb5aebad5ffe633 (patch)
treef49e12f9e57b60128d6ea7b50116b66835874734 /engine/printer
parentb87c45afcd9fcd06be459f112b01e6035dc3f20b (diff)
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer"
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 576efcff..b2a7e821 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
@@ -304,7 +304,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 214ee9b9..71af6f2e 100644
--- a/engine/printer/printer.asm
+++ b/engine/printer/printer.asm
@@ -724,7 +724,7 @@ Printer_PrintBoxListSegment:
ld a, [de]
cp $ff
jp z, .finish
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld [wCurPartySpecies], a
push bc