Suppose I cast magic jar and possess a body, then I kill my old body and cast animate dead on it, and after that I break the magic jar. What happens when the soul returns to the zombified body?
For reference, magic jar says the following:
If the container is destroyed or the spell ends, your soul immediately returns to your body. If your body is more than 100 feet away from you or if your body is dead when you attempt to return to it, you die.