Complex sentence: As Batman patrols the city, a woman is robbed, but when the crook is stopped before Batman can arrive, he decides he's not needed.
Split into simpler sentences: As Batman patrols the city, a woman is robbed. But when the crook is stopped before Batman can arrive, he decides he's not needed.