Well now I'm getting about 5 mobs without lagg (generally I can spawn 6 without lagg but randomly it will lagg for half a second).
I'm getting it better.
I just realised that the world structure is 32Kb and the DS has to read that about 3 times each frame + once more per mob.
That is quite a lot of memory stored in RAM, any ideas? (Without modifing LIBnds to store the world structure in IWRAM).
--------Posts Merged--------
Because Dirbaio was kind enough to read through our source code, this problem has been fixed.
Also: YAY, I got
100 Mobs working in Minecraft DS, the only problem is that they steal oamIDs
EDIT: It's unclear, but I'm the human standing under the tree.