From 202efdfbd4c20bf1088ea5abb916b47b5fa55968 Mon Sep 17 00:00:00 2001 From: wushin Date: Wed, 5 Nov 2014 11:07:05 -0600 Subject: Fix Annuals for AST --- world/map/npc/annuals/halloween/trick_or_treat.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'world/map/npc/annuals/halloween/trick_or_treat.txt') diff --git a/world/map/npc/annuals/halloween/trick_or_treat.txt b/world/map/npc/annuals/halloween/trick_or_treat.txt index 150b5939..24a359d2 100644 --- a/world/map/npc/annuals/halloween/trick_or_treat.txt +++ b/world/map/npc/annuals/halloween/trick_or_treat.txt @@ -1,7 +1,7 @@ // Halloween Annual // Authors: alastrim, enchilado, o11c, wushin // See config -function|script|TrickOrTreat|, +function|script|TrickOrTreat { callfunc "HalloweenCheckOld"; if ($@halloween_time) @@ -226,7 +226,7 @@ L_QuickReturn: set @halloween_npc_id, 0; return; } -function|script|TrickOrTreatTally|, +function|script|TrickOrTreatTally { set @npc_loop, 0; set @npc_tally, 0; @@ -249,7 +249,7 @@ L_Return: // Checks for an expired event key // Each new annual event needs a new key // or it will allow completion from last year -function|script|HalloweenCheckOld|, +function|script|HalloweenCheckOld { if(HALLOWEENYEAR == $HALLOWEEN_TIME_KEY[5]) goto L_Return; @@ -263,7 +263,7 @@ L_OldMatch: L_Return: return; } -function|script|HalloweenTree|, +function|script|HalloweenTree { mes "[Confused Tree]"; if ((HALLOWEENTIME & 65535) > ($@halloween_num_npcs * 3)) -- cgit v1.2.3-60-g2f50