summaryrefslogtreecommitdiff
path: root/npc/003-0-1/hiddenwarp.txt
blob: d6f339b58d8fcab812d8cb9c408870aabad588bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// TMW2 Script
// Author:
//    Jesusalva
// Easter Egg for Hello World player
// TODO: In future, check player direction

003-0-1,21,24,0	script	#MSchoolRoof	NPC_HIDDEN,0,0,{
    end;

OnTouch:
    warp "003-1", 49, 24;
    .@q=getq(General_EasterEggs);

    if (!(.@q & EE_MAGICSCHOOL)) {
        setq General_EasterEggs, .@q|EE_MAGICSCHOOL;
        dispbottom l("For finding an Easter Egg, you got Strange Coins!");
        getitem StrangeCoin, 3;
    }

    end;
}