mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 15:33:29 +02:00
Ran Biome
This commit is contained in:
parent
1d8f0dffe1
commit
0a3efec88e
@ -176,9 +176,9 @@ export class BattleFlyout extends Phaser.GameObjects.Container {
|
|||||||
private onMovesetChanged(event: MovesetChangedEvent): void {
|
private onMovesetChanged(event: MovesetChangedEvent): void {
|
||||||
// Ignore other Pokemon's moves as well as Struggle and MoveId.NONE
|
// Ignore other Pokemon's moves as well as Struggle and MoveId.NONE
|
||||||
if (
|
if (
|
||||||
event.pokemonId !== this.pokemon.id ||
|
event.pokemonId !== this.pokemon.id
|
||||||
event.move.moveId === MoveId.NONE ||
|
|| event.move.moveId === MoveId.NONE
|
||||||
event.move.moveId === MoveId.STRUGGLE
|
|| event.move.moveId === MoveId.STRUGGLE
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user