summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/phaet.txt
blob: a0ec83ee153c5c47e5c3618a73ee696402003985 (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
//

002-2,75,56,0|script|Phaet|125,0,0
{
    mes "[Phaet the Royal Guard]";
    mes "\"Hey, you seem tough enough! Would you like to prove your skills? I'll let you in the arena if you give me 50 gp. You can fight against other players there.\"";
    next;
    menu
        "Yes", L_Sure,
        "No", L_Next;

L_Next:
    mes "[Phaet the Royal Guard]";
    mes "\"Ha ha, coward.\"";
    close;

L_Sure:
    if (Zeny < 50) goto L_NoMoney;
    set Zeny, Zeny - 50;

    mes "[Phaet the Royal Guard]";
    mes "\"Get ready!\"";
    next;
    warp "001-3", 0, 0;
    close;

L_NoMoney:
    mes "\"Wait a second, you don't have enough money.\"";
    close;
}