public static byte[] ReadExtraAI(BinaryReader reader, BitsByte flags) { if (flags[Projectile.maxAI + 1]) { return reader.ReadBytes(reader.ReadByte()); } return new byte[0]; }