mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +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 {
|
||||
// Ignore other Pokemon's moves as well as Struggle and MoveId.NONE
|
||||
if (
|
||||
event.pokemonId !== this.pokemon.id ||
|
||||
event.move.moveId === MoveId.NONE ||
|
||||
event.move.moveId === MoveId.STRUGGLE
|
||||
event.pokemonId !== this.pokemon.id
|
||||
|| event.move.moveId === MoveId.NONE
|
||||
|| event.move.moveId === MoveId.STRUGGLE
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user