Mega Man IV:RAM map:Enemy Number in Level
From Data Crystal
This is used to know if an enemy can reappear : each enemy as a unique ID in the level. When position where enemy is spawned appears in screen, it checks if the current enemy is already spawned looping through all enemies using this ID.