summaryrefslogblamecommitdiff
path: root/world/map/npc/002-2/phaet.txt
blob: eb464e1e76ac52d8f2acfa7fe2044c2383ca9b22 (plain) (tree)
1
2
3
4
5
6
7
8
9

  
                                      
 




                                                                                                                                                                          
                     
 
       


                                  

       

                                  
 




                                  

          

                                                          
 
//

002-2.gat,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.gat", 0, 0;
    close;

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