summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/xmas2011config.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/xmas/2011/xmas2011config.txt')
-rw-r--r--world/map/npc/xmas/2011/xmas2011config.txt58
1 files changed, 29 insertions, 29 deletions
diff --git a/world/map/npc/xmas/2011/xmas2011config.txt b/world/map/npc/xmas/2011/xmas2011config.txt
index d6894d74..204fe791 100644
--- a/world/map/npc/xmas/2011/xmas2011config.txt
+++ b/world/map/npc/xmas/2011/xmas2011config.txt
@@ -3,35 +3,35 @@ OnInit:
set $@xmas2011_start_day, 10;
set $@xmas2011_reward_start_day, 25;
set $@xmas2011_year, 2011;
- set $@glove_id, 2160;
-
- set $@xmas11_talkedToChief, 0x1;
- set $@xmas11_talkedToBadGuy, 0x2;
-
- set $@xmas11_startedReinbooSearch, 0x4;
- set $@xmas11_firstReinboo, 0x8;
- set $@xmas11_firstReinbooDone, 0x10;
- set $@xmas11_secondReinboo, 0x20;
- set $@xmas11_secondReinbooDone, 0x40;
- set $@xmas11_thirdReinboo, 0x80;
- set $@xmas11_thirdReinbooDone, 0x100;
- set $@xmas11_fourthReinboo, 0x200;
- set $@xmas11_fourthReinbooDone, 0x400;
-
- set $@xmas11_Decoration, 0x800;
- set $@xmas11_DecorationDone, 0x1000;
- set $@xmas11_Bedding, 0x2000;
- set $@xmas11_BeddingDone, 0x4000;
- set $@xmas11_Potion, 0x8000;
- set $@xmas11_PotionDone, 0x10000;
-
- set $@xmas11_PlushMoubooMask, 0xE0000;
+ set $@xmas2011_glove_id, 2160;
+
+ set $@xmas11_talkedToChief, 0x00000001;
+ set $@xmas11_talkedToBadGuy, 0x00000002;
+
+ set $@xmas11_startedReinbooSearch, 0x00000004;
+ set $@xmas11_firstReinboo, 0x00000008;
+ set $@xmas11_firstReinbooDone, 0x00000010;
+ set $@xmas11_secondReinboo, 0x00000020;
+ set $@xmas11_secondReinbooDone, 0x00000040;
+ set $@xmas11_thirdReinboo, 0x00000080;
+ set $@xmas11_thirdReinbooDone, 0x00000100;
+ set $@xmas11_fourthReinboo, 0x00000200;
+ set $@xmas11_fourthReinbooDone, 0x00000400;
+
+ set $@xmas11_Decoration, 0x00000800;
+ set $@xmas11_DecorationDone, 0x00001000;
+ set $@xmas11_Bedding, 0x00002000;
+ set $@xmas11_BeddingDone, 0x00004000;
+ set $@xmas11_Potion, 0x00008000;
+ set $@xmas11_PotionDone, 0x00010000;
+
+ set $@xmas11_PlushMoubooMask, 0x000E0000;
set $@xmas11_PlushMoubooShift, 17;
- set $@xmas11_StickReinbooMask, 0x700000;
+ set $@xmas11_StickReinbooMask, 0x00700000;
set $@xmas11_StickReinbooShift, 20;
- set $@xmas11_DollMask, 0x3800000;
+ set $@xmas11_DollMask, 0x03800000;
set $@xmas11_DollShift, 23;
set $@xmas11_BallMask, 0x1C000000;
@@ -42,7 +42,7 @@ OnInit:
// 0x80000000
- set $@xmas2011_reinboopoints, 10;
+ set $@xmas2011_reinboopoints, 10; // there are 4 reinboos
set $@xmas2011_beddingpoints, 10;
set $@xmas2011_glitterpoints, 10;
set $@xmas2011_potionpoints, 10;
@@ -53,15 +53,15 @@ OnInit:
set $@xmas2011_totalpoints, 4*$@xmas2011_reinboopoints + $@xmas2011_beddingpoints + $@xmas2011_glitterpoints + $@xmas2011_potionpoints + $@xmas2011_plushmouboopoints + $@xmas2011_stickreinboopoints + $@xmas2011_ballpoints + $@xmas2011_dollpoints;
- set $@xmas2011_main_rewardcost, 70;
+ set $@xmas2011_main_rewardcost, 60;
set $@xmas2011_toy_rewardcost, 30;
- set $@xmas2011_gloves_rewardcost, 8;
+ set $@xmas2011_gloves_rewardcost, 11;
set $@xmas2011_gingerbreadman_rewardcost, 5;
set $@xmas2011_xmascake_rewardcost, 3;
set $@xmas2011_candy_rewardcost, 1;
}
-// calculates the points for helping and sabotating
+// calculates the points for helping and sabotaging
function|script|xmas2011points|{
set @plushmouboo, (xmas11 & $@xmas11_PlushMoubooMask) >> $@xmas11_PlushMoubooShift;
set @stickreinboo, (xmas11 & $@xmas11_StickReinbooMask) >> $@xmas11_StickReinbooShift;