if ((e.getButton() == 1) && (gfxcontrol.getModeProps()[3] == 1) && (! movingSprite))
if (e.getButton() == 1)
        public void mousePressed(MouseEvent e)        {            if ((e.getButton() == 1)            		&& (gfxcontrol.getModeProps()[3] == 1)					&& (! movingSprite))            {        		int mousex = e.getX();        		int mousey = e.getY();            	int spNum = gfxcontrol.getSpriteNum(            			mousex, mousey);            	if (spNum != -1)            	{                	int[] areaXY =                		gfxcontrol.getAreaXY(mousex, mousey);                	TPTEditor.TPTEntry tpt =                 		TPTEditor.tptEntries[EbMap.getSpriteTpt(							areaXY[0], areaXY[1], spNum)];            		movingSpriteInfo =             			new int[] {            				areaXY[0], areaXY[1], spNum,							tpt.getSprite(), tpt.getDirection()            		};            		movingSprite = true;            	}            }        }