(A) It is a defense to a violation under this section that the child was emancipated:
(1) Under I.C. 31-37-19-27 or I.C. 31-6-4-15.7 (before its repeal);
(2) By virtue of having married; or
(3) In accordance with the laws of another state or jurisdiction, at the time that the child engaged in the prohibited conduct.
(B) It is a defense to a violation under this section that the child engaged in the prohibited conduct while:
(1) Accompanied by the child's parent, guardian or custodian;
(2) Accompanied by an adult specified by the child's parent, guardian or custodian;
(3) Participating in, going to or returning from:
(a) Lawful employment;
(b) A school sanctioned activity;
(c) A religious event;
(d) An emergency involving the protection of a person or property from an imminent threat of serious bodily injury or substantial damage;
(e) An activity involving the exercise of the child's rights protected under the First Amendment to the United States Constitution or Art. 1, § 31, of the Constitution of the state, or both, such as freedom of speech and the right of assembly; or
(f) An activity conducted by a non-profit or governmental entity that provides recreation, education, training, or other care under the supervision of one or more adults.
(4) Participating in an activity undertaken at the prior written direction of the child's parent, guardian or custodian; or
(5) Engaged in interstate or international travel from a location outside Indiana to another location outside Indiana.
(I.C. 31-37-3-3.5)