Answer: Yes, because of the cloth he changed with the principal cost his life
Step-by-step explanation:
This is a complex case. The Jury would have to be careful with it because the robber would want to prove he's not guilty since he didn't shot the principal but in the real sense, he set the principal up for death because he exchanged his identity in wears with what the principal wore. The jury after his questioning which would propose enough proof would fine the robber for murder based on this reasons;
(i) intent to kill
(ii) intent to inflict great bodily injury
(iii) awareness of an unjustifiably high risk to human life or
(iv) intent to commit a felony.
The robber compelled the principal in some actions that set him up for his death.