- Code: Select all
case bossobj:
GivePoints (500);
NewState (ob,&s_bossdie1);
if (gamestate.episode == 0 && mapon == 17)
{
if (gamestate.bestweapon < wp_chaingun)
PlaceItemType (bo_chaingun,tilex,tiley);
else if (gamestate.ammo < bo_clip)
PlaceItemType (bo_clip,tilex,tiley);
else
PlaceItemType (bo_key4,tilex,tiley);
}
else
{
PlaceItemType (bo_chaingun,tilex,tiley);
}
break;