summaryrefslogblamecommitdiff
path: root/npc/functions/savepoint.txt
blob: a5da7dbb944116752446450b5cbdf13bd5cdf37d (plain) (tree)
1
2
3
4
5
6
7
8






                                         
 









                                                               
           
                    
                                                          
         
                      
         
                      
         
                      
         
                                             

         
                            

                         


           
 
 
// Evol scripts.
// Authors:
//    Reid
// Description:
//    Add new save point localisation

function	script	SavePoint	{

    mesn "Narrator";
    mes col(l("There is a nice place to stay beside you."), 9);
    next;
    mes col(l("What do you wish to do?"), 9);
    next;

    menu
        l("Take a nap"), -,
        l("Nothing"), L_Return;

    mes "";
    mesn "Narrator";
    mes col(l("You close your eyes a few seconds..."), 9);
    next;
    mes col("...", 9);
    next;
    mes col("...", 9);
    next;
    mes col("...", 9);
    next;
    mes col(l("Your position is saved."), 9);
    next;

    savepoint @map$, @x, @y;
    set @q, getcharid(3);
    misceffect 33, @q;

L_Return:
    return;

}