News:

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

Main Menu

[SM] Items behaving strangely

Started by QuarterCircleMetroid, March 28, 2014, 01:02:41 AM

Previous topic - Next topic

QuarterCircleMetroid

Alright, I'm a bit peeved. Maybe I'm doing something wrong.

Currently, I have three items acting weird. Two energy tanks and a Super. The first energy tank (ET#1) appears and looks to be just fine -- but entering a room and then going back to the room with that energy tank causes it to disappear. The second energy tank (ET#2) just doesn't appear at all, and is a hidden in scenery tank whereas the other is in the open. The Super (SuM#1) doesn't appear at all unless I load straight into the room. If I load in another room and go into the room with the Super, it's not there.

Further notes:

ET#1 is underneath a bomb block.
ET#2 is hidden in scenery, and wouldn't load with a tile to hide it, so I tried to remedy this by not having a tile there in the first place, opting for air instead -- still didn't work.
SuM#1 is out in the open. I have one HIBASHI in the room, a Skree that acts like the HIBASHI (for some reason) then another Skree that acts regularly.

Included those in case something I did in those rooms is the problem!

~QCM

Daltone

Does this happen in quickmet? what about if you just play your rom normally?
if the high bit for a item is above 80 it will respawn, if items share a low bit then they all disappear together. maybe your game loads with the items low bit already collected or something?

begrimed

Also make sure the rooms don't have alternate room states with different PLM pointers. If the box that says "STANDARD 1" is gray, then there are no states for that particular room. If there is another state like bosses/events, change that PLM pointer so it has the same pointer as the standard room state does.

QuarterCircleMetroid

#3
Quote from: Daltone on March 28, 2014, 01:15:59 AM
Does this happen in quickmet? what about if you just play your rom normally?
if the high bit for a item is above 80 it will respawn, if items share a low bit then they all disappear together. maybe your game loads with the items low bit already collected or something?

Quickmet? I assume you mean when I do the test room straight from smile, if so, yes it does, and it also happens when I play the rom normally, too.

Setting the high bits to 80 solves the disappearing problem, but now they respawn as you said, so it seems kinda cheap to just go back into the room constantly to mass up E-tanks or Supers. :P

Edit: @Grime, I see! Thanks for that info!

I think I got it by changing the high bit to 80 and then back down to 00. Seems to have fixed it, both in QuickMet and regular rom.

SupraEdit: Nope. Still not working. Works in QuickMet but not in the actual rom. This is frustrating.  :sad:

P.JBoy

...

Quietus

It was hinted at by Daltone and Grime, but do you have all of the items with unique low bits?  The high bit will normally be 00, which means they don't infinitely respawn, but the low bit should count up in sequence throughout your hack.  So, your first item will have 01, the next will have 02, then next will have 03, and so on.  If any two items have the same low bit, you'll find that you'll collect one, and they both disappear.