summaryrefslogblamecommitdiff
path: root/world/map/npc/029-2/stat_reset.txt
blob: f3af6df65ed969f9241897e2038650b71522b4ec (plain) (tree)
1
2
3
4
5
6
7
8

  
                                   
 



                                 




























                                                            
                                                                                                    
         




                 
//

029-2.gat,98,92,0|script|Jessie|159
{
    setarray @npc_loc, 98, 91, 4;
    callfunc "PCtoNPCRange";
    if (@npc_check)
        goto L_Close;
    if (BaseLevel >= 10)
        goto L_Sorry;

    mes "[Jessie]";
    mes "\"I know a spell that will";
    mes "reset status points on the youngings.";
    next;
    menu
        "Reset my stats",L_Reset,
        "Forget about it",L_Pass;

L_Reset:
    resetstatus;

    mes "[Jessie]";
    mes "\"There you are.";
    mes "";
    mes "Good as new!\"";
    goto L_Close;

L_Pass:
    mes "[Jessie]";
    mes "\"Very well then, see you.\"";
    goto L_Close;

L_Sorry:
    mes "[Jessie]";
    mes "\"My spell only works on the very young, sorry.\"";
    next;
    mes "\"You can try Mailvox in the Tulimshar Bazaar or Wyara in the Potion Shop in Hurnscald.\"";
    next;
    goto L_Close;

L_Close:
    close;
}