mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Also check EggHatchPhase
(for when the egg summary screen isn't used)
This commit is contained in:
parent
8f05ac1db0
commit
d347c891ea
@ -1424,7 +1424,7 @@ export default class BattleScene extends SceneBase {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isEggPhase: boolean = this.getCurrentPhase()?.constructor.name === "EggLapsePhase";
|
const isEggPhase: boolean = [ "EggLapsePhase", "EggHatchPhase" ].includes(this.getCurrentPhase()?.constructor.name ?? "");
|
||||||
|
|
||||||
switch (species.speciesId) {
|
switch (species.speciesId) {
|
||||||
case Species.UNOWN:
|
case Species.UNOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user