public void renderBg(Bitmap bm, int xScroll, int yScroll) {
		int w = bm.w / 24 + 4;
		int h = bm.h / 6 + 5;

		int x0 = xScroll / 24 - 2;
		int y0 = yScroll / 6 - 3;
		int x1 = x0 + w;
		int y1 = y0 + h;
		mapSprites.clear();
		boolean visible = true;
		for (int y = y0; y < y1; y++) {
			for (int x = x0; x < x1; x++) {
				int xt = x + (y >> 1) + (y & 1);
				int yt = (y >> 1) - x;

				if (xt > 0 && yt > 0 && xt < xs - 3 && yt < ys - 3) {
					


					if (visible) {
						if (tiles[xt + yt * xs] == 1) {
							mapSprites.add(new MapSprite(Art.i.tiles[0][1], xt * 16, yt * 16));
						}
						bm.draw(Art.i.tiles[((yt ^ xt) & 1) == 0 ? 0 : 1][0], x * 24 + (y & 1) * 12, y * 6 - 6);
					}
				}
			}
		}
	}