(a) When the prosecuting attorney, the juveniles attorney, or the guardian ad litem has reasonable basis to believe that:
(1) A juvenile age 14 or older is incompetent to proceed in the delinquency action, that party shall file a motion for a determination of competency. The motion shall state any known facts to the movant of in support thereof. If the court raises the issue sua sponte, it shall, by written order, set forth the basis for ordering a competency evaluation.