summaryrefslogtreecommitdiff
path: root/npc/events/gdevent_aru.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/gdevent_aru.txt')
-rw-r--r--npc/events/gdevent_aru.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index ba7564fff..898880d02 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.txt
@@ -79,13 +79,13 @@ OnMyMobDead:
}
arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
- if (getcharid(2) == 0) {
+ if (getcharid(CHAR_ID_GUILD) == 0) {
mes "[Dwarf]";
mes "Hey did you see an ugly Goblin come by? He stole something from me!";
close;
}
.@chk_urquest = questprogress(2143,PLAYTIME);
- .@chk_yourgdname$ = getguildname(getcharid(2));
+ .@chk_yourgdname$ = getguildname(getcharid(CHAR_ID_GUILD));
if ($@gdeventv_a1 == 0) {
if ($@gdevents_a$ == "") {
$@gdeventv_a1 = 1;
@@ -123,7 +123,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -138,7 +138,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -255,7 +255,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -270,7 +270,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -398,7 +398,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -413,7 +413,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -521,7 +521,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "- and come back later. -";
close;
}
- if (strcharinfo(0) == getguildmaster(getcharid(2))) {
+ if (strcharinfo(PC_NAME) == getguildmaster(getcharid(CHAR_ID_GUILD))) {
if ($@gdeventv_a2 == 0) {
.@que_2143 = questprogress(2143,PLAYTIME);
if (!.@que_2143) {