—
give the pictures an instance variable, and put the text that matches in the instance variable.
or another way would be to put all the pictures in one sprite as different animations, and name the animation based on the text you want it to match with - then you can compare text to Sprite.AnimationName