All existing ordinances or parts of ordinances which are contrary to the provisions of this chapter are hereby repealed to the extent necessary to give this chapter full force and effect, except as noted in Subsection A of this section or elsewhere in this chapter; provided, however, that the provisions of this chapter shall not affect any suit or prosecution pending or to be instituted to enforce any provision of such repealed ordinance or to punish any offense against any such repealed ordinance committed prior to the effective date of this chapter.