there he was seen by dr. r. d. garcia , who prescribed dalmane and restoril for insomnia , mellaril for hallucinations and delusions , and thorazine for schizophrenia , hyperactivity , combativeness , and the hyper-energy phase of manic depression .