(1) This act shall be known and may be cited as the “Florida Criminal Code.”
(2) Except as provided in subsection (3), the code does not apply to offenses committed prior to October 1, 1975, and prosecutions for such offenses shall be governed by the prior law. For the purposes of this section, an offense was committed prior to October 1, 1975, if any of the material elements of the offense occurred prior thereto.
(3) In any case pending on or after October 1, 1975, involving an offense committed prior to such date, the provisions of the code involving any quasi-procedural matter shall govern, insofar as they are justly applicable, and the provisions of the code according a defense or mitigation or establishing a penalty shall apply only with the consent of the defendant.