Emulation itself is not illegal, however ROM files are. It's nothing but pure theft in my opinion. But that's not what where going to discuss here, right? Anyway, about your code.
#Method Timer()
{
#For(timeleft!=10,timeleft!>=0,timeleft!+1)
I'm not too familiar with the #For command, but if I'm not wrong, this one will go on and on forever, beacuse it will never become less than 0, beacuse you add 1 to timeleft! everytime. It should be minus instead of plus.
{
#FontSize(24)
You know, I can't see anything in your code that's affected by #fontsize. Of course you may need it later, so just leave that one if you want.
#CastLit(timeleft!,timeleft$)
#ColorRGB(255,0,0)
#timeimage$=timeleft$ + ".bmp"
#SetImage(timeimage$,338,483,104,65)
No problem here, as far as I can see. Oh, wait, #Colorrgb, I don't think that affects anything in this method. Maybe it's the same case as with #Fontsize. Do what you want with it.
#Get(key[keyx!]$)
I think you must manually make Keyx! zero or one or something before running this command the first time. Or you could do it at the end of the program.
#If(key[keyx!]$~="nothing")
I take that as you want to check if the player hasn't pushed any button at all. In that case, I think it should be "" instead of "nothing".
{
#keyx!=keyx!+1
}
#Delay(1)
}
}
I think this will work, but the player will have to hold the buttons down, and they may not push more than one button every second. However, they will be able to push LESS than one button every second. But that's what you want, isn't it?
Those are the only problems I could find, but I'm no expert.