Regarding the location of the bar with McCoy and aliens, the script
suggest it is on earth since it specifies "Night" and "across the street"
79 INT. BAR - NIGHT 79
A crowded, smoke-filled watering hole of the twenty-
third century, filled with a smattering of civilians,
Starfleet personnel, and visitors from strange and far-
off civilizations. It does not have the bizarre quali-
ties of the "Star Wars Bar" which is across the
Though it was never explicitly specified in the movie, so take it with a grain of salt.