summaryrefslogtreecommitdiff
path: root/world/map/npc/009-1/sabine.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-02-07 16:27:45 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-02-12 23:05:14 +0100
commite6db4af9d0873d1b1b31680d54e5f8452000ea2b (patch)
tree7c8b2df6678625d2decc6095cfd87a207db034a0 /world/map/npc/009-1/sabine.txt
parentc88ef1cbf878acd5439c3aef1cdac2f68436e0b5 (diff)
downloadserverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.gz
serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.bz2
serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.tar.xz
serverdata-e6db4af9d0873d1b1b31680d54e5f8452000ea2b.zip
Variable restructuring: move Inspector quest to nibble 3 of QUEST_Hurnscald.
Diffstat (limited to 'world/map/npc/009-1/sabine.txt')
-rw-r--r--world/map/npc/009-1/sabine.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/world/map/npc/009-1/sabine.txt b/world/map/npc/009-1/sabine.txt
index 9fa5e20f..d67c55b0 100644
--- a/world/map/npc/009-1/sabine.txt
+++ b/world/map/npc/009-1/sabine.txt
@@ -1,26 +1,32 @@
// Girl sitting on bench
009-1.gat,88,27,0|script|Sabine|106,{
+ callfunc "ClearVariables";
+
+ set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
+
mes "[Sabine]";
mes "\"Isn't this place pretty? I love hanging out here!\"";
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,
- "Yes, it is.", -;
- close;
+ "Yes, it is.", L_Close;
L_NohMask_Strange:
mes "[Sabine]";
mes "\"I haven't seen anything strange.\"";
- close;
+ goto L_Close;
L_NohMask_Robbery:
mes "[Sabine]";
mes "\"No, sorry.\"";
+ goto L_Close;
+
+L_Close:
+ set @inspector, 0;
close;
}