summaryrefslogtreecommitdiff
path: root/world/map/npc/008-1/george.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/008-1/george.txt')
-rw-r--r--world/map/npc/008-1/george.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/008-1/george.txt b/world/map/npc/008-1/george.txt
index e4a37718..6144aed2 100644
--- a/world/map/npc/008-1/george.txt
+++ b/world/map/npc/008-1/george.txt
@@ -1,6 +1,10 @@
//
008-1.gat,136,36,0|script|George|138,{
+ set @hw2011_npc_id, $@hw2011_npc_george;
+ if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day)
+ goto L_TrickOrTreat;
+
if (getequipid(equip_head) == 617) goto L_Pirate;
if (getequipid(equip_head) == 622) goto L_Bandana;
if (getequipid(equip_head) == 621) goto L_EyePatch;
@@ -22,4 +26,7 @@ L_EyePatch:
mes "[George the Pirate]";
mes "\"Arrrrh! Looks like ye lost an eye there!\"";
close;
+
+L_TrickOrTreat:
+ callfunc "TrickOrTreat2011";
}