summaryrefslogtreecommitdiff
path: root/npc/re/guides
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-28 17:03:57 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:03:42 +0200
commit86977d79269408a371384e61111c3a9cf6e87b0c (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/guides
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
downloadhercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.gz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.bz2
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.xz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.zip
*strnpcinfo now uses constants
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
Diffstat (limited to 'npc/re/guides')
-rw-r--r--npc/re/guides/guides_ayothaya.txt2
-rw-r--r--npc/re/guides/guides_izlude.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/guides/guides_ayothaya.txt b/npc/re/guides/guides_ayothaya.txt
index 09dfd70b1..6a4ce5ad2 100644
--- a/npc/re/guides/guides_ayothaya.txt
+++ b/npc/re/guides/guides_ayothaya.txt
@@ -35,7 +35,7 @@
//=========================================================================
ayothaya,203,169,4 script Ayothaya Guide Noi#01ay 4_F_THAIGIRL,{
- if (strnpcinfo(0) == "Ayothaya Guide Noi#01ay")
+ if (strnpcinfo(NPC_NAME) == "Ayothaya Guide Noi#01ay")
.@n$ = "[Noi]";
else
.@n$ = "[Noa]";
diff --git a/npc/re/guides/guides_izlude.txt b/npc/re/guides/guides_izlude.txt
index a323a8c17..1bdf5a472 100644
--- a/npc/re/guides/guides_izlude.txt
+++ b/npc/re/guides/guides_izlude.txt
@@ -42,7 +42,7 @@
mes "Do you need help navigating the town?";
F_Navi("[Izlude Guide]");
next;
- .@map$ = strnpcinfo(4);
+ .@map$ = strnpcinfo(NPC_MAP);
while (1) {
switch(select("[ Main Facilities ]", "[ Merchants & Helpers ]", "Remove Marks from Mini-Map", "Cancel")) {
case 1: