Complex sentence: Fallen Leaves enters the tunnels and appears to be heading in the right direction when he comes to a dead end just as it begins to rain.
Split into simpler sentences: Fallen Leaves enters the tunnels, and appears to be heading in the right direction. However, he comes to a dead end just as it begins to rain.