From 2995ea5cc792abe6303fc87c1a7d36e7f6da5415 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Jun 2018 13:08:17 -0300 Subject: callfunc... --- npc/003-1/aidan.txt | 2 +- npc/009-1/guards.txt | 2 +- npc/functions/mobhunter.txt | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt index 62d99e3c7..ea13ee132 100644 --- a/npc/003-1/aidan.txt +++ b/npc/003-1/aidan.txt @@ -100,7 +100,7 @@ L_Register: } L_Assign: - GHQ_Assign(Maggot, "Tulimshar", getitemlink(MaggotCocoon)); + callfunc GHQ_Assign(Maggot, "Tulimshar", getitemlink(MaggotCocoon)); close; L_Finish: diff --git a/npc/009-1/guards.txt b/npc/009-1/guards.txt index 29912b017..0e9b73995 100644 --- a/npc/009-1/guards.txt +++ b/npc/009-1/guards.txt @@ -15,7 +15,7 @@ next; mesn; mesq l("The path will be open when it's safe again for heavily armed travellers."); - if (GHQUEST) GHQ_Assign(Snake, "Halinarzo", "250.000 GP"); + if (GHQUEST) callfunc GHQ_Assign(Snake, "Halinarzo", "250.000 GP"); close; L_MKControl: diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt index 295d5bf68..341839178 100644 --- a/npc/functions/mobhunter.txt +++ b/npc/functions/mobhunter.txt @@ -21,13 +21,9 @@ function script GHQ_Assign { setq(General_Hunter, .@id, GHMEMO[.@id]); mesn; mesq l("Good luck! Don't come back until you reach 10000 kills!"); - close; break; - default: - close; } - close; } -- cgit v1.2.3-70-g09d2