perhaps setup an array... as you shouldn't have a ridculous amount of objects should be simple enough.
dim ccheck(0)
totalobject = 0
for a = 1 to 100
make object box a,100
totalobject = totalobject + 1
next a
ccheck(0)= totalobject
do
for a = 2 to ccheck(0)
if object collision(1,a)=1 then print "hit!"
next a
sync
loop
i mean you could actually just set this all up to check over the array of objects rather than using the array as a global, however this shouldn't slow the code by much.
Holy jumping mother of god NOOOO!!!...