Fix RNG issues with egg moves

This commit is contained in:
Flashfyre committed 2024-03-01 22:18:39 -05:00
1 parent ce60d46fd1
commit 1fed59837b
2 files changed
+61 -73

No files matched your search

+1 -1
View File
@@ -911,7 +911,7 @@ export class GameData {
const value = Math.pow(2, eggMoveIndex);
if (this.starterEggMoveData[speciesId] & eggMoveIndex) {
if (this.starterEggMoveData[speciesId] & value) {
resolve(false);
return;
}