Complex sentence: Doon steals the diamond and escapes from Ember with help from ScawgoIn the process, he also breaks the pipe connecting the generator to the waterwheel that created power for Ember, therefore dimming Ember's lights for good.
Split into simpler sentences: Doon steals the diamond and escapes from Ember with help from Scawgo. While escaping, he also breaks the pipe connecting the generator to a waterwheel that created power for Ember, therefore shutting down Ember's lights for good.