This is how I did it in Leo's mod with images in directory mods/Leo/Images
var sprites = globals.spritedict
sprites.bonniefull = globals.loadimage(globals.modfolder + "/Leo/Images/Bonniefull.png")
sprites.bonnieportrait = globals.loadimage(globals.modfolder + "/Leo/Images/Bonnieportrait.png")