This commit is contained in:
Dragon Fire
2020-03-24 22:13:22 -04:00
parent 6ebaef0104
commit b5234d24ad
+2
View File
@@ -63,6 +63,8 @@ module.exports = class Pokemon {
variety.types.push(...body.types.map(type => firstUpperCase(type.type.name)));
if (variety.types[0] === defaultVariety.types[0] && variety.types[1] === defaultVariety.types[1]) {
variety.display = false;
} else {
variety.display = true;
}
}
}