summaryrefslogtreecommitdiff
path: root/npc/006-3/core.txt
blob: 9311a10304982b4054bf01053fde9b06c8611be7 (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
// TMW2 Script
// Author:
//    Jesusalva

006-3,46,26,0	script	Magic Barrier#0063	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    if (!getq(CandorQuest_Groata)) goto L_Reject;
    if (!getq(CandorQuest_Jak1)) goto L_Reject;
    if (getq(General_Narrator) < 10) goto L_Reject; // Halinarzo Arc must be finished

    specialeffect(5000, SELF, getcharid(3));
    dispbottom l("The power which lies in Candor acknowledges your strength.");
    sleep2(2500);
    warp "006-6", 49, 52;
    sleep2(500);
    specialeffect(5001, SELF, getcharid(3));
    end;

L_Reject:
    specialeffect(5000, SELF, getcharid(3));
    dispbottom l("The power which lies in Candor rejects your strength.");
    sleep2(3000);
    specialeffect(5002, SELF, getcharid(3));
    end;
}