summaryrefslogblamecommitdiff
path: root/world/map/npc/013-3/barrier.txt
blob: 6de454404690910e315cc35dbd9b2ff557062bf3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

  
                                                       
                                      
                                                                                      
 
                                                                        
 

                             

                  



                                                             
 
//

013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|45,1,1,{
    if (QUEST_demon_mines >= 2) close;
    if (QUEST_demon_mines == 1 && countitem("JackOSoul") >= 1) goto L_Has_Jack_O_Soul;

    mes "A barrier around the opening pushes you back as you approach.";

    warp "013-3.gat", 71, 25;
    close;

L_Has_Jack_O_Soul:
    mes "The barrier around the opening allows you passage.";
    set QUEST_demon_mines, 2;
    delitem "JackOSoul", 1;
    close;
}