OOPS, Before you use the p-switch version 4.5, I highly recommend version 4.6.
I found a glitch that the p-switch did not launch mario upward when it deactivate when big/fire/cape mario is inside of it, because the bottom offset only runs if mario is UNDER the block (also run when small mario or big crouching mario INSIDE it). I update this block so it uses the body, head & bottom offset and make it warp #$10 (16 in decimal) up instead of launching mario's y speed upward.
Sorry another p-switch update -> a new version 4.7 have fixes with the upsidedown switch
Give thanks to RPG hacker for working on Asar.