Why is the first icon space in every set applied to all monsters universally?

I updated my iconset and spent a long time trying to figure out why every monster was always having a little icon over his head for no reason. I turned off and on plugins until I was like, maybe I'll just delete that icon from the set and pretend this never happened because from what I can tell it's not doing anything. And, wouldn't you know, I realize it's my first icon. And it occurs to me, that game is just applying the first icon to every monster.


That is what's happening right?


Why?
I think you must have added it at some stage, or you're using a non-default icon set, because on mine that first icon is blank - as it was for VXAce.


I think its purpose is so that you can remove an icon already allocated without having to substitute another, a bit like the blank tile top left corner of tile sheet B
To answer your title question, it has to do with how numbers are stored in the computer. It's simply a lot easier to use the zero index that way.


Compare it to the following description of the first B tile, which has special properties because of the same reason:
Yes, this is an example of optimisation for better performance. The System would normally have to decide whether or not to display an Icon., then decide which Icon to display. Using this ruse, there is no need for the System to make the first decision; an Icon will always be displayed, but not always visible. The only choice left would be 'which one..?'. In displaying systematically, by default, the 'blank', invisible Icon, the first decision becomes redundant, and is eliminated. The display is therefore regular whether there's anything visible or not, and performance improved. Rather neat, no..?
Interesting, thanks for the explanation.

Original thread: https://forums.rpgmakerweb.com/threads/why-is-the-first-icon-space-in-every-set-applied-to-all-monsters-universally.71149/