Xojo - brain fade graphics

I have a bunch of images with a name formated as “ABCxx_yy”
where xx and yy are used to select the exact image

these images exist as imagesets in the app code

I can access them by

var img as picture = ABC01_23

but I don’t want to create a huge select statement
is there a way to use a command similar to above but with a constructed name?
or should I just say screwit and load them as a file from /Resource?

I can’t think of a way as the picture is only added to the Runtime for introspection when its referenced so its a chicken and egg situation.

Create a dictionary of the images with the name as the key?