Unless the defendant has been granted pretrial discovery, if the state intends to introduce a confession or inculpatory statement in evidence, it shall so advise the defendant in writing prior to beginning the state's opening statement. If it fails to do so a confession or inculpatory statement shall not be admissible in evidence.
La. Cr.P. § 768