In California the store owner will probably be in trouble for having a firearm in the store and not having it properly locked up. The robber will probably be suing the store for bodily harm too