From the Super Mario Wiki
Retrieved from "http://www.mariowiki.com/index.php?title=Magic_Window&oldid=2107443"
When using this special technique, Mario and Luigi jump into a window, which teleports them close to a random opponent. The windows will appear at different orientations depending on which enemy is the target. As Mario or Luigi jump out of the window, the player has to decide which button to press: , , or both of them. If the player fails a button press, the attack will end. This attack will cost eighteen SP to use (nine if reduced).
This is unlocked by defeating the optional Shroob boss. The shape of the window itself seems to be modeled after the Shroob Empire symbol used in Mario & Luigi: Partners in Time in which the Shroobs were major enemies. This attack also somewhat mimics the Copy Flower item from Mario & Luigi: Partners in Time.
If a brother is poisoned and use the Magic Window, the brother will, for some reason, lose the poison, but only for the attack.
Names in other languages