News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] Crashing when entering a door.

Started by QuarterCircleMetroid, March 28, 2014, 06:59:27 PM

Previous topic - Next topic

QuarterCircleMetroid

Alright, so I encountered a game breaking bug, glitch or what-have you. Whenever I enter the door shown in the video attached, it stops in the middle of the transition and crashes. Music still plays but it just won't go any further than that. And it's just that particular room, too. It was working fine until I started doing some tiling stuff in the room with the Alcatraz Escape, but I don't think that could be the cause. I didn't overwrite anything or mess with any scrolling stuff. I used an unused PLM to place a gray door over the entrance to Bomb Torizo and I thought maybe that was it, so I changed it back but it didn't help. What gives?  :cry:

https://www.youtube.com/watch?v=9r9BhHPY9D8

P.JBoy

Sounds like either your door is pointing to a non-existent room, or the room the door links to is broken some how
...

JAM

If you changed just PLM to Grey door (and that's it), you must set correct High and Low bytes for the Grey door. I bet, you've used Scroll PLM, right?

Hint: problem is in High Byte =)
Only values from list in SMILE will works. Something like A3 will crash the room for sure.

QuarterCircleMetroid

Quote from: JAM on March 28, 2014, 07:59:43 PM
If you changed just PLM to Grey door (and that's it), you must set correct High and Low bytes for the Grey door. I bet, you've used Scroll PLM, right?

Hint: problem is in High Byte =)
Only values from list in SMILE will works. Something like A3 will crash the room for sure.

Normally that would be the case, I'm sure, but the door in question is the entrance to the gauntlet. I didn't change any values other than the low bytes for items I've added in other rooms. I can enter every other room in the hack just fine, it's the gauntlet entrance that crashes.

@P.J; Maybe the room the door links to is broken, because I didn't change any pointers for that particular door or for the room or anything.

JAM

OK, if you don't know what's causing the bug, then simply restore original layout and PLM positions of the broken room. They, do step by step what you did before (with check between steps) and you'll see what's the problem is.

QuarterCircleMetroid

Figured out the problem!
There was an "UNKNOWN" PLM in the Gauntlet entrance for some reason. I don't know how it got there but I took it out and the room loads fine now.