if (mask == 16) return obj->is_egg();
if (mask == 16) return obj->is_egg() || obj->get_shapenum() == 0x3c1;
static int Check_mask	(	Game_window *gwin,	Game_object *obj,	int mask	)	{	if (mask == 4)			// Party members.		return (obj->get_party_id() >= 0 || 					obj == gwin->get_main_actor());	if (mask == 8)			// Non-party NPCs.		{		if (obj->is_monster())			return 1;		if (obj->get_npc_num() <= 0 || obj->get_party_id() >= 0 ||		    obj == gwin->get_main_actor())			return 0;	// Not an NPC || is a party member.		return 1;		}	if (mask == 16)		return obj->is_egg();	if (mask == 32)		return obj->is_monster();	if (!mask)			// Guessing a bit here.		return !obj->is_egg();	// Don't pass eggs if 0.	return 1;	}