You haven't lost fire the backfiring tells you that. You just have fire just at the wrong time the fly wheel key can cause that. Unless there is something more happening.
There are about 4 distinc different models of 25 hp motors.--You have NOT posted a model number.---But if there are orange wires going to the coils the blue stripe goes to the top one.-----Is this something that started suddenly ???---And backfiring is a classic symptom of plug wires reversed !!!