Please answer a question about the following article about Carnival:

In Mexico, Carnival is celebrated in about 225 cities and towns. The largest is in Mazatlán and the city of Veracruz with others in Baja California and Yucatán. The larger city Carnivals employ costumes, elected queens and parades with floats, but Carnival celebrations in smaller and rural areas vary widely depending on the level of European influence during Mexico's colonial period. The largest of these is in Huejotzingo, Puebla where most townspeople take part in mock combat with rifles shooting blanks, roughly based on the Battle of Puebla. Other important states with local traditions include Morelos, Oaxaca, Tlaxcala and Chiapas.

What is the mock combat roughly based on?
the Battle of Puebla