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