How to clear Red Switch Palace in Super Mario World for the Super Nintendo Entertainment System and Game Boy Advance.

How to Reach Red Switch Palace
To reach Red Switch Palace, go through the secret exit in Vanilla Dome 2.
How to Clear Red Switch Palace
Step on the P Switch, then quickly run and jump to dodge the Flashing Shell, and try to get on top of the Brown Block platforms above the Koopa Troopas. The unshelled Koopa Troopa that jumps into the shell will turn into a Flashing Shell that charges toward you and can't be stomped. By jumping on the Brown Block platforms above, you can make the Flashing Shell defeat all the other Koopa Troopas below, and if they are defeated quickly, you get a 1-Up.
Go through the pipe on the right, then jump on the Red Switch and you will see an explanation of what it does. Press a button to complete the level. You will be asked whether or not to save the game. Now all the red Dotted Line Blocks throughout Dinosaur Land will now have Red Blocks in them.
After the Level
Now that the red Dotted Line Blocks have been filled in, if you weren't able to reach the secret exit in Vanilla Dome 1, it is easier to reach now.