Man asks for painkillers in pharmacy robbery