summaryrefslogblamecommitdiff
path: root/npc/023-3-2/logic.txt
blob: 17ea27118728488d92f982d6c9605c1e63c26346 (plain) (tree)



























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

023-3-2	mapflag	zone	MMO

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