From 99e66c25577e367d6c7ca75fea8b466b54c3317a Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 23 Dec 2020 16:29:30 -0500 Subject: Rename some labels - Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789 --- engine/printer/print_party.asm | 6 +++--- engine/printer/printer.asm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/printer') 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 -- cgit v1.2.3