summaryrefslogtreecommitdiff
path: root/npc/004-2/bug.txt
blob: 479fa948d3fc6af8bd3c2d3f9d7d28acdfb44a22 (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
// TMW2 Script.
// Author:
//    Jesusalva
// Description:
//    Error Handler

004-2,64,63,0	script	Sign#HalinRoute	NPC_SWORDS_SIGN,{
    mesc "← "+l("Tulimshar");
    mesc "→ "+l("Canyon - Safe Route");
    mesc "↓ "+l("Canyon - Dangerous Route");
    close;

OnInit:
    .sex = G_OTHER;
    .distance = 3;
    end;
}

004-2,81,23,0	script	Sign#TempBugfix	NPC_SWORDS_SIGN,{
    if (countitem(DesertTablet)) goto L_Tablet;
    mesc l("Impossible to read.");
    close;

L_Tablet:
    mes l("The %s shines with a strange light...", getitemlink(DesertTablet));
    next;
    closeclientdialog;
    cwarp "001-3", 117, 135;
    close;

OnInit:
    .sex = G_OTHER;
    .distance = 3;
    end;
}