ran biome & fixed errors

This commit is contained in:
Bertie690 2025-07-30 18:41:55 +00:00 committed by GitHub
parent 903d330aa8
commit f746ee46b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;