the pills her mother started taking to cope allowed her to function sufficiently at work for a while , but she was fired a year ago and had spent most of the time since lying in the darkness of her bedroom .