summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt102
1 files changed, 102 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
index 7e28f040..8a2ddd04 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -237,3 +237,105 @@ MFLAG_ELANORE_OMAR 32768 // Told Omar about Elanore's involvement
DOCK_tulimshar 1
DOCK_hurnscald 2
+
+// -----------------
+// -- Easter 2010 --
+// -----------------
+
+// Dealing with the Old Woman's token quest
+E10_STATE_EGG_MASK 3
+E10_STATE_EGGS_COLLECTED_MASK 31
+E10_STATE_EGGS_COLLECTED_SHIFT 2
+E10_STATE_EGG_COLLECTING 1
+E10_STATE_EGG_COLLECTED 2
+E10_STATE_EGG_REWARDED 3
+E10_STATE_ROSE_MASK 3
+E10_STATE_ROSE_SHIFT 7
+E10_STATE_ROSE_ROSE_USED 1
+E10_STATE_ROSE_ROSE_COMPLETE 2
+E10_STATE_ROSE_RETURNED 3
+
+
+// Dealing with $Easter_2010_Npc_State1
+E10_TIMER_STATE_EGGS_MASK 31
+E10_TIMER_STATE_TREES_MASK 31
+E10_TIMER_STATE_TREES_SHIFT 5
+E10_TIMER_STATE_DOCTOR_MASK 31
+E10_TIMER_STATE_DOCTOR_SHIFT 10
+E10_EGGS_TIMER_OVERTICK_MASK 31
+E10_EGGS_TIMER_OVERTICK_SHIFT 15
+E10_TREES_OVERTICK_MASK 31
+E10_TREES_OVERTICK_SHIFT 20
+E10_DOCTOR_TIMER_OVERTICK_MASK 31
+E10_DOCTOR_TIMER_OVERTICK_SHIFT 25
+
+
+// Dealing with $Easter_2010_Npc_State2
+E10_DOCTOR_POSITION_MASK 7
+E10_DOCTOR_POSITION_SHIFT 0
+E10_DOCTOR_POSITION_NULL 0
+E10_DOCTOR_POSITION_BIGTREE 1
+E10_DOCTOR_POSITION_ISLAND 2
+E10_DOCTOR_POSITION_STONES 3
+E10_DOCTOR_POSITION_FRUIT 4
+E10_DOCTOR_POSITION_CAVE 5
+E10_BARRIER_MASK 1
+E10_BARRIER_SHIFT 4
+E10_BARRIER_OPEN 0
+E10_BARRIER_ACTIVE 1
+
+// Dealing with the doctor
+E10_DOCTOR_HELP_STATES_MASK 15
+E10_DOCTOR_HELP_STATES_SHIFT 11
+E10_FLAG_KNOWS_DOCTOR_MASK 1
+E10_FLAG_KNOWS_DOCTOR_SHIFT 10
+E10_FLAG_KNOWS_DOCTOR 1
+E10_FLAG_HELPED_DOCTOR_TREE_MASK 1
+E10_FLAG_HELPED_DOCTOR_TREE_SHIFT 11
+E10_FLAG_HELPED_DOCTOR_TREE 1
+E10_FLAG_HELPED_DOCTOR_ISLAND_MASK 1
+E10_FLAG_HELPED_DOCTOR_ISLAND_SHIFT 12
+E10_FLAG_HELPED_DOCTOR_ISLAND 1
+E10_FLAG_HELPED_DOCTOR_STONES_MASK 1
+E10_FLAG_HELPED_DOCTOR_STONES_SHIFT 13
+E10_FLAG_HELPED_DOCTOR_STONES 1
+E10_FLAG_HELPED_DOCTOR_FRUIT_MASK 1
+E10_FLAG_HELPED_DOCTOR_FRUIT_SHIFT 14
+E10_FLAG_HELPED_DOCTOR_FRUIT 1
+E10_HELPED_DOCTOR_SHIFT 11
+E10_HELPED_DOCTOR_MASK 15
+E10_FLAG_MID_REWARD 1
+E10_FLAG_MID_REWARD_SHIFT 15
+E10_FLAG_MID_REWARD_MASK 1
+E10_FLAG_RETURN_READY 1
+E10_FLAG_RETURN_READY_SHIFT 16
+E10_FLAG_RETURN_READY_MASK 1
+E10_FLAG_USED_FREE_WARP_SHIFT 17
+E10_STATE_REWARDS_SHIFT 18
+E10_STATE_REWARDS_MASK 3
+E10_STATE_REWARD_RABBIT_EARS 1
+E10_STATE_REWARD_EGGSHELL 2
+
+// Menus
+E10_STONES_WISP 0
+E10_STONES_SPECTRE 1
+E10_STONES_POLTERGEIST 2
+E10_STONES_SOUL 3
+E10_STONES_HEART 4
+E10_STONES_EAR 5
+E10_STONES_EYE 6
+E10_STONES_BONE 7
+E10_STONES_SKULL 8
+E10_STONES_CRYSTAL 9
+E10_STONES_RAGS 10
+E10_STONES_PETAL 11
+E10_ISLAND_MENU_DEATH_AWE 12
+E10_ISLAND_MENU_SCARED 13
+E10_ISLAND_MENU_WISPS 14
+E10_ISLAND_MENU_OFFER_LIFESTONE 15
+
+
+// Miscellaneous
+E10_COLLECT_EGGS_ID 1246
+E10_TOKEN_ID 666
+E10_MIDREWARD_ID 1247 // Valentine's Glasses (as described)