After the earthquake has taken place, I tend to call in a local service to have the foundation looked at. In the end, this is the main concern because if the foundation is not stable, you are going to be putting your life at risk.
You cannot stay in a property that is not as secure after an earthquake. You have to get the foundation repair specialist to look at the house and see how it is doing. If they have to make repairs then that is what they have
to do and you will have to pay them for it. I would never want to chance my luck here because you could have the roof cave in.