drawingTilesets = new int[MapEditor.mapTsetNum]; localTilesetChanges = new ArrayList(); doorData = new ArrayList[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors]; oldDoorEntryLengths = new int[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors]; destData = new ArrayList(); destsLoaded = new ArrayList(); destsIndexes = new ArrayList(); errors = new ArrayList(); tileImages = new Image[MapEditor.drawTsetNum][1024][MapEditor.palsNum]; spriteImages = new Image[SpriteEditor.NUM_ENTRIES][8];
drawingTilesets = new int[MapEditor.mapTsetNum]; localTilesetChanges = new ArrayList(); doorData = new ArrayList[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors]; oldDoorEntryLengths = new int[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors]; destData = new ArrayList(); destsLoaded = new ArrayList(); destsIndexes = new ArrayList(); errors = new ArrayList(); tileImages = new Image[MapEditor.drawTsetNum][1024][MapEditor.palsNum]; spriteImages = new Image[SpriteEditor.NUM_ENTRIES][8]; mapAddresses = new int[8];
       public static void reset()       {       // mapAddresses = new int[8];       	       	mapChanges = new ArrayList();           spData =           	new ArrayList[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors];           sectorData =           	new Sector[MapEditor.heightInSectors * MapEditor.widthInSectors];           drawingTilesets = new int[MapEditor.mapTsetNum];           localTilesetChanges = new ArrayList();           doorData =            	new ArrayList[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors];           oldDoorEntryLengths =            	new int[(MapEditor.heightInSectors / 2) * MapEditor.widthInSectors];           destData = new ArrayList();           destsLoaded = new ArrayList();           destsIndexes = new ArrayList();           errors = new ArrayList();           tileImages =           	new Image[MapEditor.drawTsetNum][1024][MapEditor.palsNum];           spriteImages = new Image[SpriteEditor.NUM_ENTRIES][8];       }