summaryrefslogtreecommitdiff
path: root/npc/re/instances/MalangdoCulvert.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/instances/MalangdoCulvert.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/instances/MalangdoCulvert.txt')
-rw-r--r--npc/re/instances/MalangdoCulvert.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt
index ff472e23d..e44fed03b 100644
--- a/npc/re/instances/MalangdoCulvert.txt
+++ b/npc/re/instances/MalangdoCulvert.txt
@@ -422,7 +422,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{
.@instance = instance_create(.@md_name$,.@party_id);
if (.@instance < 0) {
mes "Party name: "+getpartyname(.@party_id);
- mes "Party leader: "+strcharinfo(0);
+ mes "Party leader: "+strcharinfo(PC_NAME);
mes "^0000ff"+.@md_name$+"^000000 - Reservation Failed!";
close;
}
@@ -468,7 +468,7 @@ L_Enter:
mes "The party leader has not reserved entrance to the dungeon yet.";
close;
}
- mapannounce "mal_in01", strcharinfo(0)+" of the party "+getpartyname(.@party_id)+" is entering the Culvert.",bc_map,"0x00ff99";
+ mapannounce "mal_in01", strcharinfo(PC_NAME)+" of the party "+getpartyname(.@party_id)+" is entering the Culvert.",bc_map,"0x00ff99";
if (!questprogress(12254)) setquest 12254;
warp "1@pump",63,98;
end;
@@ -761,7 +761,7 @@ OnEnable:
copyarray .@partymemberaid[0],$@partymemberaid[0],$@partymembercount;
for(.@i = 0; .@i<$@partymembercount; ++.@i) {
if (attachrid(.@partymemberaid[.@i])) {
- if (strcharinfo(3) == .@map$)
+ if (strcharinfo(PC_MAP) == .@map$)
viewpoint 0,.@x,.@y,.@index,0xFFFF00;
detachrid;
}