(a) Evidence of a person's character or a trait of character shall not be admissible for the purpose of proving action in conformity therewith on a particular occasion, except for:
(1) Evidence of a pertinent trait of character offered by an accused or by the prosecution to rebut the same; or if evidence of a trait of character of the alleged victim of the crime is offered by an accused and admitted under paragraph (2) of this subsection, evidence of the same trait of character of the accused offered by the prosecution;
(2) Subject to the limitations imposed by Code Section 24-4-412, evidence of a pertinent trait of character of the alleged victim of the crime offered by an accused or by the prosecution to rebut the same; or evidence of a character trait of peacefulness of the alleged victim offered by the prosecution in a homicide case to rebut evidence that the alleged victim was the first aggressor; or
(3) Evidence of the character of a witness, as provided in Code Sections 24-6-607, 24-6-608, and 24-6-609.
(b) Evidence of other crimes, wrongs, or acts shall not be admissible to prove the character of a person in order to show action in conformity therewith. It may, however, be admissible for other purposes, including, but not limited to, proof of motive, opportunity, intent, preparation, plan, knowledge, identity, or absence of mistake or accident. The prosecution in a criminal proceeding shall provide reasonable notice to the defense in advance of trial, unless pretrial notice is excused by the court upon good cause shown, of the general nature of any such evidence it intends to introduce at trial. Notice shall not be required when the evidence of prior crimes, wrongs, or acts is offered to prove the circumstances immediately surrounding the charged crime, motive, or prior difficulties between the accused and the alleged victim.