summaryrefslogtreecommitdiff
path: root/npc/003-1/hasan.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/hasan.txt')
-rw-r--r--npc/003-1/hasan.txt36
1 files changed, 19 insertions, 17 deletions
diff --git a/npc/003-1/hasan.txt b/npc/003-1/hasan.txt
index 6de6ad19b..41f96f64a 100644
--- a/npc/003-1/hasan.txt
+++ b/npc/003-1/hasan.txt
@@ -23,23 +23,6 @@
// Temporary sprite
003-1,62,148,0 script Hasan NPC_ELVEN_MAN_RED,2,2,{
- if (Zeny > 15) goto L_Steal;
- end;
-
-L_Steal:
- npctalk3("*whistle*");
- if (getq(TulimsharQuest_Hasan) == 0) goto L_DoSteal;
- if (getq(TulimsharQuest_Hasan) <= 4 && rand(0,100) < 20) goto L_DoSteal;
- end;
-
-L_DoSteal:
- Zeny=Zeny-rand(3,12);
- if (getq(TulimsharQuest_Hasan) == 0)
- setq TulimsharQuest_Hasan, 1;
- dispbottom l("##BYou were stolen##b by an evil NPC.");
- end;
-
-OnTalk:
if (getq(TulimsharQuest_Hasan) == 0) goto L_Safe;
//if (getq(TulimsharQuest_Hasan) == 4) goto L_Finish;
//if (getq(TulimsharQuest_Hasan) == 5) goto L_Complete;
@@ -72,6 +55,25 @@ L_Print:
mesq l("If you go to Lieutenant Dausen, he'll say that you used Gimp. Just give up.");
close;
+
+
+OnTouch:
+ if (Zeny > 15) goto L_Steal;
+ end;
+
+L_Steal:
+ npctalk3("*whistle*");
+ if (getq(TulimsharQuest_Hasan) == 0) goto L_DoSteal;
+ if (getq(TulimsharQuest_Hasan) <= 4 && rand(0,100) < 20) goto L_DoSteal;
+ end;
+
+L_DoSteal:
+ Zeny=Zeny-rand(3,12);
+ if (getq(TulimsharQuest_Hasan) == 0)
+ setq TulimsharQuest_Hasan, 1;
+ dispbottom l("##BYou were stolen##b by an evil NPC.");
+ end;
+
OnInit:
.sex = G_MALE;
.distance = 5;