Complex sentence: Some believe that if you hear a dog howling at night, that means that the pontianak is far away, but if a dog is whining, that means the pontianak is nearby.
Split into simpler sentences: Some believe that if you hear a dog howling, that means that the pontianak is far away. But if a dog is whining, that means the pontianak is nearby.