summaryrefslogtreecommitdiff
path: root/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r--npc/functions/clear_vars.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt
index 82ac931f..ab0259bb 100644
--- a/npc/functions/clear_vars.txt
+++ b/npc/functions/clear_vars.txt
@@ -5,10 +5,18 @@ function script ClearVariables {
// Remove old variables to new quest system
if (QL_VALON) {
setq CandorQuest_Valon, QL_VALON;
- QL_VALON=0;
+ QL_VALON = 0;
}
if (QL_HIDENSEEK) {
setq CandorQuest_HideNSeek, (QL_HIDENSEEK >= 64 ? 2 : 1), (QL_HIDENSEEK-1);
+ QL_HIDENSEEK = 0;
+ }
+ if (#CRYPT_PASSWORD && !getq(Quest_Reapercry)) {
+ setq Quest_Reapercry, 1;
+ }
+ if (#DD5_TALLY) {
+ setq Quest_Doomsday, 2;
+ #DD5_TALLY = 0; // Whatever
}
// Don't ask me what code below does