summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/main.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 3303658c..0c55caa2 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -118,6 +118,7 @@ function script narrator {
// 0x1 -- blank line at beginning
// 0x2 -- blank line at the end
// 0x4 -- use last "next;"
+// 0x8 -- don't use first "mesn;"
function script speech {
.@start = 0;
.@argc = getargcount();
@@ -132,7 +133,9 @@ function script speech {
if (.@flags & 0x1)
mes "";
- mesn;
+ if (!(.@flags & 0x8))
+ mesn;
+
for (.@i = .@start; .@i < .@argc; .@i++)
{
mesq getarg(.@i);