What I meant was if you have an IsDead flag then you do not need to delete anything.
For Player.shell = Each shell
If Not Player.IsDead
For b.box = Each box
If ImagesCollide (shellimage, Player\x, Player\y,0, Computer, b\bX, b\bY,0 )
Player.IsDead = True
b.IsDead = True
EndIf
Next
EndIf
Next
Then in your display/update code you can go
For Player.shell = Each shell
If Not Player.IsDead
UpdateAndDisplayPlayer(Player)
End If
Next
For b.box = Each box
If Not b.IsDead
UpdateAndDisplayBox(b)
EndIf
Next
That way you are not doing any deletion, you're just switching the objects on and off.
Jim