Language…
14 users online:  AmperSam, ASSATAKKU, Cristian Cardoso, DaMarioFan, Dangil, drkrdnk, Giftshaven, nonamelol1,  patcdr, Rauf, signature_steve, Sokobansolver, timothy726, tOaO - Guests: 256 - Bots: 367
Users: 64,795 (2,377 active)
Latest user: mathew

Re-enter destroyed switch palace

Hello!
I was wondering if it was possible to re-enter a switch palace after destroying the level tile? like a fortress/castle? with L and R, or with something else?

Thanks a lot!


There's no way naturally in the game, but here's a small patch to let you do so the same way you can castles:

Code
org $049149
    autoclean JSL CheckTile
    NOP
	
freecode
CheckTile:
    LDA $13C1
    CMP #$81	; castle
    BEQ .done
    CMP #$85	; switch A
    BEQ .done
    CMP #$86	; switch B
  .done
    RTL


org $0DEC9B	; fix a bug with the switch not working correctly after the first press
    db $00
org $00EEB1
    LDA #$00


Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
you could maybe just uncheck the "no entry if level passed" in the level tile settings.
But you will have to put something else to exit the level (or kill the player or enable start+select) as the switch will disappear after you hit it
Thanks to both of you!

To NaroGugul: the "No entry if level passed" is already unchecked, and I cannot re-enter the switch palace unfortunately...

To Thomas: thanks! I will try this tomorrow! :D


EDIT: The code provided by Thomas is working well! Thanks a lot man! #tb{:DD}
I looked this thread up and decided to use the patch.

There is a problem with it though, it worked fine by allowing Mario to re enter the Switch palace but when Mario leaves a sumbmap and enters one, there is a glitch where the screen wouldn't black out for a split second as normal.

Instead, you actually see the the next map loading and the colors mess up briefly, before revealing the map in it's true colours.