text: If an effect requires you to pay some amount of mana to prevent Memory Deluge from being countered, as Flip the Switch does, that mana wasn't spent to cast Memory Deluge and will not be taken into account.