Fix RNG issues with egg moves
This commit is contained in:
1 parent
ce60d46fd1
commit
1fed59837b
2 files changed
+61
-73
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user