summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r--world/map/npc/functions/clear_vars.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index 6cc311fe..db94680f 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -1,6 +1,7 @@
// Clears old variables
-function|script|ClearVariables|{
+function|script|ClearVariables|
+{
set EasterQuest, 0;
// Halloween 2006
@@ -184,8 +185,8 @@ L_Fix_Full:
// The variable TMW_Quest was used to save the progress in several subquests linearly.
// The subquests are moved to different nibbles of other variables
// to make it possible to do some of the quests in parallel.
-function|script|ClearVarTMW_Quest|{
-
+function|script|ClearVarTMW_Quest|
+{
if (TMW_Quest == 0) goto L_Done;
if (TMW_Quest <= 6) goto L_Bernard_Mikhail;
if (TMW_Quest <= 8) goto L_Sarah;
@@ -231,7 +232,8 @@ L_Done:
return;
}
--|script|#ClearGlobalVars|-1,{
+-|script|#ClearGlobalVars|-1,
+{
OnInit:
// Clear some entries of the arrays which save the Fluffy Hunting highscore list