After the trick was revealed and the Mario brothers got away, Mario used a swiped Magic Wand to transform Luigi into Kootie's «dream reptile» as a distraction.
Just swipe to the left of news feed, then click on the magicwand to bring up camera effects, and browse through the effects in the mask and frame category.