The accused in any proceeding pursuant to § 35-10-25 may plead in the same manner as to an information or indictment, insofar as the same is applicable. Evidence may be oral or in the form of affidavits, or both. The court may require the defendant to answer interrogatories, either written or oral. The defendant need not necessarily be discharged upon the defendant's denial of the facts stated in the moving papers.
SDCL 35-10-26