Chris Pratt’s Electric State character is inspired by his old neighbour