From 0f1d0507eb95cf07ce7eb66d89ad9853938612e6 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Mon, 29 Aug 2016 17:40:13 +0100 Subject: change *strcharinfo to use constants --- npc/re/merchants/diamond.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/re/merchants/diamond.txt') diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt index 9d1108875..665af5e6a 100644 --- a/npc/re/merchants/diamond.txt +++ b/npc/re/merchants/diamond.txt @@ -122,14 +122,14 @@ mes .@npc$; mes "What is your name?"; next; - mes "[" + strcharinfo(0) + "]"; - mes "My name is " + strcharinfo(0) + "."; + mes "[" + strcharinfo(PC_NAME) + "]"; + mes "My name is " + strcharinfo(PC_NAME) + "."; next; mes .@npc$; mes "Alright then, please sign here."; next; input .@charname$; - if (.@charname$ == strcharinfo(0)) { + if (.@charname$ == strcharinfo(PC_NAME)) { mes .@npc$; mes "Okay, good."; mes "All that is left now is payment."; @@ -190,8 +190,8 @@ mes .@npc$; mes "What is your name?"; next; - mes "[" + strcharinfo(0) + "]"; - mes "My name is " + strcharinfo(0) + "."; + mes "[" + strcharinfo(PC_NAME) + "]"; + mes "My name is " + strcharinfo(PC_NAME) + "."; next; mes .@npc$; mes "Alright then, please sign here."; @@ -203,7 +203,7 @@ close; } input .@charname$; - if (.@charname$ == strcharinfo(0)) { + if (.@charname$ == strcharinfo(PC_NAME)) { mes .@npc$; mes "Your signature has been received."; mes "I will now take your ^FF82FF'17 Carat Diamond'^000000.."; -- cgit v1.2.3-60-g2f50