// If Hot Tub would be used by the script anyway, then lets use it to clear up your status!!
void cure_status() {
if(!unpoison()) print("Can't cure poison! OOoch! It burns in my veins!", "red");
if(get_property("removeMalignantEffects").to_boolean()) return;
if(afflicted($effects[Apathy, Easily Embarrassed, Prestidigysfunction, Tenuous Grip on Reality, The Colors...])
&& !use_hot_tub() && have_skill($skill[Disco Power Nap]))
use_skill(1, $skill[Disco Power Nap]);
if(afflicted($effects[Cunctatitis, Tetanus, Socialismydia]) && !use_hot_tub()) {
if(have_skill($skill[Disco Power Nap]))
use_skill(1, $skill[Disco Power Nap]);
else if(item_amount($item[ancient Magi-Wipes]) > 0
&& heal[$item[ancient Magi-Wipes]].avemp < my_maxmp() - my_mp())
use(1, $item[ancient Magi-Wipes]);
}
if(afflicted($effects[Embarrassed, Sleepy]) && !use_hot_tub()
|| (my_primestat() == $stat[Mysticality] && afflicted($effects[Confused, Light-Headed]))) {
if(have_skill($skill[Disco Nap]))
use_skill(1, $skill[Disco Nap]);
else if(have_skill($skill[Disco Power Nap]))
use_skill(1, $skill[Disco Power Nap]);
else if(!tongue && item_amount($item[tiny house]) > 0
&& heal[$item[tiny house]].avemp < my_maxmp() - my_mp())
use(1, $item[tiny house]);
}
}