It's very random, after doing 10 different DropAll's, I was only able to get it to error out twice and in two completely different places.
First place was in FindNPCChatText which is line 738 of text.simba.
Second place was in SortATPAFromFirstPointY at line 771, which is this:
Simba Code:
DistArr[i] := Round(Sqr(From.y - a[i][0].y));
That function is called in GetChooseOptions at line 893 which is:
Simba Code:
SortATPAFromFirstPointY(ATPA, Point(w/2,0));
I added WriteLn's through out the file to find out what was going on, and it stopped giving me those weird errors, which I don't know why :/
That's all I have for it at the moment, hope it helps.