'Brooklyn Nine-Nine' season 5 episode 4 spoilers: Cops challenge each other in Halloween contest

A promotional image of "Brooklyn Nine-Nine" on Fox.Facebook/BrooklynNineNine

In the next episode of "'Brooklyn Nine-Nine," the cops at the precinct embark on the fifth annual Halloween Heist where only one officer will emerge victorious.

The trailer for the upcoming installment titled "HalloVeen" was just released recently and showed the precinct decked with Halloween decorations in preparation for the coming holiday. Coincidentally, this will be the fifth annual contest where cops Jake Peralta (Andy Samberg), Terry Jeffords (Terry Crews), Rosa Diaz (Stephanie Beatriz), Amy Santiago (Melissa Fumero), and Captain Ray Holt (Andre Braugher) pit themselves against one another to retrieve an object which has yet to be revealed, thus winning the challenge.

The new footage shows funny scenes of women in red gowns and white headpieces circling around Santiago, and someone in a werewolf mask on television scaring people watching it.

"Where is my dog?" Holt asks Jeffords as he walks to his desk with a canine in tow. Jeffords tells him that he is standing right next to his supposed dog. However, Holt replies, "This b---? Please!" Jeffords just looks at him in frustration. It remains to be seen who will win the Halloween Heist and how far down the precinct would descend into comedy and mayhem.

In the last episode, Peralta and Diaz finally reunited with their old team at the precinct after having been falsely accused and jailed for a crime. Peralta wanted to go out into the field immediately and take on a case but Captain Holt advised that he just stay behind the desk for the meantime and take things slowly.

Peralta eventually was allowed to go and do field work but realized the wisdom of Holt's words and decided to do some desk duty first for a few weeks.

"Brooklyn Nine-Nine" season 5 episode 4 will air on Tuesday, Oct. 17 at 9:30 p.m. EDT on Fox.