diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-04-08 10:57:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-04-08 10:57:39 -0300 |
commit | e9bb1aa12713fb7ed3719195523c01ac148b006f (patch) | |
tree | 02df2f8bee073019349db10f37438c6f4c2cf253 /npc/functions/clear_vars.txt | |
parent | 1b3b3c2623f0f34522c3fec54fbaf4771e1dcafa (diff) | |
download | serverdata-e9bb1aa12713fb7ed3719195523c01ac148b006f.tar.gz serverdata-e9bb1aa12713fb7ed3719195523c01ac148b006f.tar.bz2 serverdata-e9bb1aa12713fb7ed3719195523c01ac148b006f.tar.xz serverdata-e9bb1aa12713fb7ed3719195523c01ac148b006f.zip |
HoraK's changes and variable cleaning
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r-- | npc/functions/clear_vars.txt | 4 |
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; |