This is an interesting thing I discovered that was originally a problem I posted in General Hacking Help. It's actually a good fact for people making layer 2 smash levels, as well as any other non-autoscroll layer 2 levels that Mario can interact with.
If you are in a layer 2 smash room, and a smashing layer 2 object passes close to or over Mario's Y position, he will die if he enters a door leading to a room with moving layer 2 above Mario's X position.
Let's say you're in room 1D0. There is a flat ledge floor you're on, and to your right, there is a visible giant downward spike. Also in sight is a door. Enter that door when you see the spike's solid part cover the ledge you're standing on.
Let's say the destination room is DC. (SMW's default Layer 2 On/off room) Since there is a spiky ceiling above Mario, and he entered while layer 2 in the previous room
would have come down on him if he stayed there, Mario dies.
This may be due to the game's positioning trigger, and this effect would be the same as being directly crushed by an incoming layer 2 object. Even though Mario wasn't in immediate danger when exiting the room and entering the new one, the Y position of the first room, and the X position of the new room's layer 2 may have been 'overlapped' in a way that Mario would die if the object crushed him. (contacting Mario's exact position, X and Y)
bbbbbbbbbVVbb
__D_M________ (b=Blank Space, _=Ground, D=Door, M=Mario, VV=Layer 2 spike)
__E______VV__ (_=Ground, E=Exiting, VV=Layer 2 spike on identical Y position)
-------------
VVVVVVVVVVVVV
bbbbbbbbbbbbb
bbbbbbbbbbbbb
_________E___ (-=Solid Surface, b=Blank Space, _=Ground, E=Entering, VV's=Spiked Ceiling on identical X position)
Simple diagram showing how the X and Y positions of the two rooms' layer 2 overlap and kill Mario.
---
So if you plan on making back-to-back Layer 2 levels that in some way harm Mario, make sure that if you can exit while layer 2 is smashing down beside you, that there isn't a layer 2 solid/harmful object above where Mario comes out.
(No current projects, lost them all.....)
DeviantArt Account:
http://artsyambassadorart.deviantart.com/