summaryrefslogtreecommitdiff
path: root/npc/annuals/xmas/2021.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/annuals/xmas/2021.txt')
-rw-r--r--npc/annuals/xmas/2021.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt
index 58d50ff1..d0bd59c6 100644
--- a/npc/annuals/xmas/2021.txt
+++ b/npc/annuals/xmas/2021.txt
@@ -168,11 +168,8 @@ function script X21INIT {
instance_set_timeout(getarg(0, 1800), getarg(0, 1800), .@inst);
instance_init(.@inst);
- /* Create locks */
- setcells .@mapa$, 103, 211, 107, 212, 1, "X21L1@"+X21ID();
- setcells .@mapa$, 124, 127, 131, 128, 1, "X21L2@"+X21ID();
- setcells .@mapa$, 47, 71, 51, 72, 1, "X21L3@"+X21ID();
- setcells .@mapd$, 81, 131, 86, 135, 1, "X21LF@"+X21ID();
+ /* Ensure the instance is up and running without fail */
+ sleep2(50);
/* Spawn Special Monsters */
"#XMAS21Core"::spawn(Grinchboo, 5, .@mapa$);
@@ -290,6 +287,15 @@ function script X21INIT {
}
freeloop(false);
+ // We had some problems with the locks, so give it a tiny while of time
+ sleep2(50);
+
+ /* Create locks */
+ setcells .@mapa$, 103, 211, 107, 212, 1, "X21L1@"+X21ID();
+ setcells .@mapa$, 124, 127, 131, 128, 1, "X21L2@"+X21ID();
+ setcells .@mapa$, 47, 71, 51, 72, 1, "X21L3@"+X21ID();
+ setcells .@mapd$, 81, 131, 86, 135, 1, "X21LF@"+X21ID();
+
}
if (instance_id() >= 0)
instance_set_timeout(getarg(0, 1800), getarg(0, 1800));