summaryrefslogtreecommitdiff
path: root/npc/instances/OrcsMemory.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/instances/OrcsMemory.txt')
-rw-r--r--npc/instances/OrcsMemory.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/instances/OrcsMemory.txt b/npc/instances/OrcsMemory.txt
index 9965fafd8..48412a631 100644
--- a/npc/instances/OrcsMemory.txt
+++ b/npc/instances/OrcsMemory.txt
@@ -39,7 +39,7 @@
//== Entrance ==============================================
gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{
- .@party_id = getcharid(1);
+ .@party_id = getcharid(CHAR_ID_PARTY);
.@p_name$ = getpartyname(.@party_id);
.@md_name$ = "Orc's Memory";
@@ -62,7 +62,7 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{
close;
// Fall through to access the dungeon
} else { // !.@orctime
- if (getcharid(0) == getpartyleader(.@party_id,2)) {
+ if (getcharid(CHAR_ID_CHAR) == getpartyleader(.@party_id,2)) {
mes "Party status confirmed. Would you like to book entrance to the "+.@md_name$+"?";
next;
switch(select("Reserve the "+.@md_name$, "Enter the Dungeon", "Cancel")) {
@@ -70,7 +70,7 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{
.@instance = instance_create(.@md_name$,.@party_id);
if (.@instance < 0) {
mes "Party Name: "+.@p_name$;
- mes "Party Leader: "+strcharinfo(0);
+ mes "Party Leader: "+strcharinfo(PC_NAME);
mes "^0000ff"+.@md_name$+" ^000000 - Reservation Failed.";
close;
}
@@ -108,7 +108,7 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{
close;
}
- mapannounce "gef_fild10", strcharinfo(0) + " of the party, " + .@p_name$ + " is entering the "+.@md_name$+".",bc_map,"0x00ff99";
+ mapannounce "gef_fild10", strcharinfo(PC_NAME) + " of the party, " + .@p_name$ + " is entering the "+.@md_name$+".",bc_map,"0x00ff99";
if (!questprogress(12059)) setquest 12059;
warp "1@orcs",179,15;
end;
@@ -684,7 +684,7 @@ OnTimer23910:
}
2@orcs,26,164,0 script Torch#1-1 CLEAR_NPC,{
- if(getpartyleader(getcharid(1),2) != getcharid(0)) end;
+ if(getpartyleader(getcharid(CHAR_ID_PARTY),2) != getcharid(CHAR_ID_CHAR)) end;
progressbar "ffff00",5;
setarray .@id[0], atoi(charat(strnpcinfo(NPC_NAME_HIDDEN),0)), atoi(charat(strnpcinfo(NPC_NAME_HIDDEN),2));
if (.@id[1] == 4)
@@ -876,9 +876,9 @@ OnTouch:
if (yong_odun < 2) {
mes "[Kruger]";
mes "*Coughing*";
- mes ""+strcharinfo(0)+", it's you...";
+ mes ""+strcharinfo(PC_NAME)+", it's you...";
next;
- mes "["+strcharinfo(0)+"] ";
+ mes "["+strcharinfo(PC_NAME)+"] ";
mes "Don't move! You are wounded!";
next;
mes "[Kruger]";
@@ -886,7 +886,7 @@ OnTouch:
mes "....";
mes "The Shaman? What about the Shaman?";
next;
- mes "["+strcharinfo(0)+"] ";
+ mes "["+strcharinfo(PC_NAME)+"] ";
mes "The Shaman's dead now. Who was that Shaman really?";
next;
mes "Kruger seemed to be relieved as he hears of the death of the Shaman, but you notice the bitter expression on his face.";