From e6db4af9d0873d1b1b31680d54e5f8452000ea2b Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 7 Feb 2013 16:27:45 +0100 Subject: Variable restructuring: move Inspector quest to nibble 3 of QUEST_Hurnscald. --- world/map/npc/009-1/milly.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'world/map/npc/009-1/milly.txt') diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index 1f75eed2..df0d31be 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -1,24 +1,30 @@ 009-1.gat,81,41,0|script|Milly|114,{ + callfunc "ClearVariables"; + + set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); + mes "[Milly]"; mes "\"Hello.\""; next; - if (Inspector == 1) goto L_NohMask; - close; + if (@inspector != 1) + goto L_Close; -L_NohMask: menu "Have you seen anything strange lately?", L_NohMask_Strange, "Do you know anything about the recent robberies?", L_NohMask_Robbery, - "Hello", -; - close; + "Hello.", L_Close; L_NohMask_Strange: mes "[Milly]"; mes "\"I haven't seen anything strange.\""; - close; + goto L_Close; L_NohMask_Robbery: mes "[Milly]"; mes "\"No, sorry.\""; + goto L_Close; + +L_Close: + set @inspector, 0; close; } -- cgit v1.2.3-60-g2f50