System.out.println("Old ltset: " + Integer.toBinaryString(local_tset) + " New ltset: " + Integer.toBinaryString(newLtsetData));
        public void setLocalTileset(int tilex, int tiley, int newltset)        {        	int address = EbMap.localtset_address			    + ((tiley / 8) * (this.width + 1)) + tilex;        	if (((tiley / 4) % 2) == 1)        		address += 0x3000;        	int newLtsetData = 0;        	int local_tset = rom.read(address);        	int newLtset2set;        	int localtiley = tiley - ((tiley / 4) * 4);        	for (int i = 0; i <= 3; i++)        	{        		if (i == localtiley)        		{        			newLtset2set = newltset;        		}        		else        		{        			newLtset2set = (local_tset >> (i * 2)) & 3;        		}        		        		newLtsetData += newLtset2set << (i * 2);        	}        	System.out.println("Old ltset: " + Integer.toBinaryString(local_tset)        			+ " New ltset: " + Integer.toBinaryString(newLtsetData));        	rom.write(address, newLtsetData);        }