miijs 1.6.6 → 1.6.7
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/index.js +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1164,6 +1164,7 @@ module.exports={
|
|
|
1164
1164
|
miiBin+=wiiFaceFeatures.indexOf(mii.face.feature).toString(2).padStart(4,"0");
|
|
1165
1165
|
miiBin+="000";
|
|
1166
1166
|
if(mii.info.mingle&&mii.info.type==="Special"){
|
|
1167
|
+
mii.info.mingle=false;
|
|
1167
1168
|
console.error("A Special Mii cannot have Mingle on and still render on the Wii. Turned Mingle off in the output file.");
|
|
1168
1169
|
}
|
|
1169
1170
|
miiBin+=mii.info.mingle?"0":"1";
|
|
@@ -1179,7 +1180,7 @@ module.exports={
|
|
|
1179
1180
|
miiBin+="000000";
|
|
1180
1181
|
miiBin+=wiiHairCols.indexOf(mii.eyebrows.col).toString(2).padStart(3,"0");
|
|
1181
1182
|
miiBin+=mii.eyebrows.size.toString(2).padStart(4,"0");
|
|
1182
|
-
miiBin+=
|
|
1183
|
+
miiBin+=mii.eyebrows.yPos.toString(2).padStart(5,"0");
|
|
1183
1184
|
miiBin+=mii.eyebrows.distApart.toString(2).padStart(4,"0");
|
|
1184
1185
|
miiBin+=(+getKeyByValue(eyeTable,mii.eyes.type)).toString(2).padStart(6,"0");
|
|
1185
1186
|
miiBin+="00";
|
|
@@ -1202,7 +1203,7 @@ module.exports={
|
|
|
1202
1203
|
miiBin+=wiiGlassesCols.indexOf(mii.glasses.col).toString(2).padStart(3,"0");
|
|
1203
1204
|
miiBin+="0";
|
|
1204
1205
|
miiBin+=mii.glasses.size.toString(2).padStart(3,"0");
|
|
1205
|
-
miiBin+=mii.glasses.yPos.toString(2).padStart(5,"0");
|
|
1206
|
+
miiBin+=(mii.glasses.yPos-3).toString(2).padStart(5,"0");
|
|
1206
1207
|
miiBin+=mii.facialHair.mustacheType.toString(2).padStart(2,"0");
|
|
1207
1208
|
miiBin+=mii.facialHair.beardType.toString(2).padStart(2,"0");
|
|
1208
1209
|
miiBin+=wiiHairCols.indexOf(mii.facialHair.col).toString(2).padStart(3,"0");
|
|
@@ -1638,7 +1639,7 @@ module.exports={
|
|
|
1638
1639
|
miiTo.facialHair.mustacheType=0;
|
|
1639
1640
|
miiTo.facialHair.beardType=1;
|
|
1640
1641
|
}
|
|
1641
|
-
if(mii.facialHair.beardType>
|
|
1642
|
+
if(mii.facialHair.beardType>3){
|
|
1642
1643
|
mii.facialHair.beardType=3;
|
|
1643
1644
|
}
|
|
1644
1645
|
}
|