I've been working on an overworld for my hack, but when you pass the first Switch Palace, it allows you to enter again. How do make the switch flatten when you beat it?
Click on the switch palace and look for the destroyed castle icon. Pick the event number you want to use to destroy it and make sure it matches the same event number in the level properties. Let me know if you need further assistance.