The youths have turned 15 since the alleged crimes, which took place just over eight months ago.
The court heard that on June 24, the teens escaped from a supervised CYF bush camp, four hours walk from Ruatoki.
The jury was told they broke into two houses and stole four guns and a car before travelling towards Whakatane.
When they reached Te Puke, a security guard recognised the stolen car and alerted police.
Constable Edward Burgess, of Mount Maunganui police, told the trial he pursued the vehicle through Te Puke, reaching speeds of up to 160km/h.
Three police cars chased the vehicle into Mount Maunganui where the younger of the two teenagers got into the back seat with the guns and allegedly fired the first shot.
The chase finally ended in Oceanbeach Rd.
When Constable Riki Valentine approached the car, the teenager in the back seat allegedly pointed the gun at him.
The teenager then turned his attention to dog handler Constable James Muir.
He pointed the rifle at the officer, who yelled at him to put it down.
He heard the click of the gun but it failed to fire, the court heard.
The teenagers got out of the car and the dog handler released his dog, which latched on to the arm of the teenager in the back seat. The second teenager was apprehended by Mr Burgess.
The defence counsel for the driver, Craig Horsley, said while his client did not deny he was the driver, that was all he was, and whatever the other teenager did was his actions alone.
- BOP Times