ID:147753
 
the error comes here:


turf
grass
icon = 'grass.dmi'
the error comes here:

turf
grass
icon = 'grass.dmi'

No, no. It actually doesn't.

If that's your exact code, there's no error there. The error is in the lines above it (or, possibly but less likely, below it), where you've got a statement that doesn't end correctly.

My psychic powers tell me your reply will be nothing mroe then "okay, how do i fix it?" By predicting the future, my hope is that this terrible catastrophe can be averted. You fix it by reading your code and finding the actual error. If you really, can't find it yourself (and if you're honestly interested in making a game, then TRY!), then ask for further help and include the surrounding code.