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