From bc66a98377575c7c8e9592e50cbdcf083d6ecaff Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 28 Jun 2013 11:41:36 -0700 Subject: Refactor all calls within an if, which is illegal --- world/map/npc/halloween/2011/trick_or_treat.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'world/map/npc/halloween/2011/trick_or_treat.txt') diff --git a/world/map/npc/halloween/2011/trick_or_treat.txt b/world/map/npc/halloween/2011/trick_or_treat.txt index b5fc7ba3..1b502d65 100644 --- a/world/map/npc/halloween/2011/trick_or_treat.txt +++ b/world/map/npc/halloween/2011/trick_or_treat.txt @@ -7,6 +7,7 @@ //+ set @hw2011_npc_id, $@hw2011_npc_vincent; //+ if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) //+ callfunc "TrickOrTreat2011"; +// Later note: it turns out that callfunc in an "if" is actually illegal. // Variables: // $@hw2011_maskmemory = Sliced Array containing the record of the last masks used to trick or treat each NPC. -- cgit v1.2.3-70-g09d2