summaryrefslogtreecommitdiff
path: root/world/map/npc/halloween/2011/trick_or_treat.txt
diff options
context:
space:
mode:
authorjtoelke <jtoelke@gmx.de>2013-06-28 13:18:17 -0700
committerjtoelke <jtoelke@gmx.de>2013-06-28 13:18:17 -0700
commite8a4dddb3b54814713c411a094fc1a9b90492962 (patch)
tree3856e10b80ae965d42b477354a3e5d79c3b04cfb /world/map/npc/halloween/2011/trick_or_treat.txt
parentd6d562b4a7bf157a36c0560be4ec14f9f463aa86 (diff)
parentbc66a98377575c7c8e9592e50cbdcf083d6ecaff (diff)
downloadserverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.gz
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.bz2
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.xz
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.zip
Merge pull request #20 from o11c/master
Refactor callfunc and callsub out of if statements
Diffstat (limited to 'world/map/npc/halloween/2011/trick_or_treat.txt')
-rw-r--r--world/map/npc/halloween/2011/trick_or_treat.txt1
1 files changed, 1 insertions, 0 deletions
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.