You probally want to see both sprites but if it didn't matter:
You could trick it by hiding one of the sprites:
hide sprite 1 or hide sprite 1000
and then if you move the other do a:
show sprite 1 or 1000
but I just thought of something it might have to do with the creation order try swapping the order of the objects so sprite 1000 is created first.
After that I got nothing....
But Iam just learning this DB and DBP too so maybe someone else has the answer hopfully.
It's not the size of your code but how efficiently you use it!