summaryrefslogtreecommitdiff
path: root/npc/029-1/tutorial.txt
blob: 77ebf3e563dc6ad5813c20228f39631ccc08c9d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-	script	#TutorialConfig	NPC32767,{
    end;

OnInit:
    $@ScorpionFighter = 0;
    $@ScorpionTimer = 0;
    set $@ScorpDeath, 0; 
    end;
}
029-2,21,26,0	script	TutDebug	NPC154,{
    mes "[TutDebug]";
    mes "Reset?";
    menu
        "Reset Kaan/Hasan",L_Kaan,
        "Yes.",L_Reset,
        "No.",L_close;

L_Kaan:
    QL_BEGIN = 8;
    setq CandorQuest_Harasser, 0;
    mes "Reset!";
    goto L_close;

L_Reset:
    TUT_var = 0;
    QL_BEGIN = 0;
    setq CandorQuest_Harasser, 0;
    mes "Reset!";
    goto L_close;

L_close:
    close;

OnInit:
    if(!debug)
        disablenpc "TutDebug";
    end;
}
029-1,32,99,0	script	#tutorialoutside	NPC45,0,0,{
    if (QL_BEGIN >= 8)
        goto L_Warp;
    goto L_ResetTutorial;

L_ResetTutorial:
    QL_BEGIN = 8;
    goto L_Warp;

L_Warp:
    warp "029-2", 114, 92;
    end;
}