Accused 'angry, agitated and upset' on the day of murder.
Surgery staff told a jury they saw a father accused of murder 'angry, agitated and upset' on the day a young man was killed.
Wayne Royston, 35, was not able to collect his tablets on the morning of April 18 and witnesses told Cardiff Crown Court the mix-up made him angry.
Maria Sutton, a friend and work colleague of Royston's wife Emma, was in the surgery in William Street, Bargoed, when he came in to try to get his correct medication.
She told the court: 'I had never seen him like that before - that day he wasn't the Wayne I knew.
'I used to work with Emma and I've been to his house. He always appeared to me to be a lovely man - a normal husband and father.
'That morning when I said hello and asked how he was, he said 'not very good'.'
She said he swore, saying his prescription had been messed up.
'He was angry, agitated and upset,' she said.
'His face was red and flustered and his fists were tightly clenched and to be honest, I was scared.
'I knew if he didn't have his tablets he could be unpredictable.
'It was as if he was trying to calm himself by taking deep breaths but he was still getting agitated.'
Later that day Dean Shorney, who had learning disabilities, was knifed nearly 40 times in Bargoed park.
Royston, who at the time lived in the town at Gilfach Road with his wife and child, denies killing him.
Dr Rhiannon Gravell described seeing him the next morning.
She told police: 'He came in and said he needed diazepam.
'I had been concerned having read his notes from the previous day but he seemed very relaxed.
'He was calm and pleasant and left the surgery, happy, after receiving the prescription.'
Royston was arrested on suspicion of murder the next day.