summaryrefslogtreecommitdiff
path: root/npc/events/valentinesday_2009.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/events/valentinesday_2009.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/events/valentinesday_2009.txt')
-rw-r--r--npc/events/valentinesday_2009.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt
index 6b964d42c..1151a08fb 100644
--- a/npc/events/valentinesday_2009.txt
+++ b/npc/events/valentinesday_2009.txt
@@ -161,7 +161,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
delitem 7174,1;
delitem 7948,1;
Zeny -= 500;
- getnameditem 12744,strcharinfo(0);
+ getnameditem 12744,strcharinfo(PC_NAME);
mes "[Marco Bassinio]";
mes "Happy Valentine's Day!";
mes "Valentine's the reason I came back.";
@@ -397,9 +397,9 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{
Zeny -= 1000;
iROval09ring = 1;
if (Sex == SEX_MALE) {
- getnameditem 12742,strcharinfo(0);
+ getnameditem 12742,strcharinfo(PC_NAME);
} else {
- getnameditem 12743,strcharinfo(0);
+ getnameditem 12743,strcharinfo(PC_NAME);
}
mes "[Event Ring Maker]";
mes "Here, the most precious ring in the world!";
@@ -477,7 +477,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
Val09Rings += .@input;
if (Val09Rings > $Val09votes_M) {
$Val09votes_M = Val09Rings;
- $Val09name_M$ = strcharinfo(0);
+ $Val09name_M$ = strcharinfo(PC_NAME);
}
next;
break;
@@ -505,7 +505,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
Val09Rings += .@input;
if (Val09Rings > $Val09votes_F) {
$Val09votes_F = Val09Rings;
- $Val09name_F$ = strcharinfo(0);
+ $Val09name_F$ = strcharinfo(PC_NAME);
}
next;
break;