In North Carolina, the law used to be that you could shoot someone breaking into your home b/c you could assume harmful intent, but once they were actually inside and you could see them clearly, the standard changed so that you could only use deadly force if they presented deadly force, just like out in the street. It was lunacy...and actually incentivized shooting someone through the door before you could clearly identify them.
That has since changed to a full Castle Doctrine.