silphscope 1.1.5 → 1.1.6

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.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "A firered/leafgreen ROM asset extractor for use in web applications",
5
5
  "main": "main.js",
6
6
  "exports": {
@@ -37,8 +37,8 @@ export async function renderIcon(itemName, items, assets, rom, options = {}) {
37
37
  const height = 24;
38
38
 
39
39
  const image = render4bppImage({
40
- tileData: iconImageData,
41
- paletteData: rawIconPalData,
40
+ tileData: iconImageData.data,
41
+ paletteData: rawIconPalData.data,
42
42
  width,
43
43
  height
44
44
  });
@@ -57,8 +57,8 @@ export async function renderMon(monName, mons, assets, rom, options = {}) {
57
57
  const height = 64;
58
58
 
59
59
  const image = render4bppImage({
60
- tileData: monImageData,
61
- paletteData: rawMonPalData,
60
+ tileData: monImageData.data,
61
+ paletteData: rawMonPalData.data,
62
62
  width,
63
63
  height,
64
64
  });