No worries! I make mistakes like this all the time :)
A word of advice - use constant variables instead of hard-coded tile numbers.
For example: DIRT_TILE=1282
The code will be easier to read, and if the tile number is changed in the future, you won't need to replace it in lots of events.