It could depend on how bad the damage is, and from what circumstances.
I have a great local lender you can speak with. He is very knowledgable.
You will also want to consider that the out of pocket expenses to buy a home usually surpass just the down payment. You must consider closing costs and loan costs as well.
Let me know if I can help.
Adam Dalton-Century 21 M&M