To me it looks like if you have higher attack than special attack you branch into a high Atk, spatk, speed evolution (and learn flamethrower at 40, as well as other different level up moves) If you're higher spatk you evolve into medium Atk/spatk and very high spdef (and learn thunderbolt at 40...