fg0 = (TileLayer)m.getLayer(1), fg1 = (TileLayer)m.getLayer(2), fg2 = (TileLayer)m.getLayer(3);
fg0 = (TileLayer)m.getLayer(7), fg1 = (TileLayer)m.getLayer(8), fg2 = (TileLayer)m.getLayer(9);
    private void readBODYChunk(Map m, InputStream in) throws IOException {        TileSet set = (TileSet)m.getTilesets().get(0);        TileLayer bg = (TileLayer)m.getLayer(0),                  fg0 = (TileLayer)m.getLayer(1),                  fg1 = (TileLayer)m.getLayer(2),                  fg2 = (TileLayer)m.getLayer(3);        for (int i = 0; i < m.getHeight(); i++) {            for (int j = 0; j < m.getWidth(); j++) {                int block = (int)((Util.readShort(in)&0x00FF) / BLKSTR_WIDTH);                //System.out.print(""+block);                BlkStr blk = (BlkStr)blocks.get(block);                //System.out.println("bg: "+blk.bg);                bg.setTileAt(j,i, set.getTile((int)blk.bg));                fg0.setTileAt(j,i, set.getTile((int)blk.fg0));                fg1.setTileAt(j,i, set.getTile((int)blk.fg1));                fg2.setTileAt(j,i, set.getTile((int)blk.fg2));            }            //System.out.println();        }    }