Building codes aren't the problem
Poverty is the problem. It doesn't do much good to tell someone they need a reinforced structure to live in when they can barely afford mud brick. An earthquake of similar size in California killed two people (last I heard).
