From b8b9efc2edbe96e34564e34c28f8a99edec92a63 Mon Sep 17 00:00:00 2001
From: Jessica Tölke <jtoelke@mail.upb.de>
Date: Fri, 9 Dec 2011 11:33:23 +0100
Subject: Christmas Event: some fixes

---
 world/map/npc/xmas/2011/deliverPresentsHelper.txt | 2 +-
 world/map/npc/xmas/2011/doll.txt                  | 4 ++--
 world/map/npc/xmas/2011/entranceHelpers.txt       | 1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/world/map/npc/xmas/2011/deliverPresentsHelper.txt b/world/map/npc/xmas/2011/deliverPresentsHelper.txt
index 5e9ed56d..62949cf7 100644
--- a/world/map/npc/xmas/2011/deliverPresentsHelper.txt
+++ b/world/map/npc/xmas/2011/deliverPresentsHelper.txt
@@ -77,7 +77,7 @@ L_NoStickReinbooBox:
     set @choices_nr, @choices_nr + 1;
 
 L_NoBall:
-    if (@stickreinboo != 4)
+    if (@ball != 4)
         goto L_NoBallBox;
     set @choice_idx[@choices_nr], @C_ballbox;
     set @choice$[@choices_nr], "I already packed this Leather Ball...";
diff --git a/world/map/npc/xmas/2011/doll.txt b/world/map/npc/xmas/2011/doll.txt
index 180f93f4..a737d963 100644
--- a/world/map/npc/xmas/2011/doll.txt
+++ b/world/map/npc/xmas/2011/doll.txt
@@ -99,11 +99,11 @@ L_Doll:
     menu
         "Here it is.",-,
         "I don't have it yet.",L_Close;
-    if ((countitem("CottonCloth") < @cotton_amount) || (countitem("LightBlueDye") < @dye_amount) || (countitem("HardSpike") < @spikes_amount))
+    if ((countitem("CottonCloth") < @cotton_amount) || (countitem("LightBlueDye") < @dye_amount) || (countitem("HardSpike") < @spike_amount))
         goto L_NoItems;
     delitem "CottonCloth", @cotton_amount;
     delitem "LightBlueDye", @dye_amount;
-    delitem "HardSpike", @spikes_amount;
+    delitem "HardSpike", @spike_amount;
     set @doll, 3;
     callsub S_Update_Var;
     getitem "Doll", 1;
diff --git a/world/map/npc/xmas/2011/entranceHelpers.txt b/world/map/npc/xmas/2011/entranceHelpers.txt
index d698bd1a..99a501db 100644
--- a/world/map/npc/xmas/2011/entranceHelpers.txt
+++ b/world/map/npc/xmas/2011/entranceHelpers.txt
@@ -58,7 +58,6 @@ L_Close:
 L_RewardTime:
     mes "[Valterri]";
     mes "\"Welcome to Santa's house.";
-    next;
     mes "We just finished the Christmas rush.\"";
     goto L_Close;
 
-- 
cgit v1.2.3-70-g09d2