public Zone(byte[][] Zone) { // A ZO is comprised of 4-5 files. // Array 0 is [Map Info] ZD = new ZoneData(Zone[0]); // Array 1 is [Overworld Entities & their Scripts] Entities = new ZoneEntities(Zone[1]); // Array 2 is [Map Script] MapScript = new ZoneScript(Zone[2]); // Array 3 is [Wild Encounters] Encounters = new ZoneEncounters(Zone[3]); // Array 4 is [???] - May not be present in all. if (Zone.Length <= 4) return; File5 = new ZoneUnknown(Zone[4]); }
public Zone(byte[][] Zone) { // A ZO is comprised of 4-5 files. // Array 0 is [Map Info] Info = new ZoneInfo(Zone[0]); // Array 1 is [Overworld Entities & their Scripts] Entities = new ZoneEntities(Zone[1]); // Array 2 is [Map Script] MapScript = new ZoneScript(Zone[2]); // Array 3 is [Wild Encounters] Encounters = new ZoneEncounters(Zone[3]); // Array 4 is [???] - May not be present in all. if (Zone.Length <= 4) return; File5 = new ZoneUnknown(Zone[4]); }