Complex sentence: Before the Interhigh match against Ryonan he put a picture of Anzai on the bench and prayed to it when Anzai was unable to come due to a heart attack to the dismay of Takenori Akagi and Sakuragi, with Akagi comparing the action to a wake.
Split into simpler sentences: Before the Interhigh match against Ryonan he put a picture of Anzai on the bench and prayed to it when Anzai was unable to come due to a heart attack. This caused Takenori Akagi and Sakuragi to get upset, with Akagi comparing the action to a wake.