You really got outplayed in this battle. You should have switched Wigglytuff into Mega Lucario right away. Did you really think your opponent had shitty moves like Close Combat, Aura Sphere, Bullet Punch or Flash Cannon on his Lucario?I HAVE FOUND THE HOLY GRAIL (READ THE CHAT)
http://replay.pokemonshowdown.com/ubers-127535620