mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 16:32:16 +02:00
improved formatting
This commit is contained in:
parent
2d71d1762f
commit
0bc8bbacc7
@ -1420,8 +1420,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||||||
super.onEnd();
|
super.onEnd();
|
||||||
|
|
||||||
const pokemon = this.getPokemon();
|
const pokemon = this.getPokemon();
|
||||||
|
const moveId = pokemon.scene.currentBattle.turnCommands[this.fieldIndex]?.move?.move;
|
||||||
const moveId = pokemon.scene.currentBattle.turnCommands[this.fieldIndex]?.move?.move
|
|
||||||
const lastUsedMove = moveId ? allMoves[moveId] : undefined;
|
const lastUsedMove = moveId ? allMoves[moveId] : undefined;
|
||||||
|
|
||||||
// Compensate for turn spent summoning
|
// Compensate for turn spent summoning
|
||||||
|
Loading…
Reference in New Issue
Block a user