この場合の 結局 は it comes down to の表現が良いです。
影響すると言った意味です。
「どんなに楽しい映画を見ても、つまらないと感じるのは… そうか、一緒にいる人がつまらないからだ。」
"The reason I feel bored no matter how fun the film I watch is... I get it, it's because the person I'm with is boring." など
Aha! In the end, it's all about the people you're with!
・Aha! In the end, it's all about the people you're with!
「あぁそうか!結局のところ、誰と一緒にいるかがすべてなんだ(結局人なんだ)!」
Aha! や I see! で「そうか!」「なるほど!」というひらめきや納得の気持ちを表せます。
・I get it now! After all, it depends on who you're with!
「やっと分かったよ!結局、誰と一緒にいるかによる(結局人次第なんだ)!」