snippet form of your attachment:
REM Load Level 1
lvl = 1
numdata = 5
img = 1
RESTORE onem
gosub Monstr1
img=0
REM Load Level 2
lvl = 2
numdata = 5
img=6
RESTORE twom
gosub Monstr2
REM End the program
END
Monstr1:
FOR n = 1 to numdata
Read Monster1$(n),Rogue1(n),Cleric1(n),Fighter1(n),Wizard1(n),Fireball1(n),lighting1(n)
Monster$ = "Monster" + str$(1)+ "$" + "(" + str$(n) + ")"
load image "media\monsters\"+Monster$,img
img=img+1
Center text (Screen Width()/2),(Screen Height()/2)+50, "LOADING GAME... Please Wait":sync
SET CURSOR (Screen Width()/2)-175,(Screen Height()/2)+80
NEXT n
return
Monstr2:
FOR n = 1 to numdata
Read Monster2$(n),Rogue2(n),Cleric2(n),Fighter2(n),Wizard2(n),Fireball2(n),lighting2(n)
Monster$ = "Monster" + str$(2)+ "$" + "(" + str$(n) + ")"
load image "media\monsters\"+Monster$,img
img=img+1
Center text (Screen Width()/2),(Screen Height()/2)+50, "LOADING GAME... Please Wait"
NEXT n
return
rem ===========================================================================
rem Data for Monster Cards
rem ===========================================================================
Rem Point Order = Monster Type,Rogue,Cleric,Fighter,Wizard,Fireball,Lighting
REM Level 1 Monster data
onem:
DATA "Minotaur.jpg",5,4,2,5,2,2
DATA "Kobold.jpg",4,5,3,6,3,3
DATA "Dire Rat.jpg",5,4,3,6,2,7
DATA "Goblin.jpg",3,4,2,5,2,6
DATA "Skeleton.jpg",5,4,3,6,2,2
REM Level 2 Monster data
twom:
DATA "Ghoul.jpg",5,6,4,6,3,3
DATA "Hobgoblin.jpg",4,5,3,6,3,3
DATA "Orc.jpg",6,6,4,5,3,4
DATA "CageTrap.jpg",0,0,0,0,0,0
DATA "Giant Lizard.jpg",5,4,2,5,2,2
these (level 1) lines...
Monster$ = "Monster" + str$(1)+ "$" + "(" + str$(n) + ")"
load image "media\monsters\"+Monster$,img
...are causing it to look for image files
literally named "Monster1$(
n)". instead, try:
Monster$ = Monster1$(n)
load image "media\monsters\"+Monster$,img
or, shorter version utilizing the filename held inside Monster1$(n) directly:
load image "media\monsters\"+Monster1$(n),img
do the same with level 2, etc.
Virtual Nomad @ California, USA . DBPro V7.7 . Matrix1Utils 05.27.12
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit