summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-01-04 23:07:29 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-01-04 23:07:29 +0100
commit9040796b6d59d4b7116c666514c56227ed57c055 (patch)
treeed56d5bad4c92529a9315725b918a3f519255d00 /world/map/npc/functions
parent2a12186fe7382e102b93efdd1468d202506c8db5 (diff)
downloadserverdata-9040796b6d59d4b7116c666514c56227ed57c055.tar.gz
serverdata-9040796b6d59d4b7116c666514c56227ed57c055.tar.bz2
serverdata-9040796b6d59d4b7116c666514c56227ed57c055.tar.xz
serverdata-9040796b6d59d4b7116c666514c56227ed57c055.zip
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.
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r--world/map/npc/functions/clear_vars.txt8
1 files changed, 3 insertions, 5 deletions
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;
-
}