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/guides/guides_ayothaya.txt | 2 +- npc/re/guides/guides_izlude.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/re/guides') 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: -- cgit v1.2.3-70-g09d2