Complex sentence: Dent does so by flipping his coin, causing him to shoot Batman, spare himself, and prepare to kill Gordon's son to inflict upon him the pain of losing a loved one.
Split into simpler sentences: Dent does so by flipping his coin, causing him to shoot Batman and spare himself. He then prepares to kill Gordon's son to inflict upon him the pain of losing a loved one.