silphscope 1.4.21 → 1.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "silphscope",
3
- "version": "1.4.21",
3
+ "version": "1.4.22",
4
4
  "description": "A firered/leafgreen ROM asset extractor for use in web applications",
5
5
  "main": "main.js",
6
6
  "types": "silphscope.d.ts",
@@ -108,12 +108,12 @@ export async function renderMon(monName, mons, reader, rom, options = {}) {
108
108
  const dir = `${outputDir}/${monName}`;
109
109
  const fileName = `${dir}/${side}${variant === "shiny" ? "_shiny" : ""}.png`;
110
110
  await fs.promises.writeFile(fileName, pngBuffer);
111
+ fullFileCount += 1;
111
112
  }
112
113
 
113
114
  if (returnFileBuffer) {
114
115
  results.push(pngBuffer);
115
116
  }
116
- fullFileCount += 1;
117
117
  }
118
118
  }
119
119