tilemap and tileset if statement separated into individual ones