Click here to join us on IRC (#charas on irc.freenode.net)!
I think you are right about needing a whole lot of pictures. But will the dungeons be randomly generated or not? That could cut down the work a little at least.
Instead of increasing the variable by 1 for each step you could make it so that when the picture is displayed the first time it adds 1, that way it shouldn't trigger twice. But it depends largely on your other code.
I'll give this some thought, right now I'm thinking that you could at least reduce the rows of code needed if you use variable references...
Okay, so if you have 200 different pieces of a dungeon, how exactly is the game keeping track of that? because this could most likely be done in relation to that. The biggest issue right now is that we would require a variable for each tile without variable references.