Help with modifying a script
Here I have an experiment where (with help from this forum)! I was able to have a pair of images appear randomly either on the left or the right and a target image (that matches either the left or the right image) appear on top. The goal of the experiment is for the toddler to choose the match. So if the object that appears on the right matches the object that appears on the top the correct answer would be to touch the right box. As of right now, this works perfectly. Now, I just want to add a trial in between that always uses the same objects. for example:
trial1 uses object_9 and object_10,
trial2 uses object_1 and object 2,
trial 3 uses object_4_5,
trial 4 uses object_1 and object_2,
trial 5 uses object_7 and object_8
trial 6 uses object_1 and object_2 etc.
So between every "random trial" a repeated pair is inserted but the order of those objects would still be randomized. ie object 1 sometimes appears on the left, sometimes on the right and is sometimes the target and the same for object_2.
Could someone help me modify this script to accomplish this? Thank you so much!!