From 9040796b6d59d4b7116c666514c56227ed57c055 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Fri, 4 Jan 2013 23:07:29 +0100 Subject: Clear_vars function: delete some variables that aren't used in scripts anymore. The lines to delete them were located in a place where they can't be reached. ChestQuest is still used, so don't delete that one. --- world/map/npc/functions/clear_vars.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'world/map/npc') diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt index 14794c95..a8418562 100644 --- a/world/map/npc/functions/clear_vars.txt +++ b/world/map/npc/functions/clear_vars.txt @@ -94,6 +94,9 @@ function|script|ClearVariables|{ set Xmas2010, 0; set Golbenez_Inn_Cost, 0; + // Tulimshar and Mine Variables which aren't used anymore + set Scorp, 0; + set Bugleg, 0; //These lines are needed to migrate stuff from variables to flags if (Open_Underground_Palace_Barrier) @@ -130,9 +133,4 @@ L_Fix_Full: set Zeny, Zeny + #BankAccount; set #BankAccount, 0; return; -//Tulimshar and Mine Variables - set Scorp, 0; - set Bugleg, 0; - set ChestQuest, 0; - } -- cgit v1.2.3-60-g2f50