summaryrefslogtreecommitdiff
path: root/npc/042-2/sorfina.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-2/sorfina.txt')
-rw-r--r--npc/042-2/sorfina.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/npc/042-2/sorfina.txt b/npc/042-2/sorfina.txt
index ab5dd9f5..67ae1a87 100644
--- a/npc/042-2/sorfina.txt
+++ b/npc/042-2/sorfina.txt
@@ -1,5 +1,6 @@
042-2.gat,28,26,0 script Sorfina 154,{
+ if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done;
if (sorfina == 2) goto L_Again;
if (sorfina == 1) goto L_Clothes;
@@ -194,7 +195,16 @@ L_SkipTut:
"Yeah, but thanks for the offer. Bye",-;
mes "[Sorfina]";
mes "\"If you think so. Good luck.\"";
- //TODO:set flag
+ set hasan, 0;
+ set kaan, 0;
+ set sorfina, 0;
+ set tanisha, 0;
+ set FLAGS, FLAGS | FLAG_TUTORIAL_DONE;
+ close;
+
+L_Tut_Done:
+ mes "[Sorfina]";
+ mes "\"Welcome. Please make yourself at home.\"";
close;
L_Close:
@@ -202,8 +212,7 @@ L_Close:
}
042-2.gat,45,31,0 script #DoorOut 127,2,2,{
-//TODO: check also flag for having finished the tutorial
- if (sorfina < 2) goto L_Block;
+ if ((sorfina < 2) && !(FLAGS & FLAG_TUTORIAL_DONE)) goto L_Block;
warp "042-1.gat", 62, 63;
end;
L_Block: