summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 451f937bf..d6a8eb869 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus, kobra_k88
//===== Current Version: =====================================
-//= 2.01
+//= 2.02
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -23,6 +23,7 @@
//= 1.91 Added "F_SaveQuestSkills","F_Load?Skills" functions [Lupus]
//= 2.0 Fixed F_Save/LoadQuestSkills functions. Had to split in into 2 vars [Lupus]
//= 2.01 Added $talk to F_ClearGarbage [Evera]
+//= 2.02 Added $dtsglobalelig and $dts|(1<<6) to F_ClearGarbage [Evera]
//============================================================
@@ -67,6 +68,8 @@ function script F_ClearJobVar {
function script F_ClearGarbage {
// Clear outdated global VARS
if($talk) set $talk,0;
+ if($dtsglobalelig) set $dtsglobalelig,0;
+ if($dts&(1<<6)) set $dts,$dts&~(1<<6);
if(MARIANNE) {set MISC_QUEST,MISC_QUEST | 1; set MARIANNE,0;}
set MEAT,0; set MORRISON,0;
set BUNYBND,0; set TEMPESTRA,0;