summaryrefslogtreecommitdiff
path: root/npc/081-2/logic.txt
blob: 30e09202219e1a57af4bc2280e86aa713b090546 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// TMW Script.
// Author:
//    Jesusalva
// Notes:
//    Christmas 2021 - Northen Lights Dungeon

081-2,90,20,0	script	#0812Nexit	NPC_HIDDEN,0,0,{
    end;
OnTouch:
    if (!isChristmas21()) end;

    /* We need to determine if instance exists and is needed */
    X21INIT();

	.@mapn$="0813@"+X21ID2();
    warp .@mapn$, 44, 49;
    // FIXME: Cleanup if inst returns -4
    //doevent instance_npcname("Pentagram#Xmas21A", .@inst)+"::OnClean";
    end;
}