mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 22:39:31 +02:00
Update battler-tags.ts
This commit is contained in:
parent
fc2d0b0d9d
commit
ee614a9289
@ -2856,7 +2856,7 @@ export class GrudgeTag extends BattlerTag {
|
|||||||
const lastMoveData = sourcePokemon.getMoveset().find(m => m?.moveId === lastMove.move);
|
const lastMoveData = sourcePokemon.getMoveset().find(m => m?.moveId === lastMove.move);
|
||||||
if (lastMoveData && lastMove.move !== Moves.STRUGGLE) {
|
if (lastMoveData && lastMove.move !== Moves.STRUGGLE) {
|
||||||
lastMoveData.ppUsed = lastMoveData.getMovePp();
|
lastMoveData.ppUsed = lastMoveData.getMovePp();
|
||||||
pokemon.scene.queueMessage(i18next.t("battlerTags:grudgeOnLapse", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon), moveName: lastMoveData.getName() }));
|
pokemon.scene.queueMessage(i18next.t("battlerTags:grudgeLapse", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon), moveName: lastMoveData.getName() }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user