In Before I Wake , Cody 's mother died when Cody was older than five years old .
However , she had died of pancreatic cancer when Cody was just six years old which resulted to his anxiety when people get sick .
Before I Wake -LRB-2016 film-RRB-