This commit is contained in:
Dragon Fire
2021-01-20 18:31:37 -05:00
parent 0669bb1917
commit fdbd5b0efe
+1 -1
View File
@@ -78,7 +78,7 @@ module.exports = class Pokemon {
} }
get generation() { get generation() {
if (this.id < 898) return null; if (this.id > 898) return null;
if (this.id >= 810) return 8; if (this.id >= 810) return 8;
if (this.id >= 722) return 7; if (this.id >= 722) return 7;
if (this.id >= 650) return 6; if (this.id >= 650) return 6;