Fix being unable to clear boss segment without bypass

This commit is contained in:
Flashfyre committed 2024-03-01 12:41:47 -05:00
1 parent fd5a7985ce
commit 0e0fe95d4c
2 files changed
+14 -9

No files matched your search

+8 -5
View File
@@ -289,11 +289,14 @@ export class GameData {
this.starterMoveData = systemData.starterMoveData || {};
if (systemData.starterEggMoveData)
this.starterEggMoveData = systemData.starterEggMoveData;
else {
this.starterEggMoveData = {};
this.initEggMoveData();
this.starterEggMoveData = {};
this.initEggMoveData();
if (systemData.starterEggMoveData) {
for (let key of Object.keys(systemData.starterEggMoveData)) {
if (this.starterEggMoveData.hasOwnProperty(key))
this.starterEggMoveData[key] = systemData.starterEggMoveData[key];
}
}
if (systemData.gameStats)