NPC_MAX (a child element of CONSTANTS) specifies the maximum number of NPC (Non-Player Characters) allowed in any single area, as well as the maximum number of enemies allowed in one battle.
NPC_MAX supports the use of an integer as value.
If you want to have a maximum of 5 NPCs in any single area and 3 enemies in one battle, set NPC_MAX as 5. If you are not sure what value you should use, it doesn't hurt to set a value which is bigger than enough.
- <CONSTANTS>
- <NPC_MAX>3</NPC_MAX>
- ......
- </CONSTANTS>