Magic Window

Here and There Window is an Attack Part used in Mario & Luigi RPG 3.

When using this special technique, Mario and Luigi jump into a window, which teleports them close to a random opponent. As Mario or Luigi jump out of window, the player has to decide which button to press: A, B, or both of them.

This is unlocked by defeating the optional boss, the Shroob Seijin.