(a) Subject to the provisions of subsection (c) of this section, a juvenile's attorney, the prosecuting attorney, or the court may raise the issue of his or her competency to participate in the proceeding any time during proceedings under this article. Once competency is raised, all proceedings unrelated to competency shall be stayed until the issue of competency is resolved.
A juvenile presumed incompetent under subsection (c) of this section shall not be adjudicated unless the presumption of incompetency has been rebutted as provided in subsections (b) and (c) of this section.