A teenager accused of murdering a 13-year-old boy in Oldbury used a friend’s phone to look for train tickets to Paris and said he wanted to die, a court has been told.