How to clear Donut Ghost House in Super Mario World for the Super Nintendo Entertainment System and Game Boy Advance.

How to Clear Donut Ghost House
There is a Boo Crew in the upper part of the screen, and Boos will float down randomly. Try not to let them hit you.
To the right, there is a Message Block with an ominous message about finding the exit.
If you are Caped Mario, you can reach the secret exit if you go to the right until you're at the edge of the hole, then run to the left, and when you get to the left side of the screen, fly straight up to reach a platform up above, but try not to let the Boo Crew hit you on your way up. Then go to the right and you eventually reach a room with four Blocks, each of which contains a 1-Up Mushroom, and a door on the right. Go through that door and use the Giant Gate to unlock a secret area to the north known as the Top Secret Area.
If you aren't Caped Mario or you just want to use the normal exit, keep going to the right while dodging the Boo Crew, and collect the coins along the way. Go through the door at the end.
Go to the right, past some Boos, and go through the door. You will end up on a platform that looks like it's below where you just were, but this is actually an entirely different room. Go to the left and hit the Block to reveal a P Switch. Jump up through the floor and hit the P Switch to reveal an arrow made of coins. If you go to the left, there is a Blue Door. You can optionally go through it and hit the Prize Block to get a coin snake. You can control the snake's direction by pressing the directional pad buttons. The coin snake will keep going until it hits a wall or a coin, or until its time runs out. Afterward, go through the door on the right, then go to the right and through the door again.
This time, if you hit the Block and it has a P Switch, ignore the P Switch and go through the door on the right. You will once again seem to be in the same room, but this is actually a different room again. Hit the Block to make a Beanstalk come out, then jump up through the floor or stairs and climb the Beanstalk. At the top, go to the left and go through the door. Then go to the right and go through the Giant Gate to complete the level.
After the Level
If you went through the secret exit, you will unlock the Top Secret Area to the north. If you went through the normal exit, you will unlock Donut Plains 3 to the east.