summaryrefslogblamecommitdiff
path: root/npc/023-3-2/logic.txt
blob: 36c6b88c144ee37acf1f4372d6632b99261536b1 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                      
                                                        




                                 
                    



                               
                    







                                                                 
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    023-3-2 Isbamuth's Study Room Configuration File

023-3-2	mapflag	zone	MMO

023-3-2,39,59,0	script	#Exit02332	NPC_HIDDEN,1,0,{
    end;
OnTouch:
    .@q=getq(General_Narrator);
    .@q2=getq2(General_Narrator);
    // Cheater Detected
    if (.@q < 15) { 
        warp "Save", 0, 0;
        percentheal -100, -100;
        return false;
    }
    if (.@q == 15) {
        dispbottom lg("I'm not a coward! I must press forward!");
        end;
    }
	.@mapn$="023-3-1";
    warp .@mapn$, 45, 28;
    end;
}