News:

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

Main Menu

[SM] Problem with kraid boss and tileset

Started by Chemical-X, June 04, 2020, 09:20:50 AM

Previous topic - Next topic

Chemical-X

As the title states I am having a big issue over kraids tileset and his boss room states, when is defeated and you leave the room, then come back inside of it.
The game isn't really properly handling cleaning up whatever tiles and data it had to pull during the boss fight.

As you can see the gargabe will go down into green brinstar and some parts of upper crateria, I'm pretty sure this many others have run into this issue.
Is there any type of way to fix the problem ? also yes I put kraids room into crateria to give players a chance to kill him now or save him till the end after killing off other bosses.



https://www.youtube.com/watch?v=UCRcm3XU3eo&feature=youtu.be

Quote58

Make sure that the rooms around Kraid's room have special GFX bitflag set to 02. Kraid uses 05 for that value because his gfx overwrite the entire cre. Using 02 in the next room signals to the door transition routine that the cre gfx need to be reloaded. Any normal room will use 00, because the CRE is shared, but mini boss, boss, ceres, and especially kraid, all use special flags so make sure they're set correctly.

Mettyk25jigsaw

It could also be because the setup asm pointer needs to be a crateria pointer that's compatible. Do try using a pointer that crateria uses as setup asm pointer. I think from memory original smile called this layer 1/2. Also you might need to change the background pointer too.

Chemical-X

I'll look into it later on this evening when I come home or over the weekend and see if I can fix the issues.

Chemical-X

#4
Ok so I did what quote suggested and what metty suggested, kraid no longer leaves garbage tiles about everywhere in his room.
But the left room and right room still have the same issue, I am including the patch so you can see what is going on with it.


Mettyk25jigsaw

Hi chemicalx.

Just in case you didn't catch on what quote58 was meaning when putting 02 on special gfx bit flag in room header, it's these rooms you are having problems with that quote58 was talking about that you need to place 02 on special gfx bitflag inside room header in these rooms you are now having problems with.

Hope this helps.

Chemical-X

#6
Well thats weird, I'm pretty sure I did that with smile rf earlier today, apparently it didn't do that when I set the special bit flag to which 02 and saved it.
I'll use the old smile editor and see what happens shortly.


Fixed.  thanks metty.

Note: Global mods please close & lock this thread.


Thanks