From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *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 --- npc/re/jobs/3-2/wanderer.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/re/jobs/3-2/wanderer.txt') diff --git a/npc/re/jobs/3-2/wanderer.txt b/npc/re/jobs/3-2/wanderer.txt index baad4b65a..6f131f2bc 100644 --- a/npc/re/jobs/3-2/wanderer.txt +++ b/npc/re/jobs/3-2/wanderer.txt @@ -102,7 +102,7 @@ xmas,162,209,5 script Aspiring Wanderer, Soy 4_F_06,{ close; } } else if (job_wan == 1) { - if (strnpcinfo(0) == "Aspiring Wanderer, Soy") { + if (strnpcinfo(NPC_NAME) == "Aspiring Wanderer, Soy") { mes "[Soy]"; mes "The performance will be held in front of the Christmas tree here in Lutie."; mes "I can't wait! Ah~ I'm losing my senses, Mimi."; @@ -120,7 +120,7 @@ xmas,162,209,5 script Aspiring Wanderer, Soy 4_F_06,{ mes " is the best!!"; close; } else { - if (strnpcinfo(0) == "Aspiring Wanderer, Soy") { + if (strnpcinfo(NPC_NAME) == "Aspiring Wanderer, Soy") { mes "[Soy]"; mes "I want to become an famous Wanderer too, Mimi."; } else { @@ -1044,7 +1044,7 @@ OnInit: - script #wander_xmas FAKE_NPC,{ end; OnInit: - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; } xmas,149,135,3 duplicate(#wander_xmas) Guitar Song#xmas 4_M_MINSTREL -- cgit v1.2.3-60-g2f50