summaryrefslogtreecommitdiff
path: root/npc/re/merchants/diamond.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/re/merchants/diamond.txt
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/re/merchants/diamond.txt')
-rw-r--r--npc/re/merchants/diamond.txt12
1 files changed, 6 insertions, 6 deletions
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..";