Mayaman is right with the Delete command, it only erases handles. I've had this problem many times and have found it to be an easy fix. Here's what I'd do:
Adding the troll\gone field ensures that the computer doesn't try to delete or free data that doesn't exist anymore.
EDIT: Oops, sorry about that mixup (Duh :))!
For Troll.enemy=Each enemy If Troll\Die=True and Troll\gone=False Delete Troll Freeentity Troll\model Troll\gone=True end if Next
Adding the troll\gone field ensures that the computer doesn't try to delete or free data that doesn't exist anymore.
EDIT: Oops, sorry about that mixup (Duh :))!