A 19-year-old who allegedly threatened a 13-year-old while armed with a machete and hammer, robbing him of his mountain bike last week, has been granted bail. Cody Narrier appeared in Geraldton Magistrates Court from remand on Thursday afternoon charged with armed robbery. The court was told on Tuesday, October 31 Mr Narrier approached a 13-year-old boy on a street in Rangeway and allegedly stole a mountain bike with threats of violence. Police prosecutor Sgt Paul Burkinshaw told the court Mr Narrier was armed with a hammer in one hand and a machete in the other. Defence lawyer Linda Salsano noted it was a serious allegation but said her client could abide by reporting obligations if bailed. Sgt Burkinshaw said the alleged offence was particularly serious given the complainant was 13 years old. Magistrate Angus Hockton noted Mr Narrier had no adult record, granting him bail with curfew, protective and reporting conditions. He is to be home from 10pm-6am, is not to talk to the alleged victim or be within 10m of him and report to the police station twice a week. Mr Narrier is due to reappear in Geraldton Magistrates Court on Thursday, December 21 for legal advice.