Editroid: Enemy Slots
This is just a quick explanation of a quirk in enemy placement in Metroid.

The game engine is capable of showing up to six enemies at a time. Each enemy is stored in an “enemy slot” in memory. The unusual thing about the enemy slots is is that rather than having the game load enemies into whichever slot is available, each enemy placed on the map has a statically assigned slot. If the game tries to load an enemy and its slot is already in use, the enemy simply won’t be loaded.
For example, the enemy selected in the screen-shot to the left (the rio) uses enemy slot 2. Suppose that in the screen immediately to the left, there is a zoomer that also uses slot 2. If the player enters the room from the left, the zoomer will be loaded into slot 2. If the player kills the zoomer before moving on, the rio will then be loaded into slot 2. On the other hand, if the player doesn’t kill the zoomer before moving to the right, slot 2 remains occupied and the rio won’t appear.
This means that if you want to make sure that all of your enemies appear, you must make sure that enemies in adjacent screens use different slot numbers. On the other hand, you can have the enemies use the same slot numbers so that they appear “semi-randomly.” This is done in the vertical shafts in the original game. The enemies that appear as you traverse the shaft depend on which enemies you’ve killed in previous screens.
2 responses to “Editroid: Enemy Slots”
-
Hello
I’m having trouble getting the bosses {Kraid & Ridley} To load and when I do, they don’t attack, they die with a single missile, when they die, they don’t give 75 missiles, I’m also pretty sure the bridge won’t activate. I read the Enemy slots post and I don’t think that’s it. In Kraid’s level I made him the only one with a 0 Sprite slot. He still Doesn’t load. Anything You could tell me would be greatly appreciated. Also, if there is a comprehensive guide or tutorial for Editroid I’d love to Know Where I could find It. Thank you for your time.
Bob -
Hey. Im new to Editroid and am having problems getting bosses to load, when they do they die with one hit, they don’t attack, the music does not change, and when they die I don’t get the 75 missles, and i don’t get the boss defeated music, nothing crashes, I read about the sprite selection option and i feel like im missing something really simple. Any help you could offer would be greatly appreciated, thanks
About Me

snarf
Programmer
I mod NES games and I program in C#, TypeScript, and whatever else suits my fancy.
Find Me Elsewhere
You won’t find me on social media. I guess I’m a rebel. You might find me on one of these web forums or their associated discord servers.
Leave a Reply