mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-08 16:39:26 +02:00
ran biome & fixed errors
This commit is contained in:
parent
903d330aa8
commit
f746ee46b2
@ -179,10 +179,10 @@ export class MoveHelper extends GameManagerHelper {
|
||||
|
||||
// Clear out both the normal and temporary movesets before setting the move.
|
||||
const pokemon = this.game.scene.getPlayerField()[pkmIndex];
|
||||
pokemon.moveset.splice();
|
||||
pokemon.summonData.moveset?.splice()
|
||||
pokemon.moveset.splice(0);
|
||||
pokemon.summonData.moveset?.splice(0);
|
||||
pokemon.setMove(0, moveId);
|
||||
|
||||
|
||||
if (useTera) {
|
||||
this.selectWithTera(moveId, pkmIndex, targetIndex);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user