Generate RPGMaker's tile ID.