Okay I know the characters may seem OOC for this reason:

Aladdin's interest in Jafar

Jafar is not evil

Jasmine's seeing two men (or was seeing two men)

"Jasmine could I talk to you for a second?" asked Jafar.

"Of course, what is it?" asked Jasmine.

"Remember when I told you I felt kind of bad about what I said to Aladdin? Well, I still do. I am kind of confused about my feelings," Jafar explained.

"Meaning you're not sure if you share his feelings or not?" asked Jasmine.

"Yes, the thing is I still love you, but I felt this strange connection between me and Aladdin. It's almost like it was meant to be," Jafar tried to explain to her. Jasmine hugged him.

"I don't care if you're gay or bisexual or whatever. You still loved me when I chose to marry Aladdin over you, and I want to give you the same in return. You were always there for me when it came to picking out clothes for the wedding, and finding gifts for Aladdin, even when you may have wished I married you instead, you were always there for me," Jasmine kissed him.

"Yeah the thing is I don't know how to tell Aladdin. I know I still love you, but I kind of like him," Jafar told her.

"Just be honest," Jasmine suggested.

"Thanks love, goodnight," Jafar kissed Jasmine goodnight and they went up to bed.

"Aladdin can we talk?" asked Jafar.

"About?" asked Aladdin.

"Well, I am sorry if I hurt you," Jafar told him.

"Don't apologize for being honest, I understand you don't love me the way I love you, or love me at all. I was an idiot for coming out like that," Aladdin explained.

"You're not an idiot for being honest about your feelings," Jafar told him.

"Well, now you see why I was so hateful toward you even after you reformed," Aladdin told him.

"Well the thing is I know I still want to be with Jasmine, but I honestly felt a bit of a connection between us," Jafar explained.

"So you're attracted to me, but still in love with Jasmine?" asked Aladdin.

"Sort of," Jafar told him.

"Let's talk outside, people may be listening in on our conversation," Aladdin pointed out.

"Yeah that sounds good," Jafar agreed.

"Yeah, I mean I never thought of myself as gay or bi or whatever, until you kissed me that one night. I know I still love Jasmine, but I kind of like you," Jafar told him.

"Hey Jafar, do you believe in wishing on stars?" asked Aladdin.

"Uhh no, I'm way too old for those beliefs," Jafar replied.

"Nobody's too old to believe in magic, I know you still believe in magic, why do you have that staff?" asked Aladdin.

"Well adult magic, not that childish stuff like wishing on stars," Jafar laughed.

"It's not childish, it's real, you may get your wish granted. Just try it," Aladdin told him.

"Okay…" Jafar began. Jafar closed his eyes and made a wish.

"Okay I made my wish," Jafar told him.

"What did you wish for?" asked Aladdin.

"For the courage to tell you, that I love you too," Jafar finally told him.

"Wow, this must be a dream," Aladdin thought.