From a66a32b24ea8d7cc983f07543f7fa554543dd579 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 2 Jun 2015 10:18:07 -0400 Subject: use npc actions and set title in Numa --- world/map/npc/017-9/npcs.txt | 1 + world/map/npc/functions/superdebug.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/world/map/npc/017-9/npcs.txt b/world/map/npc/017-9/npcs.txt index c9f9aedb..b14428c5 100644 --- a/world/map/npc/017-9/npcs.txt +++ b/world/map/npc/017-9/npcs.txt @@ -40,6 +40,7 @@ 017-9,30,28,0|script|Numa|393 { + set @from_npc, 1; callfunc "SuperDebug"; end; } diff --git a/world/map/npc/functions/superdebug.txt b/world/map/npc/functions/superdebug.txt index b9f067de..5654dd4c 100644 --- a/world/map/npc/functions/superdebug.txt +++ b/world/map/npc/functions/superdebug.txt @@ -3,9 +3,13 @@ function|script|SuperDebug { + if(@from_npc) goto L_Main; + npcaction 6, 12; + title "Numa"; goto L_Main; L_Main: + set @from_npc, 0; mes "[Numa]"; mes "How may I help you?"; next; -- cgit v1.2.3-60-g2f50