func void B_CLEARRUNEINV(var C_NPC SLF)
{
var C_NPC HER;
HER = HLP_GETNPC(50091/*PC_HERO*/);
if HLP_GETINSTANCEID(SLF) != HLP_GETINSTANCEID(HER)
{
NPC_REMOVEINVITEMS(SLF, 34587/*ITRU_PALLIGHTHEAL*/, NPC_HASITEMS(SLF, 34587/*ITRU_PALLIGHTHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34588/*ITRU_PALMEDIUMHEAL*/, NPC_HASITEMS(SLF, 34588/*ITRU_PALMEDIUMHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34589/*ITRU_PALFULLHEAL*/, NPC_HASITEMS(SLF, 34589/*ITRU_PALFULLHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34590/*ITRU_PALHOLYBOLT*/, NPC_HASITEMS(SLF, 34590/*ITRU_PALHOLYBOLT*/));
NPC_REMOVEINVITEMS(SLF, 34591/*ITRU_PALREPELEVIL*/, NPC_HASITEMS(SLF, 34591/*ITRU_PALREPELEVIL*/));
NPC_REMOVEINVITEMS(SLF, 34592/*ITRU_PALDESTROYEVIL*/, NPC_HASITEMS(SLF, 34592/*ITRU_PALDESTROYEVIL*/));
NPC_REMOVEINVITEMS(SLF, 34593/*ITRU_PALTELEPORTSECRET*/, NPC_HASITEMS(SLF, 34593/*ITRU_PALTELEPORTSECRET*/));
NPC_REMOVEINVITEMS(SLF, 34595/*ITRU_LIGHT*/, NPC_HASITEMS(SLF, 34595/*ITRU_LIGHT*/));
NPC_REMOVEINVITEMS(SLF, 34586/*ITRU_PALLIGHT*/, NPC_HASITEMS(SLF, 34586/*ITRU_PALLIGHT*/));
NPC_REMOVEINVITEMS(SLF, 34596/*ITRU_FIREBOLT*/, NPC_HASITEMS(SLF, 34596/*ITRU_FIREBOLT*/));
NPC_REMOVEINVITEMS(SLF, 34597/*ITRU_ZAP*/, NPC_HASITEMS(SLF, 34597/*ITRU_ZAP*/));
NPC_REMOVEINVITEMS(SLF, 34598/*ITRU_LIGHTHEAL*/, NPC_HASITEMS(SLF, 34598/*ITRU_LIGHTHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34599/*ITRU_SUMGOBSKEL*/, NPC_HASITEMS(SLF, 34599/*ITRU_SUMGOBSKEL*/));
NPC_REMOVEINVITEMS(SLF, 34600/*ITRU_INSTANTFIREBALL*/, NPC_HASITEMS(SLF, 34600/*ITRU_INSTANTFIREBALL*/));
NPC_REMOVEINVITEMS(SLF, 34601/*ITRU_ICEBOLT*/, NPC_HASITEMS(SLF, 34601/*ITRU_ICEBOLT*/));
NPC_REMOVEINVITEMS(SLF, 34602/*ITRU_SUMWOLF*/, NPC_HASITEMS(SLF, 34602/*ITRU_SUMWOLF*/));
NPC_REMOVEINVITEMS(SLF, 34603/*ITRU_WINDFIST*/, NPC_HASITEMS(SLF, 34603/*ITRU_WINDFIST*/));
NPC_REMOVEINVITEMS(SLF, 34604/*ITRU_SLEEP*/, NPC_HASITEMS(SLF, 34604/*ITRU_SLEEP*/));
NPC_REMOVEINVITEMS(SLF, 34605/*ITRU_MEDIUMHEAL*/, NPC_HASITEMS(SLF, 34605/*ITRU_MEDIUMHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34606/*ITRU_LIGHTNINGFLASH*/, NPC_HASITEMS(SLF, 34606/*ITRU_LIGHTNINGFLASH*/));
NPC_REMOVEINVITEMS(SLF, 34607/*ITRU_CHARGEFIREBALL*/, NPC_HASITEMS(SLF, 34607/*ITRU_CHARGEFIREBALL*/));
NPC_REMOVEINVITEMS(SLF, 34608/*ITRU_SUMSKEL*/, NPC_HASITEMS(SLF, 34608/*ITRU_SUMSKEL*/));
NPC_REMOVEINVITEMS(SLF, 34609/*ITRU_FEAR*/, NPC_HASITEMS(SLF, 34609/*ITRU_FEAR*/));
NPC_REMOVEINVITEMS(SLF, 34610/*ITRU_ICECUBE*/, NPC_HASITEMS(SLF, 34610/*ITRU_ICECUBE*/));
NPC_REMOVEINVITEMS(SLF, 34611/*ITRU_THUNDERBALL*/, NPC_HASITEMS(SLF, 34611/*ITRU_THUNDERBALL*/));
NPC_REMOVEINVITEMS(SLF, 34612/*ITRU_SUMGOL*/, NPC_HASITEMS(SLF, 34612/*ITRU_SUMGOL*/));
NPC_REMOVEINVITEMS(SLF, 34613/*ITRU_HARMUNDEAD*/, NPC_HASITEMS(SLF, 34613/*ITRU_HARMUNDEAD*/));
NPC_REMOVEINVITEMS(SLF, 34614/*ITRU_PYROKINESIS*/, NPC_HASITEMS(SLF, 34614/*ITRU_PYROKINESIS*/));
NPC_REMOVEINVITEMS(SLF, 34615/*ITRU_FIRESTORM*/, NPC_HASITEMS(SLF, 34615/*ITRU_FIRESTORM*/));
NPC_REMOVEINVITEMS(SLF, 34616/*ITRU_ICEWAVE*/, NPC_HASITEMS(SLF, 34616/*ITRU_ICEWAVE*/));
NPC_REMOVEINVITEMS(SLF, 34617/*ITRU_SUMDEMON*/, NPC_HASITEMS(SLF, 34617/*ITRU_SUMDEMON*/));
NPC_REMOVEINVITEMS(SLF, 34618/*ITRU_FULLHEAL*/, NPC_HASITEMS(SLF, 34618/*ITRU_FULLHEAL*/));
NPC_REMOVEINVITEMS(SLF, 34619/*ITRU_FIRERAIN*/, NPC_HASITEMS(SLF, 34619/*ITRU_FIRERAIN*/));
NPC_REMOVEINVITEMS(SLF, 34620/*ITRU_BREATHOFDEATH*/, NPC_HASITEMS(SLF, 34620/*ITRU_BREATHOFDEATH*/));
NPC_REMOVEINVITEMS(SLF, 34621/*ITRU_MASSDEATH*/, NPC_HASITEMS(SLF, 34621/*ITRU_MASSDEATH*/));
NPC_REMOVEINVITEMS(SLF, 34623/*ITRU_ARMYOFDARKNESS*/, NPC_HASITEMS(SLF, 34623/*ITRU_ARMYOFDARKNESS*/));
NPC_REMOVEINVITEMS(SLF, 34624/*ITRU_SHRINK*/, NPC_HASITEMS(SLF, 34624/*ITRU_SHRINK*/));
NPC_REMOVEINVITEMS(SLF, 34625/*ITRU_DEATHBOLT*/, NPC_HASITEMS(SLF, 34625/*ITRU_DEATHBOLT*/));
NPC_REMOVEINVITEMS(SLF, 34626/*ITRU_DEATHBALL*/, NPC_HASITEMS(SLF, 34626/*ITRU_DEATHBALL*/));
NPC_REMOVEINVITEMS(SLF, 34627/*ITRU_CONCUSSIONBOLT*/, NPC_HASITEMS(SLF, 34627/*ITRU_CONCUSSIONBOLT*/));
NPC_REMOVEINVITEMS(SLF, 33926/*FAKESCROLL*/, NPC_HASITEMS(SLF, 33926/*FAKESCROLL*/));
NPC_REMOVEINVITEMS(SLF, 33751/*FAKESCROLL_ADDON*/, NPC_HASITEMS(SLF, 33751/*FAKESCROLL_ADDON*/));
NPC_REMOVEINVITEMS(SLF, 33696/*ITRU_THUNDERSTORM*/, NPC_HASITEMS(SLF, 33696/*ITRU_THUNDERSTORM*/));
NPC_REMOVEINVITEMS(SLF, 33697/*ITRU_WHIRLWIND*/, NPC_HASITEMS(SLF, 33697/*ITRU_WHIRLWIND*/));
NPC_REMOVEINVITEMS(SLF, 33698/*ITRU_GEYSER*/, NPC_HASITEMS(SLF, 33698/*ITRU_GEYSER*/));
NPC_REMOVEINVITEMS(SLF, 33699/*ITRU_WATERFIST*/, NPC_HASITEMS(SLF, 33699/*ITRU_WATERFIST*/));
NPC_REMOVEINVITEMS(SLF, 33700/*ITRU_ICELANCE*/, NPC_HASITEMS(SLF, 33700/*ITRU_ICELANCE*/));
NPC_REMOVEINVITEMS(SLF, 33701/*ITRU_BELIARSRAGE*/, NPC_HASITEMS(SLF, 33701/*ITRU_BELIARSRAGE*/));
NPC_REMOVEINVITEMS(SLF, 33702/*ITRU_SUCKENERGY*/, NPC_HASITEMS(SLF, 33702/*ITRU_SUCKENERGY*/));
NPC_REMOVEINVITEMS(SLF, 33703/*ITRU_GREENTENTACLE*/, NPC_HASITEMS(SLF, 33703/*ITRU_GREENTENTACLE*/));
NPC_REMOVEINVITEMS(SLF, 33704/*ITRU_SWARM*/, NPC_HASITEMS(SLF, 33704/*ITRU_SWARM*/));
NPC_REMOVEINVITEMS(SLF, 33705/*ITRU_SKULL*/, NPC_HASITEMS(SLF, 33705/*ITRU_SKULL*/));
NPC_REMOVEINVITEMS(SLF, 33706/*ITRU_SUMMONZOMBIE*/, NPC_HASITEMS(SLF, 33706/*ITRU_SUMMONZOMBIE*/));
NPC_REMOVEINVITEMS(SLF, 33707/*ITRU_SUMMONGUARDIAN*/, NPC_HASITEMS(SLF, 33707/*ITRU_SUMMONGUARDIAN*/));
NPC_REMOVEINVITEMS(SLF, 38061/*ITRU_ACID*/, NPC_HASITEMS(SLF, 38061/*ITRU_ACID*/));
NPC_REMOVEINVITEMS(SLF, 38062/*ITRU_PICKLOCK*/, NPC_HASITEMS(SLF, 38062/*ITRU_PICKLOCK*/));
};
};