Rushed in 3 days for the christmas contest, the former part is very rough, but the ladder we worked on!
SPOILERS! since many of you don't understand the ending.
He goes to purchase the gift for his friend, hence the beginning dialogue. When he finally gets back, he sees his girlfriend had purchased a gift beforehand for the often forgotten friend, hence the kiss and wink.