summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/deliverPresentsHelper.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/xmas/2011/deliverPresentsHelper.txt')
-rw-r--r--world/map/npc/xmas/2011/deliverPresentsHelper.txt24
1 files changed, 8 insertions, 16 deletions
diff --git a/world/map/npc/xmas/2011/deliverPresentsHelper.txt b/world/map/npc/xmas/2011/deliverPresentsHelper.txt
index 8bf4d9ed..bb26e768 100644
--- a/world/map/npc/xmas/2011/deliverPresentsHelper.txt
+++ b/world/map/npc/xmas/2011/deliverPresentsHelper.txt
@@ -182,31 +182,23 @@ L_Wrap:
goto L_Deliver;
L_Deliver:
- if ((@toy$ == "PlushMouboo") && (@plushmouboo == 3))
- set @plushmouboo, 5;
- if ((@toy$ == "PlushMouboo") && (@plushmouboo == 4))
- set @plushmouboo, 6;
+ if (@toy$ == "PlushMouboo")
+ set @plushmouboo, @plushmouboo + 2;
if (@toy$ == "PlushMouboo")
set xmas11, (xmas11 & ~($@xmas11_PlushMoubooMask) | (@plushmouboo << $@xmas11_PlushMoubooShift));
- if ((@toy$ == "StickReinboo") && (@stickreinboo == 3))
- set @stickreinboo, 5;
- if ((@toy$ == "StickReinboo") && (@stickreinboo == 4))
- set @stickreinboo, 6;
+ if (@toy$ == "StickReinboo")
+ set @stickreinboo, @stickreinboo + 2;
if (@toy$ == "StickReinboo")
set xmas11, (xmas11 & ~($@xmas11_StickReinbooMask) | (@stickreinboo << $@xmas11_StickReinbooShift));
- if ((@toy$ == "LeatherBall") && (@ball == 3))
- set @ball, 5;
- if ((@toy$ == "LeatherBall") && (@ball == 4))
- set @ball, 6;
+ if (@toy$ == "LeatherBall")
+ set @ball, @ball + 2;
if (@toy$ == "LeatherBall")
set xmas11, (xmas11 & ~($@xmas11_BallMask) | (@ball << $@xmas11_BallShift));
- if ((@toy$ == "Doll") && (@doll == 3))
- set @doll, 5;
- if ((@toy$ == "Doll") && (@doll == 4))
- set @doll, 6;
+ if (@toy$ == "Doll")
+ set @doll, @doll + 2;
if (@toy$ == "Doll")
set xmas11, (xmas11 & ~($@xmas11_DollMask) | (@doll << $@xmas11_DollShift));