The Criminal Code has no application to crimes committed prior to its effective date.
A crime is committed prior to the effective date of the Criminal Code if any of the essential elements of the crime occurred before that date.
Prosecutions for prior crimes shall be governed, prosecuted and punished under the laws existing at the time such crimes were committed.
NMS § 30-1-2