#library "commands"
#include "zcommon.acs"

Script 312 (void) NET
{
	While(CheckInventory("PowerInvulnerable") > 0)
	{
		Delay(1);
	}
	While(CheckInventory("GoFatality") > 0)
	{
		Delay(1);
		if(GetActorProperty(0, APROP_INVULNERABLE) != 1)
		{
			SetActorProperty(0, APROP_INVULNERABLE, ON);
		}
	}
	SetActorProperty(0, APROP_INVULNERABLE, OFF);
}

Script 301 (VOID) NET
{
 GiveInventory("Kicking", 1);
 GiveInventory("GoSpecial", 1);
}

Script 302 (VOID) NET
{
 GiveInventory("Taunting", 1);
 GiveInventory("GoSpecial", 1);
}

Script 303 (VOID) NET
{
 GiveInventory("Reloading", 1);
 GiveInventory("GoSpecial", 1);
}



Script 431 (VOID) NET
{
 GiveInventory("Salute1", 1);
 GiveInventory("GoSpecial", 1);
}

Script 432 (VOID) NET
{
 GiveInventory("Salute2", 1);
 GiveInventory("GoSpecial", 1);
}


Script 304 (VOID) NET
{
 GiveInventory("AdvTaunting", 1);
 GiveInventory("GoSpecial", 1);
}

Script 305 (VOID) NET
{
 GiveInventory("OneLiner", 1);
 GiveInventory("GoSpecial", 1);
}

Script 306 (VOID) NET
{
 GiveInventory("RollLeft", 1);
 GiveInventory("GoSpecial", 1);
}

Script 307 (VOID) NET
{
 GiveInventory("RollRight", 1);
 GiveInventory("GoSpecial", 1);
}

script 391 ENTER
{
 int buttons;

 while (TRUE)
 {
   buttons = GetPlayerInput(-1, INPUT_BUTTONS);
   
if (buttons & BT_ALTATTACK)
{
   GiveInventory("FiredSecondary", 1);
   delay(2);
}
   TakeInventory("FiredSecondary", 1);
   delay(1);
 }
}


script 392 ENTER
{
 int buttons;

 while (TRUE)
 {
   buttons = GetPlayerInput(-1, INPUT_BUTTONS);
   
if (buttons & BT_ATTACK)
{
   GiveInventory("FiredPrimary", 1);
   delay(2);
}
   TakeInventory("FiredPrimary", 1);
   delay(1);
 }
}