Uncomment check

This commit is contained in:
Christopher Monsanto 2021-12-20 20:58:33 -05:00
parent 1664bc37c9
commit 67557d0e60

View File

@ -539,11 +539,11 @@ for (const name of fs.readdirSync(spritesDir)) {
entries[index] = path.join(spritesDir, name);
}
// for (const [id, num] of Object.entries(BattlePokemonIconIndexes)) {
// if (num !== 'found') {
// throw new Error(`didn't find ${id}`);
// }
// }
for (const [id, num] of Object.entries(BattlePokemonIconIndexes)) {
if (num !== 'found') {
throw new Error(`didn't find ${id}`);
}
}
for (const [id, num] of Object.entries(BattlePokemonIconIndexesLeft)) {
if (num !== 'found') {