The accepted scholarly theory is it coincided with the Black Sea deluge. So yes, it was localized, but that was consisered the known world to the people living in the region.
But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin.