Electrical – Help reconnecting light to existing ceiling box wiring

electricallightingswitchwiring

I had to replace an improperly used plastic ceiling box with a metal box to correctly ground existing old armored cable. I thought I took a picture of the box before but I don't have it so I'm having trouble reconnecting the light. Off of this box are:

  • Single pole switch for overhead bedroom light
  • Two 3 way switches for bedroom closet and hallway light (both go on and off at same time)

With how it is currently wired, the single pole switch/light are working and the closet light is working with the 3 way switches. I am not sure how to reconnect the hallway light so that it also goes on/off with the closet light and 3 way.

Thanks in advance.

This is where the hallway fixture goes:
ceiling box

On the left is the bedroom overhead light. On the right is the 3 way for the hallway light and closet light (these are supposed to come on at the same time):
2-gang switch box

The other 3 way for the hallway and closet light:
1-gang switch box

Best Answer

Copied from my comment as an answer: I took off the working closet light and it is a black/white wire going to the fixture. I traced this wire back to the ceiling box and the black wire goes to #4, white goes to #1. Red wire in #1 is always hot, black wires in #4 are hot when the light is on. Wired my fixture the same as the wire to the closet light - black to #4 and white to #1 bundle and it works now. Thanks!