#include "zcommon.acs"
#library "RETARD"

script 666 (void)
{
	while(GetActorProperty(0,"APROP_Health")>0) {
        HealThing(5);
        for(int i=0;i<35;i++) {
        if(CheckInventory("hurtcount")) break;
        delay(1);
        }
    while(CheckInventory("hurtcount")) {
        TakeInventory("hurtcount",1);
        delay(35);
        }
}
}
 
script 667 RESPAWN
{
	if(CheckInventory("WeaponID4")) ACS_ExecuteAlways(666,0);
}

script 668 ENTER
{
	if(CheckInventory("WeaponID4")) ACS_ExecuteAlways(666,0);
}