There is no money to maintain those Spanish Typhoons, so just not having them saves billions of Euros.
And who's gonna attack Spain if Spain had only 20 Typhoons? 20 is enough for Spain.
What on Earth are you on about, InternationalPirate? Are you suggesting Spain get rid of their entire fleet of Typhoons, make more many highly skilled workers unemployed from the air force, possibly pull out of the Eurofighter Consortium which would have a negative impact on the production of Typhoons in the rest of Europe, which in turn would would result in Spain being much worse off because they've cancelled the rest of their orders of Tranche 2s and 3s (Umbrella contract ring a bell?) and maybe, certainly, result in more unemployment drops in their aerospace industry... etc. Thats just a mere summary.
And who would by the rest of Spain's Typhoons and possibly even their share of production facilities for the aircraft? It certainly wouldn't even be South Korea...
You haven't really thought it through have you.