Fix Dynamic number of NPCs

Can now dynamically set the amount of NPCs in the loader