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.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt
index 537012c8..d46e4fe1 100644
--- a/npc/functions/clear_vars.txt
+++ b/npc/functions/clear_vars.txt
@@ -27,6 +27,10 @@ function script ClearVariables {
if (#X21) {
#X21 = 0; // Flag for old events
}
+ if (#BOSS_MEDALS_AVAILABLE) {
+ getitembound BossMedal, #BOSS_MEDALS_AVAILABLE, IBT_ACCOUNT;
+ #BOSS_MEDALS_AVAILABLE = 0;
+ }
if (#BankAccount) {
BankVault += #BankAccount;
#BankAccount = 0;