5 aces or royal flush

5 aces or royal flush

The Wizard analyzes Five Aces video poker. Royal Flush, 800, Straight Flush, 100.
Me and my friend were playing a friendly game of poker(jokers wild). Five of a kind is the highest hand type and is better than a straight flush.
Actually RROP does make a brief statement on use of a wild card in section 12. Among other rules, it says 5 aces is the best hand possible.
5 aces or royal flush