mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
parent
4a98c36427
commit
684c2364b7
@ -44,6 +44,7 @@ export class LearnMovePhase extends PlayerPartyMemberPokemonPhase {
|
|||||||
if (emptyMoveIndex > -1) {
|
if (emptyMoveIndex > -1) {
|
||||||
pokemon.setMove(emptyMoveIndex, this.moveId);
|
pokemon.setMove(emptyMoveIndex, this.moveId);
|
||||||
if (this.fromTM) {
|
if (this.fromTM) {
|
||||||
|
pokemon.usedTMs ??= [];
|
||||||
pokemon.usedTMs.push(this.moveId);
|
pokemon.usedTMs.push(this.moveId);
|
||||||
}
|
}
|
||||||
initMoveAnim(this.scene, this.moveId).then(() => {
|
initMoveAnim(this.scene, this.moveId).then(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user