Ted and Marshall throw Barney a bachelor party that goes from lame to worse as the festivities include an appearance from Ralph Macchio (the "wrong" Karate Kid), a silent clown, and the hiring of Barney's ex-fiance Quinn to be the party's stripper. After Robin calls Barney with the news that his mother Loretta has gone wild during their girl's night out, Barney tries driving back to rescue them but forces the group to make a detour to Atlantic City to salvage his night with some crazy Chinese gambling. Barney puts Marshall up for collateral after losing his money and heads home to an angry Robin who calls off the wedding when she sees Quinn with them. Just as the Chinese mobsters come back to torture Barney, Robin reveals that she and the gang planned the entire night as a disaster on purpose to meet Barney's request to have a the most memorable night of his life. Barney's excitement at being tricked is further heighted when the silent clown reveals his identity.