headcoded

adj.

You have drunk enough to classify every approaching person by imagined railway lamps, then board the wrong train.

Darelle got headcoded and assigned white-lamp meanings to everyone entering the pub.

Source: Wiktionary