summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/017-9/npcs.txt1
-rw-r--r--world/map/npc/functions/superdebug.txt4
2 files changed, 5 insertions, 0 deletions
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;