Well when in the map, you gotta do <DNPXXXX so it doesn't appear again at that time specifically. You also add a flag ID and check the box to disappear when the flag ID is set so it never appears again when re-entering the room essentially.
that's what I thought was needed but for some reason it seems like in some of the scripts from the game the life capsule thing doesnt set(add) any flags when you use it, yet it still disappears after using even if you leave and come back in the same room