movingData[3] = -1;
		public void mouseReleased(MouseEvent e) {			if (movingData[0] >= 0) {				if (movingData[0] <= 1) {					int[] coords = getCoords(e.getX(), e.getY());					if (movingData[0] == 0) {						EbMap.SpriteLocation sl = (EbMap.SpriteLocation) movingObject;						sl.setX((short) coords[2]);						sl.setY((short) coords[3]);						EbMap.addSprite(coords[0], coords[1], sl);					} else if (movingData[0] == 1) {						EbMap.DoorLocation dl = (EbMap.DoorLocation) movingObject;						dl.setX((short) (coords[2] / 8));						dl.setY((short) (coords[3] / 8));						EbMap.addDoor(coords[0], coords[1], dl);					}				} else if (movingData[0] <= 3) {					int[] coords = get1BppCoords(e.getX(), e.getY());					if (movingData[0] == 2) {						HotspotEditor.getHotspot(movingData[3]).setX2((short) ((coords[0] / 8)								+ (HotspotEditor.getHotspot(movingData[3]).getX2()										- HotspotEditor.getHotspot(movingData[3]).getX1())));						HotspotEditor.getHotspot(movingData[3]).setX1((short) (coords[0] / 8));						HotspotEditor.getHotspot(movingData[3]).setY2((short) ((coords[1] / 8)								+ (HotspotEditor.getHotspot(movingData[3]).getY2()										- HotspotEditor.getHotspot(movingData[3]).getY1())));						HotspotEditor.getHotspot(movingData[3]).setY1((short) (coords[1] / 8));					} else {						HotspotEditor.getHotspot(movingData[3]).setX2((short) (coords[0] / 8));						HotspotEditor.getHotspot(movingData[3]).setY2((short) (coords[1] / 8));					}				}				movingData[0] = -1;				movingData[3] = -1;				setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));				repaint();			}		}