Sep 30, 2019 at 2:37 PM
I'm really impressed by your knowledge on the subject.Okay so for you to understand this, here's some background:
Entity objects in Cave Story (that is, NPCs like Toroko, Sue, all of the characters, all of the enemies, a good portion of the game's effects (i.e. smoke), and more) are automatically destroyed, leaving a flashing effect object, smoke, dropping weapon energy and playing their "on death" sound when their health reaches 0 (or less than 0). Unfortunately this leaves no room for NPCs that don't just immediately cease to exist upon death, so to work around this when Pixel wanted to have enemies like the Gaudi, Gaudi Eggs, Buyobuyo Bases, etc. that don't disappear on death he would actually give them an extravagant amount of health, and then program the entity to appear as if it had died when the entity's health went below a certain threshold. In the case of Buyobuyo Bases, this threshold is [less than 940 health]. What probably happened is that you edited the NPC's health in the npc.tbl editor and set it to a value much lower than this, and it is immediately 'killing' the entity (but not actually killing it) because its health is below that threshold from the moment it spawns.
Now, here's where I want to point out an idiotic mistake on Pixel's part:
Instead of making the threshold 1000 health for all of these NPCs, and then just setting their health in the npc.tbl file to just be [the NPC's noticeable health] + , he gave all of the NPCs 1000 health in the npc.tbl file and then set their thresholds to be  - [the NPC's noticeable health]
Why are the numbers so high? Well, if the player could deal X amount of damage to an NPC in one frame (for the Buyobuyo base, 940 damage) then they would be able to destroy the entity object before it could disable its shootable flag and it would break the effect. Pixel was always very cautious about this sort of thing, knowing that someone somewhere would find some exploit at some point, so as far as I know it is actually completely impossible to do this.
P.S. some of their thresholds are 100 health, like the Gaudi Eggs.
Now it's all clear, thanks.